diff options
author | Valentin Popov <valentin@popov.link> | 2024-01-08 00:21:28 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2024-01-08 00:21:28 +0300 |
commit | 1b6a04ca5504955c571d1c97504fb45ea0befee4 (patch) | |
tree | 7579f518b23313e8a9748a88ab6173d5e030b227 /vendor/windows-sys/src/Windows/Win32/NetworkManagement | |
parent | 5ecd8cf2cba827454317368b68571df0d13d7842 (diff) | |
download | fparkan-1b6a04ca5504955c571d1c97504fb45ea0befee4.tar.xz fparkan-1b6a04ca5504955c571d1c97504fb45ea0befee4.zip |
Initial vendor packages
Signed-off-by: Valentin Popov <valentin@popov.link>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/NetworkManagement')
22 files changed, 43261 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs new file mode 100644 index 0000000..72ac85e --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs @@ -0,0 +1,2878 @@ +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpAddFilterV4(serveripaddress : ::windows_sys::core::PCWSTR, addfilterinfo : *const DHCP_FILTER_ADD_INFO, forceflag : super::super::Foundation:: BOOL) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpAddSecurityGroup(pserver : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpAddServer(flags : u32, idinfo : *mut ::core::ffi::c_void, newserver : *mut DHCPDS_SERVER, callbackfn : *mut ::core::ffi::c_void, callbackdata : *mut ::core::ffi::c_void) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpAddSubnetElement(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, addelementinfo : *const DHCP_SUBNET_ELEMENT_DATA) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpAddSubnetElementV4(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, addelementinfo : *const DHCP_SUBNET_ELEMENT_DATA_V4) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpAddSubnetElementV5(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, addelementinfo : *const DHCP_SUBNET_ELEMENT_DATA_V5) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpAddSubnetElementV6(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : DHCP_IPV6_ADDRESS, addelementinfo : *mut DHCP_SUBNET_ELEMENT_DATA_V6) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpAuditLogGetParams(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, auditlogdir : *mut ::windows_sys::core::PWSTR, diskcheckinterval : *mut u32, maxlogfilessize : *mut u32, minspaceondisk : *mut u32) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpAuditLogSetParams(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, auditlogdir : ::windows_sys::core::PCWSTR, diskcheckinterval : u32, maxlogfilessize : u32, minspaceondisk : u32) -> u32); +::windows_targets::link!("dhcpcsvc.dll" "system" fn DhcpCApiCleanup() -> ()); +::windows_targets::link!("dhcpcsvc.dll" "system" fn DhcpCApiInitialize(version : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpCreateClass(serveripaddress : ::windows_sys::core::PCWSTR, reservedmustbezero : u32, classinfo : *mut DHCP_CLASS_INFO) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpCreateClassV6(serveripaddress : ::windows_sys::core::PCWSTR, reservedmustbezero : u32, classinfo : *mut DHCP_CLASS_INFO_V6) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpCreateClientInfo(serveripaddress : ::windows_sys::core::PCWSTR, clientinfo : *const DHCP_CLIENT_INFO) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpCreateClientInfoV4(serveripaddress : ::windows_sys::core::PCWSTR, clientinfo : *const DHCP_CLIENT_INFO_V4) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpCreateClientInfoVQ(serveripaddress : ::windows_sys::core::PCWSTR, clientinfo : *const DHCP_CLIENT_INFO_VQ) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpCreateOption(serveripaddress : ::windows_sys::core::PCWSTR, optionid : u32, optioninfo : *const DHCP_OPTION) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpCreateOptionV5(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, optioninfo : *mut DHCP_OPTION) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpCreateOptionV6(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, optioninfo : *mut DHCP_OPTION) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpCreateSubnet(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, subnetinfo : *const DHCP_SUBNET_INFO) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpCreateSubnetV6(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : DHCP_IPV6_ADDRESS, subnetinfo : *mut DHCP_SUBNET_INFO_V6) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpCreateSubnetVQ(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, subnetinfo : *const DHCP_SUBNET_INFO_VQ) -> u32); +::windows_targets::link!("dhcpcsvc.dll" "system" fn DhcpDeRegisterParamChange(flags : u32, reserved : *mut ::core::ffi::c_void, event : *mut ::core::ffi::c_void) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpDeleteClass(serveripaddress : ::windows_sys::core::PCWSTR, reservedmustbezero : u32, classname : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpDeleteClassV6(serveripaddress : ::windows_sys::core::PCWSTR, reservedmustbezero : u32, classname : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpDeleteClientInfo(serveripaddress : ::windows_sys::core::PCWSTR, clientinfo : *const DHCP_SEARCH_INFO) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpDeleteClientInfoV6(serveripaddress : ::windows_sys::core::PCWSTR, clientinfo : *const DHCP_SEARCH_INFO_V6) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpDeleteFilterV4(serveripaddress : ::windows_sys::core::PCWSTR, deletefilterinfo : *const DHCP_ADDR_PATTERN) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpDeleteServer(flags : u32, idinfo : *mut ::core::ffi::c_void, newserver : *mut DHCPDS_SERVER, callbackfn : *mut ::core::ffi::c_void, callbackdata : *mut ::core::ffi::c_void) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpDeleteSubnet(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, forceflag : DHCP_FORCE_FLAG) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpDeleteSubnetV6(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : DHCP_IPV6_ADDRESS, forceflag : DHCP_FORCE_FLAG) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpDeleteSuperScopeV4(serveripaddress : ::windows_sys::core::PCWSTR, superscopename : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpDsCleanup() -> ()); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpDsInit() -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpEnumClasses(serveripaddress : ::windows_sys::core::PCWSTR, reservedmustbezero : u32, resumehandle : *mut u32, preferredmaximum : u32, classinfoarray : *mut *mut DHCP_CLASS_INFO_ARRAY, nread : *mut u32, ntotal : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpEnumClassesV6(serveripaddress : ::windows_sys::core::PCWSTR, reservedmustbezero : u32, resumehandle : *mut u32, preferredmaximum : u32, classinfoarray : *mut *mut DHCP_CLASS_INFO_ARRAY_V6, nread : *mut u32, ntotal : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpEnumFilterV4(serveripaddress : ::windows_sys::core::PCWSTR, resumehandle : *mut DHCP_ADDR_PATTERN, preferredmaximum : u32, listtype : DHCP_FILTER_LIST_TYPE, enumfilterinfo : *mut *mut DHCP_FILTER_ENUM_INFO, elementsread : *mut u32, elementstotal : *mut u32) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumOptionValues(serveripaddress : ::windows_sys::core::PCWSTR, scopeinfo : *const DHCP_OPTION_SCOPE_INFO, resumehandle : *mut u32, preferredmaximum : u32, optionvalues : *mut *mut DHCP_OPTION_VALUE_ARRAY, optionsread : *mut u32, optionstotal : *mut u32) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumOptionValuesV5(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO, resumehandle : *mut u32, preferredmaximum : u32, optionvalues : *mut *mut DHCP_OPTION_VALUE_ARRAY, optionsread : *mut u32, optionstotal : *mut u32) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumOptionValuesV6(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO6, resumehandle : *mut u32, preferredmaximum : u32, optionvalues : *mut *mut DHCP_OPTION_VALUE_ARRAY, optionsread : *mut u32, optionstotal : *mut u32) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumOptions(serveripaddress : ::windows_sys::core::PCWSTR, resumehandle : *mut u32, preferredmaximum : u32, options : *mut *mut DHCP_OPTION_ARRAY, optionsread : *mut u32, optionstotal : *mut u32) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumOptionsV5(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, resumehandle : *mut u32, preferredmaximum : u32, options : *mut *mut DHCP_OPTION_ARRAY, optionsread : *mut u32, optionstotal : *mut u32) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumOptionsV6(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, resumehandle : *mut u32, preferredmaximum : u32, options : *mut *mut DHCP_OPTION_ARRAY, optionsread : *mut u32, optionstotal : *mut u32) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumServers(flags : u32, idinfo : *mut ::core::ffi::c_void, servers : *mut *mut DHCPDS_SERVERS, callbackfn : *mut ::core::ffi::c_void, callbackdata : *mut ::core::ffi::c_void) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumSubnetClients(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, resumehandle : *mut u32, preferredmaximum : u32, clientinfo : *mut *mut DHCP_CLIENT_INFO_ARRAY, clientsread : *mut u32, clientstotal : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpEnumSubnetClientsFilterStatusInfo(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, resumehandle : *mut u32, preferredmaximum : u32, clientinfo : *mut *mut DHCP_CLIENT_FILTER_STATUS_INFO_ARRAY, clientsread : *mut u32, clientstotal : *mut u32) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumSubnetClientsV4(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, resumehandle : *mut u32, preferredmaximum : u32, clientinfo : *mut *mut DHCP_CLIENT_INFO_ARRAY_V4, clientsread : *mut u32, clientstotal : *mut u32) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumSubnetClientsV5(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, resumehandle : *mut u32, preferredmaximum : u32, clientinfo : *mut *mut DHCP_CLIENT_INFO_ARRAY_V5, clientsread : *mut u32, clientstotal : *mut u32) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumSubnetClientsV6(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : DHCP_IPV6_ADDRESS, resumehandle : *mut DHCP_IPV6_ADDRESS, preferredmaximum : u32, clientinfo : *mut *mut DHCP_CLIENT_INFO_ARRAY_V6, clientsread : *mut u32, clientstotal : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpEnumSubnetClientsVQ(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, resumehandle : *mut u32, preferredmaximum : u32, clientinfo : *mut *mut DHCP_CLIENT_INFO_ARRAY_VQ, clientsread : *mut u32, clientstotal : *mut u32) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumSubnetElements(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, enumelementtype : DHCP_SUBNET_ELEMENT_TYPE, resumehandle : *mut u32, preferredmaximum : u32, enumelementinfo : *mut *mut DHCP_SUBNET_ELEMENT_INFO_ARRAY, elementsread : *mut u32, elementstotal : *mut u32) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumSubnetElementsV4(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, enumelementtype : DHCP_SUBNET_ELEMENT_TYPE, resumehandle : *mut u32, preferredmaximum : u32, enumelementinfo : *mut *mut DHCP_SUBNET_ELEMENT_INFO_ARRAY_V4, elementsread : *mut u32, elementstotal : *mut u32) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumSubnetElementsV5(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, enumelementtype : DHCP_SUBNET_ELEMENT_TYPE, resumehandle : *mut u32, preferredmaximum : u32, enumelementinfo : *mut *mut DHCP_SUBNET_ELEMENT_INFO_ARRAY_V5, elementsread : *mut u32, elementstotal : *mut u32) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumSubnetElementsV6(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : DHCP_IPV6_ADDRESS, enumelementtype : DHCP_SUBNET_ELEMENT_TYPE_V6, resumehandle : *mut u32, preferredmaximum : u32, enumelementinfo : *mut *mut DHCP_SUBNET_ELEMENT_INFO_ARRAY_V6, elementsread : *mut u32, elementstotal : *mut u32) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumSubnets(serveripaddress : ::windows_sys::core::PCWSTR, resumehandle : *mut u32, preferredmaximum : u32, enuminfo : *mut *mut DHCP_IP_ARRAY, elementsread : *mut u32, elementstotal : *mut u32) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumSubnetsV6(serveripaddress : ::windows_sys::core::PCWSTR, resumehandle : *mut u32, preferredmaximum : u32, enuminfo : *mut *mut DHCPV6_IP_ARRAY, elementsread : *mut u32, elementstotal : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpGetAllOptionValues(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO, values : *mut *mut DHCP_ALL_OPTION_VALUES) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpGetAllOptionValuesV6(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO6, values : *mut *mut DHCP_ALL_OPTION_VALUES) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetAllOptions(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionstruct : *mut *mut DHCP_ALL_OPTIONS) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetAllOptionsV6(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionstruct : *mut *mut DHCP_ALL_OPTIONS) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpGetClassInfo(serveripaddress : ::windows_sys::core::PCWSTR, reservedmustbezero : u32, partialclassinfo : *mut DHCP_CLASS_INFO, filledclassinfo : *mut *mut DHCP_CLASS_INFO) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetClientInfo(serveripaddress : ::windows_sys::core::PCWSTR, searchinfo : *const DHCP_SEARCH_INFO, clientinfo : *mut *mut DHCP_CLIENT_INFO) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetClientInfoV4(serveripaddress : ::windows_sys::core::PCWSTR, searchinfo : *const DHCP_SEARCH_INFO, clientinfo : *mut *mut DHCP_CLIENT_INFO_V4) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetClientInfoV6(serveripaddress : ::windows_sys::core::PCWSTR, searchinfo : *const DHCP_SEARCH_INFO_V6, clientinfo : *mut *mut DHCP_CLIENT_INFO_V6) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpGetClientInfoVQ(serveripaddress : ::windows_sys::core::PCWSTR, searchinfo : *const DHCP_SEARCH_INFO, clientinfo : *mut *mut DHCP_CLIENT_INFO_VQ) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetClientOptions(serveripaddress : ::windows_sys::core::PCWSTR, clientipaddress : u32, clientsubnetmask : u32, clientoptions : *mut *mut DHCP_OPTION_LIST) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpGetFilterV4(serveripaddress : ::windows_sys::core::PCWSTR, globalfilterinfo : *mut DHCP_FILTER_GLOBAL_INFO) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetMibInfo(serveripaddress : ::windows_sys::core::PCWSTR, mibinfo : *mut *mut DHCP_MIB_INFO) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetMibInfoV5(serveripaddress : ::windows_sys::core::PCWSTR, mibinfo : *mut *mut DHCP_MIB_INFO_V5) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetMibInfoV6(serveripaddress : ::windows_sys::core::PCWSTR, mibinfo : *mut *mut DHCP_MIB_INFO_V6) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetOptionInfo(serveripaddress : ::windows_sys::core::PCWSTR, optionid : u32, optioninfo : *mut *mut DHCP_OPTION) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetOptionInfoV5(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, optioninfo : *mut *mut DHCP_OPTION) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetOptionInfoV6(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, optioninfo : *mut *mut DHCP_OPTION) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetOptionValue(serveripaddress : ::windows_sys::core::PCWSTR, optionid : u32, scopeinfo : *const DHCP_OPTION_SCOPE_INFO, optionvalue : *mut *mut DHCP_OPTION_VALUE) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetOptionValueV5(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO, optionvalue : *mut *mut DHCP_OPTION_VALUE) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetOptionValueV6(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO6, optionvalue : *mut *mut DHCP_OPTION_VALUE) -> u32); +::windows_targets::link!("dhcpcsvc.dll" "system" fn DhcpGetOriginalSubnetMask(sadaptername : ::windows_sys::core::PCWSTR, dwsubnetmask : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpGetServerBindingInfo(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, bindelementsinfo : *mut *mut DHCP_BIND_ELEMENT_ARRAY) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpGetServerBindingInfoV6(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, bindelementsinfo : *mut *mut DHCPV6_BIND_ELEMENT_ARRAY) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetServerSpecificStrings(serveripaddress : ::windows_sys::core::PCWSTR, serverspecificstrings : *mut *mut DHCP_SERVER_SPECIFIC_STRINGS) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetSubnetDelayOffer(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, timedelayinmilliseconds : *mut u16) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetSubnetInfo(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, subnetinfo : *mut *mut DHCP_SUBNET_INFO) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetSubnetInfoV6(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : DHCP_IPV6_ADDRESS, subnetinfo : *mut *mut DHCP_SUBNET_INFO_V6) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetSubnetInfoVQ(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, subnetinfo : *mut *mut DHCP_SUBNET_INFO_VQ) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetSuperScopeInfoV4(serveripaddress : ::windows_sys::core::PCWSTR, superscopetable : *mut *mut DHCP_SUPER_SCOPE_TABLE) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetThreadOptions(pflags : *mut u32, reserved : *mut ::core::ffi::c_void) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetVersion(serveripaddress : ::windows_sys::core::PCWSTR, majorversion : *mut u32, minorversion : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpHlprAddV4PolicyCondition(policy : *mut DHCP_POLICY, parentexpr : u32, r#type : DHCP_POL_ATTR_TYPE, optionid : u32, suboptionid : u32, vendorname : ::windows_sys::core::PCWSTR, operator : DHCP_POL_COMPARATOR, value : *const u8, valuelength : u32, conditionindex : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpHlprAddV4PolicyExpr(policy : *mut DHCP_POLICY, parentexpr : u32, operator : DHCP_POL_LOGIC_OPER, exprindex : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpHlprAddV4PolicyRange(policy : *mut DHCP_POLICY, range : *const DHCP_IP_RANGE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpHlprCreateV4Policy(policyname : ::windows_sys::core::PCWSTR, fglobalpolicy : super::super::Foundation:: BOOL, subnet : u32, processingorder : u32, rootoperator : DHCP_POL_LOGIC_OPER, description : ::windows_sys::core::PCWSTR, enabled : super::super::Foundation:: BOOL, policy : *mut *mut DHCP_POLICY) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpHlprCreateV4PolicyEx(policyname : ::windows_sys::core::PCWSTR, fglobalpolicy : super::super::Foundation:: BOOL, subnet : u32, processingorder : u32, rootoperator : DHCP_POL_LOGIC_OPER, description : ::windows_sys::core::PCWSTR, enabled : super::super::Foundation:: BOOL, policy : *mut *mut DHCP_POLICY_EX) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpHlprFindV4DhcpProperty(propertyarray : *const DHCP_PROPERTY_ARRAY, id : DHCP_PROPERTY_ID, r#type : DHCP_PROPERTY_TYPE) -> *mut DHCP_PROPERTY); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpHlprFreeV4DhcpProperty(property : *mut DHCP_PROPERTY) -> ()); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpHlprFreeV4DhcpPropertyArray(propertyarray : *mut DHCP_PROPERTY_ARRAY) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpHlprFreeV4Policy(policy : *mut DHCP_POLICY) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpHlprFreeV4PolicyArray(policyarray : *mut DHCP_POLICY_ARRAY) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpHlprFreeV4PolicyEx(policyex : *mut DHCP_POLICY_EX) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpHlprFreeV4PolicyExArray(policyexarray : *mut DHCP_POLICY_EX_ARRAY) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpHlprIsV4PolicySingleUC(policy : *const DHCP_POLICY) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpHlprIsV4PolicyValid(ppolicy : *const DHCP_POLICY) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpHlprIsV4PolicyWellFormed(ppolicy : *const DHCP_POLICY) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpHlprModifyV4PolicyExpr(policy : *mut DHCP_POLICY, operator : DHCP_POL_LOGIC_OPER) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpHlprResetV4PolicyExpr(policy : *mut DHCP_POLICY) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpModifyClass(serveripaddress : ::windows_sys::core::PCWSTR, reservedmustbezero : u32, classinfo : *mut DHCP_CLASS_INFO) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpModifyClassV6(serveripaddress : ::windows_sys::core::PCWSTR, reservedmustbezero : u32, classinfo : *mut DHCP_CLASS_INFO_V6) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpcsvc.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpRegisterParamChange(flags : u32, reserved : *const ::core::ffi::c_void, adaptername : ::windows_sys::core::PCWSTR, classid : *mut DHCPCAPI_CLASSID, params : DHCPCAPI_PARAMS_ARRAY, handle : *mut ::core::ffi::c_void) -> u32); +::windows_targets::link!("dhcpcsvc.dll" "system" fn DhcpRemoveDNSRegistrations() -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpRemoveOption(serveripaddress : ::windows_sys::core::PCWSTR, optionid : u32) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpRemoveOptionV5(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpRemoveOptionV6(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpRemoveOptionValue(serveripaddress : ::windows_sys::core::PCWSTR, optionid : u32, scopeinfo : *const DHCP_OPTION_SCOPE_INFO) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpRemoveOptionValueV5(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpRemoveOptionValueV6(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO6) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpRemoveSubnetElement(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, removeelementinfo : *const DHCP_SUBNET_ELEMENT_DATA, forceflag : DHCP_FORCE_FLAG) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpRemoveSubnetElementV4(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, removeelementinfo : *const DHCP_SUBNET_ELEMENT_DATA_V4, forceflag : DHCP_FORCE_FLAG) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpRemoveSubnetElementV5(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, removeelementinfo : *const DHCP_SUBNET_ELEMENT_DATA_V5, forceflag : DHCP_FORCE_FLAG) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpRemoveSubnetElementV6(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : DHCP_IPV6_ADDRESS, removeelementinfo : *mut DHCP_SUBNET_ELEMENT_DATA_V6, forceflag : DHCP_FORCE_FLAG) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpcsvc.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpRequestParams(flags : u32, reserved : *mut ::core::ffi::c_void, adaptername : ::windows_sys::core::PCWSTR, classid : *mut DHCPCAPI_CLASSID, sendparams : DHCPCAPI_PARAMS_ARRAY, recdparams : DHCPCAPI_PARAMS_ARRAY, buffer : *mut u8, psize : *mut u32, requestidstr : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpRpcFreeMemory(bufferpointer : *mut ::core::ffi::c_void) -> ()); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpScanDatabase(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, fixflag : u32, scanlist : *mut *mut DHCP_SCAN_LIST) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpServerAuditlogParamsFree(configinfo : *mut DHCP_SERVER_CONFIG_INFO_VQ) -> ()); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpServerBackupDatabase(serveripaddress : ::windows_sys::core::PCWSTR, path : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpServerGetConfig(serveripaddress : ::windows_sys::core::PCWSTR, configinfo : *mut *mut DHCP_SERVER_CONFIG_INFO) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpServerGetConfigV4(serveripaddress : ::windows_sys::core::PCWSTR, configinfo : *mut *mut DHCP_SERVER_CONFIG_INFO_V4) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpServerGetConfigV6(serveripaddress : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO6, configinfo : *mut *mut DHCP_SERVER_CONFIG_INFO_V6) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpServerGetConfigVQ(serveripaddress : ::windows_sys::core::PCWSTR, configinfo : *mut *mut DHCP_SERVER_CONFIG_INFO_VQ) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpServerQueryAttribute(serveripaddr : ::windows_sys::core::PCWSTR, dwreserved : u32, dhcpattribid : u32, pdhcpattrib : *mut *mut DHCP_ATTRIB) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpServerQueryAttributes(serveripaddr : ::windows_sys::core::PCWSTR, dwreserved : u32, dwattribcount : u32, pdhcpattribs : *mut u32, pdhcpattribarr : *mut *mut DHCP_ATTRIB_ARRAY) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpServerQueryDnsRegCredentials(serveripaddress : ::windows_sys::core::PCWSTR, unamesize : u32, uname : ::windows_sys::core::PWSTR, domainsize : u32, domain : ::windows_sys::core::PWSTR) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpServerRedoAuthorization(serveripaddr : ::windows_sys::core::PCWSTR, dwreserved : u32) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpServerRestoreDatabase(serveripaddress : ::windows_sys::core::PCWSTR, path : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpServerSetConfig(serveripaddress : ::windows_sys::core::PCWSTR, fieldstoset : u32, configinfo : *mut DHCP_SERVER_CONFIG_INFO) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpServerSetConfigV4(serveripaddress : ::windows_sys::core::PCWSTR, fieldstoset : u32, configinfo : *mut DHCP_SERVER_CONFIG_INFO_V4) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpServerSetConfigV6(serveripaddress : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO6, fieldstoset : u32, configinfo : *mut DHCP_SERVER_CONFIG_INFO_V6) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpServerSetConfigVQ(serveripaddress : ::windows_sys::core::PCWSTR, fieldstoset : u32, configinfo : *mut DHCP_SERVER_CONFIG_INFO_VQ) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpServerSetDnsRegCredentials(serveripaddress : ::windows_sys::core::PCWSTR, uname : ::windows_sys::core::PCWSTR, domain : ::windows_sys::core::PCWSTR, passwd : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpServerSetDnsRegCredentialsV5(serveripaddress : ::windows_sys::core::PCWSTR, uname : ::windows_sys::core::PCWSTR, domain : ::windows_sys::core::PCWSTR, passwd : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetClientInfo(serveripaddress : ::windows_sys::core::PCWSTR, clientinfo : *const DHCP_CLIENT_INFO) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetClientInfoV4(serveripaddress : ::windows_sys::core::PCWSTR, clientinfo : *const DHCP_CLIENT_INFO_V4) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetClientInfoV6(serveripaddress : ::windows_sys::core::PCWSTR, clientinfo : *const DHCP_CLIENT_INFO_V6) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpSetClientInfoVQ(serveripaddress : ::windows_sys::core::PCWSTR, clientinfo : *const DHCP_CLIENT_INFO_VQ) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpSetFilterV4(serveripaddress : ::windows_sys::core::PCWSTR, globalfilterinfo : *const DHCP_FILTER_GLOBAL_INFO) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetOptionInfo(serveripaddress : ::windows_sys::core::PCWSTR, optionid : u32, optioninfo : *const DHCP_OPTION) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetOptionInfoV5(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, optioninfo : *mut DHCP_OPTION) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetOptionInfoV6(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, optioninfo : *mut DHCP_OPTION) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetOptionValue(serveripaddress : ::windows_sys::core::PCWSTR, optionid : u32, scopeinfo : *const DHCP_OPTION_SCOPE_INFO, optionvalue : *const DHCP_OPTION_DATA) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetOptionValueV5(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO, optionvalue : *mut DHCP_OPTION_DATA) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetOptionValueV6(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO6, optionvalue : *mut DHCP_OPTION_DATA) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetOptionValues(serveripaddress : ::windows_sys::core::PCWSTR, scopeinfo : *const DHCP_OPTION_SCOPE_INFO, optionvalues : *const DHCP_OPTION_VALUE_ARRAY) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetOptionValuesV5(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO, optionvalues : *mut DHCP_OPTION_VALUE_ARRAY) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpSetServerBindingInfo(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, bindelementinfo : *mut DHCP_BIND_ELEMENT_ARRAY) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpSetServerBindingInfoV6(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, bindelementinfo : *mut DHCPV6_BIND_ELEMENT_ARRAY) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetSubnetDelayOffer(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, timedelayinmilliseconds : u16) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetSubnetInfo(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, subnetinfo : *const DHCP_SUBNET_INFO) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetSubnetInfoV6(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : DHCP_IPV6_ADDRESS, subnetinfo : *mut DHCP_SUBNET_INFO_V6) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetSubnetInfoVQ(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, subnetinfo : *const DHCP_SUBNET_INFO_VQ) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpSetSuperScopeV4(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, superscopename : ::windows_sys::core::PCWSTR, changeexisting : super::super::Foundation:: BOOL) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetThreadOptions(flags : u32, reserved : *mut ::core::ffi::c_void) -> u32); +::windows_targets::link!("dhcpcsvc.dll" "system" fn DhcpUndoRequestParams(flags : u32, reserved : *const ::core::ffi::c_void, adaptername : ::windows_sys::core::PCWSTR, requestidstr : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4AddPolicyRange(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, policyname : ::windows_sys::core::PCWSTR, range : *const DHCP_IP_RANGE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4CreateClientInfo(serveripaddress : ::windows_sys::core::PCWSTR, clientinfo : *const DHCP_CLIENT_INFO_PB) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4CreateClientInfoEx(serveripaddress : ::windows_sys::core::PCWSTR, clientinfo : *const DHCP_CLIENT_INFO_EX) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4CreatePolicy(serveripaddress : ::windows_sys::core::PCWSTR, ppolicy : *const DHCP_POLICY) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4CreatePolicyEx(serveripaddress : ::windows_sys::core::PCWSTR, policyex : *const DHCP_POLICY_EX) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4DeletePolicy(serveripaddress : ::windows_sys::core::PCWSTR, fglobalpolicy : super::super::Foundation:: BOOL, subnetaddress : u32, policyname : ::windows_sys::core::PCWSTR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4EnumPolicies(serveripaddress : ::windows_sys::core::PCWSTR, resumehandle : *mut u32, preferredmaximum : u32, fglobalpolicy : super::super::Foundation:: BOOL, subnetaddress : u32, enuminfo : *mut *mut DHCP_POLICY_ARRAY, elementsread : *mut u32, elementstotal : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4EnumPoliciesEx(serveripaddress : ::windows_sys::core::PCWSTR, resumehandle : *mut u32, preferredmaximum : u32, globalpolicy : super::super::Foundation:: BOOL, subnetaddress : u32, enuminfo : *mut *mut DHCP_POLICY_EX_ARRAY, elementsread : *mut u32, elementstotal : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4EnumSubnetClients(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, resumehandle : *mut u32, preferredmaximum : u32, clientinfo : *mut *mut DHCP_CLIENT_INFO_PB_ARRAY, clientsread : *mut u32, clientstotal : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4EnumSubnetClientsEx(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, resumehandle : *mut u32, preferredmaximum : u32, clientinfo : *mut *mut DHCP_CLIENT_INFO_EX_ARRAY, clientsread : *mut u32, clientstotal : *mut u32) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4EnumSubnetReservations(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, resumehandle : *mut u32, preferredmaximum : u32, enumelementinfo : *mut *mut DHCP_RESERVATION_INFO_ARRAY, elementsread : *mut u32, elementstotal : *mut u32) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4FailoverAddScopeToRelationship(serveripaddress : ::windows_sys::core::PCWSTR, prelationship : *const DHCP_FAILOVER_RELATIONSHIP) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4FailoverCreateRelationship(serveripaddress : ::windows_sys::core::PCWSTR, prelationship : *const DHCP_FAILOVER_RELATIONSHIP) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4FailoverDeleteRelationship(serveripaddress : ::windows_sys::core::PCWSTR, prelationshipname : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4FailoverDeleteScopeFromRelationship(serveripaddress : ::windows_sys::core::PCWSTR, prelationship : *const DHCP_FAILOVER_RELATIONSHIP) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4FailoverEnumRelationship(serveripaddress : ::windows_sys::core::PCWSTR, resumehandle : *mut u32, preferredmaximum : u32, prelationship : *mut *mut DHCP_FAILOVER_RELATIONSHIP_ARRAY, relationshipread : *mut u32, relationshiptotal : *mut u32) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4FailoverGetAddressStatus(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, pstatus : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4FailoverGetClientInfo(serveripaddress : ::windows_sys::core::PCWSTR, searchinfo : *const DHCP_SEARCH_INFO, clientinfo : *mut *mut DHCPV4_FAILOVER_CLIENT_INFO) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4FailoverGetRelationship(serveripaddress : ::windows_sys::core::PCWSTR, prelationshipname : ::windows_sys::core::PCWSTR, prelationship : *mut *mut DHCP_FAILOVER_RELATIONSHIP) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4FailoverGetScopeRelationship(serveripaddress : ::windows_sys::core::PCWSTR, scopeid : u32, prelationship : *mut *mut DHCP_FAILOVER_RELATIONSHIP) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4FailoverGetScopeStatistics(serveripaddress : ::windows_sys::core::PCWSTR, scopeid : u32, pstats : *mut *mut DHCP_FAILOVER_STATISTICS) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4FailoverGetSystemTime(serveripaddress : ::windows_sys::core::PCWSTR, ptime : *mut u32, pmaxalloweddeltatime : *mut u32) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4FailoverSetRelationship(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, prelationship : *const DHCP_FAILOVER_RELATIONSHIP) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4FailoverTriggerAddrAllocation(serveripaddress : ::windows_sys::core::PCWSTR, pfailrelname : ::windows_sys::core::PCWSTR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4GetAllOptionValues(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO, values : *mut *mut DHCP_ALL_OPTION_VALUES_PB) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4GetClientInfo(serveripaddress : ::windows_sys::core::PCWSTR, searchinfo : *const DHCP_SEARCH_INFO, clientinfo : *mut *mut DHCP_CLIENT_INFO_PB) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4GetClientInfoEx(serveripaddress : ::windows_sys::core::PCWSTR, searchinfo : *const DHCP_SEARCH_INFO, clientinfo : *mut *mut DHCP_CLIENT_INFO_EX) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4GetFreeIPAddress(serveripaddress : ::windows_sys::core::PCWSTR, scopeid : u32, startip : u32, endip : u32, numfreeaddrreq : u32, ipaddrlist : *mut *mut DHCP_IP_ARRAY) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4GetOptionValue(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, policyname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO, optionvalue : *mut *mut DHCP_OPTION_VALUE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4GetPolicy(serveripaddress : ::windows_sys::core::PCWSTR, fglobalpolicy : super::super::Foundation:: BOOL, subnetaddress : u32, policyname : ::windows_sys::core::PCWSTR, policy : *mut *mut DHCP_POLICY) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4GetPolicyEx(serveripaddress : ::windows_sys::core::PCWSTR, globalpolicy : super::super::Foundation:: BOOL, subnetaddress : u32, policyname : ::windows_sys::core::PCWSTR, policy : *mut *mut DHCP_POLICY_EX) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4QueryPolicyEnforcement(serveripaddress : ::windows_sys::core::PCWSTR, fglobalpolicy : super::super::Foundation:: BOOL, subnetaddress : u32, enabled : *mut super::super::Foundation:: BOOL) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4RemoveOptionValue(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, policyname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4RemovePolicyRange(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, policyname : ::windows_sys::core::PCWSTR, range : *const DHCP_IP_RANGE) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4SetOptionValue(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, policyname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO, optionvalue : *mut DHCP_OPTION_DATA) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4SetOptionValues(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, policyname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO, optionvalues : *mut DHCP_OPTION_VALUE_ARRAY) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4SetPolicy(serveripaddress : ::windows_sys::core::PCWSTR, fieldsmodified : u32, fglobalpolicy : super::super::Foundation:: BOOL, subnetaddress : u32, policyname : ::windows_sys::core::PCWSTR, policy : *const DHCP_POLICY) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4SetPolicyEnforcement(serveripaddress : ::windows_sys::core::PCWSTR, fglobalpolicy : super::super::Foundation:: BOOL, subnetaddress : u32, enable : super::super::Foundation:: BOOL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4SetPolicyEx(serveripaddress : ::windows_sys::core::PCWSTR, fieldsmodified : u32, globalpolicy : super::super::Foundation:: BOOL, subnetaddress : u32, policyname : ::windows_sys::core::PCWSTR, policy : *const DHCP_POLICY_EX) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV6CreateClientInfo(serveripaddress : ::windows_sys::core::PCWSTR, clientinfo : *const DHCP_CLIENT_INFO_V6) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV6GetFreeIPAddress(serveripaddress : ::windows_sys::core::PCWSTR, scopeid : DHCP_IPV6_ADDRESS, startip : DHCP_IPV6_ADDRESS, endip : DHCP_IPV6_ADDRESS, numfreeaddrreq : u32, ipaddrlist : *mut *mut DHCPV6_IP_ARRAY) -> u32); +::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV6GetStatelessStatistics(serveripaddress : ::windows_sys::core::PCWSTR, statelessstats : *mut *mut DHCPV6_STATELESS_STATS) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV6GetStatelessStoreParams(serveripaddress : ::windows_sys::core::PCWSTR, fserverlevel : super::super::Foundation:: BOOL, subnetaddress : DHCP_IPV6_ADDRESS, params : *mut *mut DHCPV6_STATELESS_PARAMS) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV6SetStatelessStoreParams(serveripaddress : ::windows_sys::core::PCWSTR, fserverlevel : super::super::Foundation:: BOOL, subnetaddress : DHCP_IPV6_ADDRESS, fieldmodified : u32, params : *const DHCPV6_STATELESS_PARAMS) -> u32); +::windows_targets::link!("dhcpcsvc6.dll" "system" fn Dhcpv6CApiCleanup() -> ()); +::windows_targets::link!("dhcpcsvc6.dll" "system" fn Dhcpv6CApiInitialize(version : *mut u32) -> ()); +::windows_targets::link!("dhcpcsvc6.dll" "system" fn Dhcpv6ReleasePrefix(adaptername : ::windows_sys::core::PCWSTR, classid : *mut DHCPV6CAPI_CLASSID, leaseinfo : *mut DHCPV6PrefixLeaseInformation) -> u32); +::windows_targets::link!("dhcpcsvc6.dll" "system" fn Dhcpv6RenewPrefix(adaptername : ::windows_sys::core::PCWSTR, pclassid : *mut DHCPV6CAPI_CLASSID, prefixleaseinfo : *mut DHCPV6PrefixLeaseInformation, pdwtimetowait : *mut u32, bvalidateprefix : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpcsvc6.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn Dhcpv6RequestParams(forcenewinform : super::super::Foundation:: BOOL, reserved : *mut ::core::ffi::c_void, adaptername : ::windows_sys::core::PCWSTR, classid : *mut DHCPV6CAPI_CLASSID, recdparams : DHCPV6CAPI_PARAMS_ARRAY, buffer : *mut u8, psize : *mut u32) -> u32); +::windows_targets::link!("dhcpcsvc6.dll" "system" fn Dhcpv6RequestPrefix(adaptername : ::windows_sys::core::PCWSTR, pclassid : *mut DHCPV6CAPI_CLASSID, prefixleaseinfo : *mut DHCPV6PrefixLeaseInformation, pdwtimetowait : *mut u32) -> u32); +pub const ADDRESS_TYPE_IANA: u32 = 0u32; +pub const ADDRESS_TYPE_IATA: u32 = 1u32; +pub const Allow: DHCP_FILTER_LIST_TYPE = 1i32; +pub const CHANGESTATE: u32 = 4u32; +pub const CLIENT_TYPE_BOOTP: u32 = 2u32; +pub const CLIENT_TYPE_DHCP: u32 = 1u32; +pub const CLIENT_TYPE_NONE: u32 = 100u32; +pub const CLIENT_TYPE_RESERVATION_FLAG: u32 = 4u32; +pub const CLIENT_TYPE_UNSPECIFIED: u32 = 0u32; +pub const COMMUNICATION_INT: FSM_STATE = 4i32; +pub const CONFLICT_DONE: FSM_STATE = 7i32; +pub const DEFAULTQUARSETTING: QuarantineStatus = 5i32; +pub const DHCPCAPI_DEREGISTER_HANDLE_EVENT: u32 = 1u32; +pub const DHCPCAPI_REGISTER_HANDLE_EVENT: u32 = 1u32; +pub const DHCPCAPI_REQUEST_ASYNCHRONOUS: u32 = 4u32; +pub const DHCPCAPI_REQUEST_CANCEL: u32 = 8u32; +pub const DHCPCAPI_REQUEST_MASK: u32 = 15u32; +pub const DHCPCAPI_REQUEST_PERSISTENT: u32 = 1u32; +pub const DHCPCAPI_REQUEST_SYNCHRONOUS: u32 = 2u32; +pub const DHCPV6_OPTION_CLIENTID: u32 = 1u32; +pub const DHCPV6_OPTION_DNS_SERVERS: u32 = 23u32; +pub const DHCPV6_OPTION_DOMAIN_LIST: u32 = 24u32; +pub const DHCPV6_OPTION_IA_NA: u32 = 3u32; +pub const DHCPV6_OPTION_IA_PD: u32 = 25u32; +pub const DHCPV6_OPTION_IA_TA: u32 = 4u32; +pub const DHCPV6_OPTION_NISP_DOMAIN_NAME: u32 = 30u32; +pub const DHCPV6_OPTION_NISP_SERVERS: u32 = 28u32; +pub const DHCPV6_OPTION_NIS_DOMAIN_NAME: u32 = 29u32; +pub const DHCPV6_OPTION_NIS_SERVERS: u32 = 27u32; +pub const DHCPV6_OPTION_ORO: u32 = 6u32; +pub const DHCPV6_OPTION_PREFERENCE: u32 = 7u32; +pub const DHCPV6_OPTION_RAPID_COMMIT: u32 = 14u32; +pub const DHCPV6_OPTION_RECONF_MSG: u32 = 19u32; +pub const DHCPV6_OPTION_SERVERID: u32 = 2u32; +pub const DHCPV6_OPTION_SIP_SERVERS_ADDRS: u32 = 22u32; +pub const DHCPV6_OPTION_SIP_SERVERS_NAMES: u32 = 21u32; +pub const DHCPV6_OPTION_UNICAST: u32 = 12u32; +pub const DHCPV6_OPTION_USER_CLASS: u32 = 15u32; +pub const DHCPV6_OPTION_VENDOR_CLASS: u32 = 16u32; +pub const DHCPV6_OPTION_VENDOR_OPTS: u32 = 17u32; +pub const DHCP_ATTRIB_BOOL_IS_ADMIN: u32 = 5u32; +pub const DHCP_ATTRIB_BOOL_IS_BINDING_AWARE: u32 = 4u32; +pub const DHCP_ATTRIB_BOOL_IS_DYNBOOTP: u32 = 2u32; +pub const DHCP_ATTRIB_BOOL_IS_PART_OF_DSDC: u32 = 3u32; +pub const DHCP_ATTRIB_BOOL_IS_ROGUE: u32 = 1u32; +pub const DHCP_ATTRIB_TYPE_BOOL: u32 = 1u32; +pub const DHCP_ATTRIB_TYPE_ULONG: u32 = 2u32; +pub const DHCP_ATTRIB_ULONG_RESTORE_STATUS: u32 = 6u32; +pub const DHCP_CALLOUT_ENTRY_POINT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("DhcpServerCalloutEntry"); +pub const DHCP_CALLOUT_LIST_KEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("System\\CurrentControlSet\\Services\\DHCPServer\\Parameters"); +pub const DHCP_CALLOUT_LIST_VALUE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CalloutDlls"); +pub const DHCP_CLIENT_BOOTP: u32 = 805306371u32; +pub const DHCP_CLIENT_DHCP: u32 = 805306372u32; +pub const DHCP_CONTROL_CONTINUE: u32 = 4u32; +pub const DHCP_CONTROL_PAUSE: u32 = 3u32; +pub const DHCP_CONTROL_START: u32 = 1u32; +pub const DHCP_CONTROL_STOP: u32 = 2u32; +pub const DHCP_DROP_DUPLICATE: u32 = 1u32; +pub const DHCP_DROP_GEN_FAILURE: u32 = 256u32; +pub const DHCP_DROP_INTERNAL_ERROR: u32 = 3u32; +pub const DHCP_DROP_INVALID: u32 = 8u32; +pub const DHCP_DROP_NOADDRESS: u32 = 10u32; +pub const DHCP_DROP_NOMEM: u32 = 2u32; +pub const DHCP_DROP_NO_SUBNETS: u32 = 7u32; +pub const DHCP_DROP_PAUSED: u32 = 6u32; +pub const DHCP_DROP_PROCESSED: u32 = 11u32; +pub const DHCP_DROP_TIMEOUT: u32 = 4u32; +pub const DHCP_DROP_UNAUTH: u32 = 5u32; +pub const DHCP_DROP_WRONG_SERVER: u32 = 9u32; +pub const DHCP_ENDPOINT_FLAG_CANT_MODIFY: u32 = 1u32; +pub const DHCP_FAILOVER_DELETE_SCOPES: u32 = 1u32; +pub const DHCP_FAILOVER_MAX_NUM_ADD_SCOPES: u32 = 400u32; +pub const DHCP_FAILOVER_MAX_NUM_REL: u32 = 31u32; +pub const DHCP_FLAGS_DONT_ACCESS_DS: u32 = 1u32; +pub const DHCP_FLAGS_DONT_DO_RPC: u32 = 2u32; +pub const DHCP_FLAGS_OPTION_IS_VENDOR: u32 = 3u32; +pub const DHCP_GIVE_ADDRESS_NEW: u32 = 805306369u32; +pub const DHCP_GIVE_ADDRESS_OLD: u32 = 805306370u32; +pub const DHCP_MAX_DELAY: u32 = 1000u32; +pub const DHCP_MIN_DELAY: u32 = 0u32; +pub const DHCP_OPT_ENUM_IGNORE_VENDOR: u32 = 1u32; +pub const DHCP_OPT_ENUM_USE_CLASSNAME: u32 = 2u32; +pub const DHCP_PROB_CONFLICT: u32 = 536870913u32; +pub const DHCP_PROB_DECLINE: u32 = 536870914u32; +pub const DHCP_PROB_NACKED: u32 = 536870916u32; +pub const DHCP_PROB_RELEASE: u32 = 536870915u32; +pub const DHCP_SEND_PACKET: u32 = 268435456u32; +pub const DHCP_SUBNET_INFO_VQ_FLAG_QUARANTINE: u32 = 1u32; +pub const DNS_FLAG_CLEANUP_EXPIRED: u32 = 4u32; +pub const DNS_FLAG_DISABLE_PTR_UPDATE: u32 = 64u32; +pub const DNS_FLAG_ENABLED: u32 = 1u32; +pub const DNS_FLAG_HAS_DNS_SUFFIX: u32 = 128u32; +pub const DNS_FLAG_UPDATE_BOTH_ALWAYS: u32 = 16u32; +pub const DNS_FLAG_UPDATE_DHCID: u32 = 32u32; +pub const DNS_FLAG_UPDATE_DOWNLEVEL: u32 = 2u32; +pub const DROPPACKET: QuarantineStatus = 2i32; +pub const Deny: DHCP_FILTER_LIST_TYPE = 0i32; +pub const DhcpArrayTypeOption: DHCP_OPTION_TYPE = 1i32; +pub const DhcpAttrFqdn: DHCP_POL_ATTR_TYPE = 3i32; +pub const DhcpAttrFqdnSingleLabel: DHCP_POL_ATTR_TYPE = 4i32; +pub const DhcpAttrHWAddr: DHCP_POL_ATTR_TYPE = 0i32; +pub const DhcpAttrOption: DHCP_POL_ATTR_TYPE = 1i32; +pub const DhcpAttrSubOption: DHCP_POL_ATTR_TYPE = 2i32; +pub const DhcpBinaryDataOption: DHCP_OPTION_DATA_TYPE = 6i32; +pub const DhcpByteOption: DHCP_OPTION_DATA_TYPE = 0i32; +pub const DhcpClientHardwareAddress: DHCP_SEARCH_INFO_TYPE = 1i32; +pub const DhcpClientIpAddress: DHCP_SEARCH_INFO_TYPE = 0i32; +pub const DhcpClientName: DHCP_SEARCH_INFO_TYPE = 2i32; +pub const DhcpCompBeginsWith: DHCP_POL_COMPARATOR = 2i32; +pub const DhcpCompEndsWith: DHCP_POL_COMPARATOR = 4i32; +pub const DhcpCompEqual: DHCP_POL_COMPARATOR = 0i32; +pub const DhcpCompNotBeginWith: DHCP_POL_COMPARATOR = 3i32; +pub const DhcpCompNotEndWith: DHCP_POL_COMPARATOR = 5i32; +pub const DhcpCompNotEqual: DHCP_POL_COMPARATOR = 1i32; +pub const DhcpDWordDWordOption: DHCP_OPTION_DATA_TYPE = 3i32; +pub const DhcpDWordOption: DHCP_OPTION_DATA_TYPE = 2i32; +pub const DhcpDatabaseFix: DHCP_SCAN_FLAG = 1i32; +pub const DhcpDefaultOptions: DHCP_OPTION_SCOPE_TYPE = 0i32; +pub const DhcpDefaultOptions6: DHCP_OPTION_SCOPE_TYPE6 = 0i32; +pub const DhcpEncapsulatedDataOption: DHCP_OPTION_DATA_TYPE = 7i32; +pub const DhcpExcludedIpRanges: DHCP_SUBNET_ELEMENT_TYPE = 3i32; +pub const DhcpFailoverForce: DHCP_FORCE_FLAG = 2i32; +pub const DhcpFullForce: DHCP_FORCE_FLAG = 0i32; +pub const DhcpGlobalOptions: DHCP_OPTION_SCOPE_TYPE = 1i32; +pub const DhcpGlobalOptions6: DHCP_OPTION_SCOPE_TYPE6 = 3i32; +pub const DhcpIpAddressOption: DHCP_OPTION_DATA_TYPE = 4i32; +pub const DhcpIpRanges: DHCP_SUBNET_ELEMENT_TYPE = 0i32; +pub const DhcpIpRangesBootpOnly: DHCP_SUBNET_ELEMENT_TYPE = 7i32; +pub const DhcpIpRangesDhcpBootp: DHCP_SUBNET_ELEMENT_TYPE = 6i32; +pub const DhcpIpRangesDhcpOnly: DHCP_SUBNET_ELEMENT_TYPE = 5i32; +pub const DhcpIpUsedClusters: DHCP_SUBNET_ELEMENT_TYPE = 4i32; +pub const DhcpIpv6AddressOption: DHCP_OPTION_DATA_TYPE = 8i32; +pub const DhcpLogicalAnd: DHCP_POL_LOGIC_OPER = 1i32; +pub const DhcpLogicalOr: DHCP_POL_LOGIC_OPER = 0i32; +pub const DhcpMScopeOptions: DHCP_OPTION_SCOPE_TYPE = 4i32; +pub const DhcpNoForce: DHCP_FORCE_FLAG = 1i32; +pub const DhcpPropIdClientAddressStateEx: DHCP_PROPERTY_ID = 1i32; +pub const DhcpPropIdPolicyDnsSuffix: DHCP_PROPERTY_ID = 0i32; +pub const DhcpPropTypeBinary: DHCP_PROPERTY_TYPE = 4i32; +pub const DhcpPropTypeByte: DHCP_PROPERTY_TYPE = 0i32; +pub const DhcpPropTypeDword: DHCP_PROPERTY_TYPE = 2i32; +pub const DhcpPropTypeString: DHCP_PROPERTY_TYPE = 3i32; +pub const DhcpPropTypeWord: DHCP_PROPERTY_TYPE = 1i32; +pub const DhcpRegistryFix: DHCP_SCAN_FLAG = 0i32; +pub const DhcpReservedIps: DHCP_SUBNET_ELEMENT_TYPE = 2i32; +pub const DhcpReservedOptions: DHCP_OPTION_SCOPE_TYPE = 3i32; +pub const DhcpReservedOptions6: DHCP_OPTION_SCOPE_TYPE6 = 2i32; +pub const DhcpScopeOptions6: DHCP_OPTION_SCOPE_TYPE6 = 1i32; +pub const DhcpSecondaryHosts: DHCP_SUBNET_ELEMENT_TYPE = 1i32; +pub const DhcpStatelessPurgeInterval: DHCPV6_STATELESS_PARAM_TYPE = 1i32; +pub const DhcpStatelessStatus: DHCPV6_STATELESS_PARAM_TYPE = 2i32; +pub const DhcpStringDataOption: DHCP_OPTION_DATA_TYPE = 5i32; +pub const DhcpSubnetDisabled: DHCP_SUBNET_STATE = 1i32; +pub const DhcpSubnetDisabledSwitched: DHCP_SUBNET_STATE = 3i32; +pub const DhcpSubnetEnabled: DHCP_SUBNET_STATE = 0i32; +pub const DhcpSubnetEnabledSwitched: DHCP_SUBNET_STATE = 2i32; +pub const DhcpSubnetInvalidState: DHCP_SUBNET_STATE = 4i32; +pub const DhcpSubnetOptions: DHCP_OPTION_SCOPE_TYPE = 2i32; +pub const DhcpUnaryElementTypeOption: DHCP_OPTION_TYPE = 0i32; +pub const DhcpUpdatePolicyDescr: DHCP_POLICY_FIELDS_TO_UPDATE = 16i32; +pub const DhcpUpdatePolicyDnsSuffix: DHCP_POLICY_FIELDS_TO_UPDATE = 64i32; +pub const DhcpUpdatePolicyExpr: DHCP_POLICY_FIELDS_TO_UPDATE = 4i32; +pub const DhcpUpdatePolicyName: DHCP_POLICY_FIELDS_TO_UPDATE = 1i32; +pub const DhcpUpdatePolicyOrder: DHCP_POLICY_FIELDS_TO_UPDATE = 2i32; +pub const DhcpUpdatePolicyRanges: DHCP_POLICY_FIELDS_TO_UPDATE = 8i32; +pub const DhcpUpdatePolicyStatus: DHCP_POLICY_FIELDS_TO_UPDATE = 32i32; +pub const DhcpWordOption: DHCP_OPTION_DATA_TYPE = 1i32; +pub const Dhcpv6ClientDUID: DHCP_SEARCH_INFO_TYPE_V6 = 1i32; +pub const Dhcpv6ClientIpAddress: DHCP_SEARCH_INFO_TYPE_V6 = 0i32; +pub const Dhcpv6ClientName: DHCP_SEARCH_INFO_TYPE_V6 = 2i32; +pub const Dhcpv6ExcludedIpRanges: DHCP_SUBNET_ELEMENT_TYPE_V6 = 2i32; +pub const Dhcpv6IpRanges: DHCP_SUBNET_ELEMENT_TYPE_V6 = 0i32; +pub const Dhcpv6ReservedIps: DHCP_SUBNET_ELEMENT_TYPE_V6 = 1i32; +pub const ERROR_DDS_CLASS_DOES_NOT_EXIST: u32 = 20078u32; +pub const ERROR_DDS_CLASS_EXISTS: u32 = 20077u32; +pub const ERROR_DDS_DHCP_SERVER_NOT_FOUND: u32 = 20074u32; +pub const ERROR_DDS_NO_DHCP_ROOT: u32 = 20071u32; +pub const ERROR_DDS_NO_DS_AVAILABLE: u32 = 20070u32; +pub const ERROR_DDS_OPTION_ALREADY_EXISTS: u32 = 20075u32; +pub const ERROR_DDS_OPTION_DOES_NOT_EXIST: u32 = 20076u32; +pub const ERROR_DDS_POSSIBLE_RANGE_CONFLICT: u32 = 20087u32; +pub const ERROR_DDS_RANGE_DOES_NOT_EXIST: u32 = 20088u32; +pub const ERROR_DDS_RESERVATION_CONFLICT: u32 = 20086u32; +pub const ERROR_DDS_RESERVATION_NOT_PRESENT: u32 = 20085u32; +pub const ERROR_DDS_SERVER_ADDRESS_MISMATCH: u32 = 20081u32; +pub const ERROR_DDS_SERVER_ALREADY_EXISTS: u32 = 20079u32; +pub const ERROR_DDS_SERVER_DOES_NOT_EXIST: u32 = 20080u32; +pub const ERROR_DDS_SUBNET_EXISTS: u32 = 20082u32; +pub const ERROR_DDS_SUBNET_HAS_DIFF_SSCOPE: u32 = 20083u32; +pub const ERROR_DDS_SUBNET_NOT_PRESENT: u32 = 20084u32; +pub const ERROR_DDS_TOO_MANY_ERRORS: u32 = 20073u32; +pub const ERROR_DDS_UNEXPECTED_ERROR: u32 = 20072u32; +pub const ERROR_DHCP_ADDRESS_NOT_AVAILABLE: u32 = 20011u32; +pub const ERROR_DHCP_CANNOT_MODIFY_BINDINGS: u32 = 20051u32; +pub const ERROR_DHCP_CANT_CHANGE_ATTRIBUTE: u32 = 20048u32; +pub const ERROR_DHCP_CLASS_ALREADY_EXISTS: u32 = 20045u32; +pub const ERROR_DHCP_CLASS_NOT_FOUND: u32 = 20044u32; +pub const ERROR_DHCP_CLIENT_EXISTS: u32 = 20014u32; +pub const ERROR_DHCP_DATABASE_INIT_FAILED: u32 = 20001u32; +pub const ERROR_DHCP_DEFAULT_SCOPE_EXITS: u32 = 20047u32; +pub const ERROR_DHCP_DELETE_BUILTIN_CLASS: u32 = 20089u32; +pub const ERROR_DHCP_ELEMENT_CANT_REMOVE: u32 = 20007u32; +pub const ERROR_DHCP_EXEMPTION_EXISTS: u32 = 20055u32; +pub const ERROR_DHCP_EXEMPTION_NOT_PRESENT: u32 = 20056u32; +pub const ERROR_DHCP_FO_ADDSCOPE_LEASES_NOT_SYNCED: u32 = 20127u32; +pub const ERROR_DHCP_FO_BOOT_NOT_SUPPORTED: u32 = 20131u32; +pub const ERROR_DHCP_FO_FEATURE_NOT_SUPPORTED: u32 = 20134u32; +pub const ERROR_DHCP_FO_IPRANGE_TYPE_CONV_ILLEGAL: u32 = 20129u32; +pub const ERROR_DHCP_FO_MAX_ADD_SCOPES: u32 = 20130u32; +pub const ERROR_DHCP_FO_MAX_RELATIONSHIPS: u32 = 20128u32; +pub const ERROR_DHCP_FO_NOT_SUPPORTED: u32 = 20118u32; +pub const ERROR_DHCP_FO_RANGE_PART_OF_REL: u32 = 20132u32; +pub const ERROR_DHCP_FO_RELATIONSHIP_DOES_NOT_EXIST: u32 = 20115u32; +pub const ERROR_DHCP_FO_RELATIONSHIP_EXISTS: u32 = 20114u32; +pub const ERROR_DHCP_FO_RELATIONSHIP_NAME_TOO_LONG: u32 = 20125u32; +pub const ERROR_DHCP_FO_RELATION_IS_SECONDARY: u32 = 20117u32; +pub const ERROR_DHCP_FO_SCOPE_ALREADY_IN_RELATIONSHIP: u32 = 20113u32; +pub const ERROR_DHCP_FO_SCOPE_NOT_IN_RELATIONSHIP: u32 = 20116u32; +pub const ERROR_DHCP_FO_SCOPE_SYNC_IN_PROGRESS: u32 = 20133u32; +pub const ERROR_DHCP_FO_STATE_NOT_NORMAL: u32 = 20120u32; +pub const ERROR_DHCP_FO_TIME_OUT_OF_SYNC: u32 = 20119u32; +pub const ERROR_DHCP_HARDWARE_ADDRESS_TYPE_ALREADY_EXEMPT: u32 = 20101u32; +pub const ERROR_DHCP_INVALID_DELAY: u32 = 20092u32; +pub const ERROR_DHCP_INVALID_DHCP_CLIENT: u32 = 20016u32; +pub const ERROR_DHCP_INVALID_DHCP_MESSAGE: u32 = 20015u32; +pub const ERROR_DHCP_INVALID_PARAMETER_OPTION32: u32 = 20057u32; +pub const ERROR_DHCP_INVALID_POLICY_EXPRESSION: u32 = 20109u32; +pub const ERROR_DHCP_INVALID_PROCESSING_ORDER: u32 = 20110u32; +pub const ERROR_DHCP_INVALID_RANGE: u32 = 20023u32; +pub const ERROR_DHCP_INVALID_SUBNET_PREFIX: u32 = 20091u32; +pub const ERROR_DHCP_IPRANGE_CONV_ILLEGAL: u32 = 20049u32; +pub const ERROR_DHCP_IPRANGE_EXITS: u32 = 20021u32; +pub const ERROR_DHCP_IP_ADDRESS_IN_USE: u32 = 20032u32; +pub const ERROR_DHCP_JET97_CONV_REQUIRED: u32 = 20036u32; +pub const ERROR_DHCP_JET_CONV_REQUIRED: u32 = 20027u32; +pub const ERROR_DHCP_JET_ERROR: u32 = 20013u32; +pub const ERROR_DHCP_LINKLAYER_ADDRESS_DOES_NOT_EXIST: u32 = 20095u32; +pub const ERROR_DHCP_LINKLAYER_ADDRESS_EXISTS: u32 = 20093u32; +pub const ERROR_DHCP_LINKLAYER_ADDRESS_RESERVATION_EXISTS: u32 = 20094u32; +pub const ERROR_DHCP_LOG_FILE_PATH_TOO_LONG: u32 = 20033u32; +pub const ERROR_DHCP_MSCOPE_EXISTS: u32 = 20053u32; +pub const ERROR_DHCP_NAP_NOT_SUPPORTED: u32 = 20138u32; +pub const ERROR_DHCP_NETWORK_CHANGED: u32 = 20050u32; +pub const ERROR_DHCP_NETWORK_INIT_FAILED: u32 = 20003u32; +pub const ERROR_DHCP_NOT_RESERVED_CLIENT: u32 = 20018u32; +pub const ERROR_DHCP_NO_ADMIN_PERMISSION: u32 = 20121u32; +pub const ERROR_DHCP_OPTION_EXITS: u32 = 20009u32; +pub const ERROR_DHCP_OPTION_NOT_PRESENT: u32 = 20010u32; +pub const ERROR_DHCP_OPTION_TYPE_MISMATCH: u32 = 20103u32; +pub const ERROR_DHCP_POLICY_BAD_PARENT_EXPR: u32 = 20104u32; +pub const ERROR_DHCP_POLICY_EDIT_FQDN_UNSUPPORTED: u32 = 20137u32; +pub const ERROR_DHCP_POLICY_EXISTS: u32 = 20105u32; +pub const ERROR_DHCP_POLICY_FQDN_OPTION_UNSUPPORTED: u32 = 20136u32; +pub const ERROR_DHCP_POLICY_FQDN_RANGE_UNSUPPORTED: u32 = 20135u32; +pub const ERROR_DHCP_POLICY_NOT_FOUND: u32 = 20111u32; +pub const ERROR_DHCP_POLICY_RANGE_BAD: u32 = 20107u32; +pub const ERROR_DHCP_POLICY_RANGE_EXISTS: u32 = 20106u32; +pub const ERROR_DHCP_PRIMARY_NOT_FOUND: u32 = 20006u32; +pub const ERROR_DHCP_RANGE_EXTENDED: u32 = 20024u32; +pub const ERROR_DHCP_RANGE_FULL: u32 = 20012u32; +pub const ERROR_DHCP_RANGE_INVALID_IN_SERVER_POLICY: u32 = 20108u32; +pub const ERROR_DHCP_RANGE_TOO_SMALL: u32 = 20020u32; +pub const ERROR_DHCP_REACHED_END_OF_SELECTION: u32 = 20126u32; +pub const ERROR_DHCP_REGISTRY_INIT_FAILED: u32 = 20000u32; +pub const ERROR_DHCP_RESERVEDIP_EXITS: u32 = 20022u32; +pub const ERROR_DHCP_RESERVED_CLIENT: u32 = 20019u32; +pub const ERROR_DHCP_ROGUE_DS_CONFLICT: u32 = 20041u32; +pub const ERROR_DHCP_ROGUE_DS_UNREACHABLE: u32 = 20040u32; +pub const ERROR_DHCP_ROGUE_INIT_FAILED: u32 = 20037u32; +pub const ERROR_DHCP_ROGUE_NOT_AUTHORIZED: u32 = 20039u32; +pub const ERROR_DHCP_ROGUE_NOT_OUR_ENTERPRISE: u32 = 20042u32; +pub const ERROR_DHCP_ROGUE_SAMSHUTDOWN: u32 = 20038u32; +pub const ERROR_DHCP_ROGUE_STANDALONE_IN_DS: u32 = 20043u32; +pub const ERROR_DHCP_RPC_INIT_FAILED: u32 = 20002u32; +pub const ERROR_DHCP_SCOPE_NAME_TOO_LONG: u32 = 20046u32; +pub const ERROR_DHCP_SERVER_NAME_NOT_RESOLVED: u32 = 20124u32; +pub const ERROR_DHCP_SERVER_NOT_REACHABLE: u32 = 20122u32; +pub const ERROR_DHCP_SERVER_NOT_RUNNING: u32 = 20123u32; +pub const ERROR_DHCP_SERVICE_PAUSED: u32 = 20017u32; +pub const ERROR_DHCP_SUBNET_EXISTS: u32 = 20052u32; +pub const ERROR_DHCP_SUBNET_EXITS: u32 = 20004u32; +pub const ERROR_DHCP_SUBNET_NOT_PRESENT: u32 = 20005u32; +pub const ERROR_DHCP_SUPER_SCOPE_NAME_TOO_LONG: u32 = 20030u32; +pub const ERROR_DHCP_UNDEFINED_HARDWARE_ADDRESS_TYPE: u32 = 20102u32; +pub const ERROR_DHCP_UNSUPPORTED_CLIENT: u32 = 20034u32; +pub const ERROR_EXTEND_TOO_SMALL: u32 = 20025u32; +pub const ERROR_LAST_DHCP_SERVER_ERROR: u32 = 20139u32; +pub const ERROR_MSCOPE_RANGE_TOO_SMALL: u32 = 20054u32; +pub const ERROR_SCOPE_RANGE_POLICY_RANGE_CONFLICT: u32 = 20112u32; +pub const ERROR_SERVER_INVALID_BOOT_FILE_TABLE: u32 = 20028u32; +pub const ERROR_SERVER_UNKNOWN_BOOT_FILE_NAME: u32 = 20029u32; +pub const EXEMPT: QuarantineStatus = 4i32; +pub const FILTER_STATUS_FULL_MATCH_IN_ALLOW_LIST: u32 = 2u32; +pub const FILTER_STATUS_FULL_MATCH_IN_DENY_LIST: u32 = 4u32; +pub const FILTER_STATUS_NONE: u32 = 1u32; +pub const FILTER_STATUS_WILDCARD_MATCH_IN_ALLOW_LIST: u32 = 8u32; +pub const FILTER_STATUS_WILDCARD_MATCH_IN_DENY_LIST: u32 = 16u32; +pub const HWTYPE_ETHERNET_10MB: u32 = 1u32; +pub const HotStandby: DHCP_FAILOVER_MODE = 1i32; +pub const INIT: FSM_STATE = 1i32; +pub const LoadBalance: DHCP_FAILOVER_MODE = 0i32; +pub const MAC_ADDRESS_LENGTH: u32 = 6u32; +pub const MAX_PATTERN_LENGTH: u32 = 255u32; +pub const MCLT: u32 = 1u32; +pub const MODE: u32 = 16u32; +pub const NOQUARANTINE: QuarantineStatus = 0i32; +pub const NOQUARINFO: QuarantineStatus = 6i32; +pub const NORMAL: FSM_STATE = 3i32; +pub const NO_STATE: FSM_STATE = 0i32; +pub const OPTION_ALL_SUBNETS_MTU: u32 = 27u32; +pub const OPTION_ARP_CACHE_TIMEOUT: u32 = 35u32; +pub const OPTION_BE_A_MASK_SUPPLIER: u32 = 30u32; +pub const OPTION_BE_A_ROUTER: u32 = 19u32; +pub const OPTION_BOOTFILE_NAME: u32 = 67u32; +pub const OPTION_BOOT_FILE_SIZE: u32 = 13u32; +pub const OPTION_BROADCAST_ADDRESS: u32 = 28u32; +pub const OPTION_CLIENT_CLASS_INFO: u32 = 60u32; +pub const OPTION_CLIENT_ID: u32 = 61u32; +pub const OPTION_COOKIE_SERVERS: u32 = 8u32; +pub const OPTION_DEFAULT_TTL: u32 = 23u32; +pub const OPTION_DOMAIN_NAME: u32 = 15u32; +pub const OPTION_DOMAIN_NAME_SERVERS: u32 = 6u32; +pub const OPTION_END: u32 = 255u32; +pub const OPTION_ETHERNET_ENCAPSULATION: u32 = 36u32; +pub const OPTION_EXTENSIONS_PATH: u32 = 18u32; +pub const OPTION_HOST_NAME: u32 = 12u32; +pub const OPTION_IEN116_NAME_SERVERS: u32 = 5u32; +pub const OPTION_IMPRESS_SERVERS: u32 = 10u32; +pub const OPTION_KEEP_ALIVE_DATA_SIZE: u32 = 39u32; +pub const OPTION_KEEP_ALIVE_INTERVAL: u32 = 38u32; +pub const OPTION_LEASE_TIME: u32 = 51u32; +pub const OPTION_LOG_SERVERS: u32 = 7u32; +pub const OPTION_LPR_SERVERS: u32 = 9u32; +pub const OPTION_MAX_REASSEMBLY_SIZE: u32 = 22u32; +pub const OPTION_MERIT_DUMP_FILE: u32 = 14u32; +pub const OPTION_MESSAGE: u32 = 56u32; +pub const OPTION_MESSAGE_LENGTH: u32 = 57u32; +pub const OPTION_MESSAGE_TYPE: u32 = 53u32; +pub const OPTION_MSFT_IE_PROXY: u32 = 252u32; +pub const OPTION_MTU: u32 = 26u32; +pub const OPTION_NETBIOS_DATAGRAM_SERVER: u32 = 45u32; +pub const OPTION_NETBIOS_NAME_SERVER: u32 = 44u32; +pub const OPTION_NETBIOS_NODE_TYPE: u32 = 46u32; +pub const OPTION_NETBIOS_SCOPE_OPTION: u32 = 47u32; +pub const OPTION_NETWORK_INFO_SERVERS: u32 = 41u32; +pub const OPTION_NETWORK_INFO_SERVICE_DOM: u32 = 40u32; +pub const OPTION_NETWORK_TIME_SERVERS: u32 = 42u32; +pub const OPTION_NON_LOCAL_SOURCE_ROUTING: u32 = 20u32; +pub const OPTION_OK_TO_OVERLAY: u32 = 52u32; +pub const OPTION_PAD: u32 = 0u32; +pub const OPTION_PARAMETER_REQUEST_LIST: u32 = 55u32; +pub const OPTION_PERFORM_MASK_DISCOVERY: u32 = 29u32; +pub const OPTION_PERFORM_ROUTER_DISCOVERY: u32 = 31u32; +pub const OPTION_PMTU_AGING_TIMEOUT: u32 = 24u32; +pub const OPTION_PMTU_PLATEAU_TABLE: u32 = 25u32; +pub const OPTION_POLICY_FILTER_FOR_NLSR: u32 = 21u32; +pub const OPTION_REBIND_TIME: u32 = 59u32; +pub const OPTION_RENEWAL_TIME: u32 = 58u32; +pub const OPTION_REQUESTED_ADDRESS: u32 = 50u32; +pub const OPTION_RLP_SERVERS: u32 = 11u32; +pub const OPTION_ROOT_DISK: u32 = 17u32; +pub const OPTION_ROUTER_ADDRESS: u32 = 3u32; +pub const OPTION_ROUTER_SOLICITATION_ADDR: u32 = 32u32; +pub const OPTION_SERVER_IDENTIFIER: u32 = 54u32; +pub const OPTION_STATIC_ROUTES: u32 = 33u32; +pub const OPTION_SUBNET_MASK: u32 = 1u32; +pub const OPTION_SWAP_SERVER: u32 = 16u32; +pub const OPTION_TFTP_SERVER_NAME: u32 = 66u32; +pub const OPTION_TIME_OFFSET: u32 = 2u32; +pub const OPTION_TIME_SERVERS: u32 = 4u32; +pub const OPTION_TRAILERS: u32 = 34u32; +pub const OPTION_TTL: u32 = 37u32; +pub const OPTION_VENDOR_SPEC_INFO: u32 = 43u32; +pub const OPTION_XWINDOW_DISPLAY_MANAGER: u32 = 49u32; +pub const OPTION_XWINDOW_FONT_SERVER: u32 = 48u32; +pub const PARTNER_DOWN: FSM_STATE = 5i32; +pub const PAUSED: FSM_STATE = 12i32; +pub const PERCENTAGE: u32 = 8u32; +pub const POTENTIAL_CONFLICT: FSM_STATE = 6i32; +pub const PREVSTATE: u32 = 32u32; +pub const PROBATION: QuarantineStatus = 3i32; +pub const PrimaryServer: DHCP_FAILOVER_SERVER = 0i32; +pub const QUARANTINE_CONFIG_OPTION: u32 = 43222u32; +pub const QUARANTINE_SCOPE_QUARPROFILE_OPTION: u32 = 43221u32; +pub const QUARANTIN_OPTION_BASE: u32 = 43220u32; +pub const RECOVER: FSM_STATE = 9i32; +pub const RECOVER_DONE: FSM_STATE = 11i32; +pub const RECOVER_WAIT: FSM_STATE = 10i32; +pub const RESOLUTION_INT: FSM_STATE = 8i32; +pub const RESTRICTEDACCESS: QuarantineStatus = 1i32; +pub const SAFEPERIOD: u32 = 2u32; +pub const SHAREDSECRET: u32 = 64u32; +pub const SHUTDOWN: FSM_STATE = 13i32; +pub const STARTUP: FSM_STATE = 2i32; +pub const STATUS_NOPREFIX_AVAIL: StatusCode = 6i32; +pub const STATUS_NO_BINDING: StatusCode = 3i32; +pub const STATUS_NO_ERROR: StatusCode = 0i32; +pub const STATUS_UNSPECIFIED_FAILURE: StatusCode = 1i32; +pub const SecondaryServer: DHCP_FAILOVER_SERVER = 1i32; +pub const Set_APIProtocolSupport: u32 = 1u32; +pub const Set_AuditLogState: u32 = 2048u32; +pub const Set_BackupInterval: u32 = 16u32; +pub const Set_BackupPath: u32 = 8u32; +pub const Set_BootFileTable: u32 = 1024u32; +pub const Set_DatabaseCleanupInterval: u32 = 128u32; +pub const Set_DatabaseLoggingFlag: u32 = 32u32; +pub const Set_DatabaseName: u32 = 2u32; +pub const Set_DatabasePath: u32 = 4u32; +pub const Set_DebugFlag: u32 = 256u32; +pub const Set_PingRetries: u32 = 512u32; +pub const Set_PreferredLifetime: u32 = 4u32; +pub const Set_PreferredLifetimeIATA: u32 = 64u32; +pub const Set_QuarantineDefFail: u32 = 8192u32; +pub const Set_QuarantineON: u32 = 4096u32; +pub const Set_RapidCommitFlag: u32 = 2u32; +pub const Set_RestoreFlag: u32 = 64u32; +pub const Set_T1: u32 = 16u32; +pub const Set_T2: u32 = 32u32; +pub const Set_UnicastFlag: u32 = 1u32; +pub const Set_ValidLifetime: u32 = 8u32; +pub const Set_ValidLifetimeIATA: u32 = 128u32; +pub const V5_ADDRESS_BIT_BOTH_REC: u32 = 32u32; +pub const V5_ADDRESS_BIT_DELETED: u32 = 128u32; +pub const V5_ADDRESS_BIT_UNREGISTERED: u32 = 64u32; +pub const V5_ADDRESS_EX_BIT_DISABLE_PTR_RR: u32 = 1u32; +pub const V5_ADDRESS_STATE_ACTIVE: u32 = 1u32; +pub const V5_ADDRESS_STATE_DECLINED: u32 = 2u32; +pub const V5_ADDRESS_STATE_DOOM: u32 = 3u32; +pub const V5_ADDRESS_STATE_OFFERED: u32 = 0u32; +pub const WARNING_EXTENDED_LESS: i32 = 20026i32; +pub type DHCPV6_STATELESS_PARAM_TYPE = i32; +pub type DHCP_FAILOVER_MODE = i32; +pub type DHCP_FAILOVER_SERVER = i32; +pub type DHCP_FILTER_LIST_TYPE = i32; +pub type DHCP_FORCE_FLAG = i32; +pub type DHCP_OPTION_DATA_TYPE = i32; +pub type DHCP_OPTION_SCOPE_TYPE = i32; +pub type DHCP_OPTION_SCOPE_TYPE6 = i32; +pub type DHCP_OPTION_TYPE = i32; +pub type DHCP_POLICY_FIELDS_TO_UPDATE = i32; +pub type DHCP_POL_ATTR_TYPE = i32; +pub type DHCP_POL_COMPARATOR = i32; +pub type DHCP_POL_LOGIC_OPER = i32; +pub type DHCP_PROPERTY_ID = i32; +pub type DHCP_PROPERTY_TYPE = i32; +pub type DHCP_SCAN_FLAG = i32; +pub type DHCP_SEARCH_INFO_TYPE = i32; +pub type DHCP_SEARCH_INFO_TYPE_V6 = i32; +pub type DHCP_SUBNET_ELEMENT_TYPE = i32; +pub type DHCP_SUBNET_ELEMENT_TYPE_V6 = i32; +pub type DHCP_SUBNET_STATE = i32; +pub type FSM_STATE = i32; +pub type QuarantineStatus = i32; +pub type StatusCode = i32; +#[repr(C)] +pub struct DATE_TIME { + pub dwLowDateTime: u32, + pub dwHighDateTime: u32, +} +impl ::core::marker::Copy for DATE_TIME {} +impl ::core::clone::Clone for DATE_TIME { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCPAPI_PARAMS { + pub Flags: u32, + pub OptionId: u32, + pub IsVendor: super::super::Foundation::BOOL, + pub Data: *mut u8, + pub nBytesData: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCPAPI_PARAMS {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCPAPI_PARAMS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCPCAPI_CLASSID { + pub Flags: u32, + pub Data: *mut u8, + pub nBytesData: u32, +} +impl ::core::marker::Copy for DHCPCAPI_CLASSID {} +impl ::core::clone::Clone for DHCPCAPI_CLASSID { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCPCAPI_PARAMS_ARRAY { + pub nParams: u32, + pub Params: *mut DHCPAPI_PARAMS, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCPCAPI_PARAMS_ARRAY {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCPCAPI_PARAMS_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCPDS_SERVER { + pub Version: u32, + pub ServerName: ::windows_sys::core::PWSTR, + pub ServerAddress: u32, + pub Flags: u32, + pub State: u32, + pub DsLocation: ::windows_sys::core::PWSTR, + pub DsLocType: u32, +} +impl ::core::marker::Copy for DHCPDS_SERVER {} +impl ::core::clone::Clone for DHCPDS_SERVER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCPDS_SERVERS { + pub Flags: u32, + pub NumElements: u32, + pub Servers: *mut DHCPDS_SERVER, +} +impl ::core::marker::Copy for DHCPDS_SERVERS {} +impl ::core::clone::Clone for DHCPDS_SERVERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCPV4_FAILOVER_CLIENT_INFO { + pub ClientIpAddress: u32, + pub SubnetMask: u32, + pub ClientHardwareAddress: DHCP_BINARY_DATA, + pub ClientName: ::windows_sys::core::PWSTR, + pub ClientComment: ::windows_sys::core::PWSTR, + pub ClientLeaseExpires: DATE_TIME, + pub OwnerHost: DHCP_HOST_INFO, + pub bClientType: u8, + pub AddressState: u8, + pub Status: QuarantineStatus, + pub ProbationEnds: DATE_TIME, + pub QuarantineCapable: super::super::Foundation::BOOL, + pub SentPotExpTime: u32, + pub AckPotExpTime: u32, + pub RecvPotExpTime: u32, + pub StartTime: u32, + pub CltLastTransTime: u32, + pub LastBndUpdTime: u32, + pub BndMsgStatus: u32, + pub PolicyName: ::windows_sys::core::PWSTR, + pub Flags: u8, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCPV4_FAILOVER_CLIENT_INFO {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCPV4_FAILOVER_CLIENT_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCPV4_FAILOVER_CLIENT_INFO_ARRAY { + pub NumElements: u32, + pub Clients: *mut *mut DHCPV4_FAILOVER_CLIENT_INFO, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCPV4_FAILOVER_CLIENT_INFO_ARRAY {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCPV4_FAILOVER_CLIENT_INFO_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCPV4_FAILOVER_CLIENT_INFO_EX { + pub ClientIpAddress: u32, + pub SubnetMask: u32, + pub ClientHardwareAddress: DHCP_BINARY_DATA, + pub ClientName: ::windows_sys::core::PWSTR, + pub ClientComment: ::windows_sys::core::PWSTR, + pub ClientLeaseExpires: DATE_TIME, + pub OwnerHost: DHCP_HOST_INFO, + pub bClientType: u8, + pub AddressState: u8, + pub Status: QuarantineStatus, + pub ProbationEnds: DATE_TIME, + pub QuarantineCapable: super::super::Foundation::BOOL, + pub SentPotExpTime: u32, + pub AckPotExpTime: u32, + pub RecvPotExpTime: u32, + pub StartTime: u32, + pub CltLastTransTime: u32, + pub LastBndUpdTime: u32, + pub BndMsgStatus: u32, + pub PolicyName: ::windows_sys::core::PWSTR, + pub Flags: u8, + pub AddressStateEx: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCPV4_FAILOVER_CLIENT_INFO_EX {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCPV4_FAILOVER_CLIENT_INFO_EX { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCPV6CAPI_CLASSID { + pub Flags: u32, + pub Data: *mut u8, + pub nBytesData: u32, +} +impl ::core::marker::Copy for DHCPV6CAPI_CLASSID {} +impl ::core::clone::Clone for DHCPV6CAPI_CLASSID { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCPV6CAPI_PARAMS { + pub Flags: u32, + pub OptionId: u32, + pub IsVendor: super::super::Foundation::BOOL, + pub Data: *mut u8, + pub nBytesData: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCPV6CAPI_PARAMS {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCPV6CAPI_PARAMS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCPV6CAPI_PARAMS_ARRAY { + pub nParams: u32, + pub Params: *mut DHCPV6CAPI_PARAMS, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCPV6CAPI_PARAMS_ARRAY {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCPV6CAPI_PARAMS_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCPV6Prefix { + pub prefix: [u8; 16], + pub prefixLength: u32, + pub preferredLifeTime: u32, + pub validLifeTime: u32, + pub status: StatusCode, +} +impl ::core::marker::Copy for DHCPV6Prefix {} +impl ::core::clone::Clone for DHCPV6Prefix { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCPV6PrefixLeaseInformation { + pub nPrefixes: u32, + pub prefixArray: *mut DHCPV6Prefix, + pub iaid: u32, + pub T1: i64, + pub T2: i64, + pub MaxLeaseExpirationTime: i64, + pub LastRenewalTime: i64, + pub status: StatusCode, + pub ServerId: *mut u8, + pub ServerIdLen: u32, +} +impl ::core::marker::Copy for DHCPV6PrefixLeaseInformation {} +impl ::core::clone::Clone for DHCPV6PrefixLeaseInformation { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCPV6_BIND_ELEMENT { + pub Flags: u32, + pub fBoundToDHCPServer: super::super::Foundation::BOOL, + pub AdapterPrimaryAddress: DHCP_IPV6_ADDRESS, + pub AdapterSubnetAddress: DHCP_IPV6_ADDRESS, + pub IfDescription: ::windows_sys::core::PWSTR, + pub IpV6IfIndex: u32, + pub IfIdSize: u32, + pub IfId: *mut u8, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCPV6_BIND_ELEMENT {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCPV6_BIND_ELEMENT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCPV6_BIND_ELEMENT_ARRAY { + pub NumElements: u32, + pub Elements: *mut DHCPV6_BIND_ELEMENT, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCPV6_BIND_ELEMENT_ARRAY {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCPV6_BIND_ELEMENT_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCPV6_IP_ARRAY { + pub NumElements: u32, + pub Elements: *mut DHCP_IPV6_ADDRESS, +} +impl ::core::marker::Copy for DHCPV6_IP_ARRAY {} +impl ::core::clone::Clone for DHCPV6_IP_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCPV6_STATELESS_PARAMS { + pub Status: super::super::Foundation::BOOL, + pub PurgeInterval: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCPV6_STATELESS_PARAMS {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCPV6_STATELESS_PARAMS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCPV6_STATELESS_SCOPE_STATS { + pub SubnetAddress: DHCP_IPV6_ADDRESS, + pub NumStatelessClientsAdded: u64, + pub NumStatelessClientsRemoved: u64, +} +impl ::core::marker::Copy for DHCPV6_STATELESS_SCOPE_STATS {} +impl ::core::clone::Clone for DHCPV6_STATELESS_SCOPE_STATS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCPV6_STATELESS_STATS { + pub NumScopes: u32, + pub ScopeStats: *mut DHCPV6_STATELESS_SCOPE_STATS, +} +impl ::core::marker::Copy for DHCPV6_STATELESS_STATS {} +impl ::core::clone::Clone for DHCPV6_STATELESS_STATS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_ADDR_PATTERN { + pub MatchHWType: super::super::Foundation::BOOL, + pub HWType: u8, + pub IsWildcard: super::super::Foundation::BOOL, + pub Length: u8, + pub Pattern: [u8; 255], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_ADDR_PATTERN {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_ADDR_PATTERN { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_ALL_OPTIONS { + pub Flags: u32, + pub NonVendorOptions: *mut DHCP_OPTION_ARRAY, + pub NumVendorOptions: u32, + pub VendorOptions: *mut DHCP_ALL_OPTIONS_0, +} +impl ::core::marker::Copy for DHCP_ALL_OPTIONS {} +impl ::core::clone::Clone for DHCP_ALL_OPTIONS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_ALL_OPTIONS_0 { + pub Option: DHCP_OPTION, + pub VendorName: ::windows_sys::core::PWSTR, + pub ClassName: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for DHCP_ALL_OPTIONS_0 {} +impl ::core::clone::Clone for DHCP_ALL_OPTIONS_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_ALL_OPTION_VALUES { + pub Flags: u32, + pub NumElements: u32, + pub Options: *mut DHCP_ALL_OPTION_VALUES_0, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_ALL_OPTION_VALUES {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_ALL_OPTION_VALUES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_ALL_OPTION_VALUES_0 { + pub ClassName: ::windows_sys::core::PWSTR, + pub VendorName: ::windows_sys::core::PWSTR, + pub IsVendor: super::super::Foundation::BOOL, + pub OptionsArray: *mut DHCP_OPTION_VALUE_ARRAY, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_ALL_OPTION_VALUES_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_ALL_OPTION_VALUES_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_ALL_OPTION_VALUES_PB { + pub Flags: u32, + pub NumElements: u32, + pub Options: *mut DHCP_ALL_OPTION_VALUES_PB_0, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_ALL_OPTION_VALUES_PB {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_ALL_OPTION_VALUES_PB { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_ALL_OPTION_VALUES_PB_0 { + pub PolicyName: ::windows_sys::core::PWSTR, + pub VendorName: ::windows_sys::core::PWSTR, + pub IsVendor: super::super::Foundation::BOOL, + pub OptionsArray: *mut DHCP_OPTION_VALUE_ARRAY, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_ALL_OPTION_VALUES_PB_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_ALL_OPTION_VALUES_PB_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_ATTRIB { + pub DhcpAttribId: u32, + pub DhcpAttribType: u32, + pub Anonymous: DHCP_ATTRIB_0, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_ATTRIB {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_ATTRIB { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union DHCP_ATTRIB_0 { + pub DhcpAttribBool: super::super::Foundation::BOOL, + pub DhcpAttribUlong: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_ATTRIB_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_ATTRIB_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_ATTRIB_ARRAY { + pub NumElements: u32, + pub DhcpAttribs: *mut DHCP_ATTRIB, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_ATTRIB_ARRAY {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_ATTRIB_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_BINARY_DATA { + pub DataLength: u32, + pub Data: *mut u8, +} +impl ::core::marker::Copy for DHCP_BINARY_DATA {} +impl ::core::clone::Clone for DHCP_BINARY_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_BIND_ELEMENT { + pub Flags: u32, + pub fBoundToDHCPServer: super::super::Foundation::BOOL, + pub AdapterPrimaryAddress: u32, + pub AdapterSubnetAddress: u32, + pub IfDescription: ::windows_sys::core::PWSTR, + pub IfIdSize: u32, + pub IfId: *mut u8, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_BIND_ELEMENT {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_BIND_ELEMENT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_BIND_ELEMENT_ARRAY { + pub NumElements: u32, + pub Elements: *mut DHCP_BIND_ELEMENT, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_BIND_ELEMENT_ARRAY {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_BIND_ELEMENT_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_BOOTP_IP_RANGE { + pub StartAddress: u32, + pub EndAddress: u32, + pub BootpAllocated: u32, + pub MaxBootpAllowed: u32, +} +impl ::core::marker::Copy for DHCP_BOOTP_IP_RANGE {} +impl ::core::clone::Clone for DHCP_BOOTP_IP_RANGE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_CALLOUT_TABLE { + pub DhcpControlHook: LPDHCP_CONTROL, + pub DhcpNewPktHook: LPDHCP_NEWPKT, + pub DhcpPktDropHook: LPDHCP_DROP_SEND, + pub DhcpPktSendHook: LPDHCP_DROP_SEND, + pub DhcpAddressDelHook: LPDHCP_PROB, + pub DhcpAddressOfferHook: LPDHCP_GIVE_ADDRESS, + pub DhcpHandleOptionsHook: LPDHCP_HANDLE_OPTIONS, + pub DhcpDeleteClientHook: LPDHCP_DELETE_CLIENT, + pub DhcpExtensionHook: *mut ::core::ffi::c_void, + pub DhcpReservedHook: *mut ::core::ffi::c_void, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_CALLOUT_TABLE {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_CALLOUT_TABLE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_CLASS_INFO { + pub ClassName: ::windows_sys::core::PWSTR, + pub ClassComment: ::windows_sys::core::PWSTR, + pub ClassDataLength: u32, + pub IsVendor: super::super::Foundation::BOOL, + pub Flags: u32, + pub ClassData: *mut u8, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_CLASS_INFO {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_CLASS_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_CLASS_INFO_ARRAY { + pub NumElements: u32, + pub Classes: *mut DHCP_CLASS_INFO, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_CLASS_INFO_ARRAY {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_CLASS_INFO_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_CLASS_INFO_ARRAY_V6 { + pub NumElements: u32, + pub Classes: *mut DHCP_CLASS_INFO_V6, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_CLASS_INFO_ARRAY_V6 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_CLASS_INFO_ARRAY_V6 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_CLASS_INFO_V6 { + pub ClassName: ::windows_sys::core::PWSTR, + pub ClassComment: ::windows_sys::core::PWSTR, + pub ClassDataLength: u32, + pub IsVendor: super::super::Foundation::BOOL, + pub EnterpriseNumber: u32, + pub Flags: u32, + pub ClassData: *mut u8, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_CLASS_INFO_V6 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_CLASS_INFO_V6 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_CLIENT_FILTER_STATUS_INFO { + pub ClientIpAddress: u32, + pub SubnetMask: u32, + pub ClientHardwareAddress: DHCP_BINARY_DATA, + pub ClientName: ::windows_sys::core::PWSTR, + pub ClientComment: ::windows_sys::core::PWSTR, + pub ClientLeaseExpires: DATE_TIME, + pub OwnerHost: DHCP_HOST_INFO, + pub bClientType: u8, + pub AddressState: u8, + pub Status: QuarantineStatus, + pub ProbationEnds: DATE_TIME, + pub QuarantineCapable: super::super::Foundation::BOOL, + pub FilterStatus: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_CLIENT_FILTER_STATUS_INFO {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_CLIENT_FILTER_STATUS_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_CLIENT_FILTER_STATUS_INFO_ARRAY { + pub NumElements: u32, + pub Clients: *mut *mut DHCP_CLIENT_FILTER_STATUS_INFO, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_CLIENT_FILTER_STATUS_INFO_ARRAY {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_CLIENT_FILTER_STATUS_INFO_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_CLIENT_INFO { + pub ClientIpAddress: u32, + pub SubnetMask: u32, + pub ClientHardwareAddress: DHCP_BINARY_DATA, + pub ClientName: ::windows_sys::core::PWSTR, + pub ClientComment: ::windows_sys::core::PWSTR, + pub ClientLeaseExpires: DATE_TIME, + pub OwnerHost: DHCP_HOST_INFO, +} +impl ::core::marker::Copy for DHCP_CLIENT_INFO {} +impl ::core::clone::Clone for DHCP_CLIENT_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_CLIENT_INFO_ARRAY { + pub NumElements: u32, + pub Clients: *mut *mut DHCP_CLIENT_INFO, +} +impl ::core::marker::Copy for DHCP_CLIENT_INFO_ARRAY {} +impl ::core::clone::Clone for DHCP_CLIENT_INFO_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_CLIENT_INFO_ARRAY_V4 { + pub NumElements: u32, + pub Clients: *mut *mut DHCP_CLIENT_INFO_V4, +} +impl ::core::marker::Copy for DHCP_CLIENT_INFO_ARRAY_V4 {} +impl ::core::clone::Clone for DHCP_CLIENT_INFO_ARRAY_V4 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_CLIENT_INFO_ARRAY_V5 { + pub NumElements: u32, + pub Clients: *mut *mut DHCP_CLIENT_INFO_V5, +} +impl ::core::marker::Copy for DHCP_CLIENT_INFO_ARRAY_V5 {} +impl ::core::clone::Clone for DHCP_CLIENT_INFO_ARRAY_V5 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_CLIENT_INFO_ARRAY_V6 { + pub NumElements: u32, + pub Clients: *mut *mut DHCP_CLIENT_INFO_V6, +} +impl ::core::marker::Copy for DHCP_CLIENT_INFO_ARRAY_V6 {} +impl ::core::clone::Clone for DHCP_CLIENT_INFO_ARRAY_V6 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_CLIENT_INFO_ARRAY_VQ { + pub NumElements: u32, + pub Clients: *mut *mut DHCP_CLIENT_INFO_VQ, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_CLIENT_INFO_ARRAY_VQ {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_CLIENT_INFO_ARRAY_VQ { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_CLIENT_INFO_EX { + pub ClientIpAddress: u32, + pub SubnetMask: u32, + pub ClientHardwareAddress: DHCP_BINARY_DATA, + pub ClientName: ::windows_sys::core::PWSTR, + pub ClientComment: ::windows_sys::core::PWSTR, + pub ClientLeaseExpires: DATE_TIME, + pub OwnerHost: DHCP_HOST_INFO, + pub bClientType: u8, + pub AddressState: u8, + pub Status: QuarantineStatus, + pub ProbationEnds: DATE_TIME, + pub QuarantineCapable: super::super::Foundation::BOOL, + pub FilterStatus: u32, + pub PolicyName: ::windows_sys::core::PWSTR, + pub Properties: *mut DHCP_PROPERTY_ARRAY, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_CLIENT_INFO_EX {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_CLIENT_INFO_EX { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_CLIENT_INFO_EX_ARRAY { + pub NumElements: u32, + pub Clients: *mut *mut DHCP_CLIENT_INFO_EX, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_CLIENT_INFO_EX_ARRAY {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_CLIENT_INFO_EX_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_CLIENT_INFO_PB { + pub ClientIpAddress: u32, + pub SubnetMask: u32, + pub ClientHardwareAddress: DHCP_BINARY_DATA, + pub ClientName: ::windows_sys::core::PWSTR, + pub ClientComment: ::windows_sys::core::PWSTR, + pub ClientLeaseExpires: DATE_TIME, + pub OwnerHost: DHCP_HOST_INFO, + pub bClientType: u8, + pub AddressState: u8, + pub Status: QuarantineStatus, + pub ProbationEnds: DATE_TIME, + pub QuarantineCapable: super::super::Foundation::BOOL, + pub FilterStatus: u32, + pub PolicyName: ::windows_sys::core::PWSTR, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_CLIENT_INFO_PB {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_CLIENT_INFO_PB { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_CLIENT_INFO_PB_ARRAY { + pub NumElements: u32, + pub Clients: *mut *mut DHCP_CLIENT_INFO_PB, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_CLIENT_INFO_PB_ARRAY {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_CLIENT_INFO_PB_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_CLIENT_INFO_V4 { + pub ClientIpAddress: u32, + pub SubnetMask: u32, + pub ClientHardwareAddress: DHCP_BINARY_DATA, + pub ClientName: ::windows_sys::core::PWSTR, + pub ClientComment: ::windows_sys::core::PWSTR, + pub ClientLeaseExpires: DATE_TIME, + pub OwnerHost: DHCP_HOST_INFO, + pub bClientType: u8, +} +impl ::core::marker::Copy for DHCP_CLIENT_INFO_V4 {} +impl ::core::clone::Clone for DHCP_CLIENT_INFO_V4 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_CLIENT_INFO_V5 { + pub ClientIpAddress: u32, + pub SubnetMask: u32, + pub ClientHardwareAddress: DHCP_BINARY_DATA, + pub ClientName: ::windows_sys::core::PWSTR, + pub ClientComment: ::windows_sys::core::PWSTR, + pub ClientLeaseExpires: DATE_TIME, + pub OwnerHost: DHCP_HOST_INFO, + pub bClientType: u8, + pub AddressState: u8, +} +impl ::core::marker::Copy for DHCP_CLIENT_INFO_V5 {} +impl ::core::clone::Clone for DHCP_CLIENT_INFO_V5 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_CLIENT_INFO_V6 { + pub ClientIpAddress: DHCP_IPV6_ADDRESS, + pub ClientDUID: DHCP_BINARY_DATA, + pub AddressType: u32, + pub IAID: u32, + pub ClientName: ::windows_sys::core::PWSTR, + pub ClientComment: ::windows_sys::core::PWSTR, + pub ClientValidLeaseExpires: DATE_TIME, + pub ClientPrefLeaseExpires: DATE_TIME, + pub OwnerHost: DHCP_HOST_INFO_V6, +} +impl ::core::marker::Copy for DHCP_CLIENT_INFO_V6 {} +impl ::core::clone::Clone for DHCP_CLIENT_INFO_V6 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_CLIENT_INFO_VQ { + pub ClientIpAddress: u32, + pub SubnetMask: u32, + pub ClientHardwareAddress: DHCP_BINARY_DATA, + pub ClientName: ::windows_sys::core::PWSTR, + pub ClientComment: ::windows_sys::core::PWSTR, + pub ClientLeaseExpires: DATE_TIME, + pub OwnerHost: DHCP_HOST_INFO, + pub bClientType: u8, + pub AddressState: u8, + pub Status: QuarantineStatus, + pub ProbationEnds: DATE_TIME, + pub QuarantineCapable: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_CLIENT_INFO_VQ {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_CLIENT_INFO_VQ { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_FAILOVER_RELATIONSHIP { + pub PrimaryServer: u32, + pub SecondaryServer: u32, + pub Mode: DHCP_FAILOVER_MODE, + pub ServerType: DHCP_FAILOVER_SERVER, + pub State: FSM_STATE, + pub PrevState: FSM_STATE, + pub Mclt: u32, + pub SafePeriod: u32, + pub RelationshipName: ::windows_sys::core::PWSTR, + pub PrimaryServerName: ::windows_sys::core::PWSTR, + pub SecondaryServerName: ::windows_sys::core::PWSTR, + pub pScopes: *mut DHCP_IP_ARRAY, + pub Percentage: u8, + pub SharedSecret: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for DHCP_FAILOVER_RELATIONSHIP {} +impl ::core::clone::Clone for DHCP_FAILOVER_RELATIONSHIP { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_FAILOVER_RELATIONSHIP_ARRAY { + pub NumElements: u32, + pub pRelationships: *mut DHCP_FAILOVER_RELATIONSHIP, +} +impl ::core::marker::Copy for DHCP_FAILOVER_RELATIONSHIP_ARRAY {} +impl ::core::clone::Clone for DHCP_FAILOVER_RELATIONSHIP_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_FAILOVER_STATISTICS { + pub NumAddr: u32, + pub AddrFree: u32, + pub AddrInUse: u32, + pub PartnerAddrFree: u32, + pub ThisAddrFree: u32, + pub PartnerAddrInUse: u32, + pub ThisAddrInUse: u32, +} +impl ::core::marker::Copy for DHCP_FAILOVER_STATISTICS {} +impl ::core::clone::Clone for DHCP_FAILOVER_STATISTICS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_FILTER_ADD_INFO { + pub AddrPatt: DHCP_ADDR_PATTERN, + pub Comment: ::windows_sys::core::PWSTR, + pub ListType: DHCP_FILTER_LIST_TYPE, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_FILTER_ADD_INFO {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_FILTER_ADD_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_FILTER_ENUM_INFO { + pub NumElements: u32, + pub pEnumRecords: *mut DHCP_FILTER_RECORD, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_FILTER_ENUM_INFO {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_FILTER_ENUM_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_FILTER_GLOBAL_INFO { + pub EnforceAllowList: super::super::Foundation::BOOL, + pub EnforceDenyList: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_FILTER_GLOBAL_INFO {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_FILTER_GLOBAL_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_FILTER_RECORD { + pub AddrPatt: DHCP_ADDR_PATTERN, + pub Comment: ::windows_sys::core::PWSTR, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_FILTER_RECORD {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_FILTER_RECORD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_HOST_INFO { + pub IpAddress: u32, + pub NetBiosName: ::windows_sys::core::PWSTR, + pub HostName: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for DHCP_HOST_INFO {} +impl ::core::clone::Clone for DHCP_HOST_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_HOST_INFO_V6 { + pub IpAddress: DHCP_IPV6_ADDRESS, + pub NetBiosName: ::windows_sys::core::PWSTR, + pub HostName: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for DHCP_HOST_INFO_V6 {} +impl ::core::clone::Clone for DHCP_HOST_INFO_V6 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_IPV6_ADDRESS { + pub HighOrderBits: u64, + pub LowOrderBits: u64, +} +impl ::core::marker::Copy for DHCP_IPV6_ADDRESS {} +impl ::core::clone::Clone for DHCP_IPV6_ADDRESS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_IP_ARRAY { + pub NumElements: u32, + pub Elements: *mut u32, +} +impl ::core::marker::Copy for DHCP_IP_ARRAY {} +impl ::core::clone::Clone for DHCP_IP_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_IP_CLUSTER { + pub ClusterAddress: u32, + pub ClusterMask: u32, +} +impl ::core::marker::Copy for DHCP_IP_CLUSTER {} +impl ::core::clone::Clone for DHCP_IP_CLUSTER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_IP_RANGE { + pub StartAddress: u32, + pub EndAddress: u32, +} +impl ::core::marker::Copy for DHCP_IP_RANGE {} +impl ::core::clone::Clone for DHCP_IP_RANGE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_IP_RANGE_ARRAY { + pub NumElements: u32, + pub Elements: *mut DHCP_IP_RANGE, +} +impl ::core::marker::Copy for DHCP_IP_RANGE_ARRAY {} +impl ::core::clone::Clone for DHCP_IP_RANGE_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_IP_RANGE_V6 { + pub StartAddress: DHCP_IPV6_ADDRESS, + pub EndAddress: DHCP_IPV6_ADDRESS, +} +impl ::core::marker::Copy for DHCP_IP_RANGE_V6 {} +impl ::core::clone::Clone for DHCP_IP_RANGE_V6 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_IP_RESERVATION { + pub ReservedIpAddress: u32, + pub ReservedForClient: *mut DHCP_BINARY_DATA, +} +impl ::core::marker::Copy for DHCP_IP_RESERVATION {} +impl ::core::clone::Clone for DHCP_IP_RESERVATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_IP_RESERVATION_INFO { + pub ReservedIpAddress: u32, + pub ReservedForClient: DHCP_BINARY_DATA, + pub ReservedClientName: ::windows_sys::core::PWSTR, + pub ReservedClientDesc: ::windows_sys::core::PWSTR, + pub bAllowedClientTypes: u8, + pub fOptionsPresent: u8, +} +impl ::core::marker::Copy for DHCP_IP_RESERVATION_INFO {} +impl ::core::clone::Clone for DHCP_IP_RESERVATION_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_IP_RESERVATION_V4 { + pub ReservedIpAddress: u32, + pub ReservedForClient: *mut DHCP_BINARY_DATA, + pub bAllowedClientTypes: u8, +} +impl ::core::marker::Copy for DHCP_IP_RESERVATION_V4 {} +impl ::core::clone::Clone for DHCP_IP_RESERVATION_V4 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_IP_RESERVATION_V6 { + pub ReservedIpAddress: DHCP_IPV6_ADDRESS, + pub ReservedForClient: *mut DHCP_BINARY_DATA, + pub InterfaceId: u32, +} +impl ::core::marker::Copy for DHCP_IP_RESERVATION_V6 {} +impl ::core::clone::Clone for DHCP_IP_RESERVATION_V6 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_MIB_INFO { + pub Discovers: u32, + pub Offers: u32, + pub Requests: u32, + pub Acks: u32, + pub Naks: u32, + pub Declines: u32, + pub Releases: u32, + pub ServerStartTime: DATE_TIME, + pub Scopes: u32, + pub ScopeInfo: *mut SCOPE_MIB_INFO, +} +impl ::core::marker::Copy for DHCP_MIB_INFO {} +impl ::core::clone::Clone for DHCP_MIB_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_MIB_INFO_V5 { + pub Discovers: u32, + pub Offers: u32, + pub Requests: u32, + pub Acks: u32, + pub Naks: u32, + pub Declines: u32, + pub Releases: u32, + pub ServerStartTime: DATE_TIME, + pub QtnNumLeases: u32, + pub QtnPctQtnLeases: u32, + pub QtnProbationLeases: u32, + pub QtnNonQtnLeases: u32, + pub QtnExemptLeases: u32, + pub QtnCapableClients: u32, + pub QtnIASErrors: u32, + pub DelayedOffers: u32, + pub ScopesWithDelayedOffers: u32, + pub Scopes: u32, + pub ScopeInfo: *mut SCOPE_MIB_INFO_V5, +} +impl ::core::marker::Copy for DHCP_MIB_INFO_V5 {} +impl ::core::clone::Clone for DHCP_MIB_INFO_V5 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_MIB_INFO_V6 { + pub Solicits: u32, + pub Advertises: u32, + pub Requests: u32, + pub Renews: u32, + pub Rebinds: u32, + pub Replies: u32, + pub Confirms: u32, + pub Declines: u32, + pub Releases: u32, + pub Informs: u32, + pub ServerStartTime: DATE_TIME, + pub Scopes: u32, + pub ScopeInfo: *mut SCOPE_MIB_INFO_V6, +} +impl ::core::marker::Copy for DHCP_MIB_INFO_V6 {} +impl ::core::clone::Clone for DHCP_MIB_INFO_V6 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_MIB_INFO_VQ { + pub Discovers: u32, + pub Offers: u32, + pub Requests: u32, + pub Acks: u32, + pub Naks: u32, + pub Declines: u32, + pub Releases: u32, + pub ServerStartTime: DATE_TIME, + pub QtnNumLeases: u32, + pub QtnPctQtnLeases: u32, + pub QtnProbationLeases: u32, + pub QtnNonQtnLeases: u32, + pub QtnExemptLeases: u32, + pub QtnCapableClients: u32, + pub QtnIASErrors: u32, + pub Scopes: u32, + pub ScopeInfo: *mut SCOPE_MIB_INFO_VQ, +} +impl ::core::marker::Copy for DHCP_MIB_INFO_VQ {} +impl ::core::clone::Clone for DHCP_MIB_INFO_VQ { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_OPTION { + pub OptionID: u32, + pub OptionName: ::windows_sys::core::PWSTR, + pub OptionComment: ::windows_sys::core::PWSTR, + pub DefaultValue: DHCP_OPTION_DATA, + pub OptionType: DHCP_OPTION_TYPE, +} +impl ::core::marker::Copy for DHCP_OPTION {} +impl ::core::clone::Clone for DHCP_OPTION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_OPTION_ARRAY { + pub NumElements: u32, + pub Options: *mut DHCP_OPTION, +} +impl ::core::marker::Copy for DHCP_OPTION_ARRAY {} +impl ::core::clone::Clone for DHCP_OPTION_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_OPTION_DATA { + pub NumElements: u32, + pub Elements: *mut DHCP_OPTION_DATA_ELEMENT, +} +impl ::core::marker::Copy for DHCP_OPTION_DATA {} +impl ::core::clone::Clone for DHCP_OPTION_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_OPTION_DATA_ELEMENT { + pub OptionType: DHCP_OPTION_DATA_TYPE, + pub Element: DHCP_OPTION_DATA_ELEMENT_0, +} +impl ::core::marker::Copy for DHCP_OPTION_DATA_ELEMENT {} +impl ::core::clone::Clone for DHCP_OPTION_DATA_ELEMENT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union DHCP_OPTION_DATA_ELEMENT_0 { + pub ByteOption: u8, + pub WordOption: u16, + pub DWordOption: u32, + pub DWordDWordOption: DWORD_DWORD, + pub IpAddressOption: u32, + pub StringDataOption: ::windows_sys::core::PWSTR, + pub BinaryDataOption: DHCP_BINARY_DATA, + pub EncapsulatedDataOption: DHCP_BINARY_DATA, + pub Ipv6AddressDataOption: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for DHCP_OPTION_DATA_ELEMENT_0 {} +impl ::core::clone::Clone for DHCP_OPTION_DATA_ELEMENT_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_OPTION_LIST { + pub NumOptions: u32, + pub Options: *mut DHCP_OPTION_VALUE, +} +impl ::core::marker::Copy for DHCP_OPTION_LIST {} +impl ::core::clone::Clone for DHCP_OPTION_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_OPTION_SCOPE_INFO { + pub ScopeType: DHCP_OPTION_SCOPE_TYPE, + pub ScopeInfo: DHCP_OPTION_SCOPE_INFO_0, +} +impl ::core::marker::Copy for DHCP_OPTION_SCOPE_INFO {} +impl ::core::clone::Clone for DHCP_OPTION_SCOPE_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union DHCP_OPTION_SCOPE_INFO_0 { + pub DefaultScopeInfo: *mut ::core::ffi::c_void, + pub GlobalScopeInfo: *mut ::core::ffi::c_void, + pub SubnetScopeInfo: u32, + pub ReservedScopeInfo: DHCP_RESERVED_SCOPE, + pub MScopeInfo: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for DHCP_OPTION_SCOPE_INFO_0 {} +impl ::core::clone::Clone for DHCP_OPTION_SCOPE_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_OPTION_SCOPE_INFO6 { + pub ScopeType: DHCP_OPTION_SCOPE_TYPE6, + pub ScopeInfo: DHCP_OPTION_SCOPE_INFO6_0, +} +impl ::core::marker::Copy for DHCP_OPTION_SCOPE_INFO6 {} +impl ::core::clone::Clone for DHCP_OPTION_SCOPE_INFO6 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union DHCP_OPTION_SCOPE_INFO6_0 { + pub DefaultScopeInfo: *mut ::core::ffi::c_void, + pub SubnetScopeInfo: DHCP_IPV6_ADDRESS, + pub ReservedScopeInfo: DHCP_RESERVED_SCOPE6, +} +impl ::core::marker::Copy for DHCP_OPTION_SCOPE_INFO6_0 {} +impl ::core::clone::Clone for DHCP_OPTION_SCOPE_INFO6_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_OPTION_VALUE { + pub OptionID: u32, + pub Value: DHCP_OPTION_DATA, +} +impl ::core::marker::Copy for DHCP_OPTION_VALUE {} +impl ::core::clone::Clone for DHCP_OPTION_VALUE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_OPTION_VALUE_ARRAY { + pub NumElements: u32, + pub Values: *mut DHCP_OPTION_VALUE, +} +impl ::core::marker::Copy for DHCP_OPTION_VALUE_ARRAY {} +impl ::core::clone::Clone for DHCP_OPTION_VALUE_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_PERF_STATS { + pub dwNumPacketsReceived: u32, + pub dwNumPacketsDuplicate: u32, + pub dwNumPacketsExpired: u32, + pub dwNumMilliSecondsProcessed: u32, + pub dwNumPacketsInActiveQueue: u32, + pub dwNumPacketsInPingQueue: u32, + pub dwNumDiscoversReceived: u32, + pub dwNumOffersSent: u32, + pub dwNumRequestsReceived: u32, + pub dwNumInformsReceived: u32, + pub dwNumAcksSent: u32, + pub dwNumNacksSent: u32, + pub dwNumDeclinesReceived: u32, + pub dwNumReleasesReceived: u32, + pub dwNumDelayedOfferInQueue: u32, + pub dwNumPacketsProcessed: u32, + pub dwNumPacketsInQuarWaitingQueue: u32, + pub dwNumPacketsInQuarReadyQueue: u32, + pub dwNumPacketsInQuarDecisionQueue: u32, +} +impl ::core::marker::Copy for DHCP_PERF_STATS {} +impl ::core::clone::Clone for DHCP_PERF_STATS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_POLICY { + pub PolicyName: ::windows_sys::core::PWSTR, + pub IsGlobalPolicy: super::super::Foundation::BOOL, + pub Subnet: u32, + pub ProcessingOrder: u32, + pub Conditions: *mut DHCP_POL_COND_ARRAY, + pub Expressions: *mut DHCP_POL_EXPR_ARRAY, + pub Ranges: *mut DHCP_IP_RANGE_ARRAY, + pub Description: ::windows_sys::core::PWSTR, + pub Enabled: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_POLICY {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_POLICY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_POLICY_ARRAY { + pub NumElements: u32, + pub Elements: *mut DHCP_POLICY, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_POLICY_ARRAY {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_POLICY_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_POLICY_EX { + pub PolicyName: ::windows_sys::core::PWSTR, + pub IsGlobalPolicy: super::super::Foundation::BOOL, + pub Subnet: u32, + pub ProcessingOrder: u32, + pub Conditions: *mut DHCP_POL_COND_ARRAY, + pub Expressions: *mut DHCP_POL_EXPR_ARRAY, + pub Ranges: *mut DHCP_IP_RANGE_ARRAY, + pub Description: ::windows_sys::core::PWSTR, + pub Enabled: super::super::Foundation::BOOL, + pub Properties: *mut DHCP_PROPERTY_ARRAY, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_POLICY_EX {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_POLICY_EX { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_POLICY_EX_ARRAY { + pub NumElements: u32, + pub Elements: *mut DHCP_POLICY_EX, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_POLICY_EX_ARRAY {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_POLICY_EX_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_POL_COND { + pub ParentExpr: u32, + pub Type: DHCP_POL_ATTR_TYPE, + pub OptionID: u32, + pub SubOptionID: u32, + pub VendorName: ::windows_sys::core::PWSTR, + pub Operator: DHCP_POL_COMPARATOR, + pub Value: *mut u8, + pub ValueLength: u32, +} +impl ::core::marker::Copy for DHCP_POL_COND {} +impl ::core::clone::Clone for DHCP_POL_COND { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_POL_COND_ARRAY { + pub NumElements: u32, + pub Elements: *mut DHCP_POL_COND, +} +impl ::core::marker::Copy for DHCP_POL_COND_ARRAY {} +impl ::core::clone::Clone for DHCP_POL_COND_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_POL_EXPR { + pub ParentExpr: u32, + pub Operator: DHCP_POL_LOGIC_OPER, +} +impl ::core::marker::Copy for DHCP_POL_EXPR {} +impl ::core::clone::Clone for DHCP_POL_EXPR { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_POL_EXPR_ARRAY { + pub NumElements: u32, + pub Elements: *mut DHCP_POL_EXPR, +} +impl ::core::marker::Copy for DHCP_POL_EXPR_ARRAY {} +impl ::core::clone::Clone for DHCP_POL_EXPR_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_PROPERTY { + pub ID: DHCP_PROPERTY_ID, + pub Type: DHCP_PROPERTY_TYPE, + pub Value: DHCP_PROPERTY_0, +} +impl ::core::marker::Copy for DHCP_PROPERTY {} +impl ::core::clone::Clone for DHCP_PROPERTY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union DHCP_PROPERTY_0 { + pub ByteValue: u8, + pub WordValue: u16, + pub DWordValue: u32, + pub StringValue: ::windows_sys::core::PWSTR, + pub BinaryValue: DHCP_BINARY_DATA, +} +impl ::core::marker::Copy for DHCP_PROPERTY_0 {} +impl ::core::clone::Clone for DHCP_PROPERTY_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_PROPERTY_ARRAY { + pub NumElements: u32, + pub Elements: *mut DHCP_PROPERTY, +} +impl ::core::marker::Copy for DHCP_PROPERTY_ARRAY {} +impl ::core::clone::Clone for DHCP_PROPERTY_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_RESERVATION_INFO_ARRAY { + pub NumElements: u32, + pub Elements: *mut *mut DHCP_IP_RESERVATION_INFO, +} +impl ::core::marker::Copy for DHCP_RESERVATION_INFO_ARRAY {} +impl ::core::clone::Clone for DHCP_RESERVATION_INFO_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_RESERVED_SCOPE { + pub ReservedIpAddress: u32, + pub ReservedIpSubnetAddress: u32, +} +impl ::core::marker::Copy for DHCP_RESERVED_SCOPE {} +impl ::core::clone::Clone for DHCP_RESERVED_SCOPE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_RESERVED_SCOPE6 { + pub ReservedIpAddress: DHCP_IPV6_ADDRESS, + pub ReservedIpSubnetAddress: DHCP_IPV6_ADDRESS, +} +impl ::core::marker::Copy for DHCP_RESERVED_SCOPE6 {} +impl ::core::clone::Clone for DHCP_RESERVED_SCOPE6 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_SCAN_ITEM { + pub IpAddress: u32, + pub ScanFlag: DHCP_SCAN_FLAG, +} +impl ::core::marker::Copy for DHCP_SCAN_ITEM {} +impl ::core::clone::Clone for DHCP_SCAN_ITEM { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_SCAN_LIST { + pub NumScanItems: u32, + pub ScanItems: *mut DHCP_SCAN_ITEM, +} +impl ::core::marker::Copy for DHCP_SCAN_LIST {} +impl ::core::clone::Clone for DHCP_SCAN_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_SEARCH_INFO { + pub SearchType: DHCP_SEARCH_INFO_TYPE, + pub SearchInfo: DHCP_SEARCH_INFO_0, +} +impl ::core::marker::Copy for DHCP_SEARCH_INFO {} +impl ::core::clone::Clone for DHCP_SEARCH_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union DHCP_SEARCH_INFO_0 { + pub ClientIpAddress: u32, + pub ClientHardwareAddress: DHCP_BINARY_DATA, + pub ClientName: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for DHCP_SEARCH_INFO_0 {} +impl ::core::clone::Clone for DHCP_SEARCH_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_SEARCH_INFO_V6 { + pub SearchType: DHCP_SEARCH_INFO_TYPE_V6, + pub SearchInfo: DHCP_SEARCH_INFO_V6_0, +} +impl ::core::marker::Copy for DHCP_SEARCH_INFO_V6 {} +impl ::core::clone::Clone for DHCP_SEARCH_INFO_V6 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union DHCP_SEARCH_INFO_V6_0 { + pub ClientIpAddress: DHCP_IPV6_ADDRESS, + pub ClientDUID: DHCP_BINARY_DATA, + pub ClientName: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for DHCP_SEARCH_INFO_V6_0 {} +impl ::core::clone::Clone for DHCP_SEARCH_INFO_V6_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_SERVER_CONFIG_INFO { + pub APIProtocolSupport: u32, + pub DatabaseName: ::windows_sys::core::PWSTR, + pub DatabasePath: ::windows_sys::core::PWSTR, + pub BackupPath: ::windows_sys::core::PWSTR, + pub BackupInterval: u32, + pub DatabaseLoggingFlag: u32, + pub RestoreFlag: u32, + pub DatabaseCleanupInterval: u32, + pub DebugFlag: u32, +} +impl ::core::marker::Copy for DHCP_SERVER_CONFIG_INFO {} +impl ::core::clone::Clone for DHCP_SERVER_CONFIG_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_SERVER_CONFIG_INFO_V4 { + pub APIProtocolSupport: u32, + pub DatabaseName: ::windows_sys::core::PWSTR, + pub DatabasePath: ::windows_sys::core::PWSTR, + pub BackupPath: ::windows_sys::core::PWSTR, + pub BackupInterval: u32, + pub DatabaseLoggingFlag: u32, + pub RestoreFlag: u32, + pub DatabaseCleanupInterval: u32, + pub DebugFlag: u32, + pub dwPingRetries: u32, + pub cbBootTableString: u32, + pub wszBootTableString: ::windows_sys::core::PWSTR, + pub fAuditLog: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_SERVER_CONFIG_INFO_V4 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_SERVER_CONFIG_INFO_V4 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_SERVER_CONFIG_INFO_V6 { + pub UnicastFlag: super::super::Foundation::BOOL, + pub RapidCommitFlag: super::super::Foundation::BOOL, + pub PreferredLifetime: u32, + pub ValidLifetime: u32, + pub T1: u32, + pub T2: u32, + pub PreferredLifetimeIATA: u32, + pub ValidLifetimeIATA: u32, + pub fAuditLog: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_SERVER_CONFIG_INFO_V6 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_SERVER_CONFIG_INFO_V6 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_SERVER_CONFIG_INFO_VQ { + pub APIProtocolSupport: u32, + pub DatabaseName: ::windows_sys::core::PWSTR, + pub DatabasePath: ::windows_sys::core::PWSTR, + pub BackupPath: ::windows_sys::core::PWSTR, + pub BackupInterval: u32, + pub DatabaseLoggingFlag: u32, + pub RestoreFlag: u32, + pub DatabaseCleanupInterval: u32, + pub DebugFlag: u32, + pub dwPingRetries: u32, + pub cbBootTableString: u32, + pub wszBootTableString: ::windows_sys::core::PWSTR, + pub fAuditLog: super::super::Foundation::BOOL, + pub QuarantineOn: super::super::Foundation::BOOL, + pub QuarDefFail: u32, + pub QuarRuntimeStatus: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_SERVER_CONFIG_INFO_VQ {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_SERVER_CONFIG_INFO_VQ { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DHCP_SERVER_OPTIONS { + pub MessageType: *mut u8, + pub SubnetMask: *mut u32, + pub RequestedAddress: *mut u32, + pub RequestLeaseTime: *mut u32, + pub OverlayFields: *mut u8, + pub RouterAddress: *mut u32, + pub Server: *mut u32, + pub ParameterRequestList: *mut u8, + pub ParameterRequestListLength: u32, + pub MachineName: ::windows_sys::core::PSTR, + pub MachineNameLength: u32, + pub ClientHardwareAddressType: u8, + pub ClientHardwareAddressLength: u8, + pub ClientHardwareAddress: *mut u8, + pub ClassIdentifier: ::windows_sys::core::PSTR, + pub ClassIdentifierLength: u32, + pub VendorClass: *mut u8, + pub VendorClassLength: u32, + pub DNSFlags: u32, + pub DNSNameLength: u32, + pub DNSName: *mut u8, + pub DSDomainNameRequested: super::super::Foundation::BOOLEAN, + pub DSDomainName: ::windows_sys::core::PSTR, + pub DSDomainNameLen: u32, + pub ScopeId: *mut u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DHCP_SERVER_OPTIONS {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DHCP_SERVER_OPTIONS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_SERVER_SPECIFIC_STRINGS { + pub DefaultVendorClassName: ::windows_sys::core::PWSTR, + pub DefaultUserClassName: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for DHCP_SERVER_SPECIFIC_STRINGS {} +impl ::core::clone::Clone for DHCP_SERVER_SPECIFIC_STRINGS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_SUBNET_ELEMENT_DATA { + pub ElementType: DHCP_SUBNET_ELEMENT_TYPE, + pub Element: DHCP_SUBNET_ELEMENT_DATA_0, +} +impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_DATA {} +impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union DHCP_SUBNET_ELEMENT_DATA_0 { + pub IpRange: *mut DHCP_IP_RANGE, + pub SecondaryHost: *mut DHCP_HOST_INFO, + pub ReservedIp: *mut DHCP_IP_RESERVATION, + pub ExcludeIpRange: *mut DHCP_IP_RANGE, + pub IpUsedCluster: *mut DHCP_IP_CLUSTER, +} +impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_DATA_0 {} +impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_DATA_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_SUBNET_ELEMENT_DATA_V4 { + pub ElementType: DHCP_SUBNET_ELEMENT_TYPE, + pub Element: DHCP_SUBNET_ELEMENT_DATA_V4_0, +} +impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_DATA_V4 {} +impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_DATA_V4 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union DHCP_SUBNET_ELEMENT_DATA_V4_0 { + pub IpRange: *mut DHCP_IP_RANGE, + pub SecondaryHost: *mut DHCP_HOST_INFO, + pub ReservedIp: *mut DHCP_IP_RESERVATION_V4, + pub ExcludeIpRange: *mut DHCP_IP_RANGE, + pub IpUsedCluster: *mut DHCP_IP_CLUSTER, +} +impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_DATA_V4_0 {} +impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_DATA_V4_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_SUBNET_ELEMENT_DATA_V5 { + pub ElementType: DHCP_SUBNET_ELEMENT_TYPE, + pub Element: DHCP_SUBNET_ELEMENT_DATA_V5_0, +} +impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_DATA_V5 {} +impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_DATA_V5 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union DHCP_SUBNET_ELEMENT_DATA_V5_0 { + pub IpRange: *mut DHCP_BOOTP_IP_RANGE, + pub SecondaryHost: *mut DHCP_HOST_INFO, + pub ReservedIp: *mut DHCP_IP_RESERVATION_V4, + pub ExcludeIpRange: *mut DHCP_IP_RANGE, + pub IpUsedCluster: *mut DHCP_IP_CLUSTER, +} +impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_DATA_V5_0 {} +impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_DATA_V5_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_SUBNET_ELEMENT_DATA_V6 { + pub ElementType: DHCP_SUBNET_ELEMENT_TYPE_V6, + pub Element: DHCP_SUBNET_ELEMENT_DATA_V6_0, +} +impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_DATA_V6 {} +impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_DATA_V6 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union DHCP_SUBNET_ELEMENT_DATA_V6_0 { + pub IpRange: *mut DHCP_IP_RANGE_V6, + pub ReservedIp: *mut DHCP_IP_RESERVATION_V6, + pub ExcludeIpRange: *mut DHCP_IP_RANGE_V6, +} +impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_DATA_V6_0 {} +impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_DATA_V6_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_SUBNET_ELEMENT_INFO_ARRAY { + pub NumElements: u32, + pub Elements: *mut DHCP_SUBNET_ELEMENT_DATA, +} +impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_INFO_ARRAY {} +impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_INFO_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_SUBNET_ELEMENT_INFO_ARRAY_V4 { + pub NumElements: u32, + pub Elements: *mut DHCP_SUBNET_ELEMENT_DATA_V4, +} +impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_INFO_ARRAY_V4 {} +impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_INFO_ARRAY_V4 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_SUBNET_ELEMENT_INFO_ARRAY_V5 { + pub NumElements: u32, + pub Elements: *mut DHCP_SUBNET_ELEMENT_DATA_V5, +} +impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_INFO_ARRAY_V5 {} +impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_INFO_ARRAY_V5 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_SUBNET_ELEMENT_INFO_ARRAY_V6 { + pub NumElements: u32, + pub Elements: *mut DHCP_SUBNET_ELEMENT_DATA_V6, +} +impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_INFO_ARRAY_V6 {} +impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_INFO_ARRAY_V6 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_SUBNET_INFO { + pub SubnetAddress: u32, + pub SubnetMask: u32, + pub SubnetName: ::windows_sys::core::PWSTR, + pub SubnetComment: ::windows_sys::core::PWSTR, + pub PrimaryHost: DHCP_HOST_INFO, + pub SubnetState: DHCP_SUBNET_STATE, +} +impl ::core::marker::Copy for DHCP_SUBNET_INFO {} +impl ::core::clone::Clone for DHCP_SUBNET_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_SUBNET_INFO_V6 { + pub SubnetAddress: DHCP_IPV6_ADDRESS, + pub Prefix: u32, + pub Preference: u16, + pub SubnetName: ::windows_sys::core::PWSTR, + pub SubnetComment: ::windows_sys::core::PWSTR, + pub State: u32, + pub ScopeId: u32, +} +impl ::core::marker::Copy for DHCP_SUBNET_INFO_V6 {} +impl ::core::clone::Clone for DHCP_SUBNET_INFO_V6 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_SUBNET_INFO_VQ { + pub SubnetAddress: u32, + pub SubnetMask: u32, + pub SubnetName: ::windows_sys::core::PWSTR, + pub SubnetComment: ::windows_sys::core::PWSTR, + pub PrimaryHost: DHCP_HOST_INFO, + pub SubnetState: DHCP_SUBNET_STATE, + pub QuarantineOn: u32, + pub Reserved1: u32, + pub Reserved2: u32, + pub Reserved3: i64, + pub Reserved4: i64, +} +impl ::core::marker::Copy for DHCP_SUBNET_INFO_VQ {} +impl ::core::clone::Clone for DHCP_SUBNET_INFO_VQ { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_SUPER_SCOPE_TABLE { + pub cEntries: u32, + pub pEntries: *mut DHCP_SUPER_SCOPE_TABLE_ENTRY, +} +impl ::core::marker::Copy for DHCP_SUPER_SCOPE_TABLE {} +impl ::core::clone::Clone for DHCP_SUPER_SCOPE_TABLE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DHCP_SUPER_SCOPE_TABLE_ENTRY { + pub SubnetAddress: u32, + pub SuperScopeNumber: u32, + pub NextInSuperScope: u32, + pub SuperScopeName: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for DHCP_SUPER_SCOPE_TABLE_ENTRY {} +impl ::core::clone::Clone for DHCP_SUPER_SCOPE_TABLE_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DWORD_DWORD { + pub DWord1: u32, + pub DWord2: u32, +} +impl ::core::marker::Copy for DWORD_DWORD {} +impl ::core::clone::Clone for DWORD_DWORD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SCOPE_MIB_INFO { + pub Subnet: u32, + pub NumAddressesInuse: u32, + pub NumAddressesFree: u32, + pub NumPendingOffers: u32, +} +impl ::core::marker::Copy for SCOPE_MIB_INFO {} +impl ::core::clone::Clone for SCOPE_MIB_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SCOPE_MIB_INFO_V5 { + pub Subnet: u32, + pub NumAddressesInuse: u32, + pub NumAddressesFree: u32, + pub NumPendingOffers: u32, +} +impl ::core::marker::Copy for SCOPE_MIB_INFO_V5 {} +impl ::core::clone::Clone for SCOPE_MIB_INFO_V5 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SCOPE_MIB_INFO_V6 { + pub Subnet: DHCP_IPV6_ADDRESS, + pub NumAddressesInuse: u64, + pub NumAddressesFree: u64, + pub NumPendingAdvertises: u64, +} +impl ::core::marker::Copy for SCOPE_MIB_INFO_V6 {} +impl ::core::clone::Clone for SCOPE_MIB_INFO_V6 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SCOPE_MIB_INFO_VQ { + pub Subnet: u32, + pub NumAddressesInuse: u32, + pub NumAddressesFree: u32, + pub NumPendingOffers: u32, + pub QtnNumLeases: u32, + pub QtnPctQtnLeases: u32, + pub QtnProbationLeases: u32, + pub QtnNonQtnLeases: u32, + pub QtnExemptLeases: u32, + pub QtnCapableClients: u32, +} +impl ::core::marker::Copy for SCOPE_MIB_INFO_VQ {} +impl ::core::clone::Clone for SCOPE_MIB_INFO_VQ { + fn clone(&self) -> Self { + *self + } +} +pub type LPDHCP_CONTROL = ::core::option::Option<unsafe extern "system" fn(dwcontrolcode: u32, lpreserved: *mut ::core::ffi::c_void) -> u32>; +pub type LPDHCP_DELETE_CLIENT = ::core::option::Option<unsafe extern "system" fn(ipaddress: u32, hwaddress: *mut u8, hwaddresslength: u32, reserved: u32, clienttype: u32) -> u32>; +pub type LPDHCP_DROP_SEND = ::core::option::Option<unsafe extern "system" fn(packet: *mut *mut u8, packetsize: *mut u32, controlcode: u32, ipaddress: u32, reserved: *mut ::core::ffi::c_void, pktcontext: *mut ::core::ffi::c_void) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type LPDHCP_ENTRY_POINT_FUNC = ::core::option::Option<unsafe extern "system" fn(chaindlls: ::windows_sys::core::PCWSTR, calloutversion: u32, callouttbl: *mut DHCP_CALLOUT_TABLE) -> u32>; +pub type LPDHCP_GIVE_ADDRESS = ::core::option::Option<unsafe extern "system" fn(packet: *mut u8, packetsize: u32, controlcode: u32, ipaddress: u32, altaddress: u32, addrtype: u32, leasetime: u32, reserved: *mut ::core::ffi::c_void, pktcontext: *mut ::core::ffi::c_void) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type LPDHCP_HANDLE_OPTIONS = ::core::option::Option<unsafe extern "system" fn(packet: *mut u8, packetsize: u32, reserved: *mut ::core::ffi::c_void, pktcontext: *mut ::core::ffi::c_void, serveroptions: *mut DHCP_SERVER_OPTIONS) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type LPDHCP_NEWPKT = ::core::option::Option<unsafe extern "system" fn(packet: *mut *mut u8, packetsize: *mut u32, ipaddress: u32, reserved: *mut ::core::ffi::c_void, pktcontext: *mut *mut ::core::ffi::c_void, processit: *mut super::super::Foundation::BOOL) -> u32>; +pub type LPDHCP_PROB = ::core::option::Option<unsafe extern "system" fn(packet: *mut u8, packetsize: u32, controlcode: u32, ipaddress: u32, altaddress: u32, reserved: *mut ::core::ffi::c_void, pktcontext: *mut ::core::ffi::c_void) -> u32>; diff --git a/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Dns/mod.rs b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Dns/mod.rs new file mode 100644 index 0000000..b86be23 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Dns/mod.rs @@ -0,0 +1,2170 @@ +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsAcquireContextHandle_A(credentialflags : u32, credentials : *const ::core::ffi::c_void, pcontext : *mut super::super::Foundation:: HANDLE) -> i32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsAcquireContextHandle_W(credentialflags : u32, credentials : *const ::core::ffi::c_void, pcontext : *mut super::super::Foundation:: HANDLE) -> i32); +::windows_targets::link!("dnsapi.dll" "system" fn DnsCancelQuery(pcancelhandle : *const DNS_QUERY_CANCEL) -> i32); +::windows_targets::link!("dnsapi.dll" "system" fn DnsConnectionDeletePolicyEntries(policyentrytag : DNS_CONNECTION_POLICY_TAG) -> u32); +::windows_targets::link!("dnsapi.dll" "system" fn DnsConnectionDeleteProxyInfo(pwszconnectionname : ::windows_sys::core::PCWSTR, r#type : DNS_CONNECTION_PROXY_TYPE) -> u32); +::windows_targets::link!("dnsapi.dll" "system" fn DnsConnectionFreeNameList(pnamelist : *mut DNS_CONNECTION_NAME_LIST) -> ()); +::windows_targets::link!("dnsapi.dll" "system" fn DnsConnectionFreeProxyInfo(pproxyinfo : *mut DNS_CONNECTION_PROXY_INFO) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsConnectionFreeProxyInfoEx(pproxyinfoex : *mut DNS_CONNECTION_PROXY_INFO_EX) -> ()); +::windows_targets::link!("dnsapi.dll" "system" fn DnsConnectionFreeProxyList(pproxylist : *mut DNS_CONNECTION_PROXY_LIST) -> ()); +::windows_targets::link!("dnsapi.dll" "system" fn DnsConnectionGetNameList(pnamelist : *mut DNS_CONNECTION_NAME_LIST) -> u32); +::windows_targets::link!("dnsapi.dll" "system" fn DnsConnectionGetProxyInfo(pwszconnectionname : ::windows_sys::core::PCWSTR, r#type : DNS_CONNECTION_PROXY_TYPE, pproxyinfo : *mut DNS_CONNECTION_PROXY_INFO) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsConnectionGetProxyInfoForHostUrl(pwszhosturl : ::windows_sys::core::PCWSTR, pselectioncontext : *const u8, dwselectioncontextlength : u32, dwexplicitinterfaceindex : u32, pproxyinfoex : *mut DNS_CONNECTION_PROXY_INFO_EX) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsConnectionGetProxyInfoForHostUrlEx(pwszhosturl : ::windows_sys::core::PCWSTR, pselectioncontext : *const u8, dwselectioncontextlength : u32, dwexplicitinterfaceindex : u32, pwszconnectionname : ::windows_sys::core::PCWSTR, pproxyinfoex : *mut DNS_CONNECTION_PROXY_INFO_EX) -> u32); +::windows_targets::link!("dnsapi.dll" "system" fn DnsConnectionGetProxyList(pwszconnectionname : ::windows_sys::core::PCWSTR, pproxylist : *mut DNS_CONNECTION_PROXY_LIST) -> u32); +::windows_targets::link!("dnsapi.dll" "system" fn DnsConnectionSetPolicyEntries(policyentrytag : DNS_CONNECTION_POLICY_TAG, ppolicyentrylist : *const DNS_CONNECTION_POLICY_ENTRY_LIST) -> u32); +::windows_targets::link!("dnsapi.dll" "system" fn DnsConnectionSetProxyInfo(pwszconnectionname : ::windows_sys::core::PCWSTR, r#type : DNS_CONNECTION_PROXY_TYPE, pproxyinfo : *const DNS_CONNECTION_PROXY_INFO) -> u32); +::windows_targets::link!("dnsapi.dll" "system" fn DnsConnectionUpdateIfIndexTable(pconnectionifindexentries : *const DNS_CONNECTION_IFINDEX_LIST) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsExtractRecordsFromMessage_UTF8(pdnsbuffer : *const DNS_MESSAGE_BUFFER, wmessagelength : u16, pprecord : *mut *mut DNS_RECORDA) -> i32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsExtractRecordsFromMessage_W(pdnsbuffer : *const DNS_MESSAGE_BUFFER, wmessagelength : u16, pprecord : *mut *mut DNS_RECORDA) -> i32); +::windows_targets::link!("dnsapi.dll" "system" fn DnsFree(pdata : *const ::core::ffi::c_void, freetype : DNS_FREE_TYPE) -> ()); +::windows_targets::link!("dnsapi.dll" "system" fn DnsFreeCustomServers(pcservers : *mut u32, ppservers : *mut *mut DNS_CUSTOM_SERVER) -> ()); +::windows_targets::link!("dnsapi.dll" "system" fn DnsFreeProxyName(proxyname : ::windows_sys::core::PCWSTR) -> ()); +::windows_targets::link!("dnsapi.dll" "system" fn DnsGetApplicationSettings(pcservers : *mut u32, ppdefaultservers : *mut *mut DNS_CUSTOM_SERVER, psettings : *mut DNS_APPLICATION_SETTINGS) -> u32); +::windows_targets::link!("dnsapi.dll" "system" fn DnsGetProxyInformation(hostname : ::windows_sys::core::PCWSTR, proxyinformation : *mut DNS_PROXY_INFORMATION, defaultproxyinformation : *mut DNS_PROXY_INFORMATION, completionroutine : DNS_PROXY_COMPLETION_ROUTINE, completioncontext : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsModifyRecordsInSet_A(paddrecords : *const DNS_RECORDA, pdeleterecords : *const DNS_RECORDA, options : u32, hcredentials : super::super::Foundation:: HANDLE, pextralist : *mut ::core::ffi::c_void, preserved : *mut ::core::ffi::c_void) -> i32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsModifyRecordsInSet_UTF8(paddrecords : *const DNS_RECORDA, pdeleterecords : *const DNS_RECORDA, options : u32, hcredentials : super::super::Foundation:: HANDLE, pextralist : *mut ::core::ffi::c_void, preserved : *mut ::core::ffi::c_void) -> i32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsModifyRecordsInSet_W(paddrecords : *const DNS_RECORDA, pdeleterecords : *const DNS_RECORDA, options : u32, hcredentials : super::super::Foundation:: HANDLE, pextralist : *mut ::core::ffi::c_void, preserved : *mut ::core::ffi::c_void) -> i32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsNameCompare_A(pname1 : ::windows_sys::core::PCSTR, pname2 : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsNameCompare_W(pname1 : ::windows_sys::core::PCWSTR, pname2 : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); +::windows_targets::link!("dnsapi.dll" "system" fn DnsQueryConfig(config : DNS_CONFIG_TYPE, flag : u32, pwsadaptername : ::windows_sys::core::PCWSTR, preserved : *const ::core::ffi::c_void, pbuffer : *mut ::core::ffi::c_void, pbuflen : *mut u32) -> i32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsQueryEx(pqueryrequest : *const DNS_QUERY_REQUEST, pqueryresults : *mut DNS_QUERY_RESULT, pcancelhandle : *mut DNS_QUERY_CANCEL) -> i32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsQuery_A(pszname : ::windows_sys::core::PCSTR, wtype : DNS_TYPE, options : DNS_QUERY_OPTIONS, pextra : *mut ::core::ffi::c_void, ppqueryresults : *mut *mut DNS_RECORDA, preserved : *mut *mut ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsQuery_UTF8(pszname : ::windows_sys::core::PCSTR, wtype : DNS_TYPE, options : DNS_QUERY_OPTIONS, pextra : *mut ::core::ffi::c_void, ppqueryresults : *mut *mut DNS_RECORDA, preserved : *mut *mut ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsQuery_W(pszname : ::windows_sys::core::PCWSTR, wtype : DNS_TYPE, options : DNS_QUERY_OPTIONS, pextra : *mut ::core::ffi::c_void, ppqueryresults : *mut *mut DNS_RECORDA, preserved : *mut *mut ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsRecordCompare(precord1 : *const DNS_RECORDA, precord2 : *const DNS_RECORDA) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsRecordCopyEx(precord : *const DNS_RECORDA, charsetin : DNS_CHARSET, charsetout : DNS_CHARSET) -> *mut DNS_RECORDA); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsRecordSetCompare(prr1 : *mut DNS_RECORDA, prr2 : *mut DNS_RECORDA, ppdiff1 : *mut *mut DNS_RECORDA, ppdiff2 : *mut *mut DNS_RECORDA) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsRecordSetCopyEx(precordset : *const DNS_RECORDA, charsetin : DNS_CHARSET, charsetout : DNS_CHARSET) -> *mut DNS_RECORDA); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsRecordSetDetach(precordlist : *mut DNS_RECORDA) -> *mut DNS_RECORDA); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsReleaseContextHandle(hcontext : super::super::Foundation:: HANDLE) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsReplaceRecordSetA(preplaceset : *const DNS_RECORDA, options : u32, hcontext : super::super::Foundation:: HANDLE, pextrainfo : *mut ::core::ffi::c_void, preserved : *mut ::core::ffi::c_void) -> i32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsReplaceRecordSetUTF8(preplaceset : *const DNS_RECORDA, options : u32, hcontext : super::super::Foundation:: HANDLE, pextrainfo : *mut ::core::ffi::c_void, preserved : *mut ::core::ffi::c_void) -> i32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsReplaceRecordSetW(preplaceset : *const DNS_RECORDA, options : u32, hcontext : super::super::Foundation:: HANDLE, pextrainfo : *mut ::core::ffi::c_void, preserved : *mut ::core::ffi::c_void) -> i32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsServiceBrowse(prequest : *const DNS_SERVICE_BROWSE_REQUEST, pcancel : *mut DNS_SERVICE_CANCEL) -> i32); +::windows_targets::link!("dnsapi.dll" "system" fn DnsServiceBrowseCancel(pcancelhandle : *const DNS_SERVICE_CANCEL) -> i32); +::windows_targets::link!("dnsapi.dll" "system" fn DnsServiceConstructInstance(pservicename : ::windows_sys::core::PCWSTR, phostname : ::windows_sys::core::PCWSTR, pip4 : *const u32, pip6 : *const IP6_ADDRESS, wport : u16, wpriority : u16, wweight : u16, dwpropertiescount : u32, keys : *const ::windows_sys::core::PCWSTR, values : *const ::windows_sys::core::PCWSTR) -> *mut DNS_SERVICE_INSTANCE); +::windows_targets::link!("dnsapi.dll" "system" fn DnsServiceCopyInstance(porig : *const DNS_SERVICE_INSTANCE) -> *mut DNS_SERVICE_INSTANCE); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsServiceDeRegister(prequest : *const DNS_SERVICE_REGISTER_REQUEST, pcancel : *mut DNS_SERVICE_CANCEL) -> u32); +::windows_targets::link!("dnsapi.dll" "system" fn DnsServiceFreeInstance(pinstance : *const DNS_SERVICE_INSTANCE) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsServiceRegister(prequest : *const DNS_SERVICE_REGISTER_REQUEST, pcancel : *mut DNS_SERVICE_CANCEL) -> u32); +::windows_targets::link!("dnsapi.dll" "system" fn DnsServiceRegisterCancel(pcancelhandle : *const DNS_SERVICE_CANCEL) -> u32); +::windows_targets::link!("dnsapi.dll" "system" fn DnsServiceResolve(prequest : *const DNS_SERVICE_RESOLVE_REQUEST, pcancel : *mut DNS_SERVICE_CANCEL) -> i32); +::windows_targets::link!("dnsapi.dll" "system" fn DnsServiceResolveCancel(pcancelhandle : *const DNS_SERVICE_CANCEL) -> i32); +::windows_targets::link!("dnsapi.dll" "system" fn DnsSetApplicationSettings(cservers : u32, pservers : *const DNS_CUSTOM_SERVER, psettings : *const DNS_APPLICATION_SETTINGS) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsStartMulticastQuery(pqueryrequest : *const MDNS_QUERY_REQUEST, phandle : *mut MDNS_QUERY_HANDLE) -> i32); +::windows_targets::link!("dnsapi.dll" "system" fn DnsStopMulticastQuery(phandle : *mut MDNS_QUERY_HANDLE) -> i32); +::windows_targets::link!("dnsapi.dll" "system" fn DnsValidateName_A(pszname : ::windows_sys::core::PCSTR, format : DNS_NAME_FORMAT) -> i32); +::windows_targets::link!("dnsapi.dll" "system" fn DnsValidateName_UTF8(pszname : ::windows_sys::core::PCSTR, format : DNS_NAME_FORMAT) -> i32); +::windows_targets::link!("dnsapi.dll" "system" fn DnsValidateName_W(pszname : ::windows_sys::core::PCWSTR, format : DNS_NAME_FORMAT) -> i32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsWriteQuestionToBuffer_UTF8(pdnsbuffer : *mut DNS_MESSAGE_BUFFER, pdwbuffersize : *mut u32, pszname : ::windows_sys::core::PCSTR, wtype : u16, xid : u16, frecursiondesired : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsWriteQuestionToBuffer_W(pdnsbuffer : *mut DNS_MESSAGE_BUFFER, pdwbuffersize : *mut u32, pszname : ::windows_sys::core::PCWSTR, wtype : u16, xid : u16, frecursiondesired : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); +pub const DDR_MAX_IP_HINTS: u32 = 4u32; +pub const DNSREC_ADDITIONAL: u32 = 3u32; +pub const DNSREC_ANSWER: u32 = 1u32; +pub const DNSREC_AUTHORITY: u32 = 2u32; +pub const DNSREC_DELETE: u32 = 4u32; +pub const DNSREC_NOEXIST: u32 = 4u32; +pub const DNSREC_PREREQ: u32 = 1u32; +pub const DNSREC_QUESTION: u32 = 0u32; +pub const DNSREC_SECTION: u32 = 3u32; +pub const DNSREC_UPDATE: u32 = 2u32; +pub const DNSREC_ZONE: u32 = 0u32; +pub const DNSSEC_ALGORITHM_ECDSAP256_SHA256: u32 = 13u32; +pub const DNSSEC_ALGORITHM_ECDSAP384_SHA384: u32 = 14u32; +pub const DNSSEC_ALGORITHM_NULL: u32 = 253u32; +pub const DNSSEC_ALGORITHM_PRIVATE: u32 = 254u32; +pub const DNSSEC_ALGORITHM_RSAMD5: u32 = 1u32; +pub const DNSSEC_ALGORITHM_RSASHA1: u32 = 5u32; +pub const DNSSEC_ALGORITHM_RSASHA1_NSEC3: u32 = 7u32; +pub const DNSSEC_ALGORITHM_RSASHA256: u32 = 8u32; +pub const DNSSEC_ALGORITHM_RSASHA512: u32 = 10u32; +pub const DNSSEC_DIGEST_ALGORITHM_SHA1: u32 = 1u32; +pub const DNSSEC_DIGEST_ALGORITHM_SHA256: u32 = 2u32; +pub const DNSSEC_DIGEST_ALGORITHM_SHA384: u32 = 4u32; +pub const DNSSEC_KEY_FLAG_EXTEND: u32 = 8u32; +pub const DNSSEC_KEY_FLAG_FLAG10: u32 = 1024u32; +pub const DNSSEC_KEY_FLAG_FLAG11: u32 = 2048u32; +pub const DNSSEC_KEY_FLAG_FLAG2: u32 = 4u32; +pub const DNSSEC_KEY_FLAG_FLAG4: u32 = 16u32; +pub const DNSSEC_KEY_FLAG_FLAG5: u32 = 32u32; +pub const DNSSEC_KEY_FLAG_FLAG8: u32 = 256u32; +pub const DNSSEC_KEY_FLAG_FLAG9: u32 = 512u32; +pub const DNSSEC_KEY_FLAG_HOST: u32 = 128u32; +pub const DNSSEC_KEY_FLAG_NOAUTH: u32 = 1u32; +pub const DNSSEC_KEY_FLAG_NOCONF: u32 = 2u32; +pub const DNSSEC_KEY_FLAG_NTPE3: u32 = 192u32; +pub const DNSSEC_KEY_FLAG_SIG0: u32 = 0u32; +pub const DNSSEC_KEY_FLAG_SIG1: u32 = 4096u32; +pub const DNSSEC_KEY_FLAG_SIG10: u32 = 40960u32; +pub const DNSSEC_KEY_FLAG_SIG11: u32 = 45056u32; +pub const DNSSEC_KEY_FLAG_SIG12: u32 = 49152u32; +pub const DNSSEC_KEY_FLAG_SIG13: u32 = 53248u32; +pub const DNSSEC_KEY_FLAG_SIG14: u32 = 57344u32; +pub const DNSSEC_KEY_FLAG_SIG15: u32 = 61440u32; +pub const DNSSEC_KEY_FLAG_SIG2: u32 = 8192u32; +pub const DNSSEC_KEY_FLAG_SIG3: u32 = 12288u32; +pub const DNSSEC_KEY_FLAG_SIG4: u32 = 16384u32; +pub const DNSSEC_KEY_FLAG_SIG5: u32 = 20480u32; +pub const DNSSEC_KEY_FLAG_SIG6: u32 = 24576u32; +pub const DNSSEC_KEY_FLAG_SIG7: u32 = 28672u32; +pub const DNSSEC_KEY_FLAG_SIG8: u32 = 32768u32; +pub const DNSSEC_KEY_FLAG_SIG9: u32 = 36864u32; +pub const DNSSEC_KEY_FLAG_USER: u32 = 0u32; +pub const DNSSEC_KEY_FLAG_ZONE: u32 = 64u32; +pub const DNSSEC_PROTOCOL_DNSSEC: u32 = 3u32; +pub const DNSSEC_PROTOCOL_EMAIL: u32 = 2u32; +pub const DNSSEC_PROTOCOL_IPSEC: u32 = 4u32; +pub const DNSSEC_PROTOCOL_NONE: u32 = 0u32; +pub const DNSSEC_PROTOCOL_TLS: u32 = 1u32; +pub const DNS_ADDRESS_STRING_LENGTH: u32 = 65u32; +pub const DNS_ADDR_MAX_SOCKADDR_LENGTH: u32 = 32u32; +pub const DNS_APP_SETTINGS_EXCLUSIVE_SERVERS: u32 = 1u32; +pub const DNS_APP_SETTINGS_VERSION1: u32 = 1u32; +pub const DNS_ATMA_AESA_ADDR_LENGTH: u32 = 20u32; +pub const DNS_ATMA_FORMAT_AESA: u32 = 2u32; +pub const DNS_ATMA_FORMAT_E164: u32 = 1u32; +pub const DNS_ATMA_MAX_ADDR_LENGTH: u32 = 20u32; +pub const DNS_ATMA_MAX_RECORD_LENGTH: u32 = 21u32; +pub const DNS_CLASS_ALL: u32 = 255u32; +pub const DNS_CLASS_ANY: u32 = 255u32; +pub const DNS_CLASS_CHAOS: u32 = 3u32; +pub const DNS_CLASS_CSNET: u32 = 2u32; +pub const DNS_CLASS_HESIOD: u32 = 4u32; +pub const DNS_CLASS_INTERNET: u32 = 1u32; +pub const DNS_CLASS_NONE: u32 = 254u32; +pub const DNS_CLASS_UNICAST_RESPONSE: u32 = 32768u32; +pub const DNS_COMPRESSED_QUESTION_NAME: u32 = 49164u32; +pub const DNS_CONFIG_FLAG_ALLOC: u32 = 1u32; +pub const DNS_CONNECTION_NAME_MAX_LENGTH: u32 = 64u32; +pub const DNS_CONNECTION_POLICY_ENTRY_ONDEMAND: u32 = 1u32; +pub const DNS_CONNECTION_PROXY_INFO_CURRENT_VERSION: u32 = 1u32; +pub const DNS_CONNECTION_PROXY_INFO_EXCEPTION_MAX_LENGTH: u32 = 1024u32; +pub const DNS_CONNECTION_PROXY_INFO_EXTRA_INFO_MAX_LENGTH: u32 = 1024u32; +pub const DNS_CONNECTION_PROXY_INFO_FLAG_BYPASSLOCAL: u32 = 2u32; +pub const DNS_CONNECTION_PROXY_INFO_FLAG_DISABLED: u32 = 1u32; +pub const DNS_CONNECTION_PROXY_INFO_FRIENDLY_NAME_MAX_LENGTH: u32 = 64u32; +pub const DNS_CONNECTION_PROXY_INFO_PASSWORD_MAX_LENGTH: u32 = 128u32; +pub const DNS_CONNECTION_PROXY_INFO_SERVER_MAX_LENGTH: u32 = 256u32; +pub const DNS_CONNECTION_PROXY_INFO_SWITCH_CONFIG: DNS_CONNECTION_PROXY_INFO_SWITCH = 0i32; +pub const DNS_CONNECTION_PROXY_INFO_SWITCH_SCRIPT: DNS_CONNECTION_PROXY_INFO_SWITCH = 1i32; +pub const DNS_CONNECTION_PROXY_INFO_SWITCH_WPAD: DNS_CONNECTION_PROXY_INFO_SWITCH = 2i32; +pub const DNS_CONNECTION_PROXY_INFO_USERNAME_MAX_LENGTH: u32 = 128u32; +pub const DNS_CONNECTION_PROXY_TYPE_HTTP: DNS_CONNECTION_PROXY_TYPE = 1i32; +pub const DNS_CONNECTION_PROXY_TYPE_NULL: DNS_CONNECTION_PROXY_TYPE = 0i32; +pub const DNS_CONNECTION_PROXY_TYPE_SOCKS4: DNS_CONNECTION_PROXY_TYPE = 4i32; +pub const DNS_CONNECTION_PROXY_TYPE_SOCKS5: DNS_CONNECTION_PROXY_TYPE = 5i32; +pub const DNS_CONNECTION_PROXY_TYPE_WAP: DNS_CONNECTION_PROXY_TYPE = 2i32; +pub const DNS_CUSTOM_SERVER_TYPE_DOH: u32 = 2u32; +pub const DNS_CUSTOM_SERVER_TYPE_UDP: u32 = 1u32; +pub const DNS_CUSTOM_SERVER_UDP_FALLBACK: u32 = 1u32; +pub const DNS_MAX_IP4_REVERSE_NAME_BUFFER_LENGTH: u32 = 31u32; +pub const DNS_MAX_IP4_REVERSE_NAME_LENGTH: u32 = 31u32; +pub const DNS_MAX_IP6_REVERSE_NAME_BUFFER_LENGTH: u32 = 75u32; +pub const DNS_MAX_IP6_REVERSE_NAME_LENGTH: u32 = 75u32; +pub const DNS_MAX_LABEL_BUFFER_LENGTH: u32 = 64u32; +pub const DNS_MAX_LABEL_LENGTH: u32 = 63u32; +pub const DNS_MAX_NAME_BUFFER_LENGTH: u32 = 256u32; +pub const DNS_MAX_NAME_LENGTH: u32 = 255u32; +pub const DNS_MAX_REVERSE_NAME_BUFFER_LENGTH: u32 = 75u32; +pub const DNS_MAX_REVERSE_NAME_LENGTH: u32 = 75u32; +pub const DNS_MAX_TEXT_STRING_LENGTH: u32 = 255u32; +pub const DNS_OPCODE_IQUERY: u32 = 1u32; +pub const DNS_OPCODE_NOTIFY: u32 = 4u32; +pub const DNS_OPCODE_QUERY: u32 = 0u32; +pub const DNS_OPCODE_SERVER_STATUS: u32 = 2u32; +pub const DNS_OPCODE_UNKNOWN: u32 = 3u32; +pub const DNS_OPCODE_UPDATE: u32 = 5u32; +pub const DNS_PORT_HOST_ORDER: u32 = 53u32; +pub const DNS_PORT_NET_ORDER: u32 = 13568u32; +pub const DNS_PROXY_INFORMATION_DEFAULT_SETTINGS: DNS_PROXY_INFORMATION_TYPE = 1i32; +pub const DNS_PROXY_INFORMATION_DIRECT: DNS_PROXY_INFORMATION_TYPE = 0i32; +pub const DNS_PROXY_INFORMATION_DOES_NOT_EXIST: DNS_PROXY_INFORMATION_TYPE = 3i32; +pub const DNS_PROXY_INFORMATION_PROXY_NAME: DNS_PROXY_INFORMATION_TYPE = 2i32; +pub const DNS_QUERY_ACCEPT_TRUNCATED_RESPONSE: DNS_QUERY_OPTIONS = 1u32; +pub const DNS_QUERY_ADDRCONFIG: DNS_QUERY_OPTIONS = 8192u32; +pub const DNS_QUERY_APPEND_MULTILABEL: DNS_QUERY_OPTIONS = 8388608u32; +pub const DNS_QUERY_BYPASS_CACHE: DNS_QUERY_OPTIONS = 8u32; +pub const DNS_QUERY_CACHE_ONLY: DNS_QUERY_OPTIONS = 16u32; +pub const DNS_QUERY_DISABLE_IDN_ENCODING: DNS_QUERY_OPTIONS = 2097152u32; +pub const DNS_QUERY_DNSSEC_CHECKING_DISABLED: DNS_QUERY_OPTIONS = 33554432u32; +pub const DNS_QUERY_DNSSEC_OK: DNS_QUERY_OPTIONS = 16777216u32; +pub const DNS_QUERY_DONT_RESET_TTL_VALUES: DNS_QUERY_OPTIONS = 1048576u32; +pub const DNS_QUERY_DUAL_ADDR: DNS_QUERY_OPTIONS = 16384u32; +pub const DNS_QUERY_MULTICAST_ONLY: DNS_QUERY_OPTIONS = 1024u32; +pub const DNS_QUERY_NO_HOSTS_FILE: DNS_QUERY_OPTIONS = 64u32; +pub const DNS_QUERY_NO_LOCAL_NAME: DNS_QUERY_OPTIONS = 32u32; +pub const DNS_QUERY_NO_MULTICAST: DNS_QUERY_OPTIONS = 2048u32; +pub const DNS_QUERY_NO_NETBT: DNS_QUERY_OPTIONS = 128u32; +pub const DNS_QUERY_NO_RECURSION: DNS_QUERY_OPTIONS = 4u32; +pub const DNS_QUERY_NO_WIRE_QUERY: DNS_QUERY_OPTIONS = 16u32; +pub const DNS_QUERY_REQUEST_VERSION1: DNS_QUERY_OPTIONS = 1u32; +pub const DNS_QUERY_REQUEST_VERSION2: DNS_QUERY_OPTIONS = 2u32; +pub const DNS_QUERY_REQUEST_VERSION3: DNS_QUERY_OPTIONS = 3u32; +pub const DNS_QUERY_RESERVED: DNS_QUERY_OPTIONS = 4026531840u32; +pub const DNS_QUERY_RESULTS_VERSION1: DNS_QUERY_OPTIONS = 1u32; +pub const DNS_QUERY_RETURN_MESSAGE: DNS_QUERY_OPTIONS = 512u32; +pub const DNS_QUERY_STANDARD: DNS_QUERY_OPTIONS = 0u32; +pub const DNS_QUERY_TREAT_AS_FQDN: DNS_QUERY_OPTIONS = 4096u32; +pub const DNS_QUERY_USE_TCP_ONLY: DNS_QUERY_OPTIONS = 2u32; +pub const DNS_QUERY_WIRE_ONLY: DNS_QUERY_OPTIONS = 256u32; +pub const DNS_RCLASS_ALL: u32 = 65280u32; +pub const DNS_RCLASS_ANY: u32 = 65280u32; +pub const DNS_RCLASS_CHAOS: u32 = 768u32; +pub const DNS_RCLASS_CSNET: u32 = 512u32; +pub const DNS_RCLASS_HESIOD: u32 = 1024u32; +pub const DNS_RCLASS_INTERNET: u32 = 256u32; +pub const DNS_RCLASS_MDNS_CACHE_FLUSH: u32 = 128u32; +pub const DNS_RCLASS_NONE: u32 = 65024u32; +pub const DNS_RCLASS_UNICAST_RESPONSE: u32 = 128u32; +pub const DNS_RCODE_BADKEY: u32 = 17u32; +pub const DNS_RCODE_BADSIG: u32 = 16u32; +pub const DNS_RCODE_BADTIME: u32 = 18u32; +pub const DNS_RCODE_BADVERS: u32 = 16u32; +pub const DNS_RCODE_FORMAT_ERROR: u32 = 1u32; +pub const DNS_RCODE_FORMERR: u32 = 1u32; +pub const DNS_RCODE_MAX: u32 = 15u32; +pub const DNS_RCODE_NAME_ERROR: u32 = 3u32; +pub const DNS_RCODE_NOERROR: u32 = 0u32; +pub const DNS_RCODE_NOTAUTH: u32 = 9u32; +pub const DNS_RCODE_NOTIMPL: u32 = 4u32; +pub const DNS_RCODE_NOTZONE: u32 = 10u32; +pub const DNS_RCODE_NOT_IMPLEMENTED: u32 = 4u32; +pub const DNS_RCODE_NO_ERROR: u32 = 0u32; +pub const DNS_RCODE_NXDOMAIN: u32 = 3u32; +pub const DNS_RCODE_NXRRSET: u32 = 8u32; +pub const DNS_RCODE_REFUSED: u32 = 5u32; +pub const DNS_RCODE_SERVER_FAILURE: u32 = 2u32; +pub const DNS_RCODE_SERVFAIL: u32 = 2u32; +pub const DNS_RCODE_YXDOMAIN: u32 = 6u32; +pub const DNS_RCODE_YXRRSET: u32 = 7u32; +pub const DNS_RFC_MAX_UDP_PACKET_LENGTH: u32 = 512u32; +pub const DNS_RTYPE_A: u32 = 256u32; +pub const DNS_RTYPE_A6: u32 = 9728u32; +pub const DNS_RTYPE_AAAA: u32 = 7168u32; +pub const DNS_RTYPE_AFSDB: u32 = 4608u32; +pub const DNS_RTYPE_ALL: u32 = 65280u32; +pub const DNS_RTYPE_ANY: u32 = 65280u32; +pub const DNS_RTYPE_ATMA: u32 = 8704u32; +pub const DNS_RTYPE_AXFR: u32 = 64512u32; +pub const DNS_RTYPE_CERT: u32 = 9472u32; +pub const DNS_RTYPE_CNAME: u32 = 1280u32; +pub const DNS_RTYPE_DHCID: u32 = 12544u32; +pub const DNS_RTYPE_DNAME: u32 = 9984u32; +pub const DNS_RTYPE_DNSKEY: u32 = 12288u32; +pub const DNS_RTYPE_DS: u32 = 11008u32; +pub const DNS_RTYPE_EID: u32 = 7936u32; +pub const DNS_RTYPE_GID: u32 = 26112u32; +pub const DNS_RTYPE_GPOS: u32 = 6912u32; +pub const DNS_RTYPE_HINFO: u32 = 3328u32; +pub const DNS_RTYPE_ISDN: u32 = 5120u32; +pub const DNS_RTYPE_IXFR: u32 = 64256u32; +pub const DNS_RTYPE_KEY: u32 = 6400u32; +pub const DNS_RTYPE_KX: u32 = 9216u32; +pub const DNS_RTYPE_LOC: u32 = 7424u32; +pub const DNS_RTYPE_MAILA: u32 = 65024u32; +pub const DNS_RTYPE_MAILB: u32 = 64768u32; +pub const DNS_RTYPE_MB: u32 = 1792u32; +pub const DNS_RTYPE_MD: u32 = 768u32; +pub const DNS_RTYPE_MF: u32 = 1024u32; +pub const DNS_RTYPE_MG: u32 = 2048u32; +pub const DNS_RTYPE_MINFO: u32 = 3584u32; +pub const DNS_RTYPE_MR: u32 = 2304u32; +pub const DNS_RTYPE_MX: u32 = 3840u32; +pub const DNS_RTYPE_NAPTR: u32 = 8960u32; +pub const DNS_RTYPE_NIMLOC: u32 = 8192u32; +pub const DNS_RTYPE_NS: u32 = 512u32; +pub const DNS_RTYPE_NSAP: u32 = 5632u32; +pub const DNS_RTYPE_NSAPPTR: u32 = 5888u32; +pub const DNS_RTYPE_NSEC: u32 = 12032u32; +pub const DNS_RTYPE_NSEC3: u32 = 12800u32; +pub const DNS_RTYPE_NSEC3PARAM: u32 = 13056u32; +pub const DNS_RTYPE_NULL: u32 = 2560u32; +pub const DNS_RTYPE_NXT: u32 = 7680u32; +pub const DNS_RTYPE_OPT: u32 = 10496u32; +pub const DNS_RTYPE_PTR: u32 = 3072u32; +pub const DNS_RTYPE_PX: u32 = 6656u32; +pub const DNS_RTYPE_RP: u32 = 4352u32; +pub const DNS_RTYPE_RRSIG: u32 = 11776u32; +pub const DNS_RTYPE_RT: u32 = 5376u32; +pub const DNS_RTYPE_SIG: u32 = 6144u32; +pub const DNS_RTYPE_SINK: u32 = 10240u32; +pub const DNS_RTYPE_SOA: u32 = 1536u32; +pub const DNS_RTYPE_SRV: u32 = 8448u32; +pub const DNS_RTYPE_TEXT: u32 = 4096u32; +pub const DNS_RTYPE_TKEY: u32 = 63744u32; +pub const DNS_RTYPE_TLSA: u32 = 13312u32; +pub const DNS_RTYPE_TSIG: u32 = 64000u32; +pub const DNS_RTYPE_UID: u32 = 25856u32; +pub const DNS_RTYPE_UINFO: u32 = 25600u32; +pub const DNS_RTYPE_UNSPEC: u32 = 26368u32; +pub const DNS_RTYPE_WINS: u32 = 511u32; +pub const DNS_RTYPE_WINSR: u32 = 767u32; +pub const DNS_RTYPE_WKS: u32 = 2816u32; +pub const DNS_RTYPE_X25: u32 = 4864u32; +pub const DNS_TKEY_MODE_DIFFIE_HELLMAN: u32 = 2u32; +pub const DNS_TKEY_MODE_GSS: u32 = 3u32; +pub const DNS_TKEY_MODE_RESOLVER_ASSIGN: u32 = 4u32; +pub const DNS_TKEY_MODE_SERVER_ASSIGN: u32 = 1u32; +pub const DNS_TYPE_A: DNS_TYPE = 1u16; +pub const DNS_TYPE_A6: DNS_TYPE = 38u16; +pub const DNS_TYPE_AAAA: DNS_TYPE = 28u16; +pub const DNS_TYPE_ADDRS: DNS_TYPE = 248u16; +pub const DNS_TYPE_AFSDB: DNS_TYPE = 18u16; +pub const DNS_TYPE_ALL: DNS_TYPE = 255u16; +pub const DNS_TYPE_ANY: DNS_TYPE = 255u16; +pub const DNS_TYPE_ATMA: DNS_TYPE = 34u16; +pub const DNS_TYPE_AXFR: DNS_TYPE = 252u16; +pub const DNS_TYPE_CERT: DNS_TYPE = 37u16; +pub const DNS_TYPE_CNAME: DNS_TYPE = 5u16; +pub const DNS_TYPE_DHCID: DNS_TYPE = 49u16; +pub const DNS_TYPE_DNAME: DNS_TYPE = 39u16; +pub const DNS_TYPE_DNSKEY: DNS_TYPE = 48u16; +pub const DNS_TYPE_DS: DNS_TYPE = 43u16; +pub const DNS_TYPE_EID: DNS_TYPE = 31u16; +pub const DNS_TYPE_GID: DNS_TYPE = 102u16; +pub const DNS_TYPE_GPOS: DNS_TYPE = 27u16; +pub const DNS_TYPE_HINFO: DNS_TYPE = 13u16; +pub const DNS_TYPE_HTTPS: DNS_TYPE = 65u16; +pub const DNS_TYPE_ISDN: DNS_TYPE = 20u16; +pub const DNS_TYPE_IXFR: DNS_TYPE = 251u16; +pub const DNS_TYPE_KEY: DNS_TYPE = 25u16; +pub const DNS_TYPE_KX: DNS_TYPE = 36u16; +pub const DNS_TYPE_LOC: DNS_TYPE = 29u16; +pub const DNS_TYPE_MAILA: DNS_TYPE = 254u16; +pub const DNS_TYPE_MAILB: DNS_TYPE = 253u16; +pub const DNS_TYPE_MB: DNS_TYPE = 7u16; +pub const DNS_TYPE_MD: DNS_TYPE = 3u16; +pub const DNS_TYPE_MF: DNS_TYPE = 4u16; +pub const DNS_TYPE_MG: DNS_TYPE = 8u16; +pub const DNS_TYPE_MINFO: DNS_TYPE = 14u16; +pub const DNS_TYPE_MR: DNS_TYPE = 9u16; +pub const DNS_TYPE_MX: DNS_TYPE = 15u16; +pub const DNS_TYPE_NAPTR: DNS_TYPE = 35u16; +pub const DNS_TYPE_NBSTAT: DNS_TYPE = 65282u16; +pub const DNS_TYPE_NIMLOC: DNS_TYPE = 32u16; +pub const DNS_TYPE_NS: DNS_TYPE = 2u16; +pub const DNS_TYPE_NSAP: DNS_TYPE = 22u16; +pub const DNS_TYPE_NSAPPTR: DNS_TYPE = 23u16; +pub const DNS_TYPE_NSEC: DNS_TYPE = 47u16; +pub const DNS_TYPE_NSEC3: DNS_TYPE = 50u16; +pub const DNS_TYPE_NSEC3PARAM: DNS_TYPE = 51u16; +pub const DNS_TYPE_NULL: DNS_TYPE = 10u16; +pub const DNS_TYPE_NXT: DNS_TYPE = 30u16; +pub const DNS_TYPE_OPT: DNS_TYPE = 41u16; +pub const DNS_TYPE_PTR: DNS_TYPE = 12u16; +pub const DNS_TYPE_PX: DNS_TYPE = 26u16; +pub const DNS_TYPE_RP: DNS_TYPE = 17u16; +pub const DNS_TYPE_RRSIG: DNS_TYPE = 46u16; +pub const DNS_TYPE_RT: DNS_TYPE = 21u16; +pub const DNS_TYPE_SIG: DNS_TYPE = 24u16; +pub const DNS_TYPE_SINK: DNS_TYPE = 40u16; +pub const DNS_TYPE_SOA: DNS_TYPE = 6u16; +pub const DNS_TYPE_SRV: DNS_TYPE = 33u16; +pub const DNS_TYPE_SVCB: DNS_TYPE = 64u16; +pub const DNS_TYPE_TEXT: DNS_TYPE = 16u16; +pub const DNS_TYPE_TKEY: DNS_TYPE = 249u16; +pub const DNS_TYPE_TLSA: DNS_TYPE = 52u16; +pub const DNS_TYPE_TSIG: DNS_TYPE = 250u16; +pub const DNS_TYPE_UID: DNS_TYPE = 101u16; +pub const DNS_TYPE_UINFO: DNS_TYPE = 100u16; +pub const DNS_TYPE_UNSPEC: DNS_TYPE = 103u16; +pub const DNS_TYPE_WINS: DNS_TYPE = 65281u16; +pub const DNS_TYPE_WINSR: DNS_TYPE = 65282u16; +pub const DNS_TYPE_WKS: DNS_TYPE = 11u16; +pub const DNS_TYPE_X25: DNS_TYPE = 19u16; +pub const DNS_TYPE_ZERO: DNS_TYPE = 0u16; +pub const DNS_UPDATE_CACHE_SECURITY_CONTEXT: u32 = 512u32; +pub const DNS_UPDATE_FORCE_SECURITY_NEGO: u32 = 2048u32; +pub const DNS_UPDATE_REMOTE_SERVER: u32 = 16384u32; +pub const DNS_UPDATE_RESERVED: u32 = 4294901760u32; +pub const DNS_UPDATE_SECURITY_OFF: u32 = 16u32; +pub const DNS_UPDATE_SECURITY_ON: u32 = 32u32; +pub const DNS_UPDATE_SECURITY_ONLY: u32 = 256u32; +pub const DNS_UPDATE_SECURITY_USE_DEFAULT: u32 = 0u32; +pub const DNS_UPDATE_SKIP_NO_UPDATE_ADAPTERS: u32 = 8192u32; +pub const DNS_UPDATE_TEST_USE_LOCAL_SYS_ACCT: u32 = 1024u32; +pub const DNS_UPDATE_TRY_ALL_MASTER_SERVERS: u32 = 4096u32; +pub const DNS_VALSVR_ERROR_INVALID_ADDR: u32 = 1u32; +pub const DNS_VALSVR_ERROR_INVALID_NAME: u32 = 2u32; +pub const DNS_VALSVR_ERROR_NO_AUTH: u32 = 5u32; +pub const DNS_VALSVR_ERROR_NO_RESPONSE: u32 = 4u32; +pub const DNS_VALSVR_ERROR_NO_TCP: u32 = 16u32; +pub const DNS_VALSVR_ERROR_REFUSED: u32 = 6u32; +pub const DNS_VALSVR_ERROR_UNKNOWN: u32 = 255u32; +pub const DNS_VALSVR_ERROR_UNREACHABLE: u32 = 3u32; +pub const DNS_WINS_FLAG_LOCAL: u32 = 65536u32; +pub const DNS_WINS_FLAG_SCOPE: u32 = 2147483648u32; +pub const DnsCharSetAnsi: DNS_CHARSET = 3i32; +pub const DnsCharSetUnicode: DNS_CHARSET = 1i32; +pub const DnsCharSetUnknown: DNS_CHARSET = 0i32; +pub const DnsCharSetUtf8: DNS_CHARSET = 2i32; +pub const DnsConfigAdapterDomainName_A: DNS_CONFIG_TYPE = 4i32; +pub const DnsConfigAdapterDomainName_UTF8: DNS_CONFIG_TYPE = 5i32; +pub const DnsConfigAdapterDomainName_W: DNS_CONFIG_TYPE = 3i32; +pub const DnsConfigAdapterHostNameRegistrationEnabled: DNS_CONFIG_TYPE = 10i32; +pub const DnsConfigAdapterInfo: DNS_CONFIG_TYPE = 8i32; +pub const DnsConfigAddressRegistrationMaxCount: DNS_CONFIG_TYPE = 11i32; +pub const DnsConfigDnsServerList: DNS_CONFIG_TYPE = 6i32; +pub const DnsConfigFullHostName_A: DNS_CONFIG_TYPE = 16i32; +pub const DnsConfigFullHostName_UTF8: DNS_CONFIG_TYPE = 17i32; +pub const DnsConfigFullHostName_W: DNS_CONFIG_TYPE = 15i32; +pub const DnsConfigHostName_A: DNS_CONFIG_TYPE = 13i32; +pub const DnsConfigHostName_UTF8: DNS_CONFIG_TYPE = 14i32; +pub const DnsConfigHostName_W: DNS_CONFIG_TYPE = 12i32; +pub const DnsConfigNameServer: DNS_CONFIG_TYPE = 18i32; +pub const DnsConfigPrimaryDomainName_A: DNS_CONFIG_TYPE = 1i32; +pub const DnsConfigPrimaryDomainName_UTF8: DNS_CONFIG_TYPE = 2i32; +pub const DnsConfigPrimaryDomainName_W: DNS_CONFIG_TYPE = 0i32; +pub const DnsConfigPrimaryHostNameRegistrationEnabled: DNS_CONFIG_TYPE = 9i32; +pub const DnsConfigSearchList: DNS_CONFIG_TYPE = 7i32; +pub const DnsFreeFlat: DNS_FREE_TYPE = 0i32; +pub const DnsFreeParsedMessageFields: DNS_FREE_TYPE = 2i32; +pub const DnsFreeRecordList: DNS_FREE_TYPE = 1i32; +pub const DnsNameDomain: DNS_NAME_FORMAT = 0i32; +pub const DnsNameDomainLabel: DNS_NAME_FORMAT = 1i32; +pub const DnsNameHostnameFull: DNS_NAME_FORMAT = 2i32; +pub const DnsNameHostnameLabel: DNS_NAME_FORMAT = 3i32; +pub const DnsNameSrvRecord: DNS_NAME_FORMAT = 5i32; +pub const DnsNameValidateTld: DNS_NAME_FORMAT = 6i32; +pub const DnsNameWildcard: DNS_NAME_FORMAT = 4i32; +pub const DnsSectionAddtional: DNS_SECTION = 3i32; +pub const DnsSectionAnswer: DNS_SECTION = 1i32; +pub const DnsSectionAuthority: DNS_SECTION = 2i32; +pub const DnsSectionQuestion: DNS_SECTION = 0i32; +pub const DnsSvcbParamAlpn: DNS_SVCB_PARAM_TYPE = 1i32; +pub const DnsSvcbParamDohPath: DNS_SVCB_PARAM_TYPE = 7i32; +pub const DnsSvcbParamDohPathOpenDns: DNS_SVCB_PARAM_TYPE = 65432i32; +pub const DnsSvcbParamDohPathQuad9: DNS_SVCB_PARAM_TYPE = 65380i32; +pub const DnsSvcbParamEch: DNS_SVCB_PARAM_TYPE = 5i32; +pub const DnsSvcbParamIpv4Hint: DNS_SVCB_PARAM_TYPE = 4i32; +pub const DnsSvcbParamIpv6Hint: DNS_SVCB_PARAM_TYPE = 6i32; +pub const DnsSvcbParamMandatory: DNS_SVCB_PARAM_TYPE = 0i32; +pub const DnsSvcbParamNoDefaultAlpn: DNS_SVCB_PARAM_TYPE = 2i32; +pub const DnsSvcbParamPort: DNS_SVCB_PARAM_TYPE = 3i32; +pub const IP4_ADDRESS_STRING_BUFFER_LENGTH: u32 = 16u32; +pub const IP4_ADDRESS_STRING_LENGTH: u32 = 16u32; +pub const IP6_ADDRESS_STRING_BUFFER_LENGTH: u32 = 65u32; +pub const IP6_ADDRESS_STRING_LENGTH: u32 = 65u32; +pub const SIZEOF_IP4_ADDRESS: u32 = 4u32; +pub const TAG_DNS_CONNECTION_POLICY_TAG_CONNECTION_MANAGER: DNS_CONNECTION_POLICY_TAG = 1i32; +pub const TAG_DNS_CONNECTION_POLICY_TAG_DEFAULT: DNS_CONNECTION_POLICY_TAG = 0i32; +pub const TAG_DNS_CONNECTION_POLICY_TAG_WWWPT: DNS_CONNECTION_POLICY_TAG = 2i32; +pub type DNS_CHARSET = i32; +pub type DNS_CONFIG_TYPE = i32; +pub type DNS_CONNECTION_POLICY_TAG = i32; +pub type DNS_CONNECTION_PROXY_INFO_SWITCH = i32; +pub type DNS_CONNECTION_PROXY_TYPE = i32; +pub type DNS_FREE_TYPE = i32; +pub type DNS_NAME_FORMAT = i32; +pub type DNS_PROXY_INFORMATION_TYPE = i32; +pub type DNS_QUERY_OPTIONS = u32; +pub type DNS_SECTION = i32; +pub type DNS_SVCB_PARAM_TYPE = i32; +pub type DNS_TYPE = u16; +#[repr(C)] +pub struct DNS_AAAA_DATA { + pub Ip6Address: IP6_ADDRESS, +} +impl ::core::marker::Copy for DNS_AAAA_DATA {} +impl ::core::clone::Clone for DNS_AAAA_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_ADDR { + pub MaxSa: [u8; 32], + pub Data: DNS_ADDR_0, +} +impl ::core::marker::Copy for DNS_ADDR {} +impl ::core::clone::Clone for DNS_ADDR { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +pub union DNS_ADDR_0 { + pub DnsAddrUserDword: [u32; 8], +} +impl ::core::marker::Copy for DNS_ADDR_0 {} +impl ::core::clone::Clone for DNS_ADDR_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +pub struct DNS_ADDR_ARRAY { + pub MaxCount: u32, + pub AddrCount: u32, + pub Tag: u32, + pub Family: u16, + pub WordReserved: u16, + pub Flags: u32, + pub MatchFlag: u32, + pub Reserved1: u32, + pub Reserved2: u32, + pub AddrArray: [DNS_ADDR; 1], +} +impl ::core::marker::Copy for DNS_ADDR_ARRAY {} +impl ::core::clone::Clone for DNS_ADDR_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_APPLICATION_SETTINGS { + pub Version: u32, + pub Flags: u64, +} +impl ::core::marker::Copy for DNS_APPLICATION_SETTINGS {} +impl ::core::clone::Clone for DNS_APPLICATION_SETTINGS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_ATMA_DATA { + pub AddressType: u8, + pub Address: [u8; 20], +} +impl ::core::marker::Copy for DNS_ATMA_DATA {} +impl ::core::clone::Clone for DNS_ATMA_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_A_DATA { + pub IpAddress: u32, +} +impl ::core::marker::Copy for DNS_A_DATA {} +impl ::core::clone::Clone for DNS_A_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_CONNECTION_IFINDEX_ENTRY { + pub pwszConnectionName: ::windows_sys::core::PCWSTR, + pub dwIfIndex: u32, +} +impl ::core::marker::Copy for DNS_CONNECTION_IFINDEX_ENTRY {} +impl ::core::clone::Clone for DNS_CONNECTION_IFINDEX_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_CONNECTION_IFINDEX_LIST { + pub pConnectionIfIndexEntries: *mut DNS_CONNECTION_IFINDEX_ENTRY, + pub nEntries: u32, +} +impl ::core::marker::Copy for DNS_CONNECTION_IFINDEX_LIST {} +impl ::core::clone::Clone for DNS_CONNECTION_IFINDEX_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_CONNECTION_NAME { + pub wszName: [u16; 65], +} +impl ::core::marker::Copy for DNS_CONNECTION_NAME {} +impl ::core::clone::Clone for DNS_CONNECTION_NAME { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_CONNECTION_NAME_LIST { + pub cNames: u32, + pub pNames: *mut DNS_CONNECTION_NAME, +} +impl ::core::marker::Copy for DNS_CONNECTION_NAME_LIST {} +impl ::core::clone::Clone for DNS_CONNECTION_NAME_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_CONNECTION_POLICY_ENTRY { + pub pwszHost: ::windows_sys::core::PCWSTR, + pub pwszAppId: ::windows_sys::core::PCWSTR, + pub cbAppSid: u32, + pub pbAppSid: *mut u8, + pub nConnections: u32, + pub ppwszConnections: *const ::windows_sys::core::PCWSTR, + pub dwPolicyEntryFlags: u32, +} +impl ::core::marker::Copy for DNS_CONNECTION_POLICY_ENTRY {} +impl ::core::clone::Clone for DNS_CONNECTION_POLICY_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_CONNECTION_POLICY_ENTRY_LIST { + pub pPolicyEntries: *mut DNS_CONNECTION_POLICY_ENTRY, + pub nEntries: u32, +} +impl ::core::marker::Copy for DNS_CONNECTION_POLICY_ENTRY_LIST {} +impl ::core::clone::Clone for DNS_CONNECTION_POLICY_ENTRY_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_CONNECTION_PROXY_ELEMENT { + pub Type: DNS_CONNECTION_PROXY_TYPE, + pub Info: DNS_CONNECTION_PROXY_INFO, +} +impl ::core::marker::Copy for DNS_CONNECTION_PROXY_ELEMENT {} +impl ::core::clone::Clone for DNS_CONNECTION_PROXY_ELEMENT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_CONNECTION_PROXY_INFO { + pub Version: u32, + pub pwszFriendlyName: ::windows_sys::core::PWSTR, + pub Flags: u32, + pub Switch: DNS_CONNECTION_PROXY_INFO_SWITCH, + pub Anonymous: DNS_CONNECTION_PROXY_INFO_0, +} +impl ::core::marker::Copy for DNS_CONNECTION_PROXY_INFO {} +impl ::core::clone::Clone for DNS_CONNECTION_PROXY_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union DNS_CONNECTION_PROXY_INFO_0 { + pub Config: DNS_CONNECTION_PROXY_INFO_0_0, + pub Script: DNS_CONNECTION_PROXY_INFO_0_1, +} +impl ::core::marker::Copy for DNS_CONNECTION_PROXY_INFO_0 {} +impl ::core::clone::Clone for DNS_CONNECTION_PROXY_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_CONNECTION_PROXY_INFO_0_0 { + pub pwszServer: ::windows_sys::core::PWSTR, + pub pwszUsername: ::windows_sys::core::PWSTR, + pub pwszPassword: ::windows_sys::core::PWSTR, + pub pwszException: ::windows_sys::core::PWSTR, + pub pwszExtraInfo: ::windows_sys::core::PWSTR, + pub Port: u16, +} +impl ::core::marker::Copy for DNS_CONNECTION_PROXY_INFO_0_0 {} +impl ::core::clone::Clone for DNS_CONNECTION_PROXY_INFO_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_CONNECTION_PROXY_INFO_0_1 { + pub pwszScript: ::windows_sys::core::PWSTR, + pub pwszUsername: ::windows_sys::core::PWSTR, + pub pwszPassword: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for DNS_CONNECTION_PROXY_INFO_0_1 {} +impl ::core::clone::Clone for DNS_CONNECTION_PROXY_INFO_0_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DNS_CONNECTION_PROXY_INFO_EX { + pub ProxyInfo: DNS_CONNECTION_PROXY_INFO, + pub dwInterfaceIndex: u32, + pub pwszConnectionName: ::windows_sys::core::PWSTR, + pub fDirectConfiguration: super::super::Foundation::BOOL, + pub hConnection: super::super::Foundation::HANDLE, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DNS_CONNECTION_PROXY_INFO_EX {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DNS_CONNECTION_PROXY_INFO_EX { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_CONNECTION_PROXY_LIST { + pub cProxies: u32, + pub pProxies: *mut DNS_CONNECTION_PROXY_ELEMENT, +} +impl ::core::marker::Copy for DNS_CONNECTION_PROXY_LIST {} +impl ::core::clone::Clone for DNS_CONNECTION_PROXY_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_CUSTOM_SERVER { + pub dwServerType: u32, + pub ullFlags: u64, + pub Anonymous1: DNS_CUSTOM_SERVER_0, + pub Anonymous2: DNS_CUSTOM_SERVER_1, +} +impl ::core::marker::Copy for DNS_CUSTOM_SERVER {} +impl ::core::clone::Clone for DNS_CUSTOM_SERVER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union DNS_CUSTOM_SERVER_0 { + pub pwszTemplate: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for DNS_CUSTOM_SERVER_0 {} +impl ::core::clone::Clone for DNS_CUSTOM_SERVER_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union DNS_CUSTOM_SERVER_1 { + pub MaxSa: [u8; 32], +} +impl ::core::marker::Copy for DNS_CUSTOM_SERVER_1 {} +impl ::core::clone::Clone for DNS_CUSTOM_SERVER_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_DHCID_DATA { + pub dwByteCount: u32, + pub DHCID: [u8; 1], +} +impl ::core::marker::Copy for DNS_DHCID_DATA {} +impl ::core::clone::Clone for DNS_DHCID_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_DS_DATA { + pub wKeyTag: u16, + pub chAlgorithm: u8, + pub chDigestType: u8, + pub wDigestLength: u16, + pub wPad: u16, + pub Digest: [u8; 1], +} +impl ::core::marker::Copy for DNS_DS_DATA {} +impl ::core::clone::Clone for DNS_DS_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +pub struct DNS_HEADER { + pub Xid: u16, + pub _bitfield1: u8, + pub _bitfield2: u8, + pub QuestionCount: u16, + pub AnswerCount: u16, + pub NameServerCount: u16, + pub AdditionalCount: u16, +} +impl ::core::marker::Copy for DNS_HEADER {} +impl ::core::clone::Clone for DNS_HEADER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +pub struct DNS_HEADER_EXT { + pub _bitfield: u16, + pub chRcode: u8, + pub chVersion: u8, +} +impl ::core::marker::Copy for DNS_HEADER_EXT {} +impl ::core::clone::Clone for DNS_HEADER_EXT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_KEY_DATA { + pub wFlags: u16, + pub chProtocol: u8, + pub chAlgorithm: u8, + pub wKeyLength: u16, + pub wPad: u16, + pub Key: [u8; 1], +} +impl ::core::marker::Copy for DNS_KEY_DATA {} +impl ::core::clone::Clone for DNS_KEY_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_LOC_DATA { + pub wVersion: u16, + pub wSize: u16, + pub wHorPrec: u16, + pub wVerPrec: u16, + pub dwLatitude: u32, + pub dwLongitude: u32, + pub dwAltitude: u32, +} +impl ::core::marker::Copy for DNS_LOC_DATA {} +impl ::core::clone::Clone for DNS_LOC_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_MESSAGE_BUFFER { + pub MessageHead: DNS_HEADER, + pub MessageBody: [u8; 1], +} +impl ::core::marker::Copy for DNS_MESSAGE_BUFFER {} +impl ::core::clone::Clone for DNS_MESSAGE_BUFFER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_MINFO_DATAA { + pub pNameMailbox: ::windows_sys::core::PSTR, + pub pNameErrorsMailbox: ::windows_sys::core::PSTR, +} +impl ::core::marker::Copy for DNS_MINFO_DATAA {} +impl ::core::clone::Clone for DNS_MINFO_DATAA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_MINFO_DATAW { + pub pNameMailbox: ::windows_sys::core::PWSTR, + pub pNameErrorsMailbox: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for DNS_MINFO_DATAW {} +impl ::core::clone::Clone for DNS_MINFO_DATAW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_MX_DATAA { + pub pNameExchange: ::windows_sys::core::PSTR, + pub wPreference: u16, + pub Pad: u16, +} +impl ::core::marker::Copy for DNS_MX_DATAA {} +impl ::core::clone::Clone for DNS_MX_DATAA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_MX_DATAW { + pub pNameExchange: ::windows_sys::core::PWSTR, + pub wPreference: u16, + pub Pad: u16, +} +impl ::core::marker::Copy for DNS_MX_DATAW {} +impl ::core::clone::Clone for DNS_MX_DATAW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_NAPTR_DATAA { + pub wOrder: u16, + pub wPreference: u16, + pub pFlags: ::windows_sys::core::PSTR, + pub pService: ::windows_sys::core::PSTR, + pub pRegularExpression: ::windows_sys::core::PSTR, + pub pReplacement: ::windows_sys::core::PSTR, +} +impl ::core::marker::Copy for DNS_NAPTR_DATAA {} +impl ::core::clone::Clone for DNS_NAPTR_DATAA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_NAPTR_DATAW { + pub wOrder: u16, + pub wPreference: u16, + pub pFlags: ::windows_sys::core::PWSTR, + pub pService: ::windows_sys::core::PWSTR, + pub pRegularExpression: ::windows_sys::core::PWSTR, + pub pReplacement: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for DNS_NAPTR_DATAW {} +impl ::core::clone::Clone for DNS_NAPTR_DATAW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_NSEC3PARAM_DATA { + pub chAlgorithm: u8, + pub bFlags: u8, + pub wIterations: u16, + pub bSaltLength: u8, + pub bPad: [u8; 3], + pub pbSalt: [u8; 1], +} +impl ::core::marker::Copy for DNS_NSEC3PARAM_DATA {} +impl ::core::clone::Clone for DNS_NSEC3PARAM_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_NSEC3_DATA { + pub chAlgorithm: u8, + pub bFlags: u8, + pub wIterations: u16, + pub bSaltLength: u8, + pub bHashLength: u8, + pub wTypeBitMapsLength: u16, + pub chData: [u8; 1], +} +impl ::core::marker::Copy for DNS_NSEC3_DATA {} +impl ::core::clone::Clone for DNS_NSEC3_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_NSEC_DATAA { + pub pNextDomainName: ::windows_sys::core::PSTR, + pub wTypeBitMapsLength: u16, + pub wPad: u16, + pub TypeBitMaps: [u8; 1], +} +impl ::core::marker::Copy for DNS_NSEC_DATAA {} +impl ::core::clone::Clone for DNS_NSEC_DATAA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_NSEC_DATAW { + pub pNextDomainName: ::windows_sys::core::PWSTR, + pub wTypeBitMapsLength: u16, + pub wPad: u16, + pub TypeBitMaps: [u8; 1], +} +impl ::core::marker::Copy for DNS_NSEC_DATAW {} +impl ::core::clone::Clone for DNS_NSEC_DATAW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_NULL_DATA { + pub dwByteCount: u32, + pub Data: [u8; 1], +} +impl ::core::marker::Copy for DNS_NULL_DATA {} +impl ::core::clone::Clone for DNS_NULL_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_NXT_DATAA { + pub pNameNext: ::windows_sys::core::PSTR, + pub wNumTypes: u16, + pub wTypes: [u16; 1], +} +impl ::core::marker::Copy for DNS_NXT_DATAA {} +impl ::core::clone::Clone for DNS_NXT_DATAA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_NXT_DATAW { + pub pNameNext: ::windows_sys::core::PWSTR, + pub wNumTypes: u16, + pub wTypes: [u16; 1], +} +impl ::core::marker::Copy for DNS_NXT_DATAW {} +impl ::core::clone::Clone for DNS_NXT_DATAW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_OPT_DATA { + pub wDataLength: u16, + pub wPad: u16, + pub Data: [u8; 1], +} +impl ::core::marker::Copy for DNS_OPT_DATA {} +impl ::core::clone::Clone for DNS_OPT_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_PROXY_INFORMATION { + pub version: u32, + pub proxyInformationType: DNS_PROXY_INFORMATION_TYPE, + pub proxyName: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for DNS_PROXY_INFORMATION {} +impl ::core::clone::Clone for DNS_PROXY_INFORMATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_PTR_DATAA { + pub pNameHost: ::windows_sys::core::PSTR, +} +impl ::core::marker::Copy for DNS_PTR_DATAA {} +impl ::core::clone::Clone for DNS_PTR_DATAA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_PTR_DATAW { + pub pNameHost: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for DNS_PTR_DATAW {} +impl ::core::clone::Clone for DNS_PTR_DATAW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_QUERY_CANCEL { + pub Reserved: [u8; 32], +} +impl ::core::marker::Copy for DNS_QUERY_CANCEL {} +impl ::core::clone::Clone for DNS_QUERY_CANCEL { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DNS_QUERY_REQUEST { + pub Version: u32, + pub QueryName: ::windows_sys::core::PCWSTR, + pub QueryType: u16, + pub QueryOptions: u64, + pub pDnsServerList: *mut DNS_ADDR_ARRAY, + pub InterfaceIndex: u32, + pub pQueryCompletionCallback: PDNS_QUERY_COMPLETION_ROUTINE, + pub pQueryContext: *mut ::core::ffi::c_void, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DNS_QUERY_REQUEST {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DNS_QUERY_REQUEST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DNS_QUERY_REQUEST3 { + pub Version: u32, + pub QueryName: ::windows_sys::core::PCWSTR, + pub QueryType: u16, + pub QueryOptions: u64, + pub pDnsServerList: *mut DNS_ADDR_ARRAY, + pub InterfaceIndex: u32, + pub pQueryCompletionCallback: PDNS_QUERY_COMPLETION_ROUTINE, + pub pQueryContext: *mut ::core::ffi::c_void, + pub IsNetworkQueryRequired: super::super::Foundation::BOOL, + pub RequiredNetworkIndex: u32, + pub cCustomServers: u32, + pub pCustomServers: *mut DNS_CUSTOM_SERVER, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DNS_QUERY_REQUEST3 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DNS_QUERY_REQUEST3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DNS_QUERY_RESULT { + pub Version: u32, + pub QueryStatus: i32, + pub QueryOptions: u64, + pub pQueryRecords: *mut DNS_RECORDA, + pub Reserved: *mut ::core::ffi::c_void, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DNS_QUERY_RESULT {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DNS_QUERY_RESULT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DNS_RECORDA { + pub pNext: *mut DNS_RECORDA, + pub pName: ::windows_sys::core::PSTR, + pub wType: u16, + pub wDataLength: u16, + pub Flags: DNS_RECORDA_1, + pub dwTtl: u32, + pub dwReserved: u32, + pub Data: DNS_RECORDA_0, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DNS_RECORDA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DNS_RECORDA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union DNS_RECORDA_0 { + pub A: DNS_A_DATA, + pub SOA: DNS_SOA_DATAA, + pub Soa: DNS_SOA_DATAA, + pub PTR: DNS_PTR_DATAA, + pub Ptr: DNS_PTR_DATAA, + pub NS: DNS_PTR_DATAA, + pub Ns: DNS_PTR_DATAA, + pub CNAME: DNS_PTR_DATAA, + pub Cname: DNS_PTR_DATAA, + pub DNAME: DNS_PTR_DATAA, + pub Dname: DNS_PTR_DATAA, + pub MB: DNS_PTR_DATAA, + pub Mb: DNS_PTR_DATAA, + pub MD: DNS_PTR_DATAA, + pub Md: DNS_PTR_DATAA, + pub MF: DNS_PTR_DATAA, + pub Mf: DNS_PTR_DATAA, + pub MG: DNS_PTR_DATAA, + pub Mg: DNS_PTR_DATAA, + pub MR: DNS_PTR_DATAA, + pub Mr: DNS_PTR_DATAA, + pub MINFO: DNS_MINFO_DATAA, + pub Minfo: DNS_MINFO_DATAA, + pub RP: DNS_MINFO_DATAA, + pub Rp: DNS_MINFO_DATAA, + pub MX: DNS_MX_DATAA, + pub Mx: DNS_MX_DATAA, + pub AFSDB: DNS_MX_DATAA, + pub Afsdb: DNS_MX_DATAA, + pub RT: DNS_MX_DATAA, + pub Rt: DNS_MX_DATAA, + pub HINFO: DNS_TXT_DATAA, + pub Hinfo: DNS_TXT_DATAA, + pub ISDN: DNS_TXT_DATAA, + pub Isdn: DNS_TXT_DATAA, + pub TXT: DNS_TXT_DATAA, + pub Txt: DNS_TXT_DATAA, + pub X25: DNS_TXT_DATAA, + pub Null: DNS_NULL_DATA, + pub WKS: DNS_WKS_DATA, + pub Wks: DNS_WKS_DATA, + pub AAAA: DNS_AAAA_DATA, + pub KEY: DNS_KEY_DATA, + pub Key: DNS_KEY_DATA, + pub SIG: DNS_SIG_DATAA, + pub Sig: DNS_SIG_DATAA, + pub ATMA: DNS_ATMA_DATA, + pub Atma: DNS_ATMA_DATA, + pub NXT: DNS_NXT_DATAA, + pub Nxt: DNS_NXT_DATAA, + pub SRV: DNS_SRV_DATAA, + pub Srv: DNS_SRV_DATAA, + pub NAPTR: DNS_NAPTR_DATAA, + pub Naptr: DNS_NAPTR_DATAA, + pub OPT: DNS_OPT_DATA, + pub Opt: DNS_OPT_DATA, + pub DS: DNS_DS_DATA, + pub Ds: DNS_DS_DATA, + pub RRSIG: DNS_SIG_DATAA, + pub Rrsig: DNS_SIG_DATAA, + pub NSEC: DNS_NSEC_DATAA, + pub Nsec: DNS_NSEC_DATAA, + pub DNSKEY: DNS_KEY_DATA, + pub Dnskey: DNS_KEY_DATA, + pub TKEY: DNS_TKEY_DATAA, + pub Tkey: DNS_TKEY_DATAA, + pub TSIG: DNS_TSIG_DATAA, + pub Tsig: DNS_TSIG_DATAA, + pub WINS: DNS_WINS_DATA, + pub Wins: DNS_WINS_DATA, + pub WINSR: DNS_WINSR_DATAA, + pub WinsR: DNS_WINSR_DATAA, + pub NBSTAT: DNS_WINSR_DATAA, + pub Nbstat: DNS_WINSR_DATAA, + pub DHCID: DNS_DHCID_DATA, + pub NSEC3: DNS_NSEC3_DATA, + pub Nsec3: DNS_NSEC3_DATA, + pub NSEC3PARAM: DNS_NSEC3PARAM_DATA, + pub Nsec3Param: DNS_NSEC3PARAM_DATA, + pub TLSA: DNS_TLSA_DATA, + pub Tlsa: DNS_TLSA_DATA, + pub SVCB: DNS_SVCB_DATA, + pub Svcb: DNS_SVCB_DATA, + pub UNKNOWN: DNS_UNKNOWN_DATA, + pub Unknown: DNS_UNKNOWN_DATA, + pub pDataPtr: *mut u8, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DNS_RECORDA_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DNS_RECORDA_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union DNS_RECORDA_1 { + pub DW: u32, + pub S: DNS_RECORD_FLAGS, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DNS_RECORDA_1 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DNS_RECORDA_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DNS_RECORDW { + pub pNext: *mut DNS_RECORDW, + pub pName: ::windows_sys::core::PWSTR, + pub wType: u16, + pub wDataLength: u16, + pub Flags: DNS_RECORDW_1, + pub dwTtl: u32, + pub dwReserved: u32, + pub Data: DNS_RECORDW_0, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DNS_RECORDW {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DNS_RECORDW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union DNS_RECORDW_0 { + pub A: DNS_A_DATA, + pub SOA: DNS_SOA_DATAW, + pub Soa: DNS_SOA_DATAW, + pub PTR: DNS_PTR_DATAW, + pub Ptr: DNS_PTR_DATAW, + pub NS: DNS_PTR_DATAW, + pub Ns: DNS_PTR_DATAW, + pub CNAME: DNS_PTR_DATAW, + pub Cname: DNS_PTR_DATAW, + pub DNAME: DNS_PTR_DATAW, + pub Dname: DNS_PTR_DATAW, + pub MB: DNS_PTR_DATAW, + pub Mb: DNS_PTR_DATAW, + pub MD: DNS_PTR_DATAW, + pub Md: DNS_PTR_DATAW, + pub MF: DNS_PTR_DATAW, + pub Mf: DNS_PTR_DATAW, + pub MG: DNS_PTR_DATAW, + pub Mg: DNS_PTR_DATAW, + pub MR: DNS_PTR_DATAW, + pub Mr: DNS_PTR_DATAW, + pub MINFO: DNS_MINFO_DATAW, + pub Minfo: DNS_MINFO_DATAW, + pub RP: DNS_MINFO_DATAW, + pub Rp: DNS_MINFO_DATAW, + pub MX: DNS_MX_DATAW, + pub Mx: DNS_MX_DATAW, + pub AFSDB: DNS_MX_DATAW, + pub Afsdb: DNS_MX_DATAW, + pub RT: DNS_MX_DATAW, + pub Rt: DNS_MX_DATAW, + pub HINFO: DNS_TXT_DATAW, + pub Hinfo: DNS_TXT_DATAW, + pub ISDN: DNS_TXT_DATAW, + pub Isdn: DNS_TXT_DATAW, + pub TXT: DNS_TXT_DATAW, + pub Txt: DNS_TXT_DATAW, + pub X25: DNS_TXT_DATAW, + pub Null: DNS_NULL_DATA, + pub WKS: DNS_WKS_DATA, + pub Wks: DNS_WKS_DATA, + pub AAAA: DNS_AAAA_DATA, + pub KEY: DNS_KEY_DATA, + pub Key: DNS_KEY_DATA, + pub SIG: DNS_SIG_DATAW, + pub Sig: DNS_SIG_DATAW, + pub ATMA: DNS_ATMA_DATA, + pub Atma: DNS_ATMA_DATA, + pub NXT: DNS_NXT_DATAW, + pub Nxt: DNS_NXT_DATAW, + pub SRV: DNS_SRV_DATAW, + pub Srv: DNS_SRV_DATAW, + pub NAPTR: DNS_NAPTR_DATAW, + pub Naptr: DNS_NAPTR_DATAW, + pub OPT: DNS_OPT_DATA, + pub Opt: DNS_OPT_DATA, + pub DS: DNS_DS_DATA, + pub Ds: DNS_DS_DATA, + pub RRSIG: DNS_SIG_DATAW, + pub Rrsig: DNS_SIG_DATAW, + pub NSEC: DNS_NSEC_DATAW, + pub Nsec: DNS_NSEC_DATAW, + pub DNSKEY: DNS_KEY_DATA, + pub Dnskey: DNS_KEY_DATA, + pub TKEY: DNS_TKEY_DATAW, + pub Tkey: DNS_TKEY_DATAW, + pub TSIG: DNS_TSIG_DATAW, + pub Tsig: DNS_TSIG_DATAW, + pub WINS: DNS_WINS_DATA, + pub Wins: DNS_WINS_DATA, + pub WINSR: DNS_WINSR_DATAW, + pub WinsR: DNS_WINSR_DATAW, + pub NBSTAT: DNS_WINSR_DATAW, + pub Nbstat: DNS_WINSR_DATAW, + pub DHCID: DNS_DHCID_DATA, + pub NSEC3: DNS_NSEC3_DATA, + pub Nsec3: DNS_NSEC3_DATA, + pub NSEC3PARAM: DNS_NSEC3PARAM_DATA, + pub Nsec3Param: DNS_NSEC3PARAM_DATA, + pub TLSA: DNS_TLSA_DATA, + pub Tlsa: DNS_TLSA_DATA, + pub SVCB: DNS_SVCB_DATA, + pub Svcb: DNS_SVCB_DATA, + pub UNKNOWN: DNS_UNKNOWN_DATA, + pub Unknown: DNS_UNKNOWN_DATA, + pub pDataPtr: *mut u8, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DNS_RECORDW_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DNS_RECORDW_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union DNS_RECORDW_1 { + pub DW: u32, + pub S: DNS_RECORD_FLAGS, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DNS_RECORDW_1 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DNS_RECORDW_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_RECORD_FLAGS { + pub _bitfield: u32, +} +impl ::core::marker::Copy for DNS_RECORD_FLAGS {} +impl ::core::clone::Clone for DNS_RECORD_FLAGS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DNS_RECORD_OPTW { + pub pNext: *mut DNS_RECORDW, + pub pName: ::windows_sys::core::PWSTR, + pub wType: u16, + pub wDataLength: u16, + pub Flags: DNS_RECORD_OPTW_1, + pub ExtHeader: DNS_HEADER_EXT, + pub wPayloadSize: u16, + pub wReserved: u16, + pub Data: DNS_RECORD_OPTW_0, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DNS_RECORD_OPTW {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DNS_RECORD_OPTW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union DNS_RECORD_OPTW_0 { + pub OPT: DNS_OPT_DATA, + pub Opt: DNS_OPT_DATA, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DNS_RECORD_OPTW_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DNS_RECORD_OPTW_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union DNS_RECORD_OPTW_1 { + pub DW: u32, + pub S: DNS_RECORD_FLAGS, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DNS_RECORD_OPTW_1 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DNS_RECORD_OPTW_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DNS_RRSET { + pub pFirstRR: *mut DNS_RECORDA, + pub pLastRR: *mut DNS_RECORDA, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DNS_RRSET {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DNS_RRSET { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DNS_SERVICE_BROWSE_REQUEST { + pub Version: u32, + pub InterfaceIndex: u32, + pub QueryName: ::windows_sys::core::PCWSTR, + pub Anonymous: DNS_SERVICE_BROWSE_REQUEST_0, + pub pQueryContext: *mut ::core::ffi::c_void, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DNS_SERVICE_BROWSE_REQUEST {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DNS_SERVICE_BROWSE_REQUEST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union DNS_SERVICE_BROWSE_REQUEST_0 { + pub pBrowseCallback: PDNS_SERVICE_BROWSE_CALLBACK, + pub pBrowseCallbackV2: PDNS_QUERY_COMPLETION_ROUTINE, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DNS_SERVICE_BROWSE_REQUEST_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DNS_SERVICE_BROWSE_REQUEST_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_SERVICE_CANCEL { + pub reserved: *mut ::core::ffi::c_void, +} +impl ::core::marker::Copy for DNS_SERVICE_CANCEL {} +impl ::core::clone::Clone for DNS_SERVICE_CANCEL { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_SERVICE_INSTANCE { + pub pszInstanceName: ::windows_sys::core::PWSTR, + pub pszHostName: ::windows_sys::core::PWSTR, + pub ip4Address: *mut u32, + pub ip6Address: *mut IP6_ADDRESS, + pub wPort: u16, + pub wPriority: u16, + pub wWeight: u16, + pub dwPropertyCount: u32, + pub keys: *mut ::windows_sys::core::PWSTR, + pub values: *mut ::windows_sys::core::PWSTR, + pub dwInterfaceIndex: u32, +} +impl ::core::marker::Copy for DNS_SERVICE_INSTANCE {} +impl ::core::clone::Clone for DNS_SERVICE_INSTANCE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DNS_SERVICE_REGISTER_REQUEST { + pub Version: u32, + pub InterfaceIndex: u32, + pub pServiceInstance: *mut DNS_SERVICE_INSTANCE, + pub pRegisterCompletionCallback: PDNS_SERVICE_REGISTER_COMPLETE, + pub pQueryContext: *mut ::core::ffi::c_void, + pub hCredentials: super::super::Foundation::HANDLE, + pub unicastEnabled: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DNS_SERVICE_REGISTER_REQUEST {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DNS_SERVICE_REGISTER_REQUEST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_SERVICE_RESOLVE_REQUEST { + pub Version: u32, + pub InterfaceIndex: u32, + pub QueryName: ::windows_sys::core::PWSTR, + pub pResolveCompletionCallback: PDNS_SERVICE_RESOLVE_COMPLETE, + pub pQueryContext: *mut ::core::ffi::c_void, +} +impl ::core::marker::Copy for DNS_SERVICE_RESOLVE_REQUEST {} +impl ::core::clone::Clone for DNS_SERVICE_RESOLVE_REQUEST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_SIG_DATAA { + pub wTypeCovered: u16, + pub chAlgorithm: u8, + pub chLabelCount: u8, + pub dwOriginalTtl: u32, + pub dwExpiration: u32, + pub dwTimeSigned: u32, + pub wKeyTag: u16, + pub wSignatureLength: u16, + pub pNameSigner: ::windows_sys::core::PSTR, + pub Signature: [u8; 1], +} +impl ::core::marker::Copy for DNS_SIG_DATAA {} +impl ::core::clone::Clone for DNS_SIG_DATAA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_SIG_DATAW { + pub wTypeCovered: u16, + pub chAlgorithm: u8, + pub chLabelCount: u8, + pub dwOriginalTtl: u32, + pub dwExpiration: u32, + pub dwTimeSigned: u32, + pub wKeyTag: u16, + pub wSignatureLength: u16, + pub pNameSigner: ::windows_sys::core::PWSTR, + pub Signature: [u8; 1], +} +impl ::core::marker::Copy for DNS_SIG_DATAW {} +impl ::core::clone::Clone for DNS_SIG_DATAW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_SOA_DATAA { + pub pNamePrimaryServer: ::windows_sys::core::PSTR, + pub pNameAdministrator: ::windows_sys::core::PSTR, + pub dwSerialNo: u32, + pub dwRefresh: u32, + pub dwRetry: u32, + pub dwExpire: u32, + pub dwDefaultTtl: u32, +} +impl ::core::marker::Copy for DNS_SOA_DATAA {} +impl ::core::clone::Clone for DNS_SOA_DATAA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_SOA_DATAW { + pub pNamePrimaryServer: ::windows_sys::core::PWSTR, + pub pNameAdministrator: ::windows_sys::core::PWSTR, + pub dwSerialNo: u32, + pub dwRefresh: u32, + pub dwRetry: u32, + pub dwExpire: u32, + pub dwDefaultTtl: u32, +} +impl ::core::marker::Copy for DNS_SOA_DATAW {} +impl ::core::clone::Clone for DNS_SOA_DATAW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_SRV_DATAA { + pub pNameTarget: ::windows_sys::core::PSTR, + pub wPriority: u16, + pub wWeight: u16, + pub wPort: u16, + pub Pad: u16, +} +impl ::core::marker::Copy for DNS_SRV_DATAA {} +impl ::core::clone::Clone for DNS_SRV_DATAA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_SRV_DATAW { + pub pNameTarget: ::windows_sys::core::PWSTR, + pub wPriority: u16, + pub wWeight: u16, + pub wPort: u16, + pub Pad: u16, +} +impl ::core::marker::Copy for DNS_SRV_DATAW {} +impl ::core::clone::Clone for DNS_SRV_DATAW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_SVCB_DATA { + pub wSvcPriority: u16, + pub pszTargetName: ::windows_sys::core::PSTR, + pub cSvcParams: u16, + pub pSvcParams: *mut DNS_SVCB_PARAM, +} +impl ::core::marker::Copy for DNS_SVCB_DATA {} +impl ::core::clone::Clone for DNS_SVCB_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_SVCB_PARAM { + pub wSvcParamKey: u16, + pub Anonymous: DNS_SVCB_PARAM_0, +} +impl ::core::marker::Copy for DNS_SVCB_PARAM {} +impl ::core::clone::Clone for DNS_SVCB_PARAM { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union DNS_SVCB_PARAM_0 { + pub pIpv4Hints: *mut DNS_SVCB_PARAM_IPV4, + pub pIpv6Hints: *mut DNS_SVCB_PARAM_IPV6, + pub pMandatory: *mut DNS_SVCB_PARAM_MANDATORY, + pub pAlpn: *mut DNS_SVCB_PARAM_ALPN, + pub wPort: u16, + pub pUnknown: *mut DNS_SVCB_PARAM_UNKNOWN, + pub pszDohPath: ::windows_sys::core::PSTR, + pub pReserved: *mut ::core::ffi::c_void, +} +impl ::core::marker::Copy for DNS_SVCB_PARAM_0 {} +impl ::core::clone::Clone for DNS_SVCB_PARAM_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_SVCB_PARAM_ALPN { + pub cIds: u16, + pub rgIds: [DNS_SVCB_PARAM_ALPN_ID; 1], +} +impl ::core::marker::Copy for DNS_SVCB_PARAM_ALPN {} +impl ::core::clone::Clone for DNS_SVCB_PARAM_ALPN { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_SVCB_PARAM_ALPN_ID { + pub cBytes: u8, + pub pbId: *mut u8, +} +impl ::core::marker::Copy for DNS_SVCB_PARAM_ALPN_ID {} +impl ::core::clone::Clone for DNS_SVCB_PARAM_ALPN_ID { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_SVCB_PARAM_IPV4 { + pub cIps: u16, + pub rgIps: [u32; 1], +} +impl ::core::marker::Copy for DNS_SVCB_PARAM_IPV4 {} +impl ::core::clone::Clone for DNS_SVCB_PARAM_IPV4 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_SVCB_PARAM_IPV6 { + pub cIps: u16, + pub rgIps: [IP6_ADDRESS; 1], +} +impl ::core::marker::Copy for DNS_SVCB_PARAM_IPV6 {} +impl ::core::clone::Clone for DNS_SVCB_PARAM_IPV6 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_SVCB_PARAM_MANDATORY { + pub cMandatoryKeys: u16, + pub rgwMandatoryKeys: [u16; 1], +} +impl ::core::marker::Copy for DNS_SVCB_PARAM_MANDATORY {} +impl ::core::clone::Clone for DNS_SVCB_PARAM_MANDATORY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_SVCB_PARAM_UNKNOWN { + pub cBytes: u16, + pub pbSvcParamValue: [u8; 1], +} +impl ::core::marker::Copy for DNS_SVCB_PARAM_UNKNOWN {} +impl ::core::clone::Clone for DNS_SVCB_PARAM_UNKNOWN { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DNS_TKEY_DATAA { + pub pNameAlgorithm: ::windows_sys::core::PSTR, + pub pAlgorithmPacket: *mut u8, + pub pKey: *mut u8, + pub pOtherData: *mut u8, + pub dwCreateTime: u32, + pub dwExpireTime: u32, + pub wMode: u16, + pub wError: u16, + pub wKeyLength: u16, + pub wOtherLength: u16, + pub cAlgNameLength: u8, + pub bPacketPointers: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DNS_TKEY_DATAA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DNS_TKEY_DATAA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DNS_TKEY_DATAW { + pub pNameAlgorithm: ::windows_sys::core::PWSTR, + pub pAlgorithmPacket: *mut u8, + pub pKey: *mut u8, + pub pOtherData: *mut u8, + pub dwCreateTime: u32, + pub dwExpireTime: u32, + pub wMode: u16, + pub wError: u16, + pub wKeyLength: u16, + pub wOtherLength: u16, + pub cAlgNameLength: u8, + pub bPacketPointers: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DNS_TKEY_DATAW {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DNS_TKEY_DATAW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_TLSA_DATA { + pub bCertUsage: u8, + pub bSelector: u8, + pub bMatchingType: u8, + pub bCertificateAssociationDataLength: u16, + pub bPad: [u8; 3], + pub bCertificateAssociationData: [u8; 1], +} +impl ::core::marker::Copy for DNS_TLSA_DATA {} +impl ::core::clone::Clone for DNS_TLSA_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DNS_TSIG_DATAA { + pub pNameAlgorithm: ::windows_sys::core::PSTR, + pub pAlgorithmPacket: *mut u8, + pub pSignature: *mut u8, + pub pOtherData: *mut u8, + pub i64CreateTime: i64, + pub wFudgeTime: u16, + pub wOriginalXid: u16, + pub wError: u16, + pub wSigLength: u16, + pub wOtherLength: u16, + pub cAlgNameLength: u8, + pub bPacketPointers: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DNS_TSIG_DATAA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DNS_TSIG_DATAA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DNS_TSIG_DATAW { + pub pNameAlgorithm: ::windows_sys::core::PWSTR, + pub pAlgorithmPacket: *mut u8, + pub pSignature: *mut u8, + pub pOtherData: *mut u8, + pub i64CreateTime: i64, + pub wFudgeTime: u16, + pub wOriginalXid: u16, + pub wError: u16, + pub wSigLength: u16, + pub wOtherLength: u16, + pub cAlgNameLength: u8, + pub bPacketPointers: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DNS_TSIG_DATAW {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DNS_TSIG_DATAW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_TXT_DATAA { + pub dwStringCount: u32, + pub pStringArray: [::windows_sys::core::PSTR; 1], +} +impl ::core::marker::Copy for DNS_TXT_DATAA {} +impl ::core::clone::Clone for DNS_TXT_DATAA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_TXT_DATAW { + pub dwStringCount: u32, + pub pStringArray: [::windows_sys::core::PWSTR; 1], +} +impl ::core::marker::Copy for DNS_TXT_DATAW {} +impl ::core::clone::Clone for DNS_TXT_DATAW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_UNKNOWN_DATA { + pub dwByteCount: u32, + pub bData: [u8; 1], +} +impl ::core::marker::Copy for DNS_UNKNOWN_DATA {} +impl ::core::clone::Clone for DNS_UNKNOWN_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_WINSR_DATAA { + pub dwMappingFlag: u32, + pub dwLookupTimeout: u32, + pub dwCacheTimeout: u32, + pub pNameResultDomain: ::windows_sys::core::PSTR, +} +impl ::core::marker::Copy for DNS_WINSR_DATAA {} +impl ::core::clone::Clone for DNS_WINSR_DATAA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_WINSR_DATAW { + pub dwMappingFlag: u32, + pub dwLookupTimeout: u32, + pub dwCacheTimeout: u32, + pub pNameResultDomain: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for DNS_WINSR_DATAW {} +impl ::core::clone::Clone for DNS_WINSR_DATAW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_WINS_DATA { + pub dwMappingFlag: u32, + pub dwLookupTimeout: u32, + pub dwCacheTimeout: u32, + pub cWinsServerCount: u32, + pub WinsServers: [u32; 1], +} +impl ::core::marker::Copy for DNS_WINS_DATA {} +impl ::core::clone::Clone for DNS_WINS_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +pub struct DNS_WIRE_QUESTION { + pub QuestionType: u16, + pub QuestionClass: u16, +} +impl ::core::marker::Copy for DNS_WIRE_QUESTION {} +impl ::core::clone::Clone for DNS_WIRE_QUESTION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +pub struct DNS_WIRE_RECORD { + pub RecordType: u16, + pub RecordClass: u16, + pub TimeToLive: u32, + pub DataLength: u16, +} +impl ::core::marker::Copy for DNS_WIRE_RECORD {} +impl ::core::clone::Clone for DNS_WIRE_RECORD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_WKS_DATA { + pub IpAddress: u32, + pub chProtocol: u8, + pub BitMask: [u8; 1], +} +impl ::core::marker::Copy for DNS_WKS_DATA {} +impl ::core::clone::Clone for DNS_WKS_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IP4_ARRAY { + pub AddrCount: u32, + pub AddrArray: [u32; 1], +} +impl ::core::marker::Copy for IP4_ARRAY {} +impl ::core::clone::Clone for IP4_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +pub union IP6_ADDRESS { + pub IP6Qword: [u64; 2], + pub IP6Dword: [u32; 4], + pub IP6Word: [u16; 8], + pub IP6Byte: [u8; 16], +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +impl ::core::marker::Copy for IP6_ADDRESS {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +impl ::core::clone::Clone for IP6_ADDRESS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[cfg(target_arch = "x86")] +pub union IP6_ADDRESS { + pub IP6Dword: [u32; 4], + pub IP6Word: [u16; 8], + pub IP6Byte: [u8; 16], +} +#[cfg(target_arch = "x86")] +impl ::core::marker::Copy for IP6_ADDRESS {} +#[cfg(target_arch = "x86")] +impl ::core::clone::Clone for IP6_ADDRESS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct MDNS_QUERY_HANDLE { + pub nameBuf: [u16; 256], + pub wType: u16, + pub pSubscription: *mut ::core::ffi::c_void, + pub pWnfCallbackParams: *mut ::core::ffi::c_void, + pub stateNameData: [u32; 2], +} +impl ::core::marker::Copy for MDNS_QUERY_HANDLE {} +impl ::core::clone::Clone for MDNS_QUERY_HANDLE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct MDNS_QUERY_REQUEST { + pub Version: u32, + pub ulRefCount: u32, + pub Query: ::windows_sys::core::PCWSTR, + pub QueryType: u16, + pub QueryOptions: u64, + pub InterfaceIndex: u32, + pub pQueryCallback: PMDNS_QUERY_CALLBACK, + pub pQueryContext: *mut ::core::ffi::c_void, + pub fAnswerReceived: super::super::Foundation::BOOL, + pub ulResendCount: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for MDNS_QUERY_REQUEST {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for MDNS_QUERY_REQUEST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct _DnsRecordOptA { + pub pNext: *mut DNS_RECORDA, + pub pName: ::windows_sys::core::PSTR, + pub wType: u16, + pub wDataLength: u16, + pub Flags: _DnsRecordOptA_1, + pub ExtHeader: DNS_HEADER_EXT, + pub wPayloadSize: u16, + pub wReserved: u16, + pub Data: _DnsRecordOptA_0, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for _DnsRecordOptA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for _DnsRecordOptA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union _DnsRecordOptA_0 { + pub OPT: DNS_OPT_DATA, + pub Opt: DNS_OPT_DATA, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for _DnsRecordOptA_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for _DnsRecordOptA_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union _DnsRecordOptA_1 { + pub DW: u32, + pub S: DNS_RECORD_FLAGS, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for _DnsRecordOptA_1 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for _DnsRecordOptA_1 { + fn clone(&self) -> Self { + *self + } +} +pub type DNS_PROXY_COMPLETION_ROUTINE = ::core::option::Option<unsafe extern "system" fn(completioncontext: *const ::core::ffi::c_void, status: i32) -> ()>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PDNS_QUERY_COMPLETION_ROUTINE = ::core::option::Option<unsafe extern "system" fn(pquerycontext: *const ::core::ffi::c_void, pqueryresults: *mut DNS_QUERY_RESULT) -> ()>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PDNS_SERVICE_BROWSE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(status: u32, pquerycontext: *const ::core::ffi::c_void, pdnsrecord: *const DNS_RECORDW) -> ()>; +pub type PDNS_SERVICE_REGISTER_COMPLETE = ::core::option::Option<unsafe extern "system" fn(status: u32, pquerycontext: *const ::core::ffi::c_void, pinstance: *const DNS_SERVICE_INSTANCE) -> ()>; +pub type PDNS_SERVICE_RESOLVE_COMPLETE = ::core::option::Option<unsafe extern "system" fn(status: u32, pquerycontext: *const ::core::ffi::c_void, pinstance: *const DNS_SERVICE_INSTANCE) -> ()>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PMDNS_QUERY_CALLBACK = ::core::option::Option<unsafe extern "system" fn(pquerycontext: *const ::core::ffi::c_void, pqueryhandle: *mut MDNS_QUERY_HANDLE, pqueryresults: *mut DNS_QUERY_RESULT) -> ()>; diff --git a/vendor/windows-sys/src/Windows/Win32/NetworkManagement/InternetConnectionWizard/mod.rs b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/InternetConnectionWizard/mod.rs new file mode 100644 index 0000000..ba36850 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/InternetConnectionWizard/mod.rs @@ -0,0 +1,22 @@ +pub const ICW_ALREADYRUN: u32 = 4u32; +pub const ICW_CHECKSTATUS: u32 = 1u32; +pub const ICW_FULLPRESENT: u32 = 1u32; +pub const ICW_FULL_SMARTSTART: u32 = 2048u32; +pub const ICW_LAUNCHEDFULL: u32 = 256u32; +pub const ICW_LAUNCHEDMANUAL: u32 = 512u32; +pub const ICW_LAUNCHFULL: u32 = 256u32; +pub const ICW_LAUNCHMANUAL: u32 = 512u32; +pub const ICW_MANUALPRESENT: u32 = 2u32; +pub const ICW_MAX_ACCTNAME: u32 = 256u32; +pub const ICW_MAX_EMAILADDR: u32 = 128u32; +pub const ICW_MAX_EMAILNAME: u32 = 64u32; +pub const ICW_MAX_LOGONNAME: u32 = 256u32; +pub const ICW_MAX_PASSWORD: u32 = 256u32; +pub const ICW_MAX_RASNAME: u32 = 256u32; +pub const ICW_MAX_SERVERNAME: u32 = 64u32; +pub const ICW_REGKEYCOMPLETED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Completed"); +pub const ICW_REGPATHSETTINGS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Software\\Microsoft\\Internet Connection Wizard"); +pub const ICW_USEDEFAULTS: u32 = 1u32; +pub const ICW_USE_SHELLNEXT: u32 = 1024u32; +pub type PFNCHECKCONNECTIONWIZARD = ::core::option::Option<unsafe extern "system" fn(param0: u32, param1: *mut u32) -> u32>; +pub type PFNSETSHELLNEXT = ::core::option::Option<unsafe extern "system" fn(param0: ::windows_sys::core::PCSTR) -> u32>; diff --git a/vendor/windows-sys/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs new file mode 100644 index 0000000..4d5198a --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs @@ -0,0 +1,4412 @@ +::windows_targets::link!("iphlpapi.dll" "system" fn AddIPAddress(address : u32, ipmask : u32, ifindex : u32, ntecontext : *mut u32, nteinstance : *mut u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn CancelIPChangeNotify(notifyoverlapped : *const super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); +::windows_targets::link!("iphlpapi.dll" "system" fn CancelIfTimestampConfigChange(notificationhandle : HIFTIMESTAMPCHANGE) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CancelMibChangeNotify2(notificationhandle : super::super::Foundation:: HANDLE) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] fn CaptureInterfaceHardwareCrossTimestamp(interfaceluid : *const super::Ndis:: NET_LUID_LH, crosstimestamp : *mut INTERFACE_HARDWARE_CROSSTIMESTAMP) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ConvertCompartmentGuidToId(compartmentguid : *const ::windows_sys::core::GUID, compartmentid : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ConvertCompartmentIdToGuid(compartmentid : u32, compartmentguid : *mut ::windows_sys::core::GUID) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn ConvertInterfaceAliasToLuid(interfacealias : ::windows_sys::core::PCWSTR, interfaceluid : *mut super::Ndis:: NET_LUID_LH) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn ConvertInterfaceGuidToLuid(interfaceguid : *const ::windows_sys::core::GUID, interfaceluid : *mut super::Ndis:: NET_LUID_LH) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn ConvertInterfaceIndexToLuid(interfaceindex : u32, interfaceluid : *mut super::Ndis:: NET_LUID_LH) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn ConvertInterfaceLuidToAlias(interfaceluid : *const super::Ndis:: NET_LUID_LH, interfacealias : ::windows_sys::core::PWSTR, length : usize) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn ConvertInterfaceLuidToGuid(interfaceluid : *const super::Ndis:: NET_LUID_LH, interfaceguid : *mut ::windows_sys::core::GUID) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn ConvertInterfaceLuidToIndex(interfaceluid : *const super::Ndis:: NET_LUID_LH, interfaceindex : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn ConvertInterfaceLuidToNameA(interfaceluid : *const super::Ndis:: NET_LUID_LH, interfacename : ::windows_sys::core::PSTR, length : usize) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn ConvertInterfaceLuidToNameW(interfaceluid : *const super::Ndis:: NET_LUID_LH, interfacename : ::windows_sys::core::PWSTR, length : usize) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn ConvertInterfaceNameToLuidA(interfacename : ::windows_sys::core::PCSTR, interfaceluid : *mut super::Ndis:: NET_LUID_LH) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn ConvertInterfaceNameToLuidW(interfacename : ::windows_sys::core::PCWSTR, interfaceluid : *mut super::Ndis:: NET_LUID_LH) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ConvertIpv4MaskToLength(mask : u32, masklength : *mut u8) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ConvertLengthToIpv4Mask(masklength : u32, mask : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn CreateAnycastIpAddressEntry(row : *const MIB_ANYCASTIPADDRESS_ROW) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn CreateIpForwardEntry(proute : *const MIB_IPFORWARDROW) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn CreateIpForwardEntry2(row : *const MIB_IPFORWARD_ROW2) -> super::super::Foundation:: WIN32_ERROR); +::windows_targets::link!("iphlpapi.dll" "system" fn CreateIpNetEntry(parpentry : *const MIB_IPNETROW_LH) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn CreateIpNetEntry2(row : *const MIB_IPNET_ROW2) -> super::super::Foundation:: WIN32_ERROR); +::windows_targets::link!("iphlpapi.dll" "system" fn CreatePersistentTcpPortReservation(startport : u16, numberofports : u16, token : *mut u64) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn CreatePersistentUdpPortReservation(startport : u16, numberofports : u16, token : *mut u64) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn CreateProxyArpEntry(dwaddress : u32, dwmask : u32, dwifindex : u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] 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); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn CreateUnicastIpAddressEntry(row : *const MIB_UNICASTIPADDRESS_ROW) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn DeleteAnycastIpAddressEntry(row : *const MIB_ANYCASTIPADDRESS_ROW) -> super::super::Foundation:: WIN32_ERROR); +::windows_targets::link!("iphlpapi.dll" "system" fn DeleteIPAddress(ntecontext : u32) -> u32); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn DeleteIpForwardEntry(proute : *const MIB_IPFORWARDROW) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn DeleteIpForwardEntry2(row : *const MIB_IPFORWARD_ROW2) -> super::super::Foundation:: WIN32_ERROR); +::windows_targets::link!("iphlpapi.dll" "system" fn DeleteIpNetEntry(parpentry : *const MIB_IPNETROW_LH) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn DeleteIpNetEntry2(row : *const MIB_IPNET_ROW2) -> super::super::Foundation:: WIN32_ERROR); +::windows_targets::link!("iphlpapi.dll" "system" fn DeletePersistentTcpPortReservation(startport : u16, numberofports : u16) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn DeletePersistentUdpPortReservation(startport : u16, numberofports : u16) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn DeleteProxyArpEntry(dwaddress : u32, dwmask : u32, dwifindex : u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn DeleteUnicastIpAddressEntry(row : *const MIB_UNICASTIPADDRESS_ROW) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn DisableMediaSense(phandle : *mut super::super::Foundation:: HANDLE, poverlapped : *const super::super::System::IO:: OVERLAPPED) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn EnableRouter(phandle : *mut super::super::Foundation:: HANDLE, poverlapped : *mut super::super::System::IO:: OVERLAPPED) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn FlushIpNetTable(dwifindex : u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn FlushIpNetTable2(family : super::super::Networking::WinSock:: ADDRESS_FAMILY, interfaceindex : u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn FlushIpPathTable(family : super::super::Networking::WinSock:: ADDRESS_FAMILY) -> super::super::Foundation:: WIN32_ERROR); +::windows_targets::link!("iphlpapi.dll" "system" fn FreeDnsSettings(settings : *mut DNS_SETTINGS) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FreeInterfaceDnsSettings(settings : *mut DNS_INTERFACE_SETTINGS) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FreeMibTable(memory : *const ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR); +::windows_targets::link!("iphlpapi.dll" "system" fn GetAdapterIndex(adaptername : ::windows_sys::core::PCWSTR, ifindex : *mut u32) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn GetAdapterOrderMap() -> *mut IP_ADAPTER_ORDER_MAP); +#[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetAdaptersInfo(adapterinfo : *mut IP_ADAPTER_INFO, sizepointer : *mut u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn GetAnycastIpAddressEntry(row : *mut MIB_ANYCASTIPADDRESS_ROW) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] 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 GetBestInterface(dwdestaddr : u32, pdwbestifindex : *mut u32) -> u32); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn GetBestInterfaceEx(pdestaddr : *const super::super::Networking::WinSock:: SOCKADDR, pdwbestifindex : *mut u32) -> u32); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn GetBestRoute(dwdestaddr : u32, dwsourceaddr : u32, pbestroute : *mut MIB_IPFORWARDROW) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetCurrentThreadCompartmentId() -> super::super::Foundation:: WIN32_ERROR); +::windows_targets::link!("iphlpapi.dll" "system" fn GetCurrentThreadCompartmentScope(compartmentscope : *mut u32, compartmentid : *mut u32) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetDefaultCompartmentId() -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetDnsSettings(settings : *mut DNS_SETTINGS) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +::windows_targets::link!("iphlpapi.dll" "system" fn GetFriendlyIfIndex(ifindex : u32) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn GetIcmpStatistics(statistics : *mut MIB_ICMP) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn GetIcmpStatisticsEx(statistics : *mut MIB_ICMP_EX_XPSP1, family : u32) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn GetIfEntry(pifrow : *mut MIB_IFROW) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn GetIfEntry2(row : *mut MIB_IF_ROW2) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn GetIfEntry2Ex(level : MIB_IF_ENTRY_LEVEL, row : *mut MIB_IF_ROW2) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetIfStackTable(table : *mut *mut MIB_IFSTACK_TABLE) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetIfTable(piftable : *mut MIB_IFTABLE, pdwsize : *mut u32, border : super::super::Foundation:: BOOL) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn GetIfTable2(table : *mut *mut MIB_IF_TABLE2) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn GetIfTable2Ex(level : MIB_IF_TABLE_LEVEL, table : *mut *mut MIB_IF_TABLE2) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn GetInterfaceActiveTimestampCapabilities(interfaceluid : *const super::Ndis:: NET_LUID_LH, timestampcapabilites : *mut INTERFACE_TIMESTAMP_CAPABILITIES) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn GetInterfaceCurrentTimestampCapabilities(interfaceluid : *const super::Ndis:: NET_LUID_LH, timestampcapabilites : *mut INTERFACE_TIMESTAMP_CAPABILITIES) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetInterfaceDnsSettings(interface : ::windows_sys::core::GUID, settings : *mut DNS_INTERFACE_SETTINGS) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn GetInterfaceHardwareTimestampCapabilities(interfaceluid : *const super::Ndis:: NET_LUID_LH, timestampcapabilites : *mut INTERFACE_TIMESTAMP_CAPABILITIES) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn GetInterfaceInfo(piftable : *mut IP_INTERFACE_INFO, dwoutbuflen : *mut u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn GetInterfaceSupportedTimestampCapabilities(interfaceluid : *const super::Ndis:: NET_LUID_LH, timestampcapabilites : *mut INTERFACE_TIMESTAMP_CAPABILITIES) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetInvertedIfStackTable(table : *mut *mut MIB_INVERTEDIFSTACK_TABLE) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetIpAddrTable(pipaddrtable : *mut MIB_IPADDRTABLE, pdwsize : *mut u32, border : super::super::Foundation:: BOOL) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn GetIpErrorString(errorcode : u32, buffer : ::windows_sys::core::PWSTR, size : *mut u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn GetIpForwardEntry2(row : *mut MIB_IPFORWARD_ROW2) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn GetIpForwardTable(pipforwardtable : *mut MIB_IPFORWARDTABLE, pdwsize : *mut u32, border : super::super::Foundation:: BOOL) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn GetIpForwardTable2(family : super::super::Networking::WinSock:: ADDRESS_FAMILY, table : *mut *mut MIB_IPFORWARD_TABLE2) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn GetIpInterfaceEntry(row : *mut MIB_IPINTERFACE_ROW) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn GetIpInterfaceTable(family : super::super::Networking::WinSock:: ADDRESS_FAMILY, table : *mut *mut MIB_IPINTERFACE_TABLE) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn GetIpNetEntry2(row : *mut MIB_IPNET_ROW2) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetIpNetTable(ipnettable : *mut MIB_IPNETTABLE, sizepointer : *mut u32, order : super::super::Foundation:: BOOL) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn GetIpNetTable2(family : super::super::Networking::WinSock:: ADDRESS_FAMILY, table : *mut *mut MIB_IPNET_TABLE2) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn GetIpNetworkConnectionBandwidthEstimates(interfaceindex : u32, addressfamily : super::super::Networking::WinSock:: ADDRESS_FAMILY, bandwidthestimates : *mut MIB_IP_NETWORK_CONNECTION_BANDWIDTH_ESTIMATES) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn GetIpPathEntry(row : *mut MIB_IPPATH_ROW) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] 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 GetIpStatistics(statistics : *mut MIB_IPSTATS_LH) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn GetIpStatisticsEx(statistics : *mut MIB_IPSTATS_LH, family : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetJobCompartmentId(jobhandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn GetMulticastIpAddressEntry(row : *mut MIB_MULTICASTIPADDRESS_ROW) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn GetMulticastIpAddressTable(family : super::super::Networking::WinSock:: ADDRESS_FAMILY, table : *mut *mut MIB_MULTICASTIPADDRESS_TABLE) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn GetNetworkConnectivityHint(connectivityhint : *mut super::super::Networking::WinSock:: NL_NETWORK_CONNECTIVITY_HINT) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn GetNetworkConnectivityHintForInterface(interfaceindex : u32, connectivityhint : *mut super::super::Networking::WinSock:: NL_NETWORK_CONNECTIVITY_HINT) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetNetworkInformation(networkguid : *const ::windows_sys::core::GUID, compartmentid : *mut u32, siteid : *mut u32, networkname : ::windows_sys::core::PWSTR, length : u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetNetworkParams(pfixedinfo : *mut FIXED_INFO_W2KSP1, poutbuflen : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +::windows_targets::link!("iphlpapi.dll" "system" fn GetNumberOfInterfaces(pdwnumif : *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); +::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); +::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); +::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); +::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); +::windows_targets::link!("iphlpapi.dll" "system" fn GetPerAdapterInfo(ifindex : u32, pperadapterinfo : *mut IP_PER_ADAPTER_INFO_W2KSP1, poutbuflen : *mut u32) -> u32); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] 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); +::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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetRTTAndHopCount(destipaddress : u32, hopcount : *mut u32, maxhops : u32, rtt : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetSessionCompartmentId(sessionid : u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn GetTcp6Table(tcptable : *mut MIB_TCP6TABLE, sizepointer : *mut u32, order : super::super::Foundation:: BOOL) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn GetTcp6Table2(tcptable : *mut MIB_TCP6TABLE2, sizepointer : *mut u32, order : super::super::Foundation:: BOOL) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn GetTcpStatistics(statistics : *mut MIB_TCPSTATS_LH) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn GetTcpStatisticsEx(statistics : *mut MIB_TCPSTATS_LH, family : u32) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn GetTcpStatisticsEx2(statistics : *mut MIB_TCPSTATS2, family : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetTcpTable(tcptable : *mut MIB_TCPTABLE, sizepointer : *mut u32, order : super::super::Foundation:: BOOL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetTcpTable2(tcptable : *mut MIB_TCPTABLE2, sizepointer : *mut u32, order : super::super::Foundation:: BOOL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetTeredoPort(port : *mut u16) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn GetUdp6Table(udp6table : *mut MIB_UDP6TABLE, sizepointer : *mut u32, order : super::super::Foundation:: BOOL) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn GetUdpStatistics(stats : *mut MIB_UDPSTATS) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn GetUdpStatisticsEx(statistics : *mut MIB_UDPSTATS, family : u32) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn GetUdpStatisticsEx2(statistics : *mut MIB_UDPSTATS2, family : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetUdpTable(udptable : *mut MIB_UDPTABLE, sizepointer : *mut u32, order : super::super::Foundation:: BOOL) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn GetUniDirectionalAdapterInfo(pipifinfo : *mut IP_UNIDIRECTIONAL_ADAPTER_ADDRESS, dwoutbuflen : *mut u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn GetUnicastIpAddressEntry(row : *mut MIB_UNICASTIPADDRESS_ROW) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn GetUnicastIpAddressTable(family : super::super::Networking::WinSock:: ADDRESS_FAMILY, table : *mut *mut MIB_UNICASTIPADDRESS_TABLE) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn Icmp6CreateFile() -> super::super::Foundation:: HANDLE); +::windows_targets::link!("iphlpapi.dll" "system" fn Icmp6ParseReplies(replybuffer : *mut ::core::ffi::c_void, replysize : u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock", feature = "Win32_System_IO"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_System_IO\"`"] fn Icmp6SendEcho2(icmphandle : super::super::Foundation:: HANDLE, event : super::super::Foundation:: HANDLE, apcroutine : super::super::System::IO:: 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IcmpCloseHandle(icmphandle : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IcmpCreateFile() -> super::super::Foundation:: HANDLE); +::windows_targets::link!("iphlpapi.dll" "system" fn IcmpParseReplies(replybuffer : *mut ::core::ffi::c_void, replysize : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IcmpSendEcho(icmphandle : super::super::Foundation:: HANDLE, 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); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn IcmpSendEcho2(icmphandle : super::super::Foundation:: HANDLE, event : super::super::Foundation:: HANDLE, apcroutine : super::super::System::IO:: 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); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn IcmpSendEcho2Ex(icmphandle : super::super::Foundation:: HANDLE, event : super::super::Foundation:: HANDLE, apcroutine : super::super::System::IO:: 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); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn InitializeIpForwardEntry(row : *mut MIB_IPFORWARD_ROW2) -> ()); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn InitializeIpInterfaceEntry(row : *mut MIB_IPINTERFACE_ROW) -> ()); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn InitializeUnicastIpAddressEntry(row : *mut MIB_UNICASTIPADDRESS_ROW) -> ()); +::windows_targets::link!("iphlpapi.dll" "system" fn IpReleaseAddress(adapterinfo : *const IP_ADAPTER_INDEX_MAP) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn IpRenewAddress(adapterinfo : *const IP_ADAPTER_INDEX_MAP) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn LookupPersistentTcpPortReservation(startport : u16, numberofports : u16, token : *mut u64) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn LookupPersistentUdpPortReservation(startport : u16, numberofports : u16, token : *mut u64) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn NotifyAddrChange(handle : *mut super::super::Foundation:: HANDLE, overlapped : *const super::super::System::IO:: OVERLAPPED) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn NotifyIfTimestampConfigChange(callercontext : *const ::core::ffi::c_void, callback : PINTERFACE_TIMESTAMP_CONFIG_CHANGE_CALLBACK, notificationhandle : *mut HIFTIMESTAMPCHANGE) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] 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); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] 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); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn NotifyRouteChange(handle : *mut super::super::Foundation:: HANDLE, overlapped : *const super::super::System::IO:: OVERLAPPED) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] 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); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] 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); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn ParseNetworkString(networkstring : ::windows_sys::core::PCWSTR, types : u32, addressinfo : *mut NET_ADDRESS_INFO, portnumber : *mut u16, prefixlength : *mut u8) -> 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); +::windows_targets::link!("iphlpapi.dll" "system" fn PfAddGlobalFilterToInterface(pinterface : *mut ::core::ffi::c_void, gffilter : GLOBAL_FILTER) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn PfBindInterfaceToIPAddress(pinterface : *mut ::core::ffi::c_void, pfattype : PFADDRESSTYPE, ipaddress : *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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +::windows_targets::link!("iphlpapi.dll" "system" fn PfDeleteInterface(pinterface : *mut ::core::ffi::c_void) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn PfDeleteLog() -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PfGetInterfaceStatistics(pinterface : *mut ::core::ffi::c_void, ppfstats : *mut PF_INTERFACE_STATS, pdwbuffersize : *mut u32, fresetcounters : super::super::Foundation:: BOOL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PfMakeLog(hevent : super::super::Foundation:: HANDLE) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn PfRebindFilters(pinterface : *mut ::core::ffi::c_void, platebindinfo : *mut PF_LATEBIND_INFO) -> 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); +::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); +::windows_targets::link!("iphlpapi.dll" "system" fn PfRemoveGlobalFilterFromInterface(pinterface : *mut ::core::ffi::c_void, gffilter : GLOBAL_FILTER) -> 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); +::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); +::windows_targets::link!("iphlpapi.dll" "system" fn PfUnBindInterface(pinterface : *mut ::core::ffi::c_void) -> 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); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn ResolveIpNetEntry2(row : *mut MIB_IPNET_ROW2, sourceaddress : *const super::super::Networking::WinSock:: SOCKADDR_INET) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn ResolveNeighbor(networkaddress : *const super::super::Networking::WinSock:: SOCKADDR, physicaladdress : *mut ::core::ffi::c_void, physicaladdresslength : *mut u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn RestoreMediaSense(poverlapped : *const super::super::System::IO:: OVERLAPPED, lpdwenablecount : *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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetCurrentThreadCompartmentId(compartmentid : u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetCurrentThreadCompartmentScope(compartmentscope : u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetDnsSettings(settings : *const DNS_SETTINGS) -> super::super::Foundation:: WIN32_ERROR); +::windows_targets::link!("iphlpapi.dll" "system" fn SetIfEntry(pifrow : *const MIB_IFROW) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetInterfaceDnsSettings(interface : ::windows_sys::core::GUID, settings : *const DNS_INTERFACE_SETTINGS) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn SetIpForwardEntry(proute : *const MIB_IPFORWARDROW) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn SetIpForwardEntry2(route : *const MIB_IPFORWARD_ROW2) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn SetIpInterfaceEntry(row : *mut MIB_IPINTERFACE_ROW) -> super::super::Foundation:: WIN32_ERROR); +::windows_targets::link!("iphlpapi.dll" "system" fn SetIpNetEntry(parpentry : *const MIB_IPNETROW_LH) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn SetIpNetEntry2(row : *const MIB_IPNET_ROW2) -> super::super::Foundation:: WIN32_ERROR); +::windows_targets::link!("iphlpapi.dll" "system" fn SetIpStatistics(pipstats : *const MIB_IPSTATS_LH) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn SetIpStatisticsEx(statistics : *const MIB_IPSTATS_LH, family : u32) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn SetIpTTL(nttl : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetJobCompartmentId(jobhandle : super::super::Foundation:: HANDLE, compartmentid : u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetNetworkInformation(networkguid : *const ::windows_sys::core::GUID, compartmentid : u32, networkname : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn SetPerTcp6ConnectionEStats(row : *const MIB_TCP6ROW, estatstype : TCP_ESTATS_TYPE, rw : *const u8, rwversion : u32, rwsize : 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetSessionCompartmentId(sessionid : u32, compartmentid : u32) -> super::super::Foundation:: WIN32_ERROR); +::windows_targets::link!("iphlpapi.dll" "system" fn SetTcpEntry(ptcprow : *const MIB_TCPROW_LH) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn SetUnicastIpAddressEntry(row : *const MIB_UNICASTIPADDRESS_ROW) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn UnenableRouter(poverlapped : *const super::super::System::IO:: OVERLAPPED, lpdwenablecount : *mut u32) -> u32); +::windows_targets::link!("iphlpapi.dll" "system" fn UnregisterInterfaceTimestampConfigChange(notificationhandle : HIFTIMESTAMPCHANGE) -> ()); +::windows_targets::link!("iphlpapi.dll" "system" fn if_indextoname(interfaceindex : u32, interfacename : ::windows_sys::core::PSTR) -> ::windows_sys::core::PSTR); +::windows_targets::link!("iphlpapi.dll" "system" fn if_nametoindex(interfacename : ::windows_sys::core::PCSTR) -> u32); +pub const ANY_SIZE: u32 = 1u32; +pub const BEST_IF: u32 = 20u32; +pub const BEST_ROUTE: u32 = 21u32; +pub const BROADCAST_NODETYPE: u32 = 1u32; +pub const DEFAULT_MINIMUM_ENTITIES: u32 = 32u32; +pub const DEST_LONGER: u32 = 29u32; +pub const DEST_MATCHING: u32 = 28u32; +pub const DEST_SHORTER: u32 = 30u32; +pub const DNS_DDR_ADAPTER_ENABLE_DOH: u32 = 1u32; +pub const DNS_DDR_ADAPTER_ENABLE_UDP_FALLBACK: u32 = 2u32; +pub const DNS_DOH_AUTO_UPGRADE_SERVER: u32 = 8u32; +pub const DNS_DOH_POLICY_AUTO: u32 = 16u32; +pub const DNS_DOH_POLICY_DISABLE: u32 = 8u32; +pub const DNS_DOH_POLICY_NOT_CONFIGURED: u32 = 4u32; +pub const DNS_DOH_POLICY_REQUIRED: u32 = 32u32; +pub const DNS_DOH_SERVER_SETTINGS_ENABLE: u32 = 2u32; +pub const DNS_DOH_SERVER_SETTINGS_ENABLE_AUTO: u32 = 1u32; +pub const DNS_DOH_SERVER_SETTINGS_ENABLE_DDR: u32 = 16u32; +pub const DNS_DOH_SERVER_SETTINGS_FALLBACK_TO_UDP: u32 = 4u32; +pub const DNS_ENABLE_DDR: u32 = 64u32; +pub const DNS_ENABLE_DOH: u32 = 1u32; +pub const DNS_INTERFACE_SETTINGS_VERSION1: u32 = 1u32; +pub const DNS_INTERFACE_SETTINGS_VERSION2: u32 = 2u32; +pub const DNS_INTERFACE_SETTINGS_VERSION3: u32 = 3u32; +pub const DNS_INTERFACE_SETTINGS_VERSION4: u32 = 4u32; +pub const DNS_SERVER_PROPERTY_VERSION1: u32 = 1u32; +pub const DNS_SETTINGS_ENABLE_LLMNR: u32 = 128u32; +pub const DNS_SETTINGS_QUERY_ADAPTER_NAME: u32 = 256u32; +pub const DNS_SETTINGS_VERSION1: u32 = 1u32; +pub const DNS_SETTINGS_VERSION2: u32 = 2u32; +pub const DNS_SETTING_DDR: u32 = 32768u32; +pub const DNS_SETTING_DISABLE_UNCONSTRAINED_QUERIES: u32 = 1024u32; +pub const DNS_SETTING_DOH: u32 = 4096u32; +pub const DNS_SETTING_DOH_PROFILE: u32 = 8192u32; +pub const DNS_SETTING_DOMAIN: u32 = 32u32; +pub const DNS_SETTING_ENCRYPTED_DNS_ADAPTER_FLAGS: u32 = 16384u32; +pub const DNS_SETTING_HOSTNAME: u32 = 64u32; +pub const DNS_SETTING_IPV6: u32 = 1u32; +pub const DNS_SETTING_NAMESERVER: u32 = 2u32; +pub const DNS_SETTING_PROFILE_NAMESERVER: u32 = 512u32; +pub const DNS_SETTING_REGISTER_ADAPTER_NAME: u32 = 16u32; +pub const DNS_SETTING_REGISTRATION_ENABLED: u32 = 8u32; +pub const DNS_SETTING_SEARCHLIST: u32 = 4u32; +pub const DNS_SETTING_SUPPLEMENTAL_SEARCH_LIST: u32 = 2048u32; +pub const DnsServerDohProperty: DNS_SERVER_PROPERTY_TYPE = 1i32; +pub const DnsServerInvalidProperty: DNS_SERVER_PROPERTY_TYPE = 0i32; +pub const ERROR_BASE: u32 = 23000u32; +pub const ERROR_IPV6_NOT_IMPLEMENTED: u32 = 23003u32; +pub const FD_FLAGS_ALLFLAGS: u32 = 1u32; +pub const FD_FLAGS_NOSYN: u32 = 1u32; +pub const FILTER_ICMP_CODE_ANY: u8 = 255u8; +pub const FILTER_ICMP_TYPE_ANY: u8 = 255u8; +pub const GAA_FLAG_INCLUDE_ALL_COMPARTMENTS: GET_ADAPTERS_ADDRESSES_FLAGS = 512u32; +pub const GAA_FLAG_INCLUDE_ALL_INTERFACES: GET_ADAPTERS_ADDRESSES_FLAGS = 256u32; +pub const GAA_FLAG_INCLUDE_GATEWAYS: GET_ADAPTERS_ADDRESSES_FLAGS = 128u32; +pub const GAA_FLAG_INCLUDE_PREFIX: GET_ADAPTERS_ADDRESSES_FLAGS = 16u32; +pub const GAA_FLAG_INCLUDE_TUNNEL_BINDINGORDER: GET_ADAPTERS_ADDRESSES_FLAGS = 1024u32; +pub const GAA_FLAG_INCLUDE_WINS_INFO: GET_ADAPTERS_ADDRESSES_FLAGS = 64u32; +pub const GAA_FLAG_SKIP_ANYCAST: GET_ADAPTERS_ADDRESSES_FLAGS = 2u32; +pub const GAA_FLAG_SKIP_DNS_INFO: u32 = 2048u32; +pub const GAA_FLAG_SKIP_DNS_SERVER: GET_ADAPTERS_ADDRESSES_FLAGS = 8u32; +pub const GAA_FLAG_SKIP_FRIENDLY_NAME: GET_ADAPTERS_ADDRESSES_FLAGS = 32u32; +pub const GAA_FLAG_SKIP_MULTICAST: GET_ADAPTERS_ADDRESSES_FLAGS = 4u32; +pub const GAA_FLAG_SKIP_UNICAST: GET_ADAPTERS_ADDRESSES_FLAGS = 1u32; +pub const GF_FRAGCACHE: GLOBAL_FILTER = 9i32; +pub const GF_FRAGMENTS: GLOBAL_FILTER = 2i32; +pub const GF_STRONGHOST: GLOBAL_FILTER = 8i32; +pub const HYBRID_NODETYPE: u32 = 8u32; +pub const ICMP4_DST_UNREACH: ICMP4_TYPE = 3i32; +pub const ICMP4_ECHO_REPLY: ICMP4_TYPE = 0i32; +pub const ICMP4_ECHO_REQUEST: ICMP4_TYPE = 8i32; +pub const ICMP4_MASK_REPLY: ICMP4_TYPE = 18i32; +pub const ICMP4_MASK_REQUEST: ICMP4_TYPE = 17i32; +pub const ICMP4_PARAM_PROB: ICMP4_TYPE = 12i32; +pub const ICMP4_REDIRECT: ICMP4_TYPE = 5i32; +pub const ICMP4_ROUTER_ADVERT: ICMP4_TYPE = 9i32; +pub const ICMP4_ROUTER_SOLICIT: ICMP4_TYPE = 10i32; +pub const ICMP4_SOURCE_QUENCH: ICMP4_TYPE = 4i32; +pub const ICMP4_TIMESTAMP_REPLY: ICMP4_TYPE = 14i32; +pub const ICMP4_TIMESTAMP_REQUEST: ICMP4_TYPE = 13i32; +pub const ICMP4_TIME_EXCEEDED: ICMP4_TYPE = 11i32; +pub const ICMP6_DST_UNREACH: ICMP6_TYPE = 1i32; +pub const ICMP6_ECHO_REPLY: ICMP6_TYPE = 129i32; +pub const ICMP6_ECHO_REQUEST: ICMP6_TYPE = 128i32; +pub const ICMP6_INFOMSG_MASK: u32 = 128u32; +pub const ICMP6_MEMBERSHIP_QUERY: ICMP6_TYPE = 130i32; +pub const ICMP6_MEMBERSHIP_REDUCTION: ICMP6_TYPE = 132i32; +pub const ICMP6_MEMBERSHIP_REPORT: ICMP6_TYPE = 131i32; +pub const ICMP6_PACKET_TOO_BIG: ICMP6_TYPE = 2i32; +pub const ICMP6_PARAM_PROB: ICMP6_TYPE = 4i32; +pub const ICMP6_TIME_EXCEEDED: ICMP6_TYPE = 3i32; +pub const ICMP6_V2_MEMBERSHIP_REPORT: ICMP6_TYPE = 143i32; +pub const ICMP_STATS: u32 = 11u32; +pub const IF_ACCESS_BROADCAST: IF_ACCESS_TYPE = 2i32; +pub const IF_ACCESS_LOOPBACK: IF_ACCESS_TYPE = 1i32; +pub const IF_ACCESS_POINTTOMULTIPOINT: IF_ACCESS_TYPE = 4i32; +pub const IF_ACCESS_POINTTOPOINT: IF_ACCESS_TYPE = 3i32; +pub const IF_ACCESS_POINT_TO_MULTI_POINT: IF_ACCESS_TYPE = 4i32; +pub const IF_ACCESS_POINT_TO_POINT: IF_ACCESS_TYPE = 3i32; +pub const IF_ADMIN_STATUS_DOWN: u32 = 2u32; +pub const IF_ADMIN_STATUS_TESTING: u32 = 3u32; +pub const IF_ADMIN_STATUS_UP: u32 = 1u32; +pub const IF_CHECK_MCAST: u32 = 1u32; +pub const IF_CHECK_NONE: u32 = 0u32; +pub const IF_CHECK_SEND: u32 = 2u32; +pub const IF_CONNECTION_DEDICATED: u32 = 1u32; +pub const IF_CONNECTION_DEMAND: u32 = 3u32; +pub const IF_CONNECTION_PASSIVE: u32 = 2u32; +pub const IF_NUMBER: u32 = 0u32; +pub const IF_OPER_STATUS_CONNECTED: INTERNAL_IF_OPER_STATUS = 4i32; +pub const IF_OPER_STATUS_CONNECTING: INTERNAL_IF_OPER_STATUS = 3i32; +pub const IF_OPER_STATUS_DISCONNECTED: INTERNAL_IF_OPER_STATUS = 2i32; +pub const IF_OPER_STATUS_NON_OPERATIONAL: INTERNAL_IF_OPER_STATUS = 0i32; +pub const IF_OPER_STATUS_OPERATIONAL: INTERNAL_IF_OPER_STATUS = 5i32; +pub const IF_OPER_STATUS_UNREACHABLE: INTERNAL_IF_OPER_STATUS = 1i32; +pub const IF_ROW: u32 = 2u32; +pub const IF_STATUS: u32 = 25u32; +pub const IF_TABLE: u32 = 1u32; +pub const IF_TYPE_A12MPPSWITCH: u32 = 130u32; +pub const IF_TYPE_AAL2: u32 = 187u32; +pub const IF_TYPE_AAL5: u32 = 49u32; +pub const IF_TYPE_ADSL: u32 = 94u32; +pub const IF_TYPE_AFLANE_8023: u32 = 59u32; +pub const IF_TYPE_AFLANE_8025: u32 = 60u32; +pub const IF_TYPE_ARAP: u32 = 88u32; +pub const IF_TYPE_ARCNET: u32 = 35u32; +pub const IF_TYPE_ARCNET_PLUS: u32 = 36u32; +pub const IF_TYPE_ASYNC: u32 = 84u32; +pub const IF_TYPE_ATM: u32 = 37u32; +pub const IF_TYPE_ATM_DXI: u32 = 105u32; +pub const IF_TYPE_ATM_FUNI: u32 = 106u32; +pub const IF_TYPE_ATM_IMA: u32 = 107u32; +pub const IF_TYPE_ATM_LOGICAL: u32 = 80u32; +pub const IF_TYPE_ATM_RADIO: u32 = 189u32; +pub const IF_TYPE_ATM_SUBINTERFACE: u32 = 134u32; +pub const IF_TYPE_ATM_VCI_ENDPT: u32 = 194u32; +pub const IF_TYPE_ATM_VIRTUAL: u32 = 149u32; +pub const IF_TYPE_BASIC_ISDN: u32 = 20u32; +pub const IF_TYPE_BGP_POLICY_ACCOUNTING: u32 = 162u32; +pub const IF_TYPE_BSC: u32 = 83u32; +pub const IF_TYPE_CCTEMUL: u32 = 61u32; +pub const IF_TYPE_CES: u32 = 133u32; +pub const IF_TYPE_CHANNEL: u32 = 70u32; +pub const IF_TYPE_CNR: u32 = 85u32; +pub const IF_TYPE_COFFEE: u32 = 132u32; +pub const IF_TYPE_COMPOSITELINK: u32 = 155u32; +pub const IF_TYPE_DCN: u32 = 141u32; +pub const IF_TYPE_DDN_X25: u32 = 4u32; +pub const IF_TYPE_DIGITALPOWERLINE: u32 = 138u32; +pub const IF_TYPE_DIGITAL_WRAPPER_OVERHEAD_CHANNEL: u32 = 186u32; +pub const IF_TYPE_DLSW: u32 = 74u32; +pub const IF_TYPE_DOCSCABLE_DOWNSTREAM: u32 = 128u32; +pub const IF_TYPE_DOCSCABLE_MACLAYER: u32 = 127u32; +pub const IF_TYPE_DOCSCABLE_UPSTREAM: u32 = 129u32; +pub const IF_TYPE_DS0: u32 = 81u32; +pub const IF_TYPE_DS0_BUNDLE: u32 = 82u32; +pub const IF_TYPE_DS1: u32 = 18u32; +pub const IF_TYPE_DS1_FDL: u32 = 170u32; +pub const IF_TYPE_DS3: u32 = 30u32; +pub const IF_TYPE_DTM: u32 = 140u32; +pub const IF_TYPE_DVBRCC_DOWNSTREAM: u32 = 147u32; +pub const IF_TYPE_DVBRCC_MACLAYER: u32 = 146u32; +pub const IF_TYPE_DVBRCC_UPSTREAM: u32 = 148u32; +pub const IF_TYPE_DVB_ASI_IN: u32 = 172u32; +pub const IF_TYPE_DVB_ASI_OUT: u32 = 173u32; +pub const IF_TYPE_E1: u32 = 19u32; +pub const IF_TYPE_EON: u32 = 25u32; +pub const IF_TYPE_EPLRS: u32 = 87u32; +pub const IF_TYPE_ESCON: u32 = 73u32; +pub const IF_TYPE_ETHERNET_3MBIT: u32 = 26u32; +pub const IF_TYPE_ETHERNET_CSMACD: u32 = 6u32; +pub const IF_TYPE_FAST: u32 = 125u32; +pub const IF_TYPE_FASTETHER: u32 = 62u32; +pub const IF_TYPE_FASTETHER_FX: u32 = 69u32; +pub const IF_TYPE_FDDI: u32 = 15u32; +pub const IF_TYPE_FIBRECHANNEL: u32 = 56u32; +pub const IF_TYPE_FRAMERELAY: u32 = 32u32; +pub const IF_TYPE_FRAMERELAY_INTERCONNECT: u32 = 58u32; +pub const IF_TYPE_FRAMERELAY_MPI: u32 = 92u32; +pub const IF_TYPE_FRAMERELAY_SERVICE: u32 = 44u32; +pub const IF_TYPE_FRF16_MFR_BUNDLE: u32 = 163u32; +pub const IF_TYPE_FR_DLCI_ENDPT: u32 = 193u32; +pub const IF_TYPE_FR_FORWARD: u32 = 158u32; +pub const IF_TYPE_G703_2MB: u32 = 67u32; +pub const IF_TYPE_G703_64K: u32 = 66u32; +pub const IF_TYPE_GIGABITETHERNET: u32 = 117u32; +pub const IF_TYPE_GR303_IDT: u32 = 178u32; +pub const IF_TYPE_GR303_RDT: u32 = 177u32; +pub const IF_TYPE_H323_GATEKEEPER: u32 = 164u32; +pub const IF_TYPE_H323_PROXY: u32 = 165u32; +pub const IF_TYPE_HDH_1822: u32 = 3u32; +pub const IF_TYPE_HDLC: u32 = 118u32; +pub const IF_TYPE_HDSL2: u32 = 168u32; +pub const IF_TYPE_HIPERLAN2: u32 = 183u32; +pub const IF_TYPE_HIPPI: u32 = 47u32; +pub const IF_TYPE_HIPPIINTERFACE: u32 = 57u32; +pub const IF_TYPE_HOSTPAD: u32 = 90u32; +pub const IF_TYPE_HSSI: u32 = 46u32; +pub const IF_TYPE_HYPERCHANNEL: u32 = 14u32; +pub const IF_TYPE_IBM370PARCHAN: u32 = 72u32; +pub const IF_TYPE_IDSL: u32 = 154u32; +pub const IF_TYPE_IEEE1394: u32 = 144u32; +pub const IF_TYPE_IEEE80211: u32 = 71u32; +pub const IF_TYPE_IEEE80212: u32 = 55u32; +pub const IF_TYPE_IEEE802154: u32 = 259u32; +pub const IF_TYPE_IEEE80216_WMAN: u32 = 237u32; +pub const IF_TYPE_IEEE8023AD_LAG: u32 = 161u32; +pub const IF_TYPE_IF_GSN: u32 = 145u32; +pub const IF_TYPE_IMT: u32 = 190u32; +pub const IF_TYPE_INTERLEAVE: u32 = 124u32; +pub const IF_TYPE_IP: u32 = 126u32; +pub const IF_TYPE_IPFORWARD: u32 = 142u32; +pub const IF_TYPE_IPOVER_ATM: u32 = 114u32; +pub const IF_TYPE_IPOVER_CDLC: u32 = 109u32; +pub const IF_TYPE_IPOVER_CLAW: u32 = 110u32; +pub const IF_TYPE_IPSWITCH: u32 = 78u32; +pub const IF_TYPE_IS088023_CSMACD: u32 = 7u32; +pub const IF_TYPE_ISDN: u32 = 63u32; +pub const IF_TYPE_ISDN_S: u32 = 75u32; +pub const IF_TYPE_ISDN_U: u32 = 76u32; +pub const IF_TYPE_ISO88022_LLC: u32 = 41u32; +pub const IF_TYPE_ISO88024_TOKENBUS: u32 = 8u32; +pub const IF_TYPE_ISO88025R_DTR: u32 = 86u32; +pub const IF_TYPE_ISO88025_CRFPRINT: u32 = 98u32; +pub const IF_TYPE_ISO88025_FIBER: u32 = 115u32; +pub const IF_TYPE_ISO88025_TOKENRING: u32 = 9u32; +pub const IF_TYPE_ISO88026_MAN: u32 = 10u32; +pub const IF_TYPE_ISUP: u32 = 179u32; +pub const IF_TYPE_L2_VLAN: u32 = 135u32; +pub const IF_TYPE_L3_IPVLAN: u32 = 136u32; +pub const IF_TYPE_L3_IPXVLAN: u32 = 137u32; +pub const IF_TYPE_LAP_B: u32 = 16u32; +pub const IF_TYPE_LAP_D: u32 = 77u32; +pub const IF_TYPE_LAP_F: u32 = 119u32; +pub const IF_TYPE_LOCALTALK: u32 = 42u32; +pub const IF_TYPE_MEDIAMAILOVERIP: u32 = 139u32; +pub const IF_TYPE_MF_SIGLINK: u32 = 167u32; +pub const IF_TYPE_MIO_X25: u32 = 38u32; +pub const IF_TYPE_MODEM: u32 = 48u32; +pub const IF_TYPE_MPC: u32 = 113u32; +pub const IF_TYPE_MPLS: u32 = 166u32; +pub const IF_TYPE_MPLS_TUNNEL: u32 = 150u32; +pub const IF_TYPE_MSDSL: u32 = 143u32; +pub const IF_TYPE_MVL: u32 = 191u32; +pub const IF_TYPE_MYRINET: u32 = 99u32; +pub const IF_TYPE_NFAS: u32 = 175u32; +pub const IF_TYPE_NSIP: u32 = 27u32; +pub const IF_TYPE_OPTICAL_CHANNEL: u32 = 195u32; +pub const IF_TYPE_OPTICAL_TRANSPORT: u32 = 196u32; +pub const IF_TYPE_OTHER: u32 = 1u32; +pub const IF_TYPE_PARA: u32 = 34u32; +pub const IF_TYPE_PLC: u32 = 174u32; +pub const IF_TYPE_POS: u32 = 171u32; +pub const IF_TYPE_PPP: u32 = 23u32; +pub const IF_TYPE_PPPMULTILINKBUNDLE: u32 = 108u32; +pub const IF_TYPE_PRIMARY_ISDN: u32 = 21u32; +pub const IF_TYPE_PROP_BWA_P2MP: u32 = 184u32; +pub const IF_TYPE_PROP_CNLS: u32 = 89u32; +pub const IF_TYPE_PROP_DOCS_WIRELESS_DOWNSTREAM: u32 = 181u32; +pub const IF_TYPE_PROP_DOCS_WIRELESS_MACLAYER: u32 = 180u32; +pub const IF_TYPE_PROP_DOCS_WIRELESS_UPSTREAM: u32 = 182u32; +pub const IF_TYPE_PROP_MULTIPLEXOR: u32 = 54u32; +pub const IF_TYPE_PROP_POINT2POINT_SERIAL: u32 = 22u32; +pub const IF_TYPE_PROP_VIRTUAL: u32 = 53u32; +pub const IF_TYPE_PROP_WIRELESS_P2P: u32 = 157u32; +pub const IF_TYPE_PROTEON_10MBIT: u32 = 12u32; +pub const IF_TYPE_PROTEON_80MBIT: u32 = 13u32; +pub const IF_TYPE_QLLC: u32 = 68u32; +pub const IF_TYPE_RADIO_MAC: u32 = 188u32; +pub const IF_TYPE_RADSL: u32 = 95u32; +pub const IF_TYPE_REACH_DSL: u32 = 192u32; +pub const IF_TYPE_REGULAR_1822: u32 = 2u32; +pub const IF_TYPE_RFC1483: u32 = 159u32; +pub const IF_TYPE_RFC877_X25: u32 = 5u32; +pub const IF_TYPE_RS232: u32 = 33u32; +pub const IF_TYPE_RSRB: u32 = 79u32; +pub const IF_TYPE_SDLC: u32 = 17u32; +pub const IF_TYPE_SDSL: u32 = 96u32; +pub const IF_TYPE_SHDSL: u32 = 169u32; +pub const IF_TYPE_SIP: u32 = 31u32; +pub const IF_TYPE_SLIP: u32 = 28u32; +pub const IF_TYPE_SMDS_DXI: u32 = 43u32; +pub const IF_TYPE_SMDS_ICIP: u32 = 52u32; +pub const IF_TYPE_SOFTWARE_LOOPBACK: u32 = 24u32; +pub const IF_TYPE_SONET: u32 = 39u32; +pub const IF_TYPE_SONET_OVERHEAD_CHANNEL: u32 = 185u32; +pub const IF_TYPE_SONET_PATH: u32 = 50u32; +pub const IF_TYPE_SONET_VT: u32 = 51u32; +pub const IF_TYPE_SRP: u32 = 151u32; +pub const IF_TYPE_SS7_SIGLINK: u32 = 156u32; +pub const IF_TYPE_STACKTOSTACK: u32 = 111u32; +pub const IF_TYPE_STARLAN: u32 = 11u32; +pub const IF_TYPE_TDLC: u32 = 116u32; +pub const IF_TYPE_TERMPAD: u32 = 91u32; +pub const IF_TYPE_TR008: u32 = 176u32; +pub const IF_TYPE_TRANSPHDLC: u32 = 123u32; +pub const IF_TYPE_TUNNEL: u32 = 131u32; +pub const IF_TYPE_ULTRA: u32 = 29u32; +pub const IF_TYPE_USB: u32 = 160u32; +pub const IF_TYPE_V11: u32 = 64u32; +pub const IF_TYPE_V35: u32 = 45u32; +pub const IF_TYPE_V36: u32 = 65u32; +pub const IF_TYPE_V37: u32 = 120u32; +pub const IF_TYPE_VDSL: u32 = 97u32; +pub const IF_TYPE_VIRTUALIPADDRESS: u32 = 112u32; +pub const IF_TYPE_VOICEOVERATM: u32 = 152u32; +pub const IF_TYPE_VOICEOVERFRAMERELAY: u32 = 153u32; +pub const IF_TYPE_VOICE_EM: u32 = 100u32; +pub const IF_TYPE_VOICE_ENCAP: u32 = 103u32; +pub const IF_TYPE_VOICE_FXO: u32 = 101u32; +pub const IF_TYPE_VOICE_FXS: u32 = 102u32; +pub const IF_TYPE_VOICE_OVERIP: u32 = 104u32; +pub const IF_TYPE_WWANPP: u32 = 243u32; +pub const IF_TYPE_WWANPP2: u32 = 244u32; +pub const IF_TYPE_X213: u32 = 93u32; +pub const IF_TYPE_X25_HUNTGROUP: u32 = 122u32; +pub const IF_TYPE_X25_MLP: u32 = 121u32; +pub const IF_TYPE_X25_PLE: u32 = 40u32; +pub const IF_TYPE_XBOX_WIRELESS: u32 = 281u32; +pub const INTERFACE_HARDWARE_CROSSTIMESTAMP_VERSION_1: u32 = 1u32; +pub const INTERFACE_TIMESTAMP_CAPABILITIES_VERSION_1: u32 = 1u32; +pub const IOCTL_ARP_SEND_REQUEST: u32 = 103u32; +pub const IOCTL_IP_ADDCHANGE_NOTIFY_REQUEST: u32 = 102u32; +pub const IOCTL_IP_GET_BEST_INTERFACE: u32 = 105u32; +pub const IOCTL_IP_INTERFACE_INFO: u32 = 104u32; +pub const IOCTL_IP_RTCHANGE_NOTIFY_REQUEST: u32 = 101u32; +pub const IOCTL_IP_UNIDIRECTIONAL_ADAPTER_ADDRESS: u32 = 106u32; +pub const IP6_STATS: u32 = 36u32; +pub const IPRTRMGR_PID: u32 = 10000u32; +pub const IPV6_GLOBAL_INFO: u32 = 4294901775u32; +pub const IPV6_ROUTE_INFO: u32 = 4294901776u32; +pub const IP_ADAPTER_ADDRESS_DNS_ELIGIBLE: u32 = 1u32; +pub const IP_ADAPTER_ADDRESS_TRANSIENT: u32 = 2u32; +pub const IP_ADAPTER_DDNS_ENABLED: u32 = 1u32; +pub const IP_ADAPTER_DHCP_ENABLED: u32 = 4u32; +pub const IP_ADAPTER_IPV4_ENABLED: u32 = 128u32; +pub const IP_ADAPTER_IPV6_ENABLED: u32 = 256u32; +pub const IP_ADAPTER_IPV6_MANAGE_ADDRESS_CONFIG: u32 = 512u32; +pub const IP_ADAPTER_IPV6_OTHER_STATEFUL_CONFIG: u32 = 32u32; +pub const IP_ADAPTER_NETBIOS_OVER_TCPIP_ENABLED: u32 = 64u32; +pub const IP_ADAPTER_NO_MULTICAST: u32 = 16u32; +pub const IP_ADAPTER_RECEIVE_ONLY: u32 = 8u32; +pub const IP_ADAPTER_REGISTER_ADAPTER_SUFFIX: u32 = 2u32; +pub const IP_ADDRROW: u32 = 5u32; +pub const IP_ADDRTABLE: u32 = 4u32; +pub const IP_ADDR_ADDED: u32 = 11023u32; +pub const IP_ADDR_DELETED: u32 = 11019u32; +pub const IP_BAD_DESTINATION: u32 = 11018u32; +pub const IP_BAD_HEADER: u32 = 11042u32; +pub const IP_BAD_OPTION: u32 = 11007u32; +pub const IP_BAD_REQ: u32 = 11011u32; +pub const IP_BAD_ROUTE: u32 = 11012u32; +pub const IP_BIND_ADAPTER: u32 = 11026u32; +pub const IP_BUF_TOO_SMALL: u32 = 11001u32; +pub const IP_DEMAND_DIAL_FILTER_INFO: u32 = 4294901769u32; +pub const IP_DEMAND_DIAL_FILTER_INFO_V6: u32 = 4294901779u32; +pub const IP_DEST_ADDR_UNREACHABLE: u32 = 11003u32; +pub const IP_DEST_HOST_UNREACHABLE: u32 = 11003u32; +pub const IP_DEST_NET_UNREACHABLE: u32 = 11002u32; +pub const IP_DEST_NO_ROUTE: u32 = 11002u32; +pub const IP_DEST_PORT_UNREACHABLE: u32 = 11005u32; +pub const IP_DEST_PROHIBITED: u32 = 11004u32; +pub const IP_DEST_PROT_UNREACHABLE: u32 = 11004u32; +pub const IP_DEST_SCOPE_MISMATCH: u32 = 11045u32; +pub const IP_DEST_UNREACHABLE: u32 = 11040u32; +pub const IP_DEVICE_DOES_NOT_EXIST: u32 = 11028u32; +pub const IP_DUPLICATE_ADDRESS: u32 = 11029u32; +pub const IP_DUPLICATE_IPADD: u32 = 11034u32; +pub const IP_EXPORT_INCLUDED: u32 = 1u32; +pub const IP_FILTER_ENABLE_INFO: u32 = 4294901781u32; +pub const IP_FILTER_ENABLE_INFO_V6: u32 = 4294901782u32; +pub const IP_FLAG_DF: u32 = 2u32; +pub const IP_FLAG_REVERSE: u32 = 1u32; +pub const IP_FORWARDNUMBER: u32 = 6u32; +pub const IP_FORWARDROW: u32 = 8u32; +pub const IP_FORWARDTABLE: u32 = 7u32; +pub const IP_GENERAL_FAILURE: u32 = 11050u32; +pub const IP_GENERAL_INFO_BASE: u32 = 4294901760u32; +pub const IP_GLOBAL_INFO: u32 = 4294901763u32; +pub const IP_HOP_LIMIT_EXCEEDED: u32 = 11013u32; +pub const IP_HW_ERROR: u32 = 11008u32; +pub const IP_ICMP_ERROR: u32 = 11044u32; +pub const IP_IFFILTER_INFO: u32 = 4294901773u32; +pub const IP_IFFILTER_INFO_V6: u32 = 4294901780u32; +pub const IP_INTERFACE_METRIC_CHANGE: u32 = 11030u32; +pub const IP_INTERFACE_STATUS_INFO: u32 = 4294901764u32; +pub const IP_INTERFACE_WOL_CAPABILITY_CHANGE: u32 = 11033u32; +pub const IP_IN_FILTER_INFO: u32 = 4294901761u32; +pub const IP_IN_FILTER_INFO_V6: u32 = 4294901777u32; +pub const IP_IPINIP_CFG_INFO: u32 = 4294901772u32; +pub const IP_MCAST_BOUNDARY_INFO: u32 = 4294901771u32; +pub const IP_MCAST_HEARBEAT_INFO: u32 = 4294901770u32; +pub const IP_MCAST_LIMIT_INFO: u32 = 4294901774u32; +pub const IP_MEDIA_CONNECT: u32 = 11024u32; +pub const IP_MEDIA_DISCONNECT: u32 = 11025u32; +pub const IP_MTU_CHANGE: u32 = 11021u32; +pub const IP_NEGOTIATING_IPSEC: u32 = 11032u32; +pub const IP_NETROW: u32 = 10u32; +pub const IP_NETTABLE: u32 = 9u32; +pub const IP_NO_RESOURCES: u32 = 11006u32; +pub const IP_OPTION_TOO_BIG: u32 = 11017u32; +pub const IP_OUT_FILTER_INFO: u32 = 4294901762u32; +pub const IP_OUT_FILTER_INFO_V6: u32 = 4294901778u32; +pub const IP_PACKET_TOO_BIG: u32 = 11009u32; +pub const IP_PARAMETER_PROBLEM: u32 = 11015u32; +pub const IP_PARAM_PROBLEM: u32 = 11015u32; +pub const IP_PENDING: u32 = 11255u32; +pub const IP_PROT_PRIORITY_INFO: u32 = 4294901766u32; +pub const IP_PROT_PRIORITY_INFO_EX: u32 = 4294901783u32; +pub const IP_REASSEMBLY_TIME_EXCEEDED: u32 = 11014u32; +pub const IP_RECONFIG_SECFLTR: u32 = 11031u32; +pub const IP_REQ_TIMED_OUT: u32 = 11010u32; +pub const IP_ROUTER_DISC_INFO: u32 = 4294901767u32; +pub const IP_ROUTER_MANAGER_VERSION: u32 = 1u32; +pub const IP_ROUTE_INFO: u32 = 4294901765u32; +pub const IP_SOURCE_QUENCH: u32 = 11016u32; +pub const IP_SPEC_MTU_CHANGE: u32 = 11020u32; +pub const IP_STATS: u32 = 3u32; +pub const IP_STATUS_BASE: u32 = 11000u32; +pub const IP_SUCCESS: u32 = 0u32; +pub const IP_TIME_EXCEEDED: u32 = 11041u32; +pub const IP_TTL_EXPIRED_REASSEM: u32 = 11014u32; +pub const IP_TTL_EXPIRED_TRANSIT: u32 = 11013u32; +pub const IP_UNBIND_ADAPTER: u32 = 11027u32; +pub const IP_UNLOAD: u32 = 11022u32; +pub const IP_UNRECOGNIZED_NEXT_HEADER: u32 = 11043u32; +pub const LB_DST_ADDR_USE_DSTADDR_FLAG: u32 = 8u32; +pub const LB_DST_ADDR_USE_SRCADDR_FLAG: u32 = 4u32; +pub const LB_DST_MASK_LATE_FLAG: u32 = 32u32; +pub const LB_SRC_ADDR_USE_DSTADDR_FLAG: u32 = 2u32; +pub const LB_SRC_ADDR_USE_SRCADDR_FLAG: u32 = 1u32; +pub const LB_SRC_MASK_LATE_FLAG: u32 = 16u32; +pub const MAXLEN_IFDESCR: u32 = 256u32; +pub const MAXLEN_PHYSADDR: u32 = 8u32; +pub const MAX_ADAPTER_ADDRESS_LENGTH: u32 = 8u32; +pub const MAX_ADAPTER_DESCRIPTION_LENGTH: u32 = 128u32; +pub const MAX_ADAPTER_NAME: u32 = 128u32; +pub const MAX_ADAPTER_NAME_LENGTH: u32 = 256u32; +pub const MAX_DHCPV6_DUID_LENGTH: u32 = 130u32; +pub const MAX_DNS_SUFFIX_STRING_LENGTH: u32 = 256u32; +pub const MAX_DOMAIN_NAME_LEN: u32 = 128u32; +pub const MAX_HOSTNAME_LEN: u32 = 128u32; +pub const MAX_IF_TYPE: u32 = 281u32; +pub const MAX_INTERFACE_NAME_LEN: u32 = 256u32; +pub const MAX_IP_STATUS: u32 = 11050u32; +pub const MAX_MIB_OFFSET: u32 = 8u32; +pub const MAX_OPT_SIZE: u32 = 40u32; +pub const MAX_SCOPE_ID_LEN: u32 = 256u32; +pub const MAX_SCOPE_NAME_LEN: u32 = 255u32; +pub const MCAST_BOUNDARY: u32 = 26u32; +pub const MCAST_GLOBAL: u32 = 24u32; +pub const MCAST_IF_ENTRY: u32 = 23u32; +pub const MCAST_MFE: u32 = 18u32; +pub const MCAST_MFE_STATS: u32 = 19u32; +pub const MCAST_MFE_STATS_EX: u32 = 35u32; +pub const MCAST_SCOPE: u32 = 27u32; +pub const MIB_IF_ADMIN_STATUS_DOWN: u32 = 2u32; +pub const MIB_IF_ADMIN_STATUS_TESTING: u32 = 3u32; +pub const MIB_IF_ADMIN_STATUS_UP: u32 = 1u32; +pub const MIB_IF_TYPE_ETHERNET: u32 = 6u32; +pub const MIB_IF_TYPE_FDDI: u32 = 15u32; +pub const MIB_IF_TYPE_LOOPBACK: u32 = 24u32; +pub const MIB_IF_TYPE_OTHER: u32 = 1u32; +pub const MIB_IF_TYPE_PPP: u32 = 23u32; +pub const MIB_IF_TYPE_SLIP: u32 = 28u32; +pub const MIB_IF_TYPE_TOKENRING: u32 = 9u32; +pub const MIB_INVALID_TEREDO_PORT_NUMBER: u32 = 0u32; +pub const MIB_IPADDR_DELETED: u32 = 64u32; +pub const MIB_IPADDR_DISCONNECTED: u32 = 8u32; +pub const MIB_IPADDR_DNS_ELIGIBLE: u32 = 256u32; +pub const MIB_IPADDR_DYNAMIC: u32 = 4u32; +pub const MIB_IPADDR_PRIMARY: u32 = 1u32; +pub const MIB_IPADDR_TRANSIENT: u32 = 128u32; +pub const MIB_IPNET_TYPE_DYNAMIC: MIB_IPNET_TYPE = 3i32; +pub const MIB_IPNET_TYPE_INVALID: MIB_IPNET_TYPE = 2i32; +pub const MIB_IPNET_TYPE_OTHER: MIB_IPNET_TYPE = 1i32; +pub const MIB_IPNET_TYPE_STATIC: MIB_IPNET_TYPE = 4i32; +pub const MIB_IPROUTE_METRIC_UNUSED: u32 = 4294967295u32; +pub const MIB_IPROUTE_TYPE_DIRECT: MIB_IPFORWARD_TYPE = 3i32; +pub const MIB_IPROUTE_TYPE_INDIRECT: MIB_IPFORWARD_TYPE = 4i32; +pub const MIB_IPROUTE_TYPE_INVALID: MIB_IPFORWARD_TYPE = 2i32; +pub const MIB_IPROUTE_TYPE_OTHER: MIB_IPFORWARD_TYPE = 1i32; +pub const MIB_IP_FORWARDING: MIB_IPSTATS_FORWARDING = 1i32; +pub const MIB_IP_NOT_FORWARDING: MIB_IPSTATS_FORWARDING = 2i32; +pub const MIB_TCP_RTO_CONSTANT: TCP_RTO_ALGORITHM = 2i32; +pub const MIB_TCP_RTO_OTHER: TCP_RTO_ALGORITHM = 1i32; +pub const MIB_TCP_RTO_RSRE: TCP_RTO_ALGORITHM = 3i32; +pub const MIB_TCP_RTO_VANJ: TCP_RTO_ALGORITHM = 4i32; +pub const MIB_TCP_STATE_CLOSED: MIB_TCP_STATE = 1i32; +pub const MIB_TCP_STATE_CLOSE_WAIT: MIB_TCP_STATE = 8i32; +pub const MIB_TCP_STATE_CLOSING: MIB_TCP_STATE = 9i32; +pub const MIB_TCP_STATE_DELETE_TCB: MIB_TCP_STATE = 12i32; +pub const MIB_TCP_STATE_ESTAB: MIB_TCP_STATE = 5i32; +pub const MIB_TCP_STATE_FIN_WAIT1: MIB_TCP_STATE = 6i32; +pub const MIB_TCP_STATE_FIN_WAIT2: MIB_TCP_STATE = 7i32; +pub const MIB_TCP_STATE_LAST_ACK: MIB_TCP_STATE = 10i32; +pub const MIB_TCP_STATE_LISTEN: MIB_TCP_STATE = 2i32; +pub const MIB_TCP_STATE_RESERVED: MIB_TCP_STATE = 100i32; +pub const MIB_TCP_STATE_SYN_RCVD: MIB_TCP_STATE = 4i32; +pub const MIB_TCP_STATE_SYN_SENT: MIB_TCP_STATE = 3i32; +pub const MIB_TCP_STATE_TIME_WAIT: MIB_TCP_STATE = 11i32; +pub const MIB_USE_CURRENT_FORWARDING: u32 = 4294967295u32; +pub const MIB_USE_CURRENT_TTL: u32 = 4294967295u32; +pub const MIN_IF_TYPE: u32 = 1u32; +pub const MIXED_NODETYPE: u32 = 4u32; +pub const MibAddInstance: MIB_NOTIFICATION_TYPE = 1i32; +pub const MibDeleteInstance: MIB_NOTIFICATION_TYPE = 2i32; +pub const MibIfEntryNormal: MIB_IF_ENTRY_LEVEL = 0i32; +pub const MibIfEntryNormalWithoutStatistics: MIB_IF_ENTRY_LEVEL = 2i32; +pub const MibIfTableNormal: MIB_IF_TABLE_LEVEL = 0i32; +pub const MibIfTableNormalWithoutStatistics: MIB_IF_TABLE_LEVEL = 2i32; +pub const MibIfTableRaw: MIB_IF_TABLE_LEVEL = 1i32; +pub const MibInitialNotification: MIB_NOTIFICATION_TYPE = 3i32; +pub const MibParameterNotification: MIB_NOTIFICATION_TYPE = 0i32; +pub const ND_NEIGHBOR_ADVERT: ICMP6_TYPE = 136i32; +pub const ND_NEIGHBOR_SOLICIT: ICMP6_TYPE = 135i32; +pub const ND_REDIRECT: ICMP6_TYPE = 137i32; +pub const ND_ROUTER_ADVERT: ICMP6_TYPE = 134i32; +pub const ND_ROUTER_SOLICIT: ICMP6_TYPE = 133i32; +pub const NET_ADDRESS_DNS_NAME: NET_ADDRESS_FORMAT = 1i32; +pub const NET_ADDRESS_FORMAT_UNSPECIFIED: NET_ADDRESS_FORMAT = 0i32; +pub const NET_ADDRESS_IPV4: NET_ADDRESS_FORMAT = 2i32; +pub const NET_ADDRESS_IPV6: NET_ADDRESS_FORMAT = 3i32; +pub const NET_STRING_IPV4_ADDRESS: u32 = 1u32; +pub const NET_STRING_IPV4_NETWORK: u32 = 4u32; +pub const NET_STRING_IPV4_SERVICE: u32 = 2u32; +pub const NET_STRING_IPV6_ADDRESS: u32 = 8u32; +pub const NET_STRING_IPV6_ADDRESS_NO_SCOPE: u32 = 16u32; +pub const NET_STRING_IPV6_NETWORK: u32 = 128u32; +pub const NET_STRING_IPV6_SERVICE: u32 = 32u32; +pub const NET_STRING_IPV6_SERVICE_NO_SCOPE: u32 = 64u32; +pub const NET_STRING_NAMED_ADDRESS: u32 = 256u32; +pub const NET_STRING_NAMED_SERVICE: u32 = 512u32; +pub const NUMBER_OF_EXPORTED_VARIABLES: u32 = 39u32; +pub const PEER_TO_PEER_NODETYPE: u32 = 2u32; +pub const PFERROR_BUFFER_TOO_SMALL: u32 = 23002u32; +pub const PFERROR_NO_FILTERS_GIVEN: u32 = 23001u32; +pub const PFERROR_NO_PF_INTERFACE: u32 = 23000u32; +pub const PFFT_FILTER: PFFRAMETYPE = 1i32; +pub const PFFT_FRAG: PFFRAMETYPE = 2i32; +pub const PFFT_SPOOF: PFFRAMETYPE = 3i32; +pub const PF_ACTION_DROP: PFFORWARD_ACTION = 1i32; +pub const PF_ACTION_FORWARD: PFFORWARD_ACTION = 0i32; +pub const PF_IPV4: PFADDRESSTYPE = 0i32; +pub const PF_IPV6: PFADDRESSTYPE = 1i32; +pub const PROXY_ARP: u32 = 22u32; +pub const ROUTE_LONGER: u32 = 32u32; +pub const ROUTE_MATCHING: u32 = 31u32; +pub const ROUTE_SHORTER: u32 = 33u32; +pub const ROUTE_STATE: u32 = 34u32; +pub const TCP6_STATS: u32 = 38u32; +pub const TCPIP_OWNER_MODULE_INFO_BASIC: TCPIP_OWNER_MODULE_INFO_CLASS = 0i32; +pub const TCPIP_OWNING_MODULE_SIZE: u32 = 16u32; +pub const TCP_ROW: u32 = 14u32; +pub const TCP_STATS: u32 = 12u32; +pub const TCP_TABLE: u32 = 13u32; +pub const TCP_TABLE_BASIC_ALL: TCP_TABLE_CLASS = 2i32; +pub const TCP_TABLE_BASIC_CONNECTIONS: TCP_TABLE_CLASS = 1i32; +pub const TCP_TABLE_BASIC_LISTENER: TCP_TABLE_CLASS = 0i32; +pub const TCP_TABLE_OWNER_MODULE_ALL: TCP_TABLE_CLASS = 8i32; +pub const TCP_TABLE_OWNER_MODULE_CONNECTIONS: TCP_TABLE_CLASS = 7i32; +pub const TCP_TABLE_OWNER_MODULE_LISTENER: TCP_TABLE_CLASS = 6i32; +pub const TCP_TABLE_OWNER_PID_ALL: TCP_TABLE_CLASS = 5i32; +pub const TCP_TABLE_OWNER_PID_CONNECTIONS: TCP_TABLE_CLASS = 4i32; +pub const TCP_TABLE_OWNER_PID_LISTENER: TCP_TABLE_CLASS = 3i32; +pub const TcpBoolOptDisabled: TCP_BOOLEAN_OPTIONAL = 0i32; +pub const TcpBoolOptEnabled: TCP_BOOLEAN_OPTIONAL = 1i32; +pub const TcpBoolOptUnchanged: TCP_BOOLEAN_OPTIONAL = -1i32; +pub const TcpConnectionEstatsBandwidth: TCP_ESTATS_TYPE = 7i32; +pub const TcpConnectionEstatsData: TCP_ESTATS_TYPE = 1i32; +pub const TcpConnectionEstatsFineRtt: TCP_ESTATS_TYPE = 8i32; +pub const TcpConnectionEstatsMaximum: TCP_ESTATS_TYPE = 9i32; +pub const TcpConnectionEstatsObsRec: TCP_ESTATS_TYPE = 6i32; +pub const TcpConnectionEstatsPath: TCP_ESTATS_TYPE = 3i32; +pub const TcpConnectionEstatsRec: TCP_ESTATS_TYPE = 5i32; +pub const TcpConnectionEstatsSendBuff: TCP_ESTATS_TYPE = 4i32; +pub const TcpConnectionEstatsSndCong: TCP_ESTATS_TYPE = 2i32; +pub const TcpConnectionEstatsSynOpts: TCP_ESTATS_TYPE = 0i32; +pub const TcpConnectionOffloadStateInHost: TCP_CONNECTION_OFFLOAD_STATE = 0i32; +pub const TcpConnectionOffloadStateMax: TCP_CONNECTION_OFFLOAD_STATE = 4i32; +pub const TcpConnectionOffloadStateOffloaded: TCP_CONNECTION_OFFLOAD_STATE = 2i32; +pub const TcpConnectionOffloadStateOffloading: TCP_CONNECTION_OFFLOAD_STATE = 1i32; +pub const TcpConnectionOffloadStateUploading: TCP_CONNECTION_OFFLOAD_STATE = 3i32; +pub const TcpErrorAboveAckWindow: TCP_SOFT_ERROR = 4i32; +pub const TcpErrorAboveDataWindow: TCP_SOFT_ERROR = 2i32; +pub const TcpErrorAboveTsWindow: TCP_SOFT_ERROR = 6i32; +pub const TcpErrorBelowAckWindow: TCP_SOFT_ERROR = 3i32; +pub const TcpErrorBelowDataWindow: TCP_SOFT_ERROR = 1i32; +pub const TcpErrorBelowTsWindow: TCP_SOFT_ERROR = 5i32; +pub const TcpErrorDataChecksumError: TCP_SOFT_ERROR = 7i32; +pub const TcpErrorDataLengthError: TCP_SOFT_ERROR = 8i32; +pub const TcpErrorMaxSoftError: TCP_SOFT_ERROR = 9i32; +pub const TcpErrorNone: TCP_SOFT_ERROR = 0i32; +pub const TcpRtoAlgorithmConstant: TCP_RTO_ALGORITHM = 2i32; +pub const TcpRtoAlgorithmOther: TCP_RTO_ALGORITHM = 1i32; +pub const TcpRtoAlgorithmRsre: TCP_RTO_ALGORITHM = 3i32; +pub const TcpRtoAlgorithmVanj: TCP_RTO_ALGORITHM = 4i32; +pub const UDP6_STATS: u32 = 37u32; +pub const UDP_ROW: u32 = 17u32; +pub const UDP_STATS: u32 = 15u32; +pub const UDP_TABLE: u32 = 16u32; +pub const UDP_TABLE_BASIC: UDP_TABLE_CLASS = 0i32; +pub const UDP_TABLE_OWNER_MODULE: UDP_TABLE_CLASS = 2i32; +pub const UDP_TABLE_OWNER_PID: UDP_TABLE_CLASS = 1i32; +pub type DNS_SERVER_PROPERTY_TYPE = i32; +pub type GET_ADAPTERS_ADDRESSES_FLAGS = u32; +pub type GLOBAL_FILTER = i32; +pub type ICMP4_TYPE = i32; +pub type ICMP6_TYPE = i32; +pub type IF_ACCESS_TYPE = i32; +pub type INTERNAL_IF_OPER_STATUS = i32; +pub type MIB_IF_ENTRY_LEVEL = i32; +pub type MIB_IF_TABLE_LEVEL = i32; +pub type MIB_IPFORWARD_TYPE = i32; +pub type MIB_IPNET_TYPE = i32; +pub type MIB_IPSTATS_FORWARDING = i32; +pub type MIB_NOTIFICATION_TYPE = i32; +pub type MIB_TCP_STATE = i32; +pub type NET_ADDRESS_FORMAT = i32; +pub type PFADDRESSTYPE = i32; +pub type PFFORWARD_ACTION = i32; +pub type PFFRAMETYPE = i32; +pub type TCPIP_OWNER_MODULE_INFO_CLASS = i32; +pub type TCP_BOOLEAN_OPTIONAL = i32; +pub type TCP_CONNECTION_OFFLOAD_STATE = i32; +pub type TCP_ESTATS_TYPE = i32; +pub type TCP_RTO_ALGORITHM = i32; +pub type TCP_SOFT_ERROR = i32; +pub type TCP_TABLE_CLASS = i32; +pub type UDP_TABLE_CLASS = i32; +#[repr(C)] +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 + } +} +#[repr(C)] +pub struct DNS_DOH_SERVER_SETTINGS { + pub Template: ::windows_sys::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 + } +} +#[repr(C)] +pub struct DNS_INTERFACE_SETTINGS { + pub Version: u32, + pub Flags: u64, + pub Domain: ::windows_sys::core::PWSTR, + pub NameServer: ::windows_sys::core::PWSTR, + pub SearchList: ::windows_sys::core::PWSTR, + pub RegistrationEnabled: u32, + pub RegisterAdapterName: u32, + pub EnableLLMNR: u32, + pub QueryAdapterName: u32, + pub ProfileNameServer: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for DNS_INTERFACE_SETTINGS {} +impl ::core::clone::Clone for DNS_INTERFACE_SETTINGS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_INTERFACE_SETTINGS3 { + pub Version: u32, + pub Flags: u64, + pub Domain: ::windows_sys::core::PWSTR, + pub NameServer: ::windows_sys::core::PWSTR, + pub SearchList: ::windows_sys::core::PWSTR, + pub RegistrationEnabled: u32, + pub RegisterAdapterName: u32, + pub EnableLLMNR: u32, + pub QueryAdapterName: u32, + pub ProfileNameServer: ::windows_sys::core::PWSTR, + pub DisableUnconstrainedQueries: u32, + pub SupplementalSearchList: ::windows_sys::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 + } +} +#[repr(C)] +pub struct DNS_INTERFACE_SETTINGS4 { + pub Version: u32, + pub Flags: u64, + pub Domain: ::windows_sys::core::PWSTR, + pub NameServer: ::windows_sys::core::PWSTR, + pub SearchList: ::windows_sys::core::PWSTR, + pub RegistrationEnabled: u32, + pub RegisterAdapterName: u32, + pub EnableLLMNR: u32, + pub QueryAdapterName: u32, + pub ProfileNameServer: ::windows_sys::core::PWSTR, + pub DisableUnconstrainedQueries: u32, + pub SupplementalSearchList: ::windows_sys::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 + } +} +#[repr(C)] +pub struct DNS_INTERFACE_SETTINGS_EX { + pub SettingsV1: DNS_INTERFACE_SETTINGS, + pub DisableUnconstrainedQueries: u32, + pub SupplementalSearchList: ::windows_sys::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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +pub struct DNS_SETTINGS { + pub Version: u32, + pub Flags: u64, + pub Hostname: ::windows_sys::core::PWSTR, + pub Domain: ::windows_sys::core::PWSTR, + pub SearchList: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for DNS_SETTINGS {} +impl ::core::clone::Clone for DNS_SETTINGS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DNS_SETTINGS2 { + pub Version: u32, + pub Flags: u64, + pub Hostname: ::windows_sys::core::PWSTR, + pub Domain: ::windows_sys::core::PWSTR, + pub SearchList: ::windows_sys::core::PWSTR, + pub SettingFlags: u64, +} +impl ::core::marker::Copy for DNS_SETTINGS2 {} +impl ::core::clone::Clone for DNS_SETTINGS2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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 + } +} +pub type HIFTIMESTAMPCHANGE = isize; +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C, packed(1))] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_sys::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_sys::core::PWSTR, + pub Description: ::windows_sys::core::PWSTR, + pub FriendlyName: ::windows_sys::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_sys::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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_sys::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_sys::core::PWSTR, + pub Description: ::windows_sys::core::PWSTR, + pub FriendlyName: ::windows_sys::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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +pub struct IP_INTERFACE_NAME_INFO_W2KSP1 { + pub Index: u32, + pub MediaType: u32, + pub ConnectionType: u8, + pub AccessType: u8, + pub DeviceGuid: ::windows_sys::core::GUID, + pub InterfaceGuid: ::windows_sys::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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_sys::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_sys::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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct NET_ADDRESS_INFO { + pub Format: NET_ADDRESS_FORMAT, + pub Anonymous: NET_ADDRESS_INFO_0, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for NET_ADDRESS_INFO {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for NET_ADDRESS_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub union NET_ADDRESS_INFO_0 { + pub NamedAddress: NET_ADDRESS_INFO_0_0, + pub Ipv4Address: super::super::Networking::WinSock::SOCKADDR_IN, + pub Ipv6Address: super::super::Networking::WinSock::SOCKADDR_IN6, + pub IpAddress: super::super::Networking::WinSock::SOCKADDR, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for NET_ADDRESS_INFO_0 {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for NET_ADDRESS_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct NET_ADDRESS_INFO_0_0 { + pub Address: [u16; 256], + pub Port: [u16; 6], +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for NET_ADDRESS_INFO_0_0 {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for NET_ADDRESS_INFO_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +pub struct TCPIP_OWNER_MODULE_BASIC_INFO { + pub pModuleName: ::windows_sys::core::PWSTR, + pub pModulePath: ::windows_sys::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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +pub type PINTERFACE_TIMESTAMP_CONFIG_CHANGE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callercontext: *const ::core::ffi::c_void) -> ()>; +#[doc = "Required features: `\"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_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_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_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) -> ()>; +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_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) -> ()>; diff --git a/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Multicast/mod.rs b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Multicast/mod.rs new file mode 100644 index 0000000..a37546d --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Multicast/mod.rs @@ -0,0 +1,94 @@ +::windows_targets::link!("dhcpcsvc.dll" "system" fn McastApiCleanup() -> ()); +::windows_targets::link!("dhcpcsvc.dll" "system" fn McastApiStartup(version : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dhcpcsvc.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn McastEnumerateScopes(addrfamily : u16, requery : super::super::Foundation:: BOOL, pscopelist : *mut MCAST_SCOPE_ENTRY, pscopelen : *mut u32, pscopecount : *mut u32) -> u32); +::windows_targets::link!("dhcpcsvc.dll" "system" fn McastGenUID(prequestid : *mut MCAST_CLIENT_UID) -> u32); +::windows_targets::link!("dhcpcsvc.dll" "system" fn McastReleaseAddress(addrfamily : u16, prequestid : *mut MCAST_CLIENT_UID, preleaserequest : *mut MCAST_LEASE_REQUEST) -> u32); +::windows_targets::link!("dhcpcsvc.dll" "system" fn McastRenewAddress(addrfamily : u16, prequestid : *mut MCAST_CLIENT_UID, prenewrequest : *mut MCAST_LEASE_REQUEST, prenewresponse : *mut MCAST_LEASE_RESPONSE) -> u32); +::windows_targets::link!("dhcpcsvc.dll" "system" fn McastRequestAddress(addrfamily : u16, prequestid : *mut MCAST_CLIENT_UID, pscopectx : *mut MCAST_SCOPE_CTX, paddrrequest : *mut MCAST_LEASE_REQUEST, paddrresponse : *mut MCAST_LEASE_RESPONSE) -> u32); +pub const MCAST_API_CURRENT_VERSION: i32 = 1i32; +pub const MCAST_API_VERSION_0: i32 = 0i32; +pub const MCAST_API_VERSION_1: i32 = 1i32; +pub const MCAST_CLIENT_ID_LEN: u32 = 17u32; +#[repr(C)] +pub union IPNG_ADDRESS { + pub IpAddrV4: u32, + pub IpAddrV6: [u8; 16], +} +impl ::core::marker::Copy for IPNG_ADDRESS {} +impl ::core::clone::Clone for IPNG_ADDRESS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct MCAST_CLIENT_UID { + pub ClientUID: *mut u8, + pub ClientUIDLength: u32, +} +impl ::core::marker::Copy for MCAST_CLIENT_UID {} +impl ::core::clone::Clone for MCAST_CLIENT_UID { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct MCAST_LEASE_REQUEST { + pub LeaseStartTime: i32, + pub MaxLeaseStartTime: i32, + pub LeaseDuration: u32, + pub MinLeaseDuration: u32, + pub ServerAddress: IPNG_ADDRESS, + pub MinAddrCount: u16, + pub AddrCount: u16, + pub pAddrBuf: *mut u8, +} +impl ::core::marker::Copy for MCAST_LEASE_REQUEST {} +impl ::core::clone::Clone for MCAST_LEASE_REQUEST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct MCAST_LEASE_RESPONSE { + pub LeaseStartTime: i32, + pub LeaseEndTime: i32, + pub ServerAddress: IPNG_ADDRESS, + pub AddrCount: u16, + pub pAddrBuf: *mut u8, +} +impl ::core::marker::Copy for MCAST_LEASE_RESPONSE {} +impl ::core::clone::Clone for MCAST_LEASE_RESPONSE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct MCAST_SCOPE_CTX { + pub ScopeID: IPNG_ADDRESS, + pub Interface: IPNG_ADDRESS, + pub ServerID: IPNG_ADDRESS, +} +impl ::core::marker::Copy for MCAST_SCOPE_CTX {} +impl ::core::clone::Clone for MCAST_SCOPE_CTX { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct MCAST_SCOPE_ENTRY { + pub ScopeCtx: MCAST_SCOPE_CTX, + pub LastAddr: IPNG_ADDRESS, + pub TTL: u32, + pub ScopeDesc: super::super::Foundation::UNICODE_STRING, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for MCAST_SCOPE_ENTRY {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for MCAST_SCOPE_ENTRY { + fn clone(&self) -> Self { + *self + } +} diff --git a/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Ndis/mod.rs b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Ndis/mod.rs new file mode 100644 index 0000000..95ae02f --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Ndis/mod.rs @@ -0,0 +1,3997 @@ +pub const AUTHENTICATE: OFFLOAD_OPERATION_E = 1i32; +pub const CLOCK_NETWORK_DERIVED: u32 = 2u32; +pub const CLOCK_PRECISION: u32 = 4u32; +pub const DD_NDIS_DEVICE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("\\Device\\NDIS"); +pub const DOT11_RSN_KCK_LENGTH: u32 = 16u32; +pub const DOT11_RSN_KEK_LENGTH: u32 = 16u32; +pub const DOT11_RSN_MAX_CIPHER_KEY_LENGTH: u32 = 32u32; +pub const EAPOL_REQUEST_ID_WOL_FLAG_MUST_ENCRYPT: u32 = 1u32; +pub const ENCRYPT: OFFLOAD_OPERATION_E = 2i32; +pub const ETHERNET_LENGTH_OF_ADDRESS: u32 = 6u32; +pub const GUID_DEVINTERFACE_NET: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xcac88484_7515_4c03_82e6_71a87abac361); +pub const GUID_DEVINTERFACE_NETUIO: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x08336f60_0679_4c6c_85d2_ae7ced65fff7); +pub const GUID_NDIS_802_11_ADD_KEY: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xab8b5a62_1d51_49d8_ba5c_fa980be03a1d); +pub const GUID_NDIS_802_11_ADD_WEP: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4307bff0_2129_11d4_97eb_00c04f79c403); +pub const GUID_NDIS_802_11_ASSOCIATION_INFORMATION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa08d4dd0_960e_40bd_8cf6_c538af98f2e3); +pub const GUID_NDIS_802_11_AUTHENTICATION_MODE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x43920a24_2129_11d4_97eb_00c04f79c403); +pub const GUID_NDIS_802_11_BSSID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2504b6c2_1fa5_11d4_97eb_00c04f79c403); +pub const GUID_NDIS_802_11_BSSID_LIST: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x69526f9a_2062_11d4_97eb_00c04f79c403); +pub const GUID_NDIS_802_11_BSSID_LIST_SCAN: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0d9e01e1_ba70_11d4_b675_002048570337); +pub const GUID_NDIS_802_11_CONFIGURATION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4a4df982_2068_11d4_97eb_00c04f79c403); +pub const GUID_NDIS_802_11_DESIRED_RATES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x452ee08e_2536_11d4_97eb_00c04f79c403); +pub const GUID_NDIS_802_11_DISASSOCIATE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x43671f40_2129_11d4_97eb_00c04f79c403); +pub const GUID_NDIS_802_11_FRAGMENTATION_THRESHOLD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x69aaa7c4_2062_11d4_97eb_00c04f79c403); +pub const GUID_NDIS_802_11_INFRASTRUCTURE_MODE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x697d5a7e_2062_11d4_97eb_00c04f79c403); +pub const GUID_NDIS_802_11_MEDIA_STREAM_MODE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0a56af66_d84b_49eb_a28d_5282cbb6d0cd); +pub const GUID_NDIS_802_11_NETWORK_TYPES_SUPPORTED: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8531d6e6_2041_11d4_97eb_00c04f79c403); +pub const GUID_NDIS_802_11_NETWORK_TYPE_IN_USE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x857e2326_2041_11d4_97eb_00c04f79c403); +pub const GUID_NDIS_802_11_NUMBER_OF_ANTENNAS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x01779336_2064_11d4_97eb_00c04f79c403); +pub const GUID_NDIS_802_11_POWER_MODE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x85be837c_2041_11d4_97eb_00c04f79c403); +pub const GUID_NDIS_802_11_PRIVACY_FILTER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6733c4e9_4792_11d4_97f1_00c04f79c403); +pub const GUID_NDIS_802_11_RELOAD_DEFAULTS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x748b14e8_32ee_4425_b91b_c9848c58b55a); +pub const GUID_NDIS_802_11_REMOVE_KEY: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x73cb28e9_3188_42d5_b553_b21237e6088c); +pub const GUID_NDIS_802_11_REMOVE_WEP: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x433c345c_2129_11d4_97eb_00c04f79c403); +pub const GUID_NDIS_802_11_RSSI: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1507db16_2053_11d4_97eb_00c04f79c403); +pub const GUID_NDIS_802_11_RSSI_TRIGGER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x155689b8_2053_11d4_97eb_00c04f79c403); +pub const GUID_NDIS_802_11_RTS_THRESHOLD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0134d07e_2064_11d4_97eb_00c04f79c403); +pub const GUID_NDIS_802_11_RX_ANTENNA_SELECTED: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x01ac07a2_2064_11d4_97eb_00c04f79c403); +pub const GUID_NDIS_802_11_SSID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7d2a90ea_2041_11d4_97eb_00c04f79c403); +pub const GUID_NDIS_802_11_STATISTICS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x42bb73b0_2129_11d4_97eb_00c04f79c403); +pub const GUID_NDIS_802_11_SUPPORTED_RATES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x49db8722_2068_11d4_97eb_00c04f79c403); +pub const GUID_NDIS_802_11_TEST: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4b9ca16a_6a60_4e9d_920c_6335953fa0b5); +pub const GUID_NDIS_802_11_TX_ANTENNA_SELECTED: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x01dbb74a_2064_11d4_97eb_00c04f79c403); +pub const GUID_NDIS_802_11_TX_POWER_LEVEL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x11e6ba76_2053_11d4_97eb_00c04f79c403); +pub const GUID_NDIS_802_11_WEP_STATUS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb027a21f_3cfa_4125_800b_3f7a18fddcdc); +pub const GUID_NDIS_802_3_CURRENT_ADDRESS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x44795700_a61b_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_802_3_MAC_OPTIONS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x44795703_a61b_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_802_3_MAXIMUM_LIST_SIZE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x44795702_a61b_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_802_3_MULTICAST_LIST: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x44795701_a61b_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_802_3_PERMANENT_ADDRESS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x447956ff_a61b_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_802_3_RCV_ERROR_ALIGNMENT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x44795704_a61b_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_802_3_XMIT_MORE_COLLISIONS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x44795706_a61b_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_802_3_XMIT_ONE_COLLISION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x44795705_a61b_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_802_5_CURRENT_ADDRESS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x44795708_a61b_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_802_5_CURRENT_FUNCTIONAL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x44795709_a61b_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_802_5_CURRENT_GROUP: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4479570a_a61b_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_802_5_CURRENT_RING_STATE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xacf14032_a61c_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_802_5_CURRENT_RING_STATUS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x890a36ec_a61c_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_802_5_LAST_OPEN_STATUS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4479570b_a61b_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_802_5_LINE_ERRORS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xacf14033_a61c_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_802_5_LOST_FRAMES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xacf14034_a61c_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_802_5_PERMANENT_ADDRESS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x44795707_a61b_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_ENUMERATE_ADAPTER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x981f2d7f_b1f3_11d0_8dd7_00c04fc3358c); +pub const GUID_NDIS_ENUMERATE_ADAPTERS_EX: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x16716917_4306_4be4_9b5a_3809ae44b125); +pub const GUID_NDIS_ENUMERATE_VC: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x981f2d82_b1f3_11d0_8dd7_00c04fc3358c); +pub const GUID_NDIS_GEN_CO_DRIVER_VERSION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x791ad198_e35c_11d0_9692_00c04fc3358c); +pub const GUID_NDIS_GEN_CO_HARDWARE_STATUS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x791ad192_e35c_11d0_9692_00c04fc3358c); +pub const GUID_NDIS_GEN_CO_LINK_SPEED: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x791ad195_e35c_11d0_9692_00c04fc3358c); +pub const GUID_NDIS_GEN_CO_MAC_OPTIONS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x791ad19a_e35c_11d0_9692_00c04fc3358c); +pub const GUID_NDIS_GEN_CO_MEDIA_CONNECT_STATUS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x791ad19b_e35c_11d0_9692_00c04fc3358c); +pub const GUID_NDIS_GEN_CO_MEDIA_IN_USE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x791ad194_e35c_11d0_9692_00c04fc3358c); +pub const GUID_NDIS_GEN_CO_MEDIA_SUPPORTED: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x791ad193_e35c_11d0_9692_00c04fc3358c); +pub const GUID_NDIS_GEN_CO_MINIMUM_LINK_SPEED: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x791ad19d_e35c_11d0_9692_00c04fc3358c); +pub const GUID_NDIS_GEN_CO_RCV_PDUS_ERROR: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0a214808_e35f_11d0_9692_00c04fc3358c); +pub const GUID_NDIS_GEN_CO_RCV_PDUS_NO_BUFFER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0a214809_e35f_11d0_9692_00c04fc3358c); +pub const GUID_NDIS_GEN_CO_RCV_PDUS_OK: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0a214806_e35f_11d0_9692_00c04fc3358c); +pub const GUID_NDIS_GEN_CO_VENDOR_DESCRIPTION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x791ad197_e35c_11d0_9692_00c04fc3358c); +pub const GUID_NDIS_GEN_CO_VENDOR_DRIVER_VERSION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x791ad19c_e35c_11d0_9692_00c04fc3358c); +pub const GUID_NDIS_GEN_CO_VENDOR_ID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x791ad196_e35c_11d0_9692_00c04fc3358c); +pub const GUID_NDIS_GEN_CO_XMIT_PDUS_ERROR: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0a214807_e35f_11d0_9692_00c04fc3358c); +pub const GUID_NDIS_GEN_CO_XMIT_PDUS_OK: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0a214805_e35f_11d0_9692_00c04fc3358c); +pub const GUID_NDIS_GEN_CURRENT_LOOKAHEAD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5ec10361_a61a_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_GEN_CURRENT_PACKET_FILTER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5ec10360_a61a_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_GEN_DRIVER_VERSION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5ec10362_a61a_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_GEN_ENUMERATE_PORTS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf1d6abe8_15e4_4407_81b7_6b830c777cd9); +pub const GUID_NDIS_GEN_HARDWARE_STATUS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5ec10354_a61a_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_GEN_INTERRUPT_MODERATION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd9c8eea5_f16e_467c_84d5_6345a22ce213); +pub const GUID_NDIS_GEN_INTERRUPT_MODERATION_PARAMETERS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd789adfa_9c56_433b_ad01_7574f3cedbe9); +pub const GUID_NDIS_GEN_LINK_PARAMETERS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8c7d3579_252b_4614_82c5_a650daa15049); +pub const GUID_NDIS_GEN_LINK_SPEED: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5ec10359_a61a_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_GEN_LINK_STATE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xba1f4c14_a945_4762_b916_0b5515b6f43a); +pub const GUID_NDIS_GEN_MAC_OPTIONS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5ec10365_a61a_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_GEN_MAXIMUM_FRAME_SIZE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5ec10358_a61a_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_GEN_MAXIMUM_LOOKAHEAD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5ec10357_a61a_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_GEN_MAXIMUM_SEND_PACKETS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5ec10367_a61a_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_GEN_MAXIMUM_TOTAL_SIZE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5ec10363_a61a_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_GEN_MEDIA_CONNECT_STATUS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5ec10366_a61a_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_GEN_MEDIA_IN_USE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5ec10356_a61a_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_GEN_MEDIA_SUPPORTED: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5ec10355_a61a_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_GEN_PCI_DEVICE_CUSTOM_PROPERTIES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xaa39f5ab_e260_4d01_82b0_b737c880ea05); +pub const GUID_NDIS_GEN_PHYSICAL_MEDIUM: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x418ca16d_3937_4208_940a_ec6196278085); +pub const GUID_NDIS_GEN_PHYSICAL_MEDIUM_EX: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x899e7782_035b_43f9_8bb6_2b58971612e5); +pub const GUID_NDIS_GEN_PORT_AUTHENTICATION_PARAMETERS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xaab6ac31_86fb_48fb_8b48_63db235ace16); +pub const GUID_NDIS_GEN_PORT_STATE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6fbf2a5f_8b8f_4920_8143_e6c460f52524); +pub const GUID_NDIS_GEN_RCV_ERROR: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x447956fd_a61b_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_GEN_RCV_NO_BUFFER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x447956fe_a61b_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_GEN_RCV_OK: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x447956fb_a61b_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_GEN_RECEIVE_BLOCK_SIZE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5ec1035d_a61a_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_GEN_RECEIVE_BUFFER_SPACE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5ec1035b_a61a_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_GEN_STATISTICS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x368c45b5_c129_43c1_939e_7edc2d7fe621); +pub const GUID_NDIS_GEN_TRANSMIT_BLOCK_SIZE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5ec1035c_a61a_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_GEN_TRANSMIT_BUFFER_SPACE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5ec1035a_a61a_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_GEN_VENDOR_DESCRIPTION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5ec1035f_a61a_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_GEN_VENDOR_DRIVER_VERSION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x447956f9_a61b_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_GEN_VENDOR_ID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5ec1035e_a61a_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_GEN_VLAN_ID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x765dc702_c5e8_4b67_843b_3f5a4ff2648b); +pub const GUID_NDIS_GEN_XMIT_ERROR: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x447956fc_a61b_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_GEN_XMIT_OK: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x447956fa_a61b_11d0_8dd4_00c04fc3358c); +pub const GUID_NDIS_HD_SPLIT_CURRENT_CONFIG: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x81d1303c_ab00_4e49_80b1_5e6e0bf9be53); +pub const GUID_NDIS_HD_SPLIT_PARAMETERS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8c048bea_2913_4458_b68e_17f6c1e5c60e); +pub const GUID_NDIS_LAN_CLASS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xad498944_762f_11d0_8dcb_00c04fc3358c); +pub const GUID_NDIS_NDK_CAPABILITIES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7969ba4d_dd80_4bc7_b3e6_68043997e519); +pub const GUID_NDIS_NDK_STATE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x530c69c9_2f51_49de_a1af_088d54ffa474); +pub const GUID_NDIS_NOTIFY_ADAPTER_ARRIVAL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x981f2d81_b1f3_11d0_8dd7_00c04fc3358c); +pub const GUID_NDIS_NOTIFY_ADAPTER_REMOVAL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x981f2d80_b1f3_11d0_8dd7_00c04fc3358c); +pub const GUID_NDIS_NOTIFY_BIND: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5413531c_b1f3_11d0_8dd7_00c04fc3358c); +pub const GUID_NDIS_NOTIFY_DEVICE_POWER_OFF: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x81bc8189_b026_46ab_b964_f182e342934e); +pub const GUID_NDIS_NOTIFY_DEVICE_POWER_OFF_EX: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4159353c_5cd7_42ce_8fe4_a45a2380cc4f); +pub const GUID_NDIS_NOTIFY_DEVICE_POWER_ON: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5f81cfd0_f046_4342_af61_895acedaefd9); +pub const GUID_NDIS_NOTIFY_DEVICE_POWER_ON_EX: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2b440188_92ac_4f60_9b2d_20a30cbb6bbe); +pub const GUID_NDIS_NOTIFY_FILTER_ARRIVAL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0b6d3c89_5917_43ca_b578_d01a7967c41c); +pub const GUID_NDIS_NOTIFY_FILTER_REMOVAL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1f177cd9_5955_4721_9f6a_78ebdfaef889); +pub const GUID_NDIS_NOTIFY_UNBIND: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6e3ce1ec_b1f3_11d0_8dd7_00c04fc3358c); +pub const GUID_NDIS_NOTIFY_VC_ARRIVAL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x182f9e0c_b1f3_11d0_8dd7_00c04fc3358c); +pub const GUID_NDIS_NOTIFY_VC_REMOVAL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x981f2d79_b1f3_11d0_8dd7_00c04fc3358c); +pub const GUID_NDIS_PM_ACTIVE_CAPABILITIES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb2cf76e3_b3ae_4394_a01f_338c9870e939); +pub const GUID_NDIS_PM_ADMIN_CONFIG: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1528d111_708a_4ca4_9215_c05771161cda); +pub const GUID_NDIS_RECEIVE_FILTER_ENUM_FILTERS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x3f2c141d_83bc_11dd_94b8_001d09162bc3); +pub const GUID_NDIS_RECEIVE_FILTER_ENUM_QUEUES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x3f2c141b_83bc_11dd_94b8_001d09162bc3); +pub const GUID_NDIS_RECEIVE_FILTER_GLOBAL_PARAMETERS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x3f2c141a_83bc_11dd_94b8_001d09162bc3); +pub const GUID_NDIS_RECEIVE_FILTER_HARDWARE_CAPABILITIES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x3f2c1419_83bc_11dd_94b8_001d09162bc3); +pub const GUID_NDIS_RECEIVE_FILTER_PARAMETERS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x3f2c141e_83bc_11dd_94b8_001d09162bc3); +pub const GUID_NDIS_RECEIVE_FILTER_QUEUE_PARAMETERS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x3f2c141c_83bc_11dd_94b8_001d09162bc3); +pub const GUID_NDIS_RECEIVE_SCALE_CAPABILITIES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x26c28774_4252_48fe_a610_a58a398c0eb1); +pub const GUID_NDIS_RSS_ENABLED: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9565cd55_3402_4e32_a5b6_2f143f2f2c30); +pub const GUID_NDIS_STATUS_DOT11_ASSOCIATION_COMPLETION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x458bbea7_45a4_4ae2_b176_e51f96fc0568); +pub const GUID_NDIS_STATUS_DOT11_ASSOCIATION_START: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x3927843b_6980_4b48_b15b_4de50977ac40); +pub const GUID_NDIS_STATUS_DOT11_CONNECTION_COMPLETION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x96efd9c9_7f1b_4a89_bc04_3e9e271765f1); +pub const GUID_NDIS_STATUS_DOT11_CONNECTION_START: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7b74299d_998f_4454_ad08_c5af28576d1b); +pub const GUID_NDIS_STATUS_DOT11_DISASSOCIATION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x3fbeb6fc_0fe2_43fd_b2ad_bd99b5f93e13); +pub const GUID_NDIS_STATUS_DOT11_LINK_QUALITY: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa3285184_ea99_48ed_825e_a426b11c2754); +pub const GUID_NDIS_STATUS_DOT11_MPDU_MAX_LENGTH_CHANGED: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1d6560ec_8e48_4a3e_9fd5_a01b698db6c5); +pub const GUID_NDIS_STATUS_DOT11_PHY_STATE_CHANGED: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xdeb45316_71b5_4736_bdef_0a9e9f4e62dc); +pub const GUID_NDIS_STATUS_DOT11_PMKID_CANDIDATE_LIST: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x26d8b8f6_db82_49eb_8bf3_4c130ef06950); +pub const GUID_NDIS_STATUS_DOT11_ROAMING_COMPLETION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xdd9d47d1_282b_41e4_b924_66368817fcd3); +pub const GUID_NDIS_STATUS_DOT11_ROAMING_START: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb2412d0d_26c8_4f4e_93df_f7b705a0b433); +pub const GUID_NDIS_STATUS_DOT11_SCAN_CONFIRM: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8500591e_a0c7_4efb_9342_b674b002cbe6); +pub const GUID_NDIS_STATUS_DOT11_TKIPMIC_FAILURE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x442c2ae4_9bc5_4b90_a889_455ef220f4ee); +pub const GUID_NDIS_STATUS_EXTERNAL_CONNECTIVITY_CHANGE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xfd306974_c420_4433_b0fe_4cf6a613f59f); +pub const GUID_NDIS_STATUS_HD_SPLIT_CURRENT_CONFIG: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6c744b0e_ee9c_4205_90a2_015f6d65f403); +pub const GUID_NDIS_STATUS_LINK_SPEED_CHANGE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x981f2d85_b1f3_11d0_8dd7_00c04fc3358c); +pub const GUID_NDIS_STATUS_LINK_STATE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x64c6f797_878c_4311_9246_65dba89c3a61); +pub const GUID_NDIS_STATUS_MEDIA_CONNECT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x981f2d7d_b1f3_11d0_8dd7_00c04fc3358c); +pub const GUID_NDIS_STATUS_MEDIA_DISCONNECT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x981f2d7e_b1f3_11d0_8dd7_00c04fc3358c); +pub const GUID_NDIS_STATUS_MEDIA_SPECIFIC_INDICATION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x981f2d84_b1f3_11d0_8dd7_00c04fc3358c); +pub const GUID_NDIS_STATUS_NETWORK_CHANGE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xca8a56f9_ce81_40e6_a70f_a067a476e9e9); +pub const GUID_NDIS_STATUS_OPER_STATUS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf917b663_845e_4d3d_b6d4_15eb27af81c5); +pub const GUID_NDIS_STATUS_PACKET_FILTER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd47c5407_2e75_46dd_8146_1d7ed2d6ab1d); +pub const GUID_NDIS_STATUS_PM_OFFLOAD_REJECTED: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xadd1d481_711e_4d1a_92ca_a62db9329712); +pub const GUID_NDIS_STATUS_PM_WAKE_REASON: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0933fd58_ca62_438f_83da_dfc1cccb8145); +pub const GUID_NDIS_STATUS_PM_WOL_PATTERN_REJECTED: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf72cf68e_18d4_4d63_9a19_e69b13916b1a); +pub const GUID_NDIS_STATUS_PORT_STATE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1dac0dfe_43e5_44b7_b759_7bf46de32e81); +pub const GUID_NDIS_STATUS_RESET_END: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x981f2d77_b1f3_11d0_8dd7_00c04fc3358c); +pub const GUID_NDIS_STATUS_RESET_START: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x981f2d76_b1f3_11d0_8dd7_00c04fc3358c); +pub const GUID_NDIS_STATUS_TASK_OFFLOAD_CURRENT_CONFIG: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x45049fc6_54d8_40c8_9c3d_b011c4e715bc); +pub const GUID_NDIS_STATUS_TASK_OFFLOAD_HARDWARE_CAPABILITIES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb6b8158b_217c_4b2a_be86_6a04beea65b8); +pub const GUID_NDIS_STATUS_TCP_CONNECTION_OFFLOAD_CURRENT_CONFIG: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf8edaeff_24e4_4ae6_a413_0b27f76b243d); +pub const GUID_NDIS_STATUS_TCP_CONNECTION_OFFLOAD_HARDWARE_CAPABILITIES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x391969b6_402c_43bf_8922_39eae0da1bb5); +pub const GUID_NDIS_SWITCH_MICROSOFT_VENDOR_ID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x202547fe_1c9c_40b9_bba1_08ada1f98b3c); +pub const GUID_NDIS_SWITCH_PORT_PROPERTY_PROFILE_ID_DEFAULT_EXTERNAL_NIC: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0b347846_0a0c_470a_9b7a_0d965850698f); +pub const GUID_NDIS_TCP_CONNECTION_OFFLOAD_CURRENT_CONFIG: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2ee6aef1_0851_458b_bf0d_792343d1cde1); +pub const GUID_NDIS_TCP_CONNECTION_OFFLOAD_HARDWARE_CAPABILITIES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8ce71f2c_d63a_4390_a487_18fa47262ceb); +pub const GUID_NDIS_TCP_OFFLOAD_CURRENT_CONFIG: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x68542fed_5c74_461e_8934_91c6f9c60960); +pub const GUID_NDIS_TCP_OFFLOAD_HARDWARE_CAPABILITIES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xcd5f1102_590f_4ada_ab65_5b31b1dc0172); +pub const GUID_NDIS_TCP_OFFLOAD_PARAMETERS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8ead9a22_7f69_4bc6_949a_c8187b074e61); +pub const GUID_NDIS_TCP_RSC_STATISTICS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x83104445_9b5d_4ee6_a2a5_2bd3fb3c36af); +pub const GUID_NDIS_WAKE_ON_MAGIC_PACKET_ONLY: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa14f1c97_8839_4f8a_9996_a28996ebbf1d); +pub const GUID_NIC_SWITCH_CURRENT_CAPABILITIES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe76fdaf3_0be7_4d95_87e9_5aead4b590e9); +pub const GUID_NIC_SWITCH_HARDWARE_CAPABILITIES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x37cab40c_d1e8_4301_8c1d_58465e0c4c0f); +pub const GUID_PM_ADD_PROTOCOL_OFFLOAD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0c06c112_0d93_439b_9e6d_26be130c9784); +pub const GUID_PM_ADD_WOL_PATTERN: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6fc83ba7_52bc_4faa_ac51_7d2ffe63ba90); +pub const GUID_PM_CURRENT_CAPABILITIES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x3abdbd14_d44a_4a3f_9a63_a0a42a51b131); +pub const GUID_PM_GET_PROTOCOL_OFFLOAD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa6435cd9_149f_498e_951b_2d94bea3e3a3); +pub const GUID_PM_HARDWARE_CAPABILITIES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xece5360d_3291_4a6e_8044_00511fed27ee); +pub const GUID_PM_PARAMETERS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x560245d2_e251_409c_a280_311935be3b28); +pub const GUID_PM_PROTOCOL_OFFLOAD_LIST: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x736ec5ab_ca8f_4043_bb58_da402a48d9cc); +pub const GUID_PM_REMOVE_PROTOCOL_OFFLOAD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xdecd7be2_a6b0_43ca_ae45_d000d20e5265); +pub const GUID_PM_REMOVE_WOL_PATTERN: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa037a915_c6ca_4322_b3e3_ef754ec498dc); +pub const GUID_PM_WOL_PATTERN_LIST: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4022be37_7ee2_47be_a5a5_050fc79afc75); +pub const GUID_RECEIVE_FILTER_CURRENT_CAPABILITIES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4054e80f_2bc1_4ccc_b033_4abc0c4a1e8c); +pub const GUID_STATUS_MEDIA_SPECIFIC_INDICATION_EX: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xaaacfca7_954a_4632_a16e_a8a63793a9e5); +pub const IF_ADMINISTRATIVE_DEMANDDIAL: IF_ADMINISTRATIVE_STATE = 2i32; +pub const IF_ADMINISTRATIVE_DISABLED: IF_ADMINISTRATIVE_STATE = 0i32; +pub const IF_ADMINISTRATIVE_ENABLED: IF_ADMINISTRATIVE_STATE = 1i32; +pub const IF_MAX_PHYS_ADDRESS_LENGTH: u32 = 32u32; +pub const IF_MAX_STRING_SIZE: u32 = 256u32; +pub const IOCTL_NDIS_RESERVED5: u32 = 1507380u32; +pub const IOCTL_NDIS_RESERVED6: u32 = 1540152u32; +pub const IPSEC_OFFLOAD_V2_AND_TCP_CHECKSUM_COEXISTENCE: u32 = 2u32; +pub const IPSEC_OFFLOAD_V2_AND_UDP_CHECKSUM_COEXISTENCE: u32 = 4u32; +pub const IPSEC_OFFLOAD_V2_AUTHENTICATION_AES_GCM_128: u32 = 8u32; +pub const IPSEC_OFFLOAD_V2_AUTHENTICATION_AES_GCM_192: u32 = 16u32; +pub const IPSEC_OFFLOAD_V2_AUTHENTICATION_AES_GCM_256: u32 = 32u32; +pub const IPSEC_OFFLOAD_V2_AUTHENTICATION_MD5: u32 = 1u32; +pub const IPSEC_OFFLOAD_V2_AUTHENTICATION_SHA_1: u32 = 2u32; +pub const IPSEC_OFFLOAD_V2_AUTHENTICATION_SHA_256: u32 = 4u32; +pub const IPSEC_OFFLOAD_V2_ENCRYPTION_3_DES_CBC: u32 = 4u32; +pub const IPSEC_OFFLOAD_V2_ENCRYPTION_AES_CBC_128: u32 = 64u32; +pub const IPSEC_OFFLOAD_V2_ENCRYPTION_AES_CBC_192: u32 = 128u32; +pub const IPSEC_OFFLOAD_V2_ENCRYPTION_AES_CBC_256: u32 = 256u32; +pub const IPSEC_OFFLOAD_V2_ENCRYPTION_AES_GCM_128: u32 = 8u32; +pub const IPSEC_OFFLOAD_V2_ENCRYPTION_AES_GCM_192: u32 = 16u32; +pub const IPSEC_OFFLOAD_V2_ENCRYPTION_AES_GCM_256: u32 = 32u32; +pub const IPSEC_OFFLOAD_V2_ENCRYPTION_DES_CBC: u32 = 2u32; +pub const IPSEC_OFFLOAD_V2_ENCRYPTION_NONE: u32 = 1u32; +pub const IfOperStatusDormant: IF_OPER_STATUS = 5i32; +pub const IfOperStatusDown: IF_OPER_STATUS = 2i32; +pub const IfOperStatusLowerLayerDown: IF_OPER_STATUS = 7i32; +pub const IfOperStatusNotPresent: IF_OPER_STATUS = 6i32; +pub const IfOperStatusTesting: IF_OPER_STATUS = 3i32; +pub const IfOperStatusUnknown: IF_OPER_STATUS = 4i32; +pub const IfOperStatusUp: IF_OPER_STATUS = 1i32; +pub const MAXIMUM_IP_OPER_STATUS_ADDRESS_FAMILIES_SUPPORTED: u32 = 32u32; +pub const MediaConnectStateConnected: NET_IF_MEDIA_CONNECT_STATE = 1i32; +pub const MediaConnectStateDisconnected: NET_IF_MEDIA_CONNECT_STATE = 2i32; +pub const MediaConnectStateUnknown: NET_IF_MEDIA_CONNECT_STATE = 0i32; +pub const MediaDuplexStateFull: NET_IF_MEDIA_DUPLEX_STATE = 2i32; +pub const MediaDuplexStateHalf: NET_IF_MEDIA_DUPLEX_STATE = 1i32; +pub const MediaDuplexStateUnknown: NET_IF_MEDIA_DUPLEX_STATE = 0i32; +pub const NDIS_802_11_AI_REQFI_CAPABILITIES: u32 = 1u32; +pub const NDIS_802_11_AI_REQFI_CURRENTAPADDRESS: u32 = 4u32; +pub const NDIS_802_11_AI_REQFI_LISTENINTERVAL: u32 = 2u32; +pub const NDIS_802_11_AI_RESFI_ASSOCIATIONID: u32 = 4u32; +pub const NDIS_802_11_AI_RESFI_CAPABILITIES: u32 = 1u32; +pub const NDIS_802_11_AI_RESFI_STATUSCODE: u32 = 2u32; +pub const NDIS_802_11_AUTH_REQUEST_AUTH_FIELDS: u32 = 15u32; +pub const NDIS_802_11_AUTH_REQUEST_GROUP_ERROR: u32 = 14u32; +pub const NDIS_802_11_AUTH_REQUEST_KEYUPDATE: u32 = 2u32; +pub const NDIS_802_11_AUTH_REQUEST_PAIRWISE_ERROR: u32 = 6u32; +pub const NDIS_802_11_AUTH_REQUEST_REAUTH: u32 = 1u32; +pub const NDIS_802_11_LENGTH_RATES: u32 = 8u32; +pub const NDIS_802_11_LENGTH_RATES_EX: u32 = 16u32; +pub const NDIS_802_11_LENGTH_SSID: u32 = 32u32; +pub const NDIS_802_11_PMKID_CANDIDATE_PREAUTH_ENABLED: u32 = 1u32; +pub const NDIS_802_3_MAC_OPTION_PRIORITY: u32 = 1u32; +pub const NDIS_CO_MAC_OPTION_DYNAMIC_LINK_SPEED: u32 = 1u32; +pub const NDIS_DEFAULT_RECEIVE_FILTER_ID: u32 = 0u32; +pub const NDIS_DEFAULT_RECEIVE_QUEUE_GROUP_ID: u32 = 0u32; +pub const NDIS_DEFAULT_RECEIVE_QUEUE_ID: u32 = 0u32; +pub const NDIS_DEFAULT_SWITCH_ID: u32 = 0u32; +pub const NDIS_DEFAULT_VPORT_ID: u32 = 0u32; +pub const NDIS_DEVICE_TYPE_ENDPOINT: u32 = 1u32; +pub const NDIS_DEVICE_WAKE_ON_MAGIC_PACKET_ENABLE: u32 = 4u32; +pub const NDIS_DEVICE_WAKE_ON_PATTERN_MATCH_ENABLE: u32 = 2u32; +pub const NDIS_DEVICE_WAKE_UP_ENABLE: u32 = 1u32; +pub const NDIS_ENCAPSULATED_PACKET_TASK_OFFLOAD_INNER_IPV4: u32 = 1u32; +pub const NDIS_ENCAPSULATED_PACKET_TASK_OFFLOAD_INNER_IPV6: u32 = 4u32; +pub const NDIS_ENCAPSULATED_PACKET_TASK_OFFLOAD_NOT_SUPPORTED: u32 = 0u32; +pub const NDIS_ENCAPSULATED_PACKET_TASK_OFFLOAD_OUTER_IPV4: u32 = 2u32; +pub const NDIS_ENCAPSULATED_PACKET_TASK_OFFLOAD_OUTER_IPV6: u32 = 8u32; +pub const NDIS_ENCAPSULATION_IEEE_802_3: u32 = 2u32; +pub const NDIS_ENCAPSULATION_IEEE_802_3_P_AND_Q: u32 = 4u32; +pub const NDIS_ENCAPSULATION_IEEE_802_3_P_AND_Q_IN_OOB: u32 = 8u32; +pub const NDIS_ENCAPSULATION_IEEE_LLC_SNAP_ROUTED: u32 = 16u32; +pub const NDIS_ENCAPSULATION_NOT_SUPPORTED: u32 = 0u32; +pub const NDIS_ENCAPSULATION_NULL: u32 = 1u32; +pub const NDIS_ENCAPSULATION_TYPE_GRE_MAC: u32 = 1u32; +pub const NDIS_ENCAPSULATION_TYPE_VXLAN: u32 = 2u32; +pub const NDIS_ETH_TYPE_802_1Q: u32 = 33024u32; +pub const NDIS_ETH_TYPE_802_1X: u32 = 34958u32; +pub const NDIS_ETH_TYPE_ARP: u32 = 2054u32; +pub const NDIS_ETH_TYPE_IPV4: u32 = 2048u32; +pub const NDIS_ETH_TYPE_IPV6: u32 = 34525u32; +pub const NDIS_ETH_TYPE_SLOW_PROTOCOL: u32 = 34825u32; +pub const NDIS_GFP_ENCAPSULATION_TYPE_IP_IN_GRE: u32 = 4u32; +pub const NDIS_GFP_ENCAPSULATION_TYPE_IP_IN_IP: u32 = 2u32; +pub const NDIS_GFP_ENCAPSULATION_TYPE_NOT_ENCAPSULATED: u32 = 1u32; +pub const NDIS_GFP_ENCAPSULATION_TYPE_NVGRE: u32 = 8u32; +pub const NDIS_GFP_ENCAPSULATION_TYPE_VXLAN: u32 = 16u32; +pub const NDIS_GFP_EXACT_MATCH_PROFILE_RDMA_FLOW: u32 = 1u32; +pub const NDIS_GFP_EXACT_MATCH_PROFILE_REVISION_1: u32 = 1u32; +pub const NDIS_GFP_HEADER_GROUP_EXACT_MATCH_IS_TTL_ONE: u32 = 1u32; +pub const NDIS_GFP_HEADER_GROUP_EXACT_MATCH_PROFILE_IS_TTL_ONE: u32 = 1u32; +pub const NDIS_GFP_HEADER_GROUP_EXACT_MATCH_PROFILE_REVISION_1: u32 = 1u32; +pub const NDIS_GFP_HEADER_GROUP_EXACT_MATCH_REVISION_1: u32 = 1u32; +pub const NDIS_GFP_HEADER_GROUP_WILDCARD_MATCH_IS_TTL_ONE: u32 = 1u32; +pub const NDIS_GFP_HEADER_GROUP_WILDCARD_MATCH_PROFILE_IS_TTL_ONE: u32 = 1u32; +pub const NDIS_GFP_HEADER_GROUP_WILDCARD_MATCH_PROFILE_REVISION_1: u32 = 1u32; +pub const NDIS_GFP_HEADER_GROUP_WILDCARD_MATCH_REVISION_1: u32 = 1u32; +pub const NDIS_GFP_HEADER_PRESENT_ESP: u32 = 2048u32; +pub const NDIS_GFP_HEADER_PRESENT_ETHERNET: u32 = 1u32; +pub const NDIS_GFP_HEADER_PRESENT_ICMP: u32 = 32u32; +pub const NDIS_GFP_HEADER_PRESENT_IPV4: u32 = 2u32; +pub const NDIS_GFP_HEADER_PRESENT_IPV6: u32 = 4u32; +pub const NDIS_GFP_HEADER_PRESENT_IP_IN_GRE_ENCAP: u32 = 256u32; +pub const NDIS_GFP_HEADER_PRESENT_IP_IN_IP_ENCAP: u32 = 128u32; +pub const NDIS_GFP_HEADER_PRESENT_NO_ENCAP: u32 = 64u32; +pub const NDIS_GFP_HEADER_PRESENT_NVGRE_ENCAP: u32 = 512u32; +pub const NDIS_GFP_HEADER_PRESENT_TCP: u32 = 8u32; +pub const NDIS_GFP_HEADER_PRESENT_UDP: u32 = 16u32; +pub const NDIS_GFP_HEADER_PRESENT_VXLAN_ENCAP: u32 = 1024u32; +pub const NDIS_GFP_UNDEFINED_PROFILE_ID: u32 = 0u32; +pub const NDIS_GFP_WILDCARD_MATCH_PROFILE_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_COUNTER_INFO_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_COUNTER_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_COUNTER_PARAMETERS_CLIENT_SPECIFIED_ADDRESS: u32 = 1u32; +pub const NDIS_GFT_COUNTER_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_COUNTER_VALUE_ARRAY_GET_VALUES: u32 = 2u32; +pub const NDIS_GFT_COUNTER_VALUE_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_COUNTER_VALUE_ARRAY_UPDATE_MEMORY_MAPPED_COUNTERS: u32 = 1u32; +pub const NDIS_GFT_CUSTOM_ACTION_LAST_ACTION: u32 = 1u32; +pub const NDIS_GFT_CUSTOM_ACTION_PROFILE_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_CUSTOM_ACTION_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_DELETE_PROFILE_ALL_PROFILES: u32 = 1u32; +pub const NDIS_GFT_DELETE_PROFILE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_DELETE_TABLE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_EMFE_ADD_IN_ACTIVATED_STATE: u32 = 1u32; +pub const NDIS_GFT_EMFE_ALL_VPORT_FLOW_ENTRIES: u32 = 33554432u32; +pub const NDIS_GFT_EMFE_COPY_AFTER_TCP_FIN_FLAG_SET: u32 = 2097152u32; +pub const NDIS_GFT_EMFE_COPY_AFTER_TCP_RST_FLAG_SET: u32 = 4194304u32; +pub const NDIS_GFT_EMFE_COPY_ALL_PACKETS: u32 = 65536u32; +pub const NDIS_GFT_EMFE_COPY_CONDITION_CHANGED: u32 = 16777216u32; +pub const NDIS_GFT_EMFE_COPY_FIRST_PACKET: u32 = 131072u32; +pub const NDIS_GFT_EMFE_COPY_WHEN_TCP_FLAG_SET: u32 = 262144u32; +pub const NDIS_GFT_EMFE_COUNTER_ALLOCATE: u32 = 1u32; +pub const NDIS_GFT_EMFE_COUNTER_CLIENT_SPECIFIED_ADDRESS: u32 = 4u32; +pub const NDIS_GFT_EMFE_COUNTER_MEMORY_MAPPED: u32 = 2u32; +pub const NDIS_GFT_EMFE_COUNTER_TRACK_TCP_FLOW: u32 = 8u32; +pub const NDIS_GFT_EMFE_CUSTOM_ACTION_PRESENT: u32 = 524288u32; +pub const NDIS_GFT_EMFE_MATCH_AND_ACTION_MUST_BE_SUPPORTED: u32 = 2u32; +pub const NDIS_GFT_EMFE_META_ACTION_BEFORE_HEADER_TRANSPOSITION: u32 = 1048576u32; +pub const NDIS_GFT_EMFE_RDMA_FLOW: u32 = 4u32; +pub const NDIS_GFT_EMFE_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT: u32 = 8192u32; +pub const NDIS_GFT_EMFE_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 32768u32; +pub const NDIS_GFT_EMFE_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT: u32 = 4096u32; +pub const NDIS_GFT_EMFE_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 16384u32; +pub const NDIS_GFT_EXACT_MATCH_FLOW_ENTRY_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_FLOW_ENTRY_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_FLOW_ENTRY_ID_ALL_NIC_SWITCH_FLOW_ENTRIES: u32 = 1u32; +pub const NDIS_GFT_FLOW_ENTRY_ID_ALL_TABLE_FLOW_ENTRIES: u32 = 2u32; +pub const NDIS_GFT_FLOW_ENTRY_ID_ALL_VPORT_FLOW_ENTRIES: u32 = 4u32; +pub const NDIS_GFT_FLOW_ENTRY_ID_ARRAY_COUNTER_VALUES: u32 = 65536u32; +pub const NDIS_GFT_FLOW_ENTRY_ID_ARRAY_DEFINED: u32 = 16u32; +pub const NDIS_GFT_FLOW_ENTRY_ID_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_FLOW_ENTRY_ID_RANGE_DEFINED: u32 = 8u32; +pub const NDIS_GFT_FLOW_ENTRY_INFO_ALL_FLOW_ENTRIES: u32 = 1u32; +pub const NDIS_GFT_FLOW_ENTRY_INFO_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_FREE_COUNTER_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_HEADER_GROUP_TRANSPOSITION_DECREMENT_TTL_IF_NOT_ONE: u32 = 1u32; +pub const NDIS_GFT_HEADER_GROUP_TRANSPOSITION_PROFILE_DECREMENT_TTL_IF_NOT_ONE: u32 = 1u32; +pub const NDIS_GFT_HEADER_GROUP_TRANSPOSITION_PROFILE_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_HEADER_GROUP_TRANSPOSITION_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_HEADER_TRANSPOSITION_PROFILE_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_HTP_COPY_ALL_PACKETS: u32 = 16u32; +pub const NDIS_GFT_HTP_COPY_FIRST_PACKET: u32 = 32u32; +pub const NDIS_GFT_HTP_COPY_WHEN_TCP_FLAG_SET: u32 = 64u32; +pub const NDIS_GFT_HTP_CUSTOM_ACTION_PRESENT: u32 = 128u32; +pub const NDIS_GFT_HTP_META_ACTION_BEFORE_HEADER_TRANSPOSITION: u32 = 256u32; +pub const NDIS_GFT_HTP_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT: u32 = 2u32; +pub const NDIS_GFT_HTP_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 8u32; +pub const NDIS_GFT_HTP_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT: u32 = 1u32; +pub const NDIS_GFT_HTP_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 4u32; +pub const NDIS_GFT_MAX_COUNTER_OBJECTS_PER_FLOW_ENTRY: u32 = 8u32; +pub const NDIS_GFT_OFFLOAD_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_OFFLOAD_CAPS_8021P_PRIORITY_MASK: u32 = 131072u32; +pub const NDIS_GFT_OFFLOAD_CAPS_ADD_FLOW_ENTRY_DEACTIVATED_PREFERRED: u32 = 1u32; +pub const NDIS_GFT_OFFLOAD_CAPS_ALLOW: u32 = 262144u32; +pub const NDIS_GFT_OFFLOAD_CAPS_CLIENT_SPECIFIED_MEMORY_MAPPED_COUNTERS: u32 = 16u32; +pub const NDIS_GFT_OFFLOAD_CAPS_COMBINED_COUNTER_AND_STATE: u32 = 256u32; +pub const NDIS_GFT_OFFLOAD_CAPS_COPY_ALL: u32 = 256u32; +pub const NDIS_GFT_OFFLOAD_CAPS_COPY_FIRST: u32 = 512u32; +pub const NDIS_GFT_OFFLOAD_CAPS_COPY_WHEN_TCP_FLAG_SET: u32 = 1024u32; +pub const NDIS_GFT_OFFLOAD_CAPS_DESIGNATED_EXCEPTION_VPORT: u32 = 32768u32; +pub const NDIS_GFT_OFFLOAD_CAPS_DROP: u32 = 524288u32; +pub const NDIS_GFT_OFFLOAD_CAPS_DSCP_MASK: u32 = 65536u32; +pub const NDIS_GFT_OFFLOAD_CAPS_EGRESS_AGGREGATE_COUNTERS: u32 = 64u32; +pub const NDIS_GFT_OFFLOAD_CAPS_EGRESS_EXACT_MATCH: u32 = 8u32; +pub const NDIS_GFT_OFFLOAD_CAPS_EGRESS_WILDCARD_MATCH: u32 = 2u32; +pub const NDIS_GFT_OFFLOAD_CAPS_EXT_VPORT_EGRESS_EXACT_MATCH: u32 = 128u32; +pub const NDIS_GFT_OFFLOAD_CAPS_EXT_VPORT_EGRESS_WILDCARD_MATCH: u32 = 32u32; +pub const NDIS_GFT_OFFLOAD_CAPS_EXT_VPORT_INGRESS_EXACT_MATCH: u32 = 64u32; +pub const NDIS_GFT_OFFLOAD_CAPS_EXT_VPORT_INGRESS_WILDCARD_MATCH: u32 = 16u32; +pub const NDIS_GFT_OFFLOAD_CAPS_IGNORE_ACTION_SUPPORTED: u32 = 8u32; +pub const NDIS_GFT_OFFLOAD_CAPS_INGRESS_AGGREGATE_COUNTERS: u32 = 32u32; +pub const NDIS_GFT_OFFLOAD_CAPS_INGRESS_EXACT_MATCH: u32 = 4u32; +pub const NDIS_GFT_OFFLOAD_CAPS_INGRESS_WILDCARD_MATCH: u32 = 1u32; +pub const NDIS_GFT_OFFLOAD_CAPS_MEMORY_MAPPED_COUNTERS: u32 = 1u32; +pub const NDIS_GFT_OFFLOAD_CAPS_MEMORY_MAPPED_PAKCET_AND_BYTE_COUNTERS: u32 = 2u32; +pub const NDIS_GFT_OFFLOAD_CAPS_META_ACTION_AFTER_HEADER_TRANSPOSITION: u32 = 8192u32; +pub const NDIS_GFT_OFFLOAD_CAPS_META_ACTION_BEFORE_HEADER_TRANSPOSITION: u32 = 4096u32; +pub const NDIS_GFT_OFFLOAD_CAPS_MODIFY: u32 = 4u32; +pub const NDIS_GFT_OFFLOAD_CAPS_PER_FLOW_ENTRY_COUNTERS: u32 = 4u32; +pub const NDIS_GFT_OFFLOAD_CAPS_PER_PACKET_COUNTER_UPDATE: u32 = 8u32; +pub const NDIS_GFT_OFFLOAD_CAPS_PER_VPORT_EXCEPTION_VPORT: u32 = 16384u32; +pub const NDIS_GFT_OFFLOAD_CAPS_POP: u32 = 1u32; +pub const NDIS_GFT_OFFLOAD_CAPS_PUSH: u32 = 2u32; +pub const NDIS_GFT_OFFLOAD_CAPS_RATE_LIMITING_QUEUE_SUPPORTED: u32 = 2u32; +pub const NDIS_GFT_OFFLOAD_CAPS_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT: u32 = 32u32; +pub const NDIS_GFT_OFFLOAD_CAPS_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 128u32; +pub const NDIS_GFT_OFFLOAD_CAPS_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT: u32 = 16u32; +pub const NDIS_GFT_OFFLOAD_CAPS_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 64u32; +pub const NDIS_GFT_OFFLOAD_CAPS_SAMPLE: u32 = 2048u32; +pub const NDIS_GFT_OFFLOAD_CAPS_TRACK_TCP_FLOW_STATE: u32 = 128u32; +pub const NDIS_GFT_OFFLOAD_PARAMETERS_CUSTOM_PROVIDER_RESERVED: u32 = 4278190080u32; +pub const NDIS_GFT_OFFLOAD_PARAMETERS_ENABLE_OFFLOAD: u32 = 1u32; +pub const NDIS_GFT_OFFLOAD_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_PROFILE_INFO_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_PROFILE_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_RESERVED_CUSTOM_ACTIONS: u32 = 256u32; +pub const NDIS_GFT_STATISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_TABLE_INCLUDE_EXTERNAL_VPPORT: u32 = 1u32; +pub const NDIS_GFT_TABLE_INFO_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_TABLE_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_TABLE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_UNDEFINED_COUNTER_ID: u32 = 0u32; +pub const NDIS_GFT_UNDEFINED_CUSTOM_ACTION: u32 = 0u32; +pub const NDIS_GFT_UNDEFINED_FLOW_ENTRY_ID: u32 = 0u32; +pub const NDIS_GFT_UNDEFINED_TABLE_ID: u32 = 0u32; +pub const NDIS_GFT_VPORT_DSCP_FLAGS_CHANGED: u32 = 67108864u32; +pub const NDIS_GFT_VPORT_DSCP_GUARD_ENABLE_RX: u32 = 1u32; +pub const NDIS_GFT_VPORT_DSCP_GUARD_ENABLE_TX: u32 = 2u32; +pub const NDIS_GFT_VPORT_DSCP_MASK_CHANGED: u32 = 8388608u32; +pub const NDIS_GFT_VPORT_DSCP_MASK_ENABLE_RX: u32 = 4u32; +pub const NDIS_GFT_VPORT_DSCP_MASK_ENABLE_TX: u32 = 8u32; +pub const NDIS_GFT_VPORT_ENABLE: u32 = 1u32; +pub const NDIS_GFT_VPORT_ENABLE_STATE_CHANGED: u32 = 1048576u32; +pub const NDIS_GFT_VPORT_EXCEPTION_VPORT_CHANGED: u32 = 2097152u32; +pub const NDIS_GFT_VPORT_MAX_DSCP_MASK_COUNTER_OBJECTS: u32 = 64u32; +pub const NDIS_GFT_VPORT_MAX_PRIORITY_MASK_COUNTER_OBJECTS: u32 = 8u32; +pub const NDIS_GFT_VPORT_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_VPORT_PARAMS_CHANGE_MASK: u32 = 4293918720u32; +pub const NDIS_GFT_VPORT_PARAMS_CUSTOM_PROVIDER_RESERVED: u32 = 1044480u32; +pub const NDIS_GFT_VPORT_PARSE_VXLAN: u32 = 2u32; +pub const NDIS_GFT_VPORT_PARSE_VXLAN_NOT_IN_SRC_PORT_RANGE: u32 = 4u32; +pub const NDIS_GFT_VPORT_PRIORITY_MASK_CHANGED: u32 = 16777216u32; +pub const NDIS_GFT_VPORT_SAMPLING_RATE_CHANGED: u32 = 4194304u32; +pub const NDIS_GFT_VPORT_VXLAN_SETTINGS_CHANGED: u32 = 33554432u32; +pub const NDIS_GFT_WCFE_ADD_IN_ACTIVATED_STATE: u32 = 1u32; +pub const NDIS_GFT_WCFE_COPY_ALL_PACKETS: u32 = 32u32; +pub const NDIS_GFT_WCFE_COUNTER_ALLOCATE: u32 = 1u32; +pub const NDIS_GFT_WCFE_COUNTER_CLIENT_SPECIFIED_ADDRESS: u32 = 4u32; +pub const NDIS_GFT_WCFE_COUNTER_MEMORY_MAPPED: u32 = 2u32; +pub const NDIS_GFT_WCFE_CUSTOM_ACTION_PRESENT: u32 = 64u32; +pub const NDIS_GFT_WCFE_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT: u32 = 4u32; +pub const NDIS_GFT_WCFE_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 16u32; +pub const NDIS_GFT_WCFE_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT: u32 = 2u32; +pub const NDIS_GFT_WCFE_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 8u32; +pub const NDIS_GFT_WILDCARD_MATCH_FLOW_ENTRY_REVISION_1: u32 = 1u32; +pub const NDIS_HARDWARE_CROSSTIMESTAMP_REVISION_1: u32 = 1u32; +pub const NDIS_HASH_FUNCTION_MASK: u32 = 255u32; +pub const NDIS_HASH_IPV4: u32 = 256u32; +pub const NDIS_HASH_IPV6: u32 = 1024u32; +pub const NDIS_HASH_IPV6_EX: u32 = 2048u32; +pub const NDIS_HASH_TCP_IPV4: u32 = 512u32; +pub const NDIS_HASH_TCP_IPV6: u32 = 4096u32; +pub const NDIS_HASH_TCP_IPV6_EX: u32 = 8192u32; +pub const NDIS_HASH_TYPE_MASK: u32 = 16776960u32; +pub const NDIS_HASH_UDP_IPV4: u32 = 16384u32; +pub const NDIS_HASH_UDP_IPV6: u32 = 32768u32; +pub const NDIS_HASH_UDP_IPV6_EX: u32 = 65536u32; +pub const NDIS_HD_SPLIT_CAPS_SUPPORTS_HEADER_DATA_SPLIT: u32 = 1u32; +pub const NDIS_HD_SPLIT_CAPS_SUPPORTS_IPV4_OPTIONS: u32 = 2u32; +pub const NDIS_HD_SPLIT_CAPS_SUPPORTS_IPV6_EXTENSION_HEADERS: u32 = 4u32; +pub const NDIS_HD_SPLIT_CAPS_SUPPORTS_TCP_OPTIONS: u32 = 8u32; +pub const NDIS_HD_SPLIT_COMBINE_ALL_HEADERS: u32 = 1u32; +pub const NDIS_HD_SPLIT_CURRENT_CONFIG_REVISION_1: u32 = 1u32; +pub const NDIS_HD_SPLIT_ENABLE_HEADER_DATA_SPLIT: u32 = 1u32; +pub const NDIS_HD_SPLIT_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_HYPERVISOR_INFO_FLAG_HYPERVISOR_PRESENT: u32 = 1u32; +pub const NDIS_HYPERVISOR_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_INTERRUPT_MODERATION_CHANGE_NEEDS_REINITIALIZE: u32 = 2u32; +pub const NDIS_INTERRUPT_MODERATION_CHANGE_NEEDS_RESET: u32 = 1u32; +pub const NDIS_INTERRUPT_MODERATION_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_IP_OPER_STATE_REVISION_1: u32 = 1u32; +pub const NDIS_IP_OPER_STATUS_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_ISOLATION_NAME_MAX_STRING_SIZE: u32 = 127u32; +pub const NDIS_ISOLATION_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_LINK_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_LINK_STATE_DUPLEX_AUTO_NEGOTIATED: u32 = 4u32; +pub const NDIS_LINK_STATE_PAUSE_FUNCTIONS_AUTO_NEGOTIATED: u32 = 8u32; +pub const NDIS_LINK_STATE_RCV_LINK_SPEED_AUTO_NEGOTIATED: u32 = 2u32; +pub const NDIS_LINK_STATE_REVISION_1: u32 = 1u32; +pub const NDIS_LINK_STATE_XMIT_LINK_SPEED_AUTO_NEGOTIATED: u32 = 1u32; +pub const NDIS_MAC_OPTION_8021P_PRIORITY: u32 = 64u32; +pub const NDIS_MAC_OPTION_8021Q_VLAN: u32 = 512u32; +pub const NDIS_MAC_OPTION_COPY_LOOKAHEAD_DATA: u32 = 1u32; +pub const NDIS_MAC_OPTION_EOTX_INDICATION: u32 = 32u32; +pub const NDIS_MAC_OPTION_FULL_DUPLEX: u32 = 16u32; +pub const NDIS_MAC_OPTION_NO_LOOPBACK: u32 = 8u32; +pub const NDIS_MAC_OPTION_RECEIVE_AT_DPC: u32 = 256u32; +pub const NDIS_MAC_OPTION_RECEIVE_SERIALIZED: u32 = 2u32; +pub const NDIS_MAC_OPTION_RESERVED: u32 = 2147483648u32; +pub const NDIS_MAC_OPTION_SUPPORTS_MAC_ADDRESS_OVERWRITE: u32 = 128u32; +pub const NDIS_MAC_OPTION_TRANSFERS_NOT_PEND: u32 = 4u32; +pub const NDIS_MAXIMUM_PORTS: u32 = 16777216u32; +pub const NDIS_MEDIA_CAP_RECEIVE: u32 = 2u32; +pub const NDIS_MEDIA_CAP_TRANSMIT: u32 = 1u32; +pub const NDIS_NDK_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_NDK_CONNECTIONS_REVISION_1: u32 = 1u32; +pub const NDIS_NDK_LOCAL_ENDPOINTS_REVISION_1: u32 = 1u32; +pub const NDIS_NDK_STATISTICS_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_CAPABILITIES_REVISION_2: u32 = 2u32; +pub const NDIS_NIC_SWITCH_CAPABILITIES_REVISION_3: u32 = 3u32; +pub const NDIS_NIC_SWITCH_CAPS_ASYMMETRIC_QUEUE_PAIRS_FOR_NONDEFAULT_VPORT_SUPPORTED: u32 = 4u32; +pub const NDIS_NIC_SWITCH_CAPS_NIC_SWITCH_WITHOUT_IOV_SUPPORTED: u32 = 64u32; +pub const NDIS_NIC_SWITCH_CAPS_PER_VPORT_INTERRUPT_MODERATION_SUPPORTED: u32 = 2u32; +pub const NDIS_NIC_SWITCH_CAPS_RSS_ON_PF_VPORTS_SUPPORTED: u32 = 128u32; +pub const NDIS_NIC_SWITCH_CAPS_RSS_PARAMETERS_PER_PF_VPORT_SUPPORTED: u32 = 32u32; +pub const NDIS_NIC_SWITCH_CAPS_RSS_PER_PF_VPORT_HASH_FUNCTION_SUPPORTED: u32 = 512u32; +pub const NDIS_NIC_SWITCH_CAPS_RSS_PER_PF_VPORT_HASH_KEY_SUPPORTED: u32 = 2048u32; +pub const NDIS_NIC_SWITCH_CAPS_RSS_PER_PF_VPORT_HASH_TYPE_SUPPORTED: u32 = 1024u32; +pub const NDIS_NIC_SWITCH_CAPS_RSS_PER_PF_VPORT_INDIRECTION_TABLE_SIZE_RESTRICTED: u32 = 4096u32; +pub const NDIS_NIC_SWITCH_CAPS_RSS_PER_PF_VPORT_INDIRECTION_TABLE_SUPPORTED: u32 = 256u32; +pub const NDIS_NIC_SWITCH_CAPS_SINGLE_VPORT_POOL: u32 = 16u32; +pub const NDIS_NIC_SWITCH_CAPS_VF_RSS_SUPPORTED: u32 = 8u32; +pub const NDIS_NIC_SWITCH_CAPS_VLAN_SUPPORTED: u32 = 1u32; +pub const NDIS_NIC_SWITCH_DELETE_SWITCH_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_DELETE_VPORT_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_FREE_VF_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_INFO_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_PARAMETERS_CHANGE_MASK: u32 = 4294901760u32; +pub const NDIS_NIC_SWITCH_PARAMETERS_DEFAULT_NUMBER_OF_QUEUE_PAIRS_FOR_DEFAULT_VPORT: u32 = 1u32; +pub const NDIS_NIC_SWITCH_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_NIC_SWITCH_PARAMETERS_SWITCH_NAME_CHANGED: u32 = 65536u32; +pub const NDIS_NIC_SWITCH_VF_INFO_ARRAY_ENUM_ON_SPECIFIC_SWITCH: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VF_INFO_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VF_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VF_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VPORT_INFO_ARRAY_ENUM_ON_SPECIFIC_FUNCTION: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VPORT_INFO_ARRAY_ENUM_ON_SPECIFIC_SWITCH: u32 = 2u32; +pub const NDIS_NIC_SWITCH_VPORT_INFO_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VPORT_INFO_GFT_ENABLED: u32 = 4u32; +pub const NDIS_NIC_SWITCH_VPORT_INFO_LOOKAHEAD_SPLIT_ENABLED: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VPORT_INFO_PACKET_DIRECT_RX_ONLY: u32 = 2u32; +pub const NDIS_NIC_SWITCH_VPORT_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_CHANGE_MASK: u32 = 4294901760u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_ENFORCE_MAX_SG_LIST: u32 = 32768u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_FLAGS_CHANGED: u32 = 65536u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_INT_MOD_CHANGED: u32 = 262144u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_LOOKAHEAD_SPLIT_ENABLED: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_NAME_CHANGED: u32 = 131072u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_NDK_PARAMS_CHANGED: u32 = 2097152u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_NUM_QUEUE_PAIRS_CHANGED: u32 = 8388608u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_PACKET_DIRECT_RX_ONLY: u32 = 2u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_PROCESSOR_AFFINITY_CHANGED: u32 = 1048576u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_QOS_SQ_ID_CHANGED: u32 = 4194304u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_STATE_CHANGED: u32 = 524288u32; +pub const NDIS_OBJECT_REVISION_1: u32 = 1u32; +pub const NDIS_OBJECT_TYPE_BIND_PARAMETERS: u32 = 134u32; +pub const NDIS_OBJECT_TYPE_CLIENT_CHIMNEY_OFFLOAD_CHARACTERISTICS: u32 = 147u32; +pub const NDIS_OBJECT_TYPE_CLIENT_CHIMNEY_OFFLOAD_GENERIC_CHARACTERISTICS: u32 = 142u32; +pub const NDIS_OBJECT_TYPE_CONFIGURATION_OBJECT: u32 = 169u32; +pub const NDIS_OBJECT_TYPE_CO_CALL_MANAGER_OPTIONAL_HANDLERS: u32 = 165u32; +pub const NDIS_OBJECT_TYPE_CO_CLIENT_OPTIONAL_HANDLERS: u32 = 166u32; +pub const NDIS_OBJECT_TYPE_CO_MINIPORT_CHARACTERISTICS: u32 = 145u32; +pub const NDIS_OBJECT_TYPE_CO_PROTOCOL_CHARACTERISTICS: u32 = 144u32; +pub const NDIS_OBJECT_TYPE_DEFAULT: u32 = 128u32; +pub const NDIS_OBJECT_TYPE_DEVICE_OBJECT_ATTRIBUTES: u32 = 133u32; +pub const NDIS_OBJECT_TYPE_DRIVER_WRAPPER_OBJECT: u32 = 170u32; +pub const NDIS_OBJECT_TYPE_FILTER_ATTACH_PARAMETERS: u32 = 153u32; +pub const NDIS_OBJECT_TYPE_FILTER_ATTRIBUTES: u32 = 141u32; +pub const NDIS_OBJECT_TYPE_FILTER_DRIVER_CHARACTERISTICS: u32 = 139u32; +pub const NDIS_OBJECT_TYPE_FILTER_PARTIAL_CHARACTERISTICS: u32 = 140u32; +pub const NDIS_OBJECT_TYPE_FILTER_PAUSE_PARAMETERS: u32 = 154u32; +pub const NDIS_OBJECT_TYPE_FILTER_RESTART_PARAMETERS: u32 = 155u32; +pub const NDIS_OBJECT_TYPE_HD_SPLIT_ATTRIBUTES: u32 = 171u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES: u32 = 159u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_HARDWARE_ASSIST_ATTRIBUTES: u32 = 175u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_NATIVE_802_11_ATTRIBUTES: u32 = 161u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_NDK_ATTRIBUTES: u32 = 179u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_OFFLOAD_ATTRIBUTES: u32 = 160u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_PACKET_DIRECT_ATTRIBUTES: u32 = 197u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_REGISTRATION_ATTRIBUTES: u32 = 158u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_ADD_DEVICE_REGISTRATION_ATTRIBUTES: u32 = 164u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_DEVICE_POWER_NOTIFICATION: u32 = 198u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_DRIVER_CHARACTERISTICS: u32 = 138u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_INIT_PARAMETERS: u32 = 129u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_INTERRUPT: u32 = 132u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_PNP_CHARACTERISTICS: u32 = 146u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_SS_CHARACTERISTICS: u32 = 180u32; +pub const NDIS_OBJECT_TYPE_NDK_PROVIDER_CHARACTERISTICS: u32 = 178u32; +pub const NDIS_OBJECT_TYPE_NSI_COMPARTMENT_RW_STRUCT: u32 = 173u32; +pub const NDIS_OBJECT_TYPE_NSI_INTERFACE_PERSIST_RW_STRUCT: u32 = 174u32; +pub const NDIS_OBJECT_TYPE_NSI_NETWORK_RW_STRUCT: u32 = 172u32; +pub const NDIS_OBJECT_TYPE_OFFLOAD: u32 = 167u32; +pub const NDIS_OBJECT_TYPE_OFFLOAD_ENCAPSULATION: u32 = 168u32; +pub const NDIS_OBJECT_TYPE_OID_REQUEST: u32 = 150u32; +pub const NDIS_OBJECT_TYPE_OPEN_PARAMETERS: u32 = 135u32; +pub const NDIS_OBJECT_TYPE_PCI_DEVICE_CUSTOM_PROPERTIES_REVISION_1: u32 = 1u32; +pub const NDIS_OBJECT_TYPE_PCI_DEVICE_CUSTOM_PROPERTIES_REVISION_2: u32 = 2u32; +pub const NDIS_OBJECT_TYPE_PD_RECEIVE_QUEUE: u32 = 191u32; +pub const NDIS_OBJECT_TYPE_PD_TRANSMIT_QUEUE: u32 = 190u32; +pub const NDIS_OBJECT_TYPE_PORT_CHARACTERISTICS: u32 = 156u32; +pub const NDIS_OBJECT_TYPE_PORT_STATE: u32 = 157u32; +pub const NDIS_OBJECT_TYPE_PROTOCOL_DRIVER_CHARACTERISTICS: u32 = 149u32; +pub const NDIS_OBJECT_TYPE_PROTOCOL_RESTART_PARAMETERS: u32 = 163u32; +pub const NDIS_OBJECT_TYPE_PROVIDER_CHIMNEY_OFFLOAD_CHARACTERISTICS: u32 = 148u32; +pub const NDIS_OBJECT_TYPE_PROVIDER_CHIMNEY_OFFLOAD_GENERIC_CHARACTERISTICS: u32 = 143u32; +pub const NDIS_OBJECT_TYPE_QOS_CAPABILITIES: u32 = 181u32; +pub const NDIS_OBJECT_TYPE_QOS_CLASSIFICATION_ELEMENT: u32 = 183u32; +pub const NDIS_OBJECT_TYPE_QOS_PARAMETERS: u32 = 182u32; +pub const NDIS_OBJECT_TYPE_REQUEST_EX: u32 = 150u32; +pub const NDIS_OBJECT_TYPE_RESTART_GENERAL_ATTRIBUTES: u32 = 162u32; +pub const NDIS_OBJECT_TYPE_RSS_CAPABILITIES: u32 = 136u32; +pub const NDIS_OBJECT_TYPE_RSS_PARAMETERS: u32 = 137u32; +pub const NDIS_OBJECT_TYPE_RSS_PARAMETERS_V2: u32 = 200u32; +pub const NDIS_OBJECT_TYPE_RSS_PROCESSOR_INFO: u32 = 177u32; +pub const NDIS_OBJECT_TYPE_RSS_SET_INDIRECTION_ENTRIES: u32 = 201u32; +pub const NDIS_OBJECT_TYPE_SG_DMA_DESCRIPTION: u32 = 131u32; +pub const NDIS_OBJECT_TYPE_SHARED_MEMORY_PROVIDER_CHARACTERISTICS: u32 = 176u32; +pub const NDIS_OBJECT_TYPE_STATUS_INDICATION: u32 = 152u32; +pub const NDIS_OBJECT_TYPE_SWITCH_OPTIONAL_HANDLERS: u32 = 184u32; +pub const NDIS_OBJECT_TYPE_TIMER_CHARACTERISTICS: u32 = 151u32; +pub const NDIS_OFFLOAD_FLAGS_GROUP_CHECKSUM_CAPABILITIES: u32 = 1u32; +pub const NDIS_OFFLOAD_NOT_SUPPORTED: u32 = 0u32; +pub const NDIS_OFFLOAD_PARAMETERS_CONNECTION_OFFLOAD_DISABLED: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_CONNECTION_OFFLOAD_ENABLED: u32 = 2u32; +pub const NDIS_OFFLOAD_PARAMETERS_IPSECV1_AH_AND_ESP_ENABLED: u32 = 4u32; +pub const NDIS_OFFLOAD_PARAMETERS_IPSECV1_AH_ENABLED: u32 = 2u32; +pub const NDIS_OFFLOAD_PARAMETERS_IPSECV1_DISABLED: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_IPSECV1_ESP_ENABLED: u32 = 3u32; +pub const NDIS_OFFLOAD_PARAMETERS_IPSECV2_AH_AND_ESP_ENABLED: u32 = 4u32; +pub const NDIS_OFFLOAD_PARAMETERS_IPSECV2_AH_ENABLED: u32 = 2u32; +pub const NDIS_OFFLOAD_PARAMETERS_IPSECV2_DISABLED: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_IPSECV2_ESP_ENABLED: u32 = 3u32; +pub const NDIS_OFFLOAD_PARAMETERS_LSOV1_DISABLED: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_LSOV1_ENABLED: u32 = 2u32; +pub const NDIS_OFFLOAD_PARAMETERS_LSOV2_DISABLED: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_LSOV2_ENABLED: u32 = 2u32; +pub const NDIS_OFFLOAD_PARAMETERS_NO_CHANGE: u32 = 0u32; +pub const NDIS_OFFLOAD_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_OFFLOAD_PARAMETERS_REVISION_3: u32 = 3u32; +pub const NDIS_OFFLOAD_PARAMETERS_REVISION_4: u32 = 4u32; +pub const NDIS_OFFLOAD_PARAMETERS_REVISION_5: u32 = 5u32; +pub const NDIS_OFFLOAD_PARAMETERS_RSC_DISABLED: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_RSC_ENABLED: u32 = 2u32; +pub const NDIS_OFFLOAD_PARAMETERS_RX_ENABLED_TX_DISABLED: u32 = 3u32; +pub const NDIS_OFFLOAD_PARAMETERS_SKIP_REGISTRY_UPDATE: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_TX_ENABLED_RX_DISABLED: u32 = 2u32; +pub const NDIS_OFFLOAD_PARAMETERS_TX_RX_DISABLED: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_TX_RX_ENABLED: u32 = 4u32; +pub const NDIS_OFFLOAD_PARAMETERS_USO_DISABLED: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_USO_ENABLED: u32 = 2u32; +pub const NDIS_OFFLOAD_REVISION_1: u32 = 1u32; +pub const NDIS_OFFLOAD_REVISION_2: u32 = 2u32; +pub const NDIS_OFFLOAD_REVISION_3: u32 = 3u32; +pub const NDIS_OFFLOAD_REVISION_4: u32 = 4u32; +pub const NDIS_OFFLOAD_REVISION_5: u32 = 5u32; +pub const NDIS_OFFLOAD_REVISION_6: u32 = 6u32; +pub const NDIS_OFFLOAD_REVISION_7: u32 = 7u32; +pub const NDIS_OFFLOAD_SET_NO_CHANGE: u32 = 0u32; +pub const NDIS_OFFLOAD_SET_OFF: u32 = 2u32; +pub const NDIS_OFFLOAD_SET_ON: u32 = 1u32; +pub const NDIS_OFFLOAD_SUPPORTED: u32 = 1u32; +pub const NDIS_OPER_STATE_REVISION_1: u32 = 1u32; +pub const NDIS_PACKET_TYPE_ALL_FUNCTIONAL: u32 = 8192u32; +pub const NDIS_PACKET_TYPE_ALL_LOCAL: u32 = 128u32; +pub const NDIS_PACKET_TYPE_ALL_MULTICAST: u32 = 4u32; +pub const NDIS_PACKET_TYPE_BROADCAST: u32 = 8u32; +pub const NDIS_PACKET_TYPE_DIRECTED: u32 = 1u32; +pub const NDIS_PACKET_TYPE_FUNCTIONAL: u32 = 16384u32; +pub const NDIS_PACKET_TYPE_GROUP: u32 = 4096u32; +pub const NDIS_PACKET_TYPE_MAC_FRAME: u32 = 32768u32; +pub const NDIS_PACKET_TYPE_MULTICAST: u32 = 2u32; +pub const NDIS_PACKET_TYPE_NO_LOCAL: u32 = 65536u32; +pub const NDIS_PACKET_TYPE_PROMISCUOUS: u32 = 32u32; +pub const NDIS_PACKET_TYPE_SMT: u32 = 64u32; +pub const NDIS_PACKET_TYPE_SOURCE_ROUTING: u32 = 16u32; +pub const NDIS_PD_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_PD_CAPS_DRAIN_NOTIFICATIONS_SUPPORTED: u32 = 2u32; +pub const NDIS_PD_CAPS_NOTIFICATION_MODERATION_COUNT_SUPPORTED: u32 = 8u32; +pub const NDIS_PD_CAPS_NOTIFICATION_MODERATION_INTERVAL_SUPPORTED: u32 = 4u32; +pub const NDIS_PD_CAPS_RECEIVE_FILTER_COUNTERS_SUPPORTED: u32 = 1u32; +pub const NDIS_PD_CONFIG_REVISION_1: u32 = 1u32; +pub const NDIS_PM_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_PM_CAPABILITIES_REVISION_2: u32 = 2u32; +pub const NDIS_PM_MAX_PATTERN_ID: u32 = 65535u32; +pub const NDIS_PM_MAX_STRING_SIZE: u32 = 64u32; +pub const NDIS_PM_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_PM_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_PM_PRIVATE_PATTERN_ID: u32 = 1u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_80211_RSN_REKEY_ENABLED: u32 = 128u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_80211_RSN_REKEY_SUPPORTED: u32 = 128u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_ARP_ENABLED: u32 = 1u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_ARP_SUPPORTED: u32 = 1u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_NS_ENABLED: u32 = 2u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_NS_SUPPORTED: u32 = 2u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_PRIORITY_HIGHEST: u32 = 1u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_PRIORITY_LOWEST: u32 = 4294967295u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_PRIORITY_NORMAL: u32 = 268435456u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_REVISION_1: u32 = 1u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_REVISION_2: u32 = 2u32; +pub const NDIS_PM_SELECTIVE_SUSPEND_ENABLED: u32 = 16u32; +pub const NDIS_PM_SELECTIVE_SUSPEND_SUPPORTED: u32 = 2u32; +pub const NDIS_PM_WAKE_ON_LINK_CHANGE_ENABLED: u32 = 1u32; +pub const NDIS_PM_WAKE_ON_MEDIA_CONNECT_SUPPORTED: u32 = 1u32; +pub const NDIS_PM_WAKE_ON_MEDIA_DISCONNECT_ENABLED: u32 = 2u32; +pub const NDIS_PM_WAKE_ON_MEDIA_DISCONNECT_SUPPORTED: u32 = 2u32; +pub const NDIS_PM_WAKE_PACKET_INDICATION_SUPPORTED: u32 = 1u32; +pub const NDIS_PM_WAKE_PACKET_REVISION_1: u32 = 1u32; +pub const NDIS_PM_WAKE_REASON_REVISION_1: u32 = 1u32; +pub const NDIS_PM_WOL_BITMAP_PATTERN_ENABLED: u32 = 1u32; +pub const NDIS_PM_WOL_BITMAP_PATTERN_SUPPORTED: u32 = 1u32; +pub const NDIS_PM_WOL_EAPOL_REQUEST_ID_MESSAGE_ENABLED: u32 = 65536u32; +pub const NDIS_PM_WOL_EAPOL_REQUEST_ID_MESSAGE_SUPPORTED: u32 = 65536u32; +pub const NDIS_PM_WOL_IPV4_DEST_ADDR_WILDCARD_ENABLED: u32 = 512u32; +pub const NDIS_PM_WOL_IPV4_DEST_ADDR_WILDCARD_SUPPORTED: u32 = 512u32; +pub const NDIS_PM_WOL_IPV4_TCP_SYN_ENABLED: u32 = 4u32; +pub const NDIS_PM_WOL_IPV4_TCP_SYN_SUPPORTED: u32 = 4u32; +pub const NDIS_PM_WOL_IPV6_DEST_ADDR_WILDCARD_ENABLED: u32 = 2048u32; +pub const NDIS_PM_WOL_IPV6_DEST_ADDR_WILDCARD_SUPPORTED: u32 = 2048u32; +pub const NDIS_PM_WOL_IPV6_TCP_SYN_ENABLED: u32 = 8u32; +pub const NDIS_PM_WOL_IPV6_TCP_SYN_SUPPORTED: u32 = 8u32; +pub const NDIS_PM_WOL_MAGIC_PACKET_ENABLED: u32 = 2u32; +pub const NDIS_PM_WOL_MAGIC_PACKET_SUPPORTED: u32 = 2u32; +pub const NDIS_PM_WOL_PATTERN_REVISION_1: u32 = 1u32; +pub const NDIS_PM_WOL_PATTERN_REVISION_2: u32 = 2u32; +pub const NDIS_PM_WOL_PRIORITY_HIGHEST: u32 = 1u32; +pub const NDIS_PM_WOL_PRIORITY_LOWEST: u32 = 4294967295u32; +pub const NDIS_PM_WOL_PRIORITY_NORMAL: u32 = 268435456u32; +pub const NDIS_PNP_WAKE_UP_LINK_CHANGE: u32 = 4u32; +pub const NDIS_PNP_WAKE_UP_MAGIC_PACKET: u32 = 1u32; +pub const NDIS_PNP_WAKE_UP_PATTERN_MATCH: u32 = 2u32; +pub const NDIS_PORT_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_PORT_AUTHENTICATION_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_PORT_CHARACTERISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_PORT_CHAR_USE_DEFAULT_AUTH_SETTINGS: u32 = 1u32; +pub const NDIS_PORT_STATE_REVISION_1: u32 = 1u32; +pub const NDIS_PROTOCOL_ID_DEFAULT: u32 = 0u32; +pub const NDIS_PROTOCOL_ID_IP6: u32 = 3u32; +pub const NDIS_PROTOCOL_ID_IPX: u32 = 6u32; +pub const NDIS_PROTOCOL_ID_MASK: u32 = 15u32; +pub const NDIS_PROTOCOL_ID_MAX: u32 = 15u32; +pub const NDIS_PROTOCOL_ID_NBF: u32 = 7u32; +pub const NDIS_PROTOCOL_ID_TCP_IP: u32 = 2u32; +pub const NDIS_PROT_OPTION_ESTIMATED_LENGTH: u32 = 1u32; +pub const NDIS_PROT_OPTION_NO_LOOPBACK: u32 = 2u32; +pub const NDIS_PROT_OPTION_NO_RSVD_ON_RCVPKT: u32 = 4u32; +pub const NDIS_PROT_OPTION_SEND_RESTRICTED: u32 = 8u32; +pub const NDIS_QOS_ACTION_MAXIMUM: u32 = 1u32; +pub const NDIS_QOS_ACTION_PRIORITY: u32 = 0u32; +pub const NDIS_QOS_CAPABILITIES_CEE_DCBX_SUPPORTED: u32 = 4u32; +pub const NDIS_QOS_CAPABILITIES_IEEE_DCBX_SUPPORTED: u32 = 8u32; +pub const NDIS_QOS_CAPABILITIES_MACSEC_BYPASS_SUPPORTED: u32 = 2u32; +pub const NDIS_QOS_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_QOS_CAPABILITIES_STRICT_TSA_SUPPORTED: u32 = 1u32; +pub const NDIS_QOS_CLASSIFICATION_ELEMENT_REVISION_1: u32 = 1u32; +pub const NDIS_QOS_CLASSIFICATION_ENFORCED_BY_MINIPORT: u32 = 16777216u32; +pub const NDIS_QOS_CLASSIFICATION_SET_BY_MINIPORT_MASK: u32 = 4278190080u32; +pub const NDIS_QOS_CONDITION_DEFAULT: u32 = 1u32; +pub const NDIS_QOS_CONDITION_ETHERTYPE: u32 = 5u32; +pub const NDIS_QOS_CONDITION_MAXIMUM: u32 = 7u32; +pub const NDIS_QOS_CONDITION_NETDIRECT_PORT: u32 = 6u32; +pub const NDIS_QOS_CONDITION_RESERVED: u32 = 0u32; +pub const NDIS_QOS_CONDITION_TCP_OR_UDP_PORT: u32 = 4u32; +pub const NDIS_QOS_CONDITION_TCP_PORT: u32 = 2u32; +pub const NDIS_QOS_CONDITION_UDP_PORT: u32 = 3u32; +pub const NDIS_QOS_DEFAULT_SQ_ID: u32 = 0u32; +pub const NDIS_QOS_MAXIMUM_PRIORITIES: u32 = 8u32; +pub const NDIS_QOS_MAXIMUM_TRAFFIC_CLASSES: u32 = 8u32; +pub const NDIS_QOS_OFFLOAD_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_QOS_OFFLOAD_CAPABILITIES_REVISION_2: u32 = 2u32; +pub const NDIS_QOS_OFFLOAD_CAPS_GFT_SQ: u32 = 2u32; +pub const NDIS_QOS_OFFLOAD_CAPS_STANDARD_SQ: u32 = 1u32; +pub const NDIS_QOS_PARAMETERS_CLASSIFICATION_CHANGED: u32 = 65536u32; +pub const NDIS_QOS_PARAMETERS_CLASSIFICATION_CONFIGURED: u32 = 131072u32; +pub const NDIS_QOS_PARAMETERS_ETS_CHANGED: u32 = 1u32; +pub const NDIS_QOS_PARAMETERS_ETS_CONFIGURED: u32 = 2u32; +pub const NDIS_QOS_PARAMETERS_PFC_CHANGED: u32 = 256u32; +pub const NDIS_QOS_PARAMETERS_PFC_CONFIGURED: u32 = 512u32; +pub const NDIS_QOS_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_QOS_PARAMETERS_WILLING: u32 = 2147483648u32; +pub const NDIS_QOS_SQ_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_QOS_SQ_PARAMETERS_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_QOS_SQ_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_QOS_SQ_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_QOS_SQ_RECEIVE_CAP_ENABLED: u32 = 4u32; +pub const NDIS_QOS_SQ_STATS_REVISION_1: u32 = 1u32; +pub const NDIS_QOS_SQ_TRANSMIT_CAP_ENABLED: u32 = 1u32; +pub const NDIS_QOS_SQ_TRANSMIT_RESERVATION_ENABLED: u32 = 2u32; +pub const NDIS_QOS_TSA_CBS: u32 = 1u32; +pub const NDIS_QOS_TSA_ETS: u32 = 2u32; +pub const NDIS_QOS_TSA_MAXIMUM: u32 = 3u32; +pub const NDIS_QOS_TSA_STRICT: u32 = 0u32; +pub const NDIS_RECEIVE_FILTER_ANY_VLAN_SUPPORTED: u32 = 32u32; +pub const NDIS_RECEIVE_FILTER_ARP_HEADER_OPERATION_SUPPORTED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_ARP_HEADER_SPA_SUPPORTED: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_ARP_HEADER_SUPPORTED: u32 = 8u32; +pub const NDIS_RECEIVE_FILTER_ARP_HEADER_TPA_SUPPORTED: u32 = 4u32; +pub const NDIS_RECEIVE_FILTER_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_CAPABILITIES_REVISION_2: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_CLEAR_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_DYNAMIC_PROCESSOR_AFFINITY_CHANGE_FOR_DEFAULT_QUEUE_SUPPORTED: u32 = 64u32; +pub const NDIS_RECEIVE_FILTER_DYNAMIC_PROCESSOR_AFFINITY_CHANGE_SUPPORTED: u32 = 8u32; +pub const NDIS_RECEIVE_FILTER_FIELD_MAC_HEADER_VLAN_UNTAGGED_OR_ZERO: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_FIELD_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_FIELD_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_FLAGS_RESERVED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_GLOBAL_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_IMPLAT_MIN_OF_QUEUES_MODE: u32 = 64u32; +pub const NDIS_RECEIVE_FILTER_IMPLAT_SUM_OF_QUEUES_MODE: u32 = 128u32; +pub const NDIS_RECEIVE_FILTER_INFO_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_INFO_ARRAY_REVISION_2: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_INFO_ARRAY_VPORT_ID_SPECIFIED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_INTERRUPT_VECTOR_COALESCING_SUPPORTED: u32 = 16u32; +pub const NDIS_RECEIVE_FILTER_IPV4_HEADER_PROTOCOL_SUPPORTED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_IPV4_HEADER_SUPPORTED: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_IPV6_HEADER_PROTOCOL_SUPPORTED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_IPV6_HEADER_SUPPORTED: u32 = 4u32; +pub const NDIS_RECEIVE_FILTER_LOOKAHEAD_SPLIT_SUPPORTED: u32 = 4u32; +pub const NDIS_RECEIVE_FILTER_MAC_HEADER_DEST_ADDR_SUPPORTED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_MAC_HEADER_PACKET_TYPE_SUPPORTED: u32 = 32u32; +pub const NDIS_RECEIVE_FILTER_MAC_HEADER_PRIORITY_SUPPORTED: u32 = 16u32; +pub const NDIS_RECEIVE_FILTER_MAC_HEADER_PROTOCOL_SUPPORTED: u32 = 4u32; +pub const NDIS_RECEIVE_FILTER_MAC_HEADER_SOURCE_ADDR_SUPPORTED: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_MAC_HEADER_SUPPORTED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_MAC_HEADER_VLAN_ID_SUPPORTED: u32 = 8u32; +pub const NDIS_RECEIVE_FILTER_MOVE_FILTER_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_MSI_X_SUPPORTED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_PACKET_COALESCING_FILTERS_ENABLED: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_PACKET_COALESCING_SUPPORTED_ON_DEFAULT_QUEUE: u32 = 256u32; +pub const NDIS_RECEIVE_FILTER_PACKET_ENCAPSULATION: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_PACKET_ENCAPSULATION_GRE: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_RESERVED: u32 = 254u32; +pub const NDIS_RECEIVE_FILTER_TEST_HEADER_FIELD_EQUAL_SUPPORTED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_TEST_HEADER_FIELD_MASK_EQUAL_SUPPORTED: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_TEST_HEADER_FIELD_NOT_EQUAL_SUPPORTED: u32 = 4u32; +pub const NDIS_RECEIVE_FILTER_UDP_HEADER_DEST_PORT_SUPPORTED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_UDP_HEADER_SUPPORTED: u32 = 16u32; +pub const NDIS_RECEIVE_FILTER_VMQ_FILTERS_ENABLED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_VM_QUEUES_ENABLED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_VM_QUEUE_SUPPORTED: u32 = 2u32; +pub const NDIS_RECEIVE_HASH_FLAG_ENABLE_HASH: u32 = 1u32; +pub const NDIS_RECEIVE_HASH_FLAG_HASH_INFO_UNCHANGED: u32 = 2u32; +pub const NDIS_RECEIVE_HASH_FLAG_HASH_KEY_UNCHANGED: u32 = 4u32; +pub const NDIS_RECEIVE_HASH_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_QUEUE_ALLOCATION_COMPLETE_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_QUEUE_ALLOCATION_COMPLETE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_QUEUE_FREE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_QUEUE_INFO_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_QUEUE_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_QUEUE_INFO_REVISION_2: u32 = 2u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_CHANGE_MASK: u32 = 4294901760u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_FLAGS_CHANGED: u32 = 65536u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_INTERRUPT_COALESCING_DOMAIN_ID_CHANGED: u32 = 1048576u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_LOOKAHEAD_SPLIT_REQUIRED: u32 = 2u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_NAME_CHANGED: u32 = 524288u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_PER_QUEUE_RECEIVE_INDICATION: u32 = 1u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_PROCESSOR_AFFINITY_CHANGED: u32 = 131072u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_QOS_SQ_ID_CHANGED: u32 = 2097152u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_REVISION_3: u32 = 3u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_SUGGESTED_RECV_BUFFER_NUMBERS_CHANGED: u32 = 262144u32; +pub const NDIS_RECEIVE_SCALE_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_SCALE_CAPABILITIES_REVISION_2: u32 = 2u32; +pub const NDIS_RECEIVE_SCALE_CAPABILITIES_REVISION_3: u32 = 3u32; +pub const NDIS_RECEIVE_SCALE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_SCALE_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_RECEIVE_SCALE_PARAMETERS_REVISION_3: u32 = 3u32; +pub const NDIS_RECEIVE_SCALE_PARAMETERS_V2_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_SCALE_PARAM_ENABLE_RSS: u32 = 1u32; +pub const NDIS_RECEIVE_SCALE_PARAM_HASH_INFO_CHANGED: u32 = 2u32; +pub const NDIS_RECEIVE_SCALE_PARAM_HASH_KEY_CHANGED: u32 = 4u32; +pub const NDIS_RECEIVE_SCALE_PARAM_NUMBER_OF_ENTRIES_CHANGED: u32 = 16u32; +pub const NDIS_RECEIVE_SCALE_PARAM_NUMBER_OF_QUEUES_CHANGED: u32 = 8u32; +pub const NDIS_RING_AUTO_REMOVAL_ERROR: u32 = 1024u32; +pub const NDIS_RING_COUNTER_OVERFLOW: u32 = 256u32; +pub const NDIS_RING_HARD_ERROR: u32 = 16384u32; +pub const NDIS_RING_LOBE_WIRE_FAULT: u32 = 2048u32; +pub const NDIS_RING_REMOVE_RECEIVED: u32 = 512u32; +pub const NDIS_RING_RING_RECOVERY: u32 = 64u32; +pub const NDIS_RING_SIGNAL_LOSS: u32 = 32768u32; +pub const NDIS_RING_SINGLE_STATION: u32 = 128u32; +pub const NDIS_RING_SOFT_ERROR: u32 = 8192u32; +pub const NDIS_RING_TRANSMIT_BEACON: u32 = 4096u32; +pub const NDIS_ROUTING_DOMAIN_ENTRY_REVISION_1: u32 = 1u32; +pub const NDIS_ROUTING_DOMAIN_ISOLATION_ENTRY_REVISION_1: u32 = 1u32; +pub const NDIS_RSC_STATISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_RSS_CAPS_CLASSIFICATION_AT_DPC: u32 = 67108864u32; +pub const NDIS_RSS_CAPS_CLASSIFICATION_AT_ISR: u32 = 33554432u32; +pub const NDIS_RSS_CAPS_HASH_TYPE_TCP_IPV4: u32 = 256u32; +pub const NDIS_RSS_CAPS_HASH_TYPE_TCP_IPV6: u32 = 512u32; +pub const NDIS_RSS_CAPS_HASH_TYPE_TCP_IPV6_EX: u32 = 1024u32; +pub const NDIS_RSS_CAPS_HASH_TYPE_UDP_IPV4: u32 = 2048u32; +pub const NDIS_RSS_CAPS_HASH_TYPE_UDP_IPV6: u32 = 4096u32; +pub const NDIS_RSS_CAPS_HASH_TYPE_UDP_IPV6_EX: u32 = 8192u32; +pub const NDIS_RSS_CAPS_MESSAGE_SIGNALED_INTERRUPTS: u32 = 16777216u32; +pub const NDIS_RSS_CAPS_RSS_AVAILABLE_ON_PORTS: u32 = 268435456u32; +pub const NDIS_RSS_CAPS_SUPPORTS_INDEPENDENT_ENTRY_MOVE: u32 = 1073741824u32; +pub const NDIS_RSS_CAPS_SUPPORTS_MSI_X: u32 = 536870912u32; +pub const NDIS_RSS_CAPS_USING_MSI_X: u32 = 134217728u32; +pub const NDIS_RSS_HASH_SECRET_KEY_MAX_SIZE_REVISION_1: u32 = 40u32; +pub const NDIS_RSS_HASH_SECRET_KEY_MAX_SIZE_REVISION_2: u32 = 40u32; +pub const NDIS_RSS_HASH_SECRET_KEY_MAX_SIZE_REVISION_3: u32 = 40u32; +pub const NDIS_RSS_HASH_SECRET_KEY_SIZE_REVISION_1: u32 = 40u32; +pub const NDIS_RSS_INDIRECTION_TABLE_MAX_SIZE_REVISION_1: u32 = 128u32; +pub const NDIS_RSS_INDIRECTION_TABLE_SIZE_REVISION_1: u32 = 128u32; +pub const NDIS_RSS_PARAM_FLAG_BASE_CPU_UNCHANGED: u32 = 1u32; +pub const NDIS_RSS_PARAM_FLAG_DEFAULT_PROCESSOR_UNCHANGED: u32 = 32u32; +pub const NDIS_RSS_PARAM_FLAG_DISABLE_RSS: u32 = 16u32; +pub const NDIS_RSS_PARAM_FLAG_HASH_INFO_UNCHANGED: u32 = 2u32; +pub const NDIS_RSS_PARAM_FLAG_HASH_KEY_UNCHANGED: u32 = 8u32; +pub const NDIS_RSS_PARAM_FLAG_ITABLE_UNCHANGED: u32 = 4u32; +pub const NDIS_RSS_PROCESSOR_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_RSS_PROCESSOR_INFO_REVISION_2: u32 = 2u32; +pub const NDIS_RSS_SET_INDIRECTION_ENTRIES_REVISION_1: u32 = 1u32; +pub const NDIS_RSS_SET_INDIRECTION_ENTRY_FLAG_DEFAULT_PROCESSOR: u32 = 2u32; +pub const NDIS_RSS_SET_INDIRECTION_ENTRY_FLAG_PRIMARY_PROCESSOR: u32 = 1u32; +pub const NDIS_SIZEOF_NDIS_PM_PROTOCOL_OFFLOAD_REVISION_1: u32 = 240u32; +pub const NDIS_SRIOV_BAR_RESOURCES_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_CAPS_PF_MINIPORT: u32 = 2u32; +pub const NDIS_SRIOV_CAPS_SRIOV_SUPPORTED: u32 = 1u32; +pub const NDIS_SRIOV_CAPS_VF_MINIPORT: u32 = 4u32; +pub const NDIS_SRIOV_CONFIG_STATE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_OVERLYING_ADAPTER_INFO_VERSION_1: u32 = 1u32; +pub const NDIS_SRIOV_PF_LUID_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_PROBED_BARS_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_READ_VF_CONFIG_BLOCK_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_READ_VF_CONFIG_SPACE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_RESET_VF_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_SET_VF_POWER_STATE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_VF_INVALIDATE_CONFIG_BLOCK_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_VF_SERIAL_NUMBER_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_VF_VENDOR_DEVICE_ID_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_WRITE_VF_CONFIG_BLOCK_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_WRITE_VF_CONFIG_SPACE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_STATISTICS_FLAGS_VALID_BROADCAST_BYTES_RCV: u32 = 262144u32; +pub const NDIS_STATISTICS_FLAGS_VALID_BROADCAST_BYTES_XMIT: u32 = 2097152u32; +pub const NDIS_STATISTICS_FLAGS_VALID_BROADCAST_FRAMES_RCV: u32 = 4u32; +pub const NDIS_STATISTICS_FLAGS_VALID_BROADCAST_FRAMES_XMIT: u32 = 256u32; +pub const NDIS_STATISTICS_FLAGS_VALID_BYTES_RCV: u32 = 8u32; +pub const NDIS_STATISTICS_FLAGS_VALID_BYTES_XMIT: u32 = 512u32; +pub const NDIS_STATISTICS_FLAGS_VALID_DIRECTED_BYTES_RCV: u32 = 65536u32; +pub const NDIS_STATISTICS_FLAGS_VALID_DIRECTED_BYTES_XMIT: u32 = 524288u32; +pub const NDIS_STATISTICS_FLAGS_VALID_DIRECTED_FRAMES_RCV: u32 = 1u32; +pub const NDIS_STATISTICS_FLAGS_VALID_DIRECTED_FRAMES_XMIT: u32 = 64u32; +pub const NDIS_STATISTICS_FLAGS_VALID_MULTICAST_BYTES_RCV: u32 = 131072u32; +pub const NDIS_STATISTICS_FLAGS_VALID_MULTICAST_BYTES_XMIT: u32 = 1048576u32; +pub const NDIS_STATISTICS_FLAGS_VALID_MULTICAST_FRAMES_RCV: u32 = 2u32; +pub const NDIS_STATISTICS_FLAGS_VALID_MULTICAST_FRAMES_XMIT: u32 = 128u32; +pub const NDIS_STATISTICS_FLAGS_VALID_RCV_DISCARDS: u32 = 16u32; +pub const NDIS_STATISTICS_FLAGS_VALID_RCV_ERROR: u32 = 32u32; +pub const NDIS_STATISTICS_FLAGS_VALID_XMIT_DISCARDS: u32 = 32768u32; +pub const NDIS_STATISTICS_FLAGS_VALID_XMIT_ERROR: u32 = 1024u32; +pub const NDIS_STATISTICS_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS6: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS61: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS620: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS630: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS640: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS650: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS651: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS660: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS670: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS680: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS681: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS682: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS683: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS684: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS685: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS686: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS687: u32 = 1u32; +pub const NDIS_SWITCH_FEATURE_STATUS_CUSTOM_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_FEATURE_STATUS_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_NIC_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_NIC_FLAGS_MAPPED_NIC_UPDATED: u32 = 4u32; +pub const NDIS_SWITCH_NIC_FLAGS_NIC_INITIALIZING: u32 = 1u32; +pub const NDIS_SWITCH_NIC_FLAGS_NIC_SUSPENDED: u32 = 2u32; +pub const NDIS_SWITCH_NIC_FLAGS_NIC_SUSPENDED_LM: u32 = 16u32; +pub const NDIS_SWITCH_NIC_OID_REQUEST_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_NIC_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_NIC_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_SWITCH_NIC_SAVE_STATE_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_NIC_SAVE_STATE_REVISION_2: u32 = 2u32; +pub const NDIS_SWITCH_OBJECT_SERIALIZATION_VERSION_1: u32 = 1u32; +pub const NDIS_SWITCH_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_FEATURE_STATUS_CUSTOM_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_FEATURE_STATUS_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PARAMETERS_FLAG_RESTORING_PORT: u32 = 2u32; +pub const NDIS_SWITCH_PORT_PARAMETERS_FLAG_UNTRUSTED_INTERNAL_PORT: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_CUSTOM_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_DELETE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_ENUM_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_ENUM_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_ISOLATION_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_PROFILE_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_ROUTING_DOMAIN_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_SECURITY_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_SECURITY_REVISION_2: u32 = 2u32; +pub const NDIS_SWITCH_PORT_PROPERTY_VLAN_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PROPERTY_CUSTOM_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PROPERTY_DELETE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PROPERTY_ENUM_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PROPERTY_ENUM_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PROPERTY_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SYSTEM_PROCESSOR_INFO_EX_REVISION_1: u32 = 1u32; +pub const NDIS_TCP_CONNECTION_OFFLOAD_REVISION_1: u32 = 1u32; +pub const NDIS_TCP_CONNECTION_OFFLOAD_REVISION_2: u32 = 2u32; +pub const NDIS_TCP_RECV_SEG_COALESC_OFFLOAD_REVISION_1: u32 = 1u32; +pub const NDIS_TIMEOUT_DPC_REQUEST_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_TIMESTAMP_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_WLAN_WAKE_ON_4WAY_HANDSHAKE_REQUEST_ENABLED: u32 = 8u32; +pub const NDIS_WLAN_WAKE_ON_4WAY_HANDSHAKE_REQUEST_SUPPORTED: u32 = 8u32; +pub const NDIS_WLAN_WAKE_ON_AP_ASSOCIATION_LOST_ENABLED: u32 = 2u32; +pub const NDIS_WLAN_WAKE_ON_AP_ASSOCIATION_LOST_SUPPORTED: u32 = 2u32; +pub const NDIS_WLAN_WAKE_ON_GTK_HANDSHAKE_ERROR_ENABLED: u32 = 4u32; +pub const NDIS_WLAN_WAKE_ON_GTK_HANDSHAKE_ERROR_SUPPORTED: u32 = 4u32; +pub const NDIS_WLAN_WAKE_ON_NLO_DISCOVERY_ENABLED: u32 = 1u32; +pub const NDIS_WLAN_WAKE_ON_NLO_DISCOVERY_SUPPORTED: u32 = 1u32; +pub const NDIS_WMI_DEFAULT_METHOD_ID: u32 = 1u32; +pub const NDIS_WMI_ENUM_ADAPTER_REVISION_1: u32 = 1u32; +pub const NDIS_WMI_EVENT_HEADER_REVISION_1: u32 = 1u32; +pub const NDIS_WMI_METHOD_HEADER_REVISION_1: u32 = 1u32; +pub const NDIS_WMI_OBJECT_TYPE_ENUM_ADAPTER: u32 = 4u32; +pub const NDIS_WMI_OBJECT_TYPE_EVENT: u32 = 3u32; +pub const NDIS_WMI_OBJECT_TYPE_METHOD: u32 = 2u32; +pub const NDIS_WMI_OBJECT_TYPE_OUTPUT_INFO: u32 = 5u32; +pub const NDIS_WMI_OBJECT_TYPE_SET: u32 = 1u32; +pub const NDIS_WMI_PM_ACTIVE_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_WMI_PM_ADMIN_CONFIG_REVISION_1: u32 = 1u32; +pub const NDIS_WMI_RECEIVE_QUEUE_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_WMI_RECEIVE_QUEUE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_WMI_SET_HEADER_REVISION_1: u32 = 1u32; +pub const NDIS_WWAN_WAKE_ON_PACKET_STATE_ENABLED: u32 = 8u32; +pub const NDIS_WWAN_WAKE_ON_PACKET_STATE_SUPPORTED: u32 = 8u32; +pub const NDIS_WWAN_WAKE_ON_REGISTER_STATE_ENABLED: u32 = 1u32; +pub const NDIS_WWAN_WAKE_ON_REGISTER_STATE_SUPPORTED: u32 = 1u32; +pub const NDIS_WWAN_WAKE_ON_SMS_RECEIVE_ENABLED: u32 = 2u32; +pub const NDIS_WWAN_WAKE_ON_SMS_RECEIVE_SUPPORTED: u32 = 2u32; +pub const NDIS_WWAN_WAKE_ON_UICC_CHANGE_ENABLED: u32 = 16u32; +pub const NDIS_WWAN_WAKE_ON_UICC_CHANGE_SUPPORTED: u32 = 16u32; +pub const NDIS_WWAN_WAKE_ON_USSD_RECEIVE_ENABLED: u32 = 4u32; +pub const NDIS_WWAN_WAKE_ON_USSD_RECEIVE_SUPPORTED: u32 = 4u32; +pub const NDK_ADAPTER_FLAG_CQ_INTERRUPT_MODERATION_SUPPORTED: u32 = 4u32; +pub const NDK_ADAPTER_FLAG_CQ_RESIZE_SUPPORTED: u32 = 256u32; +pub const NDK_ADAPTER_FLAG_IN_ORDER_DMA_SUPPORTED: u32 = 1u32; +pub const NDK_ADAPTER_FLAG_LOOPBACK_CONNECTIONS_SUPPORTED: u32 = 65536u32; +pub const NDK_ADAPTER_FLAG_MULTI_ENGINE_SUPPORTED: u32 = 8u32; +pub const NDK_ADAPTER_FLAG_RDMA_READ_LOCAL_INVALIDATE_SUPPORTED: u32 = 16u32; +pub const NDK_ADAPTER_FLAG_RDMA_READ_SINK_NOT_REQUIRED: u32 = 2u32; +pub const NET_IFLUID_UNSPECIFIED: u32 = 0u32; +pub const NET_IF_ACCESS_BROADCAST: NET_IF_ACCESS_TYPE = 2i32; +pub const NET_IF_ACCESS_LOOPBACK: NET_IF_ACCESS_TYPE = 1i32; +pub const NET_IF_ACCESS_MAXIMUM: NET_IF_ACCESS_TYPE = 5i32; +pub const NET_IF_ACCESS_POINT_TO_MULTI_POINT: NET_IF_ACCESS_TYPE = 4i32; +pub const NET_IF_ACCESS_POINT_TO_POINT: NET_IF_ACCESS_TYPE = 3i32; +pub const NET_IF_ADMIN_STATUS_DOWN: NET_IF_ADMIN_STATUS = 2i32; +pub const NET_IF_ADMIN_STATUS_TESTING: NET_IF_ADMIN_STATUS = 3i32; +pub const NET_IF_ADMIN_STATUS_UP: NET_IF_ADMIN_STATUS = 1i32; +pub const NET_IF_CONNECTION_DEDICATED: NET_IF_CONNECTION_TYPE = 1i32; +pub const NET_IF_CONNECTION_DEMAND: NET_IF_CONNECTION_TYPE = 3i32; +pub const NET_IF_CONNECTION_MAXIMUM: NET_IF_CONNECTION_TYPE = 4i32; +pub const NET_IF_CONNECTION_PASSIVE: NET_IF_CONNECTION_TYPE = 2i32; +pub const NET_IF_DIRECTION_MAXIMUM: NET_IF_DIRECTION_TYPE = 3i32; +pub const NET_IF_DIRECTION_RECEIVEONLY: NET_IF_DIRECTION_TYPE = 2i32; +pub const NET_IF_DIRECTION_SENDONLY: NET_IF_DIRECTION_TYPE = 1i32; +pub const NET_IF_DIRECTION_SENDRECEIVE: NET_IF_DIRECTION_TYPE = 0i32; +pub const NET_IF_OID_COMPARTMENT_ID: u32 = 2u32; +pub const NET_IF_OID_IF_ALIAS: u32 = 1u32; +pub const NET_IF_OID_IF_ENTRY: u32 = 4u32; +pub const NET_IF_OID_NETWORK_GUID: u32 = 3u32; +pub const NET_IF_OPER_STATUS_DORMANT: NET_IF_OPER_STATUS = 5i32; +pub const NET_IF_OPER_STATUS_DORMANT_LOW_POWER: u32 = 8u32; +pub const NET_IF_OPER_STATUS_DORMANT_PAUSED: u32 = 4u32; +pub const NET_IF_OPER_STATUS_DOWN: NET_IF_OPER_STATUS = 2i32; +pub const NET_IF_OPER_STATUS_DOWN_NOT_AUTHENTICATED: u32 = 1u32; +pub const NET_IF_OPER_STATUS_DOWN_NOT_MEDIA_CONNECTED: u32 = 2u32; +pub const NET_IF_OPER_STATUS_LOWER_LAYER_DOWN: NET_IF_OPER_STATUS = 7i32; +pub const NET_IF_OPER_STATUS_NOT_PRESENT: NET_IF_OPER_STATUS = 6i32; +pub const NET_IF_OPER_STATUS_TESTING: NET_IF_OPER_STATUS = 3i32; +pub const NET_IF_OPER_STATUS_UNKNOWN: NET_IF_OPER_STATUS = 4i32; +pub const NET_IF_OPER_STATUS_UP: NET_IF_OPER_STATUS = 1i32; +pub const NET_IF_RCV_ADDRESS_TYPE_NON_VOLATILE: NET_IF_RCV_ADDRESS_TYPE = 3i32; +pub const NET_IF_RCV_ADDRESS_TYPE_OTHER: NET_IF_RCV_ADDRESS_TYPE = 1i32; +pub const NET_IF_RCV_ADDRESS_TYPE_VOLATILE: NET_IF_RCV_ADDRESS_TYPE = 2i32; +pub const NET_SITEID_MAXSYSTEM: u32 = 268435455u32; +pub const NET_SITEID_MAXUSER: u32 = 134217727u32; +pub const NET_SITEID_UNSPECIFIED: u32 = 0u32; +pub const NIIF_FILTER_INTERFACE: u32 = 2u32; +pub const NIIF_HARDWARE_INTERFACE: u32 = 1u32; +pub const NIIF_NDIS_ENDPOINT_INTERFACE: u32 = 64u32; +pub const NIIF_NDIS_ISCSI_INTERFACE: u32 = 128u32; +pub const NIIF_NDIS_RESERVED1: u32 = 4u32; +pub const NIIF_NDIS_RESERVED2: u32 = 8u32; +pub const NIIF_NDIS_RESERVED3: u32 = 16u32; +pub const NIIF_NDIS_RESERVED4: u32 = 256u32; +pub const NIIF_NDIS_WDM_INTERFACE: u32 = 32u32; +pub const Ndis802_11AuthModeAutoSwitch: NDIS_802_11_AUTHENTICATION_MODE = 2i32; +pub const Ndis802_11AuthModeMax: NDIS_802_11_AUTHENTICATION_MODE = 11i32; +pub const Ndis802_11AuthModeOpen: NDIS_802_11_AUTHENTICATION_MODE = 0i32; +pub const Ndis802_11AuthModeShared: NDIS_802_11_AUTHENTICATION_MODE = 1i32; +pub const Ndis802_11AuthModeWPA: NDIS_802_11_AUTHENTICATION_MODE = 3i32; +pub const Ndis802_11AuthModeWPA2: NDIS_802_11_AUTHENTICATION_MODE = 6i32; +pub const Ndis802_11AuthModeWPA2PSK: NDIS_802_11_AUTHENTICATION_MODE = 7i32; +pub const Ndis802_11AuthModeWPA3: NDIS_802_11_AUTHENTICATION_MODE = 8i32; +pub const Ndis802_11AuthModeWPA3Ent: NDIS_802_11_AUTHENTICATION_MODE = 10i32; +pub const Ndis802_11AuthModeWPA3Ent192: NDIS_802_11_AUTHENTICATION_MODE = 8i32; +pub const Ndis802_11AuthModeWPA3SAE: NDIS_802_11_AUTHENTICATION_MODE = 9i32; +pub const Ndis802_11AuthModeWPANone: NDIS_802_11_AUTHENTICATION_MODE = 5i32; +pub const Ndis802_11AuthModeWPAPSK: NDIS_802_11_AUTHENTICATION_MODE = 4i32; +pub const Ndis802_11AutoUnknown: NDIS_802_11_NETWORK_INFRASTRUCTURE = 2i32; +pub const Ndis802_11Automode: NDIS_802_11_NETWORK_TYPE = 4i32; +pub const Ndis802_11DS: NDIS_802_11_NETWORK_TYPE = 1i32; +pub const Ndis802_11Encryption1Enabled: NDIS_802_11_WEP_STATUS = 0i32; +pub const Ndis802_11Encryption1KeyAbsent: NDIS_802_11_WEP_STATUS = 2i32; +pub const Ndis802_11Encryption2Enabled: NDIS_802_11_WEP_STATUS = 4i32; +pub const Ndis802_11Encryption2KeyAbsent: NDIS_802_11_WEP_STATUS = 5i32; +pub const Ndis802_11Encryption3Enabled: NDIS_802_11_WEP_STATUS = 6i32; +pub const Ndis802_11Encryption3KeyAbsent: NDIS_802_11_WEP_STATUS = 7i32; +pub const Ndis802_11EncryptionDisabled: NDIS_802_11_WEP_STATUS = 1i32; +pub const Ndis802_11EncryptionNotSupported: NDIS_802_11_WEP_STATUS = 3i32; +pub const Ndis802_11FH: NDIS_802_11_NETWORK_TYPE = 0i32; +pub const Ndis802_11IBSS: NDIS_802_11_NETWORK_INFRASTRUCTURE = 0i32; +pub const Ndis802_11Infrastructure: NDIS_802_11_NETWORK_INFRASTRUCTURE = 1i32; +pub const Ndis802_11InfrastructureMax: NDIS_802_11_NETWORK_INFRASTRUCTURE = 3i32; +pub const Ndis802_11MediaStreamOff: NDIS_802_11_MEDIA_STREAM_MODE = 0i32; +pub const Ndis802_11MediaStreamOn: NDIS_802_11_MEDIA_STREAM_MODE = 1i32; +pub const Ndis802_11NetworkTypeMax: NDIS_802_11_NETWORK_TYPE = 5i32; +pub const Ndis802_11OFDM24: NDIS_802_11_NETWORK_TYPE = 3i32; +pub const Ndis802_11OFDM5: NDIS_802_11_NETWORK_TYPE = 2i32; +pub const Ndis802_11PowerModeCAM: NDIS_802_11_POWER_MODE = 0i32; +pub const Ndis802_11PowerModeFast_PSP: NDIS_802_11_POWER_MODE = 2i32; +pub const Ndis802_11PowerModeMAX_PSP: NDIS_802_11_POWER_MODE = 1i32; +pub const Ndis802_11PowerModeMax: NDIS_802_11_POWER_MODE = 3i32; +pub const Ndis802_11PrivFilter8021xWEP: NDIS_802_11_PRIVACY_FILTER = 1i32; +pub const Ndis802_11PrivFilterAcceptAll: NDIS_802_11_PRIVACY_FILTER = 0i32; +pub const Ndis802_11RadioStatusHardwareOff: NDIS_802_11_RADIO_STATUS = 1i32; +pub const Ndis802_11RadioStatusHardwareSoftwareOff: NDIS_802_11_RADIO_STATUS = 3i32; +pub const Ndis802_11RadioStatusMax: NDIS_802_11_RADIO_STATUS = 4i32; +pub const Ndis802_11RadioStatusOn: NDIS_802_11_RADIO_STATUS = 0i32; +pub const Ndis802_11RadioStatusSoftwareOff: NDIS_802_11_RADIO_STATUS = 2i32; +pub const Ndis802_11ReloadWEPKeys: NDIS_802_11_RELOAD_DEFAULTS = 0i32; +pub const Ndis802_11StatusTypeMax: NDIS_802_11_STATUS_TYPE = 3i32; +pub const Ndis802_11StatusType_Authentication: NDIS_802_11_STATUS_TYPE = 0i32; +pub const Ndis802_11StatusType_MediaStreamMode: NDIS_802_11_STATUS_TYPE = 1i32; +pub const Ndis802_11StatusType_PMKID_CandidateList: NDIS_802_11_STATUS_TYPE = 2i32; +pub const Ndis802_11WEPDisabled: NDIS_802_11_WEP_STATUS = 1i32; +pub const Ndis802_11WEPEnabled: NDIS_802_11_WEP_STATUS = 0i32; +pub const Ndis802_11WEPKeyAbsent: NDIS_802_11_WEP_STATUS = 2i32; +pub const Ndis802_11WEPNotSupported: NDIS_802_11_WEP_STATUS = 3i32; +pub const NdisDefinitelyNetworkChange: NDIS_NETWORK_CHANGE_TYPE = 2i32; +pub const NdisDeviceStateD0: NDIS_DEVICE_POWER_STATE = 1i32; +pub const NdisDeviceStateD1: NDIS_DEVICE_POWER_STATE = 2i32; +pub const NdisDeviceStateD2: NDIS_DEVICE_POWER_STATE = 3i32; +pub const NdisDeviceStateD3: NDIS_DEVICE_POWER_STATE = 4i32; +pub const NdisDeviceStateMaximum: NDIS_DEVICE_POWER_STATE = 5i32; +pub const NdisDeviceStateUnspecified: NDIS_DEVICE_POWER_STATE = 0i32; +pub const NdisFddiRingDetect: NDIS_FDDI_RING_MGT_STATE = 4i32; +pub const NdisFddiRingDirected: NDIS_FDDI_RING_MGT_STATE = 7i32; +pub const NdisFddiRingIsolated: NDIS_FDDI_RING_MGT_STATE = 1i32; +pub const NdisFddiRingNonOperational: NDIS_FDDI_RING_MGT_STATE = 2i32; +pub const NdisFddiRingNonOperationalDup: NDIS_FDDI_RING_MGT_STATE = 5i32; +pub const NdisFddiRingOperational: NDIS_FDDI_RING_MGT_STATE = 3i32; +pub const NdisFddiRingOperationalDup: NDIS_FDDI_RING_MGT_STATE = 6i32; +pub const NdisFddiRingTrace: NDIS_FDDI_RING_MGT_STATE = 8i32; +pub const NdisFddiStateActive: NDIS_FDDI_LCONNECTION_STATE = 9i32; +pub const NdisFddiStateBreak: NDIS_FDDI_LCONNECTION_STATE = 2i32; +pub const NdisFddiStateConnect: NDIS_FDDI_LCONNECTION_STATE = 4i32; +pub const NdisFddiStateJoin: NDIS_FDDI_LCONNECTION_STATE = 7i32; +pub const NdisFddiStateMaintenance: NDIS_FDDI_LCONNECTION_STATE = 10i32; +pub const NdisFddiStateNext: NDIS_FDDI_LCONNECTION_STATE = 5i32; +pub const NdisFddiStateOff: NDIS_FDDI_LCONNECTION_STATE = 1i32; +pub const NdisFddiStateSignal: NDIS_FDDI_LCONNECTION_STATE = 6i32; +pub const NdisFddiStateTrace: NDIS_FDDI_LCONNECTION_STATE = 3i32; +pub const NdisFddiStateVerify: NDIS_FDDI_LCONNECTION_STATE = 8i32; +pub const NdisFddiTypeCWrapA: NDIS_FDDI_ATTACHMENT_TYPE = 10i32; +pub const NdisFddiTypeCWrapB: NDIS_FDDI_ATTACHMENT_TYPE = 11i32; +pub const NdisFddiTypeCWrapS: NDIS_FDDI_ATTACHMENT_TYPE = 12i32; +pub const NdisFddiTypeIsolated: NDIS_FDDI_ATTACHMENT_TYPE = 1i32; +pub const NdisFddiTypeLocalA: NDIS_FDDI_ATTACHMENT_TYPE = 2i32; +pub const NdisFddiTypeLocalAB: NDIS_FDDI_ATTACHMENT_TYPE = 4i32; +pub const NdisFddiTypeLocalB: NDIS_FDDI_ATTACHMENT_TYPE = 3i32; +pub const NdisFddiTypeLocalS: NDIS_FDDI_ATTACHMENT_TYPE = 5i32; +pub const NdisFddiTypeThrough: NDIS_FDDI_ATTACHMENT_TYPE = 13i32; +pub const NdisFddiTypeWrapA: NDIS_FDDI_ATTACHMENT_TYPE = 6i32; +pub const NdisFddiTypeWrapAB: NDIS_FDDI_ATTACHMENT_TYPE = 8i32; +pub const NdisFddiTypeWrapB: NDIS_FDDI_ATTACHMENT_TYPE = 7i32; +pub const NdisFddiTypeWrapS: NDIS_FDDI_ATTACHMENT_TYPE = 9i32; +pub const NdisHardwareStatusClosing: NDIS_HARDWARE_STATUS = 3i32; +pub const NdisHardwareStatusInitializing: NDIS_HARDWARE_STATUS = 1i32; +pub const NdisHardwareStatusNotReady: NDIS_HARDWARE_STATUS = 4i32; +pub const NdisHardwareStatusReady: NDIS_HARDWARE_STATUS = 0i32; +pub const NdisHardwareStatusReset: NDIS_HARDWARE_STATUS = 2i32; +pub const NdisHashFunctionReserved1: u32 = 2u32; +pub const NdisHashFunctionReserved2: u32 = 4u32; +pub const NdisHashFunctionReserved3: u32 = 8u32; +pub const NdisHashFunctionToeplitz: u32 = 1u32; +pub const NdisInterruptModerationDisabled: NDIS_INTERRUPT_MODERATION = 3i32; +pub const NdisInterruptModerationEnabled: NDIS_INTERRUPT_MODERATION = 2i32; +pub const NdisInterruptModerationNotSupported: NDIS_INTERRUPT_MODERATION = 1i32; +pub const NdisInterruptModerationUnknown: NDIS_INTERRUPT_MODERATION = 0i32; +pub const NdisMediaStateConnected: NDIS_MEDIA_STATE = 0i32; +pub const NdisMediaStateDisconnected: NDIS_MEDIA_STATE = 1i32; +pub const NdisMedium1394: NDIS_MEDIUM = 13i32; +pub const NdisMedium802_3: NDIS_MEDIUM = 0i32; +pub const NdisMedium802_5: NDIS_MEDIUM = 1i32; +pub const NdisMediumArcnet878_2: NDIS_MEDIUM = 7i32; +pub const NdisMediumArcnetRaw: NDIS_MEDIUM = 6i32; +pub const NdisMediumAtm: NDIS_MEDIUM = 8i32; +pub const NdisMediumBpc: NDIS_MEDIUM = 11i32; +pub const NdisMediumCoWan: NDIS_MEDIUM = 12i32; +pub const NdisMediumDix: NDIS_MEDIUM = 5i32; +pub const NdisMediumFddi: NDIS_MEDIUM = 2i32; +pub const NdisMediumIP: NDIS_MEDIUM = 19i32; +pub const NdisMediumInfiniBand: NDIS_MEDIUM = 14i32; +pub const NdisMediumIrda: NDIS_MEDIUM = 10i32; +pub const NdisMediumLocalTalk: NDIS_MEDIUM = 4i32; +pub const NdisMediumLoopback: NDIS_MEDIUM = 17i32; +pub const NdisMediumMax: NDIS_MEDIUM = 20i32; +pub const NdisMediumNative802_11: NDIS_MEDIUM = 16i32; +pub const NdisMediumTunnel: NDIS_MEDIUM = 15i32; +pub const NdisMediumWan: NDIS_MEDIUM = 3i32; +pub const NdisMediumWiMAX: NDIS_MEDIUM = 18i32; +pub const NdisMediumWirelessWan: NDIS_MEDIUM = 9i32; +pub const NdisNetworkChangeFromMediaConnect: NDIS_NETWORK_CHANGE_TYPE = 3i32; +pub const NdisNetworkChangeMax: NDIS_NETWORK_CHANGE_TYPE = 4i32; +pub const NdisPauseFunctionsReceiveOnly: NDIS_SUPPORTED_PAUSE_FUNCTIONS = 2i32; +pub const NdisPauseFunctionsSendAndReceive: NDIS_SUPPORTED_PAUSE_FUNCTIONS = 3i32; +pub const NdisPauseFunctionsSendOnly: NDIS_SUPPORTED_PAUSE_FUNCTIONS = 1i32; +pub const NdisPauseFunctionsUnknown: NDIS_SUPPORTED_PAUSE_FUNCTIONS = 4i32; +pub const NdisPauseFunctionsUnsupported: NDIS_SUPPORTED_PAUSE_FUNCTIONS = 0i32; +pub const NdisPhysicalMedium1394: NDIS_PHYSICAL_MEDIUM = 7i32; +pub const NdisPhysicalMedium802_3: NDIS_PHYSICAL_MEDIUM = 14i32; +pub const NdisPhysicalMedium802_5: NDIS_PHYSICAL_MEDIUM = 15i32; +pub const NdisPhysicalMediumBluetooth: NDIS_PHYSICAL_MEDIUM = 10i32; +pub const NdisPhysicalMediumCableModem: NDIS_PHYSICAL_MEDIUM = 2i32; +pub const NdisPhysicalMediumDSL: NDIS_PHYSICAL_MEDIUM = 5i32; +pub const NdisPhysicalMediumFibreChannel: NDIS_PHYSICAL_MEDIUM = 6i32; +pub const NdisPhysicalMediumInfiniband: NDIS_PHYSICAL_MEDIUM = 11i32; +pub const NdisPhysicalMediumIrda: NDIS_PHYSICAL_MEDIUM = 16i32; +pub const NdisPhysicalMediumMax: NDIS_PHYSICAL_MEDIUM = 21i32; +pub const NdisPhysicalMediumNative802_11: NDIS_PHYSICAL_MEDIUM = 9i32; +pub const NdisPhysicalMediumNative802_15_4: NDIS_PHYSICAL_MEDIUM = 20i32; +pub const NdisPhysicalMediumOther: NDIS_PHYSICAL_MEDIUM = 19i32; +pub const NdisPhysicalMediumPhoneLine: NDIS_PHYSICAL_MEDIUM = 3i32; +pub const NdisPhysicalMediumPowerLine: NDIS_PHYSICAL_MEDIUM = 4i32; +pub const NdisPhysicalMediumUWB: NDIS_PHYSICAL_MEDIUM = 13i32; +pub const NdisPhysicalMediumUnspecified: NDIS_PHYSICAL_MEDIUM = 0i32; +pub const NdisPhysicalMediumWiMax: NDIS_PHYSICAL_MEDIUM = 12i32; +pub const NdisPhysicalMediumWiredCoWan: NDIS_PHYSICAL_MEDIUM = 18i32; +pub const NdisPhysicalMediumWiredWAN: NDIS_PHYSICAL_MEDIUM = 17i32; +pub const NdisPhysicalMediumWirelessLan: NDIS_PHYSICAL_MEDIUM = 1i32; +pub const NdisPhysicalMediumWirelessWan: NDIS_PHYSICAL_MEDIUM = 8i32; +pub const NdisPortAuthorizationUnknown: NDIS_PORT_AUTHORIZATION_STATE = 0i32; +pub const NdisPortAuthorized: NDIS_PORT_AUTHORIZATION_STATE = 1i32; +pub const NdisPortControlStateControlled: NDIS_PORT_CONTROL_STATE = 1i32; +pub const NdisPortControlStateUncontrolled: NDIS_PORT_CONTROL_STATE = 2i32; +pub const NdisPortControlStateUnknown: NDIS_PORT_CONTROL_STATE = 0i32; +pub const NdisPortReauthorizing: NDIS_PORT_AUTHORIZATION_STATE = 3i32; +pub const NdisPortType8021xSupplicant: NDIS_PORT_TYPE = 3i32; +pub const NdisPortTypeBridge: NDIS_PORT_TYPE = 1i32; +pub const NdisPortTypeMax: NDIS_PORT_TYPE = 4i32; +pub const NdisPortTypeRasConnection: NDIS_PORT_TYPE = 2i32; +pub const NdisPortTypeUndefined: NDIS_PORT_TYPE = 0i32; +pub const NdisPortUnauthorized: NDIS_PORT_AUTHORIZATION_STATE = 2i32; +pub const NdisPossibleNetworkChange: NDIS_NETWORK_CHANGE_TYPE = 1i32; +pub const NdisProcessorVendorAuthenticAMD: NDIS_PROCESSOR_VENDOR = 2i32; +pub const NdisProcessorVendorGenuinIntel: NDIS_PROCESSOR_VENDOR = 1i32; +pub const NdisProcessorVendorGenuineIntel: NDIS_PROCESSOR_VENDOR = 1i32; +pub const NdisProcessorVendorUnknown: NDIS_PROCESSOR_VENDOR = 0i32; +pub const NdisRequestClose: NDIS_REQUEST_TYPE = 4i32; +pub const NdisRequestGeneric1: NDIS_REQUEST_TYPE = 8i32; +pub const NdisRequestGeneric2: NDIS_REQUEST_TYPE = 9i32; +pub const NdisRequestGeneric3: NDIS_REQUEST_TYPE = 10i32; +pub const NdisRequestGeneric4: NDIS_REQUEST_TYPE = 11i32; +pub const NdisRequestOpen: NDIS_REQUEST_TYPE = 3i32; +pub const NdisRequestQueryInformation: NDIS_REQUEST_TYPE = 0i32; +pub const NdisRequestQueryStatistics: NDIS_REQUEST_TYPE = 2i32; +pub const NdisRequestReset: NDIS_REQUEST_TYPE = 7i32; +pub const NdisRequestSend: NDIS_REQUEST_TYPE = 5i32; +pub const NdisRequestSetInformation: NDIS_REQUEST_TYPE = 1i32; +pub const NdisRequestTransferData: NDIS_REQUEST_TYPE = 6i32; +pub const NdisRingStateClosed: NDIS_802_5_RING_STATE = 2i32; +pub const NdisRingStateClosing: NDIS_802_5_RING_STATE = 4i32; +pub const NdisRingStateOpenFailure: NDIS_802_5_RING_STATE = 5i32; +pub const NdisRingStateOpened: NDIS_802_5_RING_STATE = 1i32; +pub const NdisRingStateOpening: NDIS_802_5_RING_STATE = 3i32; +pub const NdisRingStateRingFailure: NDIS_802_5_RING_STATE = 6i32; +pub const NdisWanErrorControl: NDIS_WAN_QUALITY = 1i32; +pub const NdisWanHeaderEthernet: NDIS_WAN_HEADER_FORMAT = 1i32; +pub const NdisWanHeaderNative: NDIS_WAN_HEADER_FORMAT = 0i32; +pub const NdisWanMediumAgileVPN: NDIS_WAN_MEDIUM_SUBTYPE = 14i32; +pub const NdisWanMediumAtm: NDIS_WAN_MEDIUM_SUBTYPE = 5i32; +pub const NdisWanMediumFrameRelay: NDIS_WAN_MEDIUM_SUBTYPE = 4i32; +pub const NdisWanMediumGre: NDIS_WAN_MEDIUM_SUBTYPE = 15i32; +pub const NdisWanMediumHub: NDIS_WAN_MEDIUM_SUBTYPE = 0i32; +pub const NdisWanMediumIrda: NDIS_WAN_MEDIUM_SUBTYPE = 10i32; +pub const NdisWanMediumIsdn: NDIS_WAN_MEDIUM_SUBTYPE = 2i32; +pub const NdisWanMediumL2TP: NDIS_WAN_MEDIUM_SUBTYPE = 9i32; +pub const NdisWanMediumPPTP: NDIS_WAN_MEDIUM_SUBTYPE = 8i32; +pub const NdisWanMediumParallel: NDIS_WAN_MEDIUM_SUBTYPE = 11i32; +pub const NdisWanMediumPppoe: NDIS_WAN_MEDIUM_SUBTYPE = 12i32; +pub const NdisWanMediumSSTP: NDIS_WAN_MEDIUM_SUBTYPE = 13i32; +pub const NdisWanMediumSW56K: NDIS_WAN_MEDIUM_SUBTYPE = 7i32; +pub const NdisWanMediumSerial: NDIS_WAN_MEDIUM_SUBTYPE = 3i32; +pub const NdisWanMediumSonet: NDIS_WAN_MEDIUM_SUBTYPE = 6i32; +pub const NdisWanMediumSubTypeMax: NDIS_WAN_MEDIUM_SUBTYPE = 16i32; +pub const NdisWanMediumX_25: NDIS_WAN_MEDIUM_SUBTYPE = 1i32; +pub const NdisWanRaw: NDIS_WAN_QUALITY = 0i32; +pub const NdisWanReliable: NDIS_WAN_QUALITY = 2i32; +pub const NdkInfiniBand: NDK_RDMA_TECHNOLOGY = 2i32; +pub const NdkMaxTechnology: NDK_RDMA_TECHNOLOGY = 5i32; +pub const NdkRoCE: NDK_RDMA_TECHNOLOGY = 3i32; +pub const NdkRoCEv2: NDK_RDMA_TECHNOLOGY = 4i32; +pub const NdkUndefined: NDK_RDMA_TECHNOLOGY = 0i32; +pub const NdkiWarp: NDK_RDMA_TECHNOLOGY = 1i32; +pub const OFFLOAD_INBOUND_SA: u32 = 1u32; +pub const OFFLOAD_IPSEC_CONF_3_DES: OFFLOAD_CONF_ALGO = 3i32; +pub const OFFLOAD_IPSEC_CONF_DES: OFFLOAD_CONF_ALGO = 1i32; +pub const OFFLOAD_IPSEC_CONF_MAX: OFFLOAD_CONF_ALGO = 4i32; +pub const OFFLOAD_IPSEC_CONF_NONE: OFFLOAD_CONF_ALGO = 0i32; +pub const OFFLOAD_IPSEC_CONF_RESERVED: OFFLOAD_CONF_ALGO = 2i32; +pub const OFFLOAD_IPSEC_INTEGRITY_MAX: OFFLOAD_INTEGRITY_ALGO = 3i32; +pub const OFFLOAD_IPSEC_INTEGRITY_MD5: OFFLOAD_INTEGRITY_ALGO = 1i32; +pub const OFFLOAD_IPSEC_INTEGRITY_NONE: OFFLOAD_INTEGRITY_ALGO = 0i32; +pub const OFFLOAD_IPSEC_INTEGRITY_SHA: OFFLOAD_INTEGRITY_ALGO = 2i32; +pub const OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_IKE: UDP_ENCAP_TYPE = 0i32; +pub const OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_OTHER: UDP_ENCAP_TYPE = 1i32; +pub const OFFLOAD_MAX_SAS: u32 = 3u32; +pub const OFFLOAD_OUTBOUND_SA: u32 = 2u32; +pub const OID_1394_LOCAL_NODE_INFO: u32 = 201392385u32; +pub const OID_1394_VC_INFO: u32 = 201392386u32; +pub const OID_802_11_ADD_KEY: u32 = 218169629u32; +pub const OID_802_11_ADD_WEP: u32 = 218169619u32; +pub const OID_802_11_ASSOCIATION_INFORMATION: u32 = 218169631u32; +pub const OID_802_11_AUTHENTICATION_MODE: u32 = 218169624u32; +pub const OID_802_11_BSSID: u32 = 218169601u32; +pub const OID_802_11_BSSID_LIST: u32 = 218169879u32; +pub const OID_802_11_BSSID_LIST_SCAN: u32 = 218169626u32; +pub const OID_802_11_CAPABILITY: u32 = 218169634u32; +pub const OID_802_11_CONFIGURATION: u32 = 218169873u32; +pub const OID_802_11_DESIRED_RATES: u32 = 218169872u32; +pub const OID_802_11_DISASSOCIATE: u32 = 218169621u32; +pub const OID_802_11_ENCRYPTION_STATUS: u32 = 218169627u32; +pub const OID_802_11_FRAGMENTATION_THRESHOLD: u32 = 218169865u32; +pub const OID_802_11_INFRASTRUCTURE_MODE: u32 = 218169608u32; +pub const OID_802_11_MEDIA_STREAM_MODE: u32 = 218169633u32; +pub const OID_802_11_NETWORK_TYPES_SUPPORTED: u32 = 218169859u32; +pub const OID_802_11_NETWORK_TYPE_IN_USE: u32 = 218169860u32; +pub const OID_802_11_NON_BCAST_SSID_LIST: u32 = 218169636u32; +pub const OID_802_11_NUMBER_OF_ANTENNAS: u32 = 218169867u32; +pub const OID_802_11_PMKID: u32 = 218169635u32; +pub const OID_802_11_POWER_MODE: u32 = 218169878u32; +pub const OID_802_11_PRIVACY_FILTER: u32 = 218169625u32; +pub const OID_802_11_RADIO_STATUS: u32 = 218169637u32; +pub const OID_802_11_RELOAD_DEFAULTS: u32 = 218169628u32; +pub const OID_802_11_REMOVE_KEY: u32 = 218169630u32; +pub const OID_802_11_REMOVE_WEP: u32 = 218169620u32; +pub const OID_802_11_RSSI: u32 = 218169862u32; +pub const OID_802_11_RSSI_TRIGGER: u32 = 218169863u32; +pub const OID_802_11_RTS_THRESHOLD: u32 = 218169866u32; +pub const OID_802_11_RX_ANTENNA_SELECTED: u32 = 218169868u32; +pub const OID_802_11_SSID: u32 = 218169602u32; +pub const OID_802_11_STATISTICS: u32 = 218235410u32; +pub const OID_802_11_SUPPORTED_RATES: u32 = 218169870u32; +pub const OID_802_11_TEST: u32 = 218169632u32; +pub const OID_802_11_TX_ANTENNA_SELECTED: u32 = 218169869u32; +pub const OID_802_11_TX_POWER_LEVEL: u32 = 218169861u32; +pub const OID_802_11_WEP_STATUS: u32 = 218169627u32; +pub const OID_802_3_ADD_MULTICAST_ADDRESS: u32 = 16843272u32; +pub const OID_802_3_CURRENT_ADDRESS: u32 = 16843010u32; +pub const OID_802_3_DELETE_MULTICAST_ADDRESS: u32 = 16843273u32; +pub const OID_802_3_MAC_OPTIONS: u32 = 16843013u32; +pub const OID_802_3_MAXIMUM_LIST_SIZE: u32 = 16843012u32; +pub const OID_802_3_MULTICAST_LIST: u32 = 16843011u32; +pub const OID_802_3_PERMANENT_ADDRESS: u32 = 16843009u32; +pub const OID_802_3_RCV_ERROR_ALIGNMENT: u32 = 16908545u32; +pub const OID_802_3_RCV_OVERRUN: u32 = 16908803u32; +pub const OID_802_3_XMIT_DEFERRED: u32 = 16908801u32; +pub const OID_802_3_XMIT_HEARTBEAT_FAILURE: u32 = 16908805u32; +pub const OID_802_3_XMIT_LATE_COLLISIONS: u32 = 16908807u32; +pub const OID_802_3_XMIT_MAX_COLLISIONS: u32 = 16908802u32; +pub const OID_802_3_XMIT_MORE_COLLISIONS: u32 = 16908547u32; +pub const OID_802_3_XMIT_ONE_COLLISION: u32 = 16908546u32; +pub const OID_802_3_XMIT_TIMES_CRS_LOST: u32 = 16908806u32; +pub const OID_802_3_XMIT_UNDERRUN: u32 = 16908804u32; +pub const OID_802_5_ABORT_DELIMETERS: u32 = 33686019u32; +pub const OID_802_5_AC_ERRORS: u32 = 33686018u32; +pub const OID_802_5_BURST_ERRORS: u32 = 33686017u32; +pub const OID_802_5_CURRENT_ADDRESS: u32 = 33620226u32; +pub const OID_802_5_CURRENT_FUNCTIONAL: u32 = 33620227u32; +pub const OID_802_5_CURRENT_GROUP: u32 = 33620228u32; +pub const OID_802_5_CURRENT_RING_STATE: u32 = 33620231u32; +pub const OID_802_5_CURRENT_RING_STATUS: u32 = 33620230u32; +pub const OID_802_5_FRAME_COPIED_ERRORS: u32 = 33686020u32; +pub const OID_802_5_FREQUENCY_ERRORS: u32 = 33686021u32; +pub const OID_802_5_INTERNAL_ERRORS: u32 = 33686023u32; +pub const OID_802_5_LAST_OPEN_STATUS: u32 = 33620229u32; +pub const OID_802_5_LINE_ERRORS: u32 = 33685761u32; +pub const OID_802_5_LOST_FRAMES: u32 = 33685762u32; +pub const OID_802_5_PERMANENT_ADDRESS: u32 = 33620225u32; +pub const OID_802_5_TOKEN_ERRORS: u32 = 33686022u32; +pub const OID_ARCNET_CURRENT_ADDRESS: u32 = 100729090u32; +pub const OID_ARCNET_PERMANENT_ADDRESS: u32 = 100729089u32; +pub const OID_ARCNET_RECONFIGURATIONS: u32 = 100794881u32; +pub const OID_ATM_ACQUIRE_ACCESS_NET_RESOURCES: u32 = 134283779u32; +pub const OID_ATM_ALIGNMENT_REQUIRED: u32 = 134283784u32; +pub const OID_ATM_ASSIGNED_VPI: u32 = 134283778u32; +pub const OID_ATM_CALL_ALERTING: u32 = 134283788u32; +pub const OID_ATM_CALL_NOTIFY: u32 = 134283790u32; +pub const OID_ATM_CALL_PROCEEDING: u32 = 134283787u32; +pub const OID_ATM_CELLS_HEC_ERROR: u32 = 134349314u32; +pub const OID_ATM_DIGITAL_BROADCAST_VPIVCI: u32 = 134283782u32; +pub const OID_ATM_GET_NEAREST_FLOW: u32 = 134283783u32; +pub const OID_ATM_HW_CURRENT_ADDRESS: u32 = 134283524u32; +pub const OID_ATM_ILMI_VPIVCI: u32 = 134283781u32; +pub const OID_ATM_LECS_ADDRESS: u32 = 134283785u32; +pub const OID_ATM_MAX_AAL0_PACKET_SIZE: u32 = 134283528u32; +pub const OID_ATM_MAX_AAL1_PACKET_SIZE: u32 = 134283529u32; +pub const OID_ATM_MAX_AAL34_PACKET_SIZE: u32 = 134283530u32; +pub const OID_ATM_MAX_AAL5_PACKET_SIZE: u32 = 134283531u32; +pub const OID_ATM_MAX_ACTIVE_VCI_BITS: u32 = 134283526u32; +pub const OID_ATM_MAX_ACTIVE_VCS: u32 = 134283525u32; +pub const OID_ATM_MAX_ACTIVE_VPI_BITS: u32 = 134283527u32; +pub const OID_ATM_MY_IP_NM_ADDRESS: u32 = 134283791u32; +pub const OID_ATM_PARTY_ALERTING: u32 = 134283789u32; +pub const OID_ATM_RCV_CELLS_DROPPED: u32 = 134349059u32; +pub const OID_ATM_RCV_CELLS_OK: u32 = 134349057u32; +pub const OID_ATM_RCV_INVALID_VPI_VCI: u32 = 134349313u32; +pub const OID_ATM_RCV_REASSEMBLY_ERROR: u32 = 134349315u32; +pub const OID_ATM_RELEASE_ACCESS_NET_RESOURCES: u32 = 134283780u32; +pub const OID_ATM_SERVICE_ADDRESS: u32 = 134283786u32; +pub const OID_ATM_SIGNALING_VPIVCI: u32 = 134283777u32; +pub const OID_ATM_SUPPORTED_AAL_TYPES: u32 = 134283523u32; +pub const OID_ATM_SUPPORTED_SERVICE_CATEGORY: u32 = 134283522u32; +pub const OID_ATM_SUPPORTED_VC_RATES: u32 = 134283521u32; +pub const OID_ATM_XMIT_CELLS_OK: u32 = 134349058u32; +pub const OID_CO_ADDRESS_CHANGE: u32 = 4261412871u32; +pub const OID_CO_ADD_ADDRESS: u32 = 4261412868u32; +pub const OID_CO_ADD_PVC: u32 = 4261412865u32; +pub const OID_CO_AF_CLOSE: u32 = 4261412874u32; +pub const OID_CO_DELETE_ADDRESS: u32 = 4261412869u32; +pub const OID_CO_DELETE_PVC: u32 = 4261412866u32; +pub const OID_CO_GET_ADDRESSES: u32 = 4261412870u32; +pub const OID_CO_GET_CALL_INFORMATION: u32 = 4261412867u32; +pub const OID_CO_SIGNALING_DISABLED: u32 = 4261412873u32; +pub const OID_CO_SIGNALING_ENABLED: u32 = 4261412872u32; +pub const OID_CO_TAPI_ADDRESS_CAPS: u32 = 4261416963u32; +pub const OID_CO_TAPI_CM_CAPS: u32 = 4261416961u32; +pub const OID_CO_TAPI_DONT_REPORT_DIGITS: u32 = 4261416969u32; +pub const OID_CO_TAPI_GET_CALL_DIAGNOSTICS: u32 = 4261416967u32; +pub const OID_CO_TAPI_LINE_CAPS: u32 = 4261416962u32; +pub const OID_CO_TAPI_REPORT_DIGITS: u32 = 4261416968u32; +pub const OID_CO_TAPI_TRANSLATE_NDIS_CALLPARAMS: u32 = 4261416965u32; +pub const OID_CO_TAPI_TRANSLATE_TAPI_CALLPARAMS: u32 = 4261416964u32; +pub const OID_CO_TAPI_TRANSLATE_TAPI_SAP: u32 = 4261416966u32; +pub const OID_FDDI_ATTACHMENT_TYPE: u32 = 50462977u32; +pub const OID_FDDI_DOWNSTREAM_NODE_LONG: u32 = 50462979u32; +pub const OID_FDDI_FRAMES_LOST: u32 = 50462981u32; +pub const OID_FDDI_FRAME_ERRORS: u32 = 50462980u32; +pub const OID_FDDI_IF_ADMIN_STATUS: u32 = 50528894u32; +pub const OID_FDDI_IF_DESCR: u32 = 50528889u32; +pub const OID_FDDI_IF_IN_DISCARDS: u32 = 50528900u32; +pub const OID_FDDI_IF_IN_ERRORS: u32 = 50528901u32; +pub const OID_FDDI_IF_IN_NUCAST_PKTS: u32 = 50528899u32; +pub const OID_FDDI_IF_IN_OCTETS: u32 = 50528897u32; +pub const OID_FDDI_IF_IN_UCAST_PKTS: u32 = 50528898u32; +pub const OID_FDDI_IF_IN_UNKNOWN_PROTOS: u32 = 50528902u32; +pub const OID_FDDI_IF_LAST_CHANGE: u32 = 50528896u32; +pub const OID_FDDI_IF_MTU: u32 = 50528891u32; +pub const OID_FDDI_IF_OPER_STATUS: u32 = 50528895u32; +pub const OID_FDDI_IF_OUT_DISCARDS: u32 = 50528906u32; +pub const OID_FDDI_IF_OUT_ERRORS: u32 = 50528907u32; +pub const OID_FDDI_IF_OUT_NUCAST_PKTS: u32 = 50528905u32; +pub const OID_FDDI_IF_OUT_OCTETS: u32 = 50528903u32; +pub const OID_FDDI_IF_OUT_QLEN: u32 = 50528908u32; +pub const OID_FDDI_IF_OUT_UCAST_PKTS: u32 = 50528904u32; +pub const OID_FDDI_IF_PHYS_ADDRESS: u32 = 50528893u32; +pub const OID_FDDI_IF_SPECIFIC: u32 = 50528909u32; +pub const OID_FDDI_IF_SPEED: u32 = 50528892u32; +pub const OID_FDDI_IF_TYPE: u32 = 50528890u32; +pub const OID_FDDI_LCONNECTION_STATE: u32 = 50462985u32; +pub const OID_FDDI_LCT_FAILURES: u32 = 50462983u32; +pub const OID_FDDI_LEM_REJECTS: u32 = 50462984u32; +pub const OID_FDDI_LONG_CURRENT_ADDR: u32 = 50397442u32; +pub const OID_FDDI_LONG_MAX_LIST_SIZE: u32 = 50397444u32; +pub const OID_FDDI_LONG_MULTICAST_LIST: u32 = 50397443u32; +pub const OID_FDDI_LONG_PERMANENT_ADDR: u32 = 50397441u32; +pub const OID_FDDI_MAC_AVAILABLE_PATHS: u32 = 50528803u32; +pub const OID_FDDI_MAC_BRIDGE_FUNCTIONS: u32 = 50528800u32; +pub const OID_FDDI_MAC_COPIED_CT: u32 = 50528828u32; +pub const OID_FDDI_MAC_CURRENT_PATH: u32 = 50528804u32; +pub const OID_FDDI_MAC_DA_FLAG: u32 = 50528842u32; +pub const OID_FDDI_MAC_DOWNSTREAM_NBR: u32 = 50528806u32; +pub const OID_FDDI_MAC_DOWNSTREAM_PORT_TYPE: u32 = 50528811u32; +pub const OID_FDDI_MAC_DUP_ADDRESS_TEST: u32 = 50528809u32; +pub const OID_FDDI_MAC_ERROR_CT: u32 = 50528831u32; +pub const OID_FDDI_MAC_FRAME_CT: u32 = 50528827u32; +pub const OID_FDDI_MAC_FRAME_ERROR_FLAG: u32 = 50528844u32; +pub const OID_FDDI_MAC_FRAME_ERROR_RATIO: u32 = 50528838u32; +pub const OID_FDDI_MAC_FRAME_ERROR_THRESHOLD: u32 = 50528837u32; +pub const OID_FDDI_MAC_FRAME_STATUS_FUNCTIONS: u32 = 50528799u32; +pub const OID_FDDI_MAC_HARDWARE_PRESENT: u32 = 50528847u32; +pub const OID_FDDI_MAC_INDEX: u32 = 50528812u32; +pub const OID_FDDI_MAC_LATE_CT: u32 = 50528835u32; +pub const OID_FDDI_MAC_LONG_GRP_ADDRESS: u32 = 50528814u32; +pub const OID_FDDI_MAC_LOST_CT: u32 = 50528832u32; +pub const OID_FDDI_MAC_MA_UNITDATA_AVAILABLE: u32 = 50528846u32; +pub const OID_FDDI_MAC_MA_UNITDATA_ENABLE: u32 = 50528848u32; +pub const OID_FDDI_MAC_NOT_COPIED_CT: u32 = 50528834u32; +pub const OID_FDDI_MAC_NOT_COPIED_FLAG: u32 = 50528845u32; +pub const OID_FDDI_MAC_NOT_COPIED_RATIO: u32 = 50528840u32; +pub const OID_FDDI_MAC_NOT_COPIED_THRESHOLD: u32 = 50528839u32; +pub const OID_FDDI_MAC_OLD_DOWNSTREAM_NBR: u32 = 50528808u32; +pub const OID_FDDI_MAC_OLD_UPSTREAM_NBR: u32 = 50528807u32; +pub const OID_FDDI_MAC_REQUESTED_PATHS: u32 = 50528810u32; +pub const OID_FDDI_MAC_RING_OP_CT: u32 = 50528836u32; +pub const OID_FDDI_MAC_RMT_STATE: u32 = 50528841u32; +pub const OID_FDDI_MAC_SHORT_GRP_ADDRESS: u32 = 50528815u32; +pub const OID_FDDI_MAC_SMT_ADDRESS: u32 = 50528813u32; +pub const OID_FDDI_MAC_TOKEN_CT: u32 = 50528830u32; +pub const OID_FDDI_MAC_TRANSMIT_CT: u32 = 50528829u32; +pub const OID_FDDI_MAC_TVX_CAPABILITY: u32 = 50528802u32; +pub const OID_FDDI_MAC_TVX_EXPIRED_CT: u32 = 50528833u32; +pub const OID_FDDI_MAC_TVX_VALUE: u32 = 50528819u32; +pub const OID_FDDI_MAC_T_MAX: u32 = 50528818u32; +pub const OID_FDDI_MAC_T_MAX_CAPABILITY: u32 = 50528801u32; +pub const OID_FDDI_MAC_T_NEG: u32 = 50528817u32; +pub const OID_FDDI_MAC_T_PRI0: u32 = 50528820u32; +pub const OID_FDDI_MAC_T_PRI1: u32 = 50528821u32; +pub const OID_FDDI_MAC_T_PRI2: u32 = 50528822u32; +pub const OID_FDDI_MAC_T_PRI3: u32 = 50528823u32; +pub const OID_FDDI_MAC_T_PRI4: u32 = 50528824u32; +pub const OID_FDDI_MAC_T_PRI5: u32 = 50528825u32; +pub const OID_FDDI_MAC_T_PRI6: u32 = 50528826u32; +pub const OID_FDDI_MAC_T_REQ: u32 = 50528816u32; +pub const OID_FDDI_MAC_UNDA_FLAG: u32 = 50528843u32; +pub const OID_FDDI_MAC_UPSTREAM_NBR: u32 = 50528805u32; +pub const OID_FDDI_PATH_CONFIGURATION: u32 = 50528854u32; +pub const OID_FDDI_PATH_INDEX: u32 = 50528849u32; +pub const OID_FDDI_PATH_MAX_T_REQ: u32 = 50528859u32; +pub const OID_FDDI_PATH_RING_LATENCY: u32 = 50528850u32; +pub const OID_FDDI_PATH_SBA_AVAILABLE: u32 = 50528856u32; +pub const OID_FDDI_PATH_SBA_OVERHEAD: u32 = 50528853u32; +pub const OID_FDDI_PATH_SBA_PAYLOAD: u32 = 50528852u32; +pub const OID_FDDI_PATH_TRACE_STATUS: u32 = 50528851u32; +pub const OID_FDDI_PATH_TVX_LOWER_BOUND: u32 = 50528857u32; +pub const OID_FDDI_PATH_T_MAX_LOWER_BOUND: u32 = 50528858u32; +pub const OID_FDDI_PATH_T_R_MODE: u32 = 50528855u32; +pub const OID_FDDI_PORT_ACTION: u32 = 50528888u32; +pub const OID_FDDI_PORT_AVAILABLE_PATHS: u32 = 50528867u32; +pub const OID_FDDI_PORT_BS_FLAG: u32 = 50528873u32; +pub const OID_FDDI_PORT_CONNECTION_CAPABILITIES: u32 = 50528870u32; +pub const OID_FDDI_PORT_CONNECTION_POLICIES: u32 = 50528862u32; +pub const OID_FDDI_PORT_CONNNECT_STATE: u32 = 50528882u32; +pub const OID_FDDI_PORT_CURRENT_PATH: u32 = 50528864u32; +pub const OID_FDDI_PORT_EB_ERROR_CT: u32 = 50528875u32; +pub const OID_FDDI_PORT_HARDWARE_PRESENT: u32 = 50528886u32; +pub const OID_FDDI_PORT_INDEX: u32 = 50528871u32; +pub const OID_FDDI_PORT_LCT_FAIL_CT: u32 = 50528876u32; +pub const OID_FDDI_PORT_LEM_CT: u32 = 50528879u32; +pub const OID_FDDI_PORT_LEM_REJECT_CT: u32 = 50528878u32; +pub const OID_FDDI_PORT_LER_ALARM: u32 = 50528881u32; +pub const OID_FDDI_PORT_LER_CUTOFF: u32 = 50528880u32; +pub const OID_FDDI_PORT_LER_ESTIMATE: u32 = 50528877u32; +pub const OID_FDDI_PORT_LER_FLAG: u32 = 50528885u32; +pub const OID_FDDI_PORT_MAC_INDICATED: u32 = 50528863u32; +pub const OID_FDDI_PORT_MAC_LOOP_TIME: u32 = 50528868u32; +pub const OID_FDDI_PORT_MAC_PLACEMENT: u32 = 50528866u32; +pub const OID_FDDI_PORT_MAINT_LS: u32 = 50528872u32; +pub const OID_FDDI_PORT_MY_TYPE: u32 = 50528860u32; +pub const OID_FDDI_PORT_NEIGHBOR_TYPE: u32 = 50528861u32; +pub const OID_FDDI_PORT_PCM_STATE: u32 = 50528883u32; +pub const OID_FDDI_PORT_PC_LS: u32 = 50528874u32; +pub const OID_FDDI_PORT_PC_WITHHOLD: u32 = 50528884u32; +pub const OID_FDDI_PORT_PMD_CLASS: u32 = 50528869u32; +pub const OID_FDDI_PORT_REQUESTED_PATHS: u32 = 50528865u32; +pub const OID_FDDI_RING_MGT_STATE: u32 = 50462982u32; +pub const OID_FDDI_SHORT_CURRENT_ADDR: u32 = 50397446u32; +pub const OID_FDDI_SHORT_MAX_LIST_SIZE: u32 = 50397448u32; +pub const OID_FDDI_SHORT_MULTICAST_LIST: u32 = 50397447u32; +pub const OID_FDDI_SHORT_PERMANENT_ADDR: u32 = 50397445u32; +pub const OID_FDDI_SMT_AVAILABLE_PATHS: u32 = 50528779u32; +pub const OID_FDDI_SMT_BYPASS_PRESENT: u32 = 50528788u32; +pub const OID_FDDI_SMT_CF_STATE: u32 = 50528790u32; +pub const OID_FDDI_SMT_CONFIG_CAPABILITIES: u32 = 50528780u32; +pub const OID_FDDI_SMT_CONFIG_POLICY: u32 = 50528781u32; +pub const OID_FDDI_SMT_CONNECTION_POLICY: u32 = 50528782u32; +pub const OID_FDDI_SMT_ECM_STATE: u32 = 50528789u32; +pub const OID_FDDI_SMT_HI_VERSION_ID: u32 = 50528771u32; +pub const OID_FDDI_SMT_HOLD_STATE: u32 = 50528791u32; +pub const OID_FDDI_SMT_LAST_SET_STATION_ID: u32 = 50528798u32; +pub const OID_FDDI_SMT_LO_VERSION_ID: u32 = 50528772u32; +pub const OID_FDDI_SMT_MAC_CT: u32 = 50528776u32; +pub const OID_FDDI_SMT_MAC_INDEXES: u32 = 50528787u32; +pub const OID_FDDI_SMT_MANUFACTURER_DATA: u32 = 50528773u32; +pub const OID_FDDI_SMT_MASTER_CT: u32 = 50528778u32; +pub const OID_FDDI_SMT_MIB_VERSION_ID: u32 = 50528775u32; +pub const OID_FDDI_SMT_MSG_TIME_STAMP: u32 = 50528795u32; +pub const OID_FDDI_SMT_NON_MASTER_CT: u32 = 50528777u32; +pub const OID_FDDI_SMT_OP_VERSION_ID: u32 = 50528770u32; +pub const OID_FDDI_SMT_PEER_WRAP_FLAG: u32 = 50528794u32; +pub const OID_FDDI_SMT_PORT_INDEXES: u32 = 50528786u32; +pub const OID_FDDI_SMT_REMOTE_DISCONNECT_FLAG: u32 = 50528792u32; +pub const OID_FDDI_SMT_SET_COUNT: u32 = 50528797u32; +pub const OID_FDDI_SMT_STATION_ACTION: u32 = 50528887u32; +pub const OID_FDDI_SMT_STATION_ID: u32 = 50528769u32; +pub const OID_FDDI_SMT_STATION_STATUS: u32 = 50528793u32; +pub const OID_FDDI_SMT_STAT_RPT_POLICY: u32 = 50528784u32; +pub const OID_FDDI_SMT_TRACE_MAX_EXPIRATION: u32 = 50528785u32; +pub const OID_FDDI_SMT_TRANSITION_TIME_STAMP: u32 = 50528796u32; +pub const OID_FDDI_SMT_T_NOTIFY: u32 = 50528783u32; +pub const OID_FDDI_SMT_USER_DATA: u32 = 50528774u32; +pub const OID_FDDI_UPSTREAM_NODE_LONG: u32 = 50462978u32; +pub const OID_FFP_ADAPTER_STATS: u32 = 4227990033u32; +pub const OID_FFP_CONTROL: u32 = 4227924498u32; +pub const OID_FFP_DATA: u32 = 4227924500u32; +pub const OID_FFP_DRIVER_STATS: u32 = 4227990032u32; +pub const OID_FFP_FLUSH: u32 = 4227924497u32; +pub const OID_FFP_PARAMS: u32 = 4227924499u32; +pub const OID_FFP_SUPPORT: u32 = 4227924496u32; +pub const OID_GEN_ADMIN_STATUS: u32 = 66184u32; +pub const OID_GEN_ALIAS: u32 = 66185u32; +pub const OID_GEN_BROADCAST_BYTES_RCV: u32 = 131595u32; +pub const OID_GEN_BROADCAST_BYTES_XMIT: u32 = 131589u32; +pub const OID_GEN_BROADCAST_FRAMES_RCV: u32 = 131596u32; +pub const OID_GEN_BROADCAST_FRAMES_XMIT: u32 = 131590u32; +pub const OID_GEN_BYTES_RCV: u32 = 131609u32; +pub const OID_GEN_BYTES_XMIT: u32 = 131610u32; +pub const OID_GEN_CO_BYTES_RCV: u32 = 131591u32; +pub const OID_GEN_CO_BYTES_XMIT: u32 = 131585u32; +pub const OID_GEN_CO_BYTES_XMIT_OUTSTANDING: u32 = 131617u32; +pub const OID_GEN_CO_DEVICE_PROFILE: u32 = 131602u32; +pub const OID_GEN_CO_DRIVER_VERSION: u32 = 65808u32; +pub const OID_GEN_CO_GET_NETCARD_TIME: u32 = 131600u32; +pub const OID_GEN_CO_GET_TIME_CAPS: u32 = 131599u32; +pub const OID_GEN_CO_HARDWARE_STATUS: u32 = 65794u32; +pub const OID_GEN_CO_LINK_SPEED: u32 = 65799u32; +pub const OID_GEN_CO_MAC_OPTIONS: u32 = 65811u32; +pub const OID_GEN_CO_MEDIA_CONNECT_STATUS: u32 = 65812u32; +pub const OID_GEN_CO_MEDIA_IN_USE: u32 = 65796u32; +pub const OID_GEN_CO_MEDIA_SUPPORTED: u32 = 65795u32; +pub const OID_GEN_CO_MINIMUM_LINK_SPEED: u32 = 131360u32; +pub const OID_GEN_CO_NETCARD_LOAD: u32 = 131601u32; +pub const OID_GEN_CO_PROTOCOL_OPTIONS: u32 = 65810u32; +pub const OID_GEN_CO_RCV_CRC_ERROR: u32 = 131597u32; +pub const OID_GEN_CO_RCV_PDUS_ERROR: u32 = 131332u32; +pub const OID_GEN_CO_RCV_PDUS_NO_BUFFER: u32 = 131333u32; +pub const OID_GEN_CO_RCV_PDUS_OK: u32 = 131330u32; +pub const OID_GEN_CO_SUPPORTED_GUIDS: u32 = 65815u32; +pub const OID_GEN_CO_SUPPORTED_LIST: u32 = 65793u32; +pub const OID_GEN_CO_TRANSMIT_QUEUE_LENGTH: u32 = 131598u32; +pub const OID_GEN_CO_VENDOR_DESCRIPTION: u32 = 65805u32; +pub const OID_GEN_CO_VENDOR_DRIVER_VERSION: u32 = 65814u32; +pub const OID_GEN_CO_VENDOR_ID: u32 = 65804u32; +pub const OID_GEN_CO_XMIT_PDUS_ERROR: u32 = 131331u32; +pub const OID_GEN_CO_XMIT_PDUS_OK: u32 = 131329u32; +pub const OID_GEN_CURRENT_LOOKAHEAD: u32 = 65807u32; +pub const OID_GEN_CURRENT_PACKET_FILTER: u32 = 65806u32; +pub const OID_GEN_DEVICE_PROFILE: u32 = 131602u32; +pub const OID_GEN_DIRECTED_BYTES_RCV: u32 = 131591u32; +pub const OID_GEN_DIRECTED_BYTES_XMIT: u32 = 131585u32; +pub const OID_GEN_DIRECTED_FRAMES_RCV: u32 = 131592u32; +pub const OID_GEN_DIRECTED_FRAMES_XMIT: u32 = 131586u32; +pub const OID_GEN_DISCONTINUITY_TIME: u32 = 66178u32; +pub const OID_GEN_DRIVER_VERSION: u32 = 65808u32; +pub const OID_GEN_ENUMERATE_PORTS: u32 = 66061u32; +pub const OID_GEN_FRIENDLY_NAME: u32 = 131606u32; +pub const OID_GEN_GET_NETCARD_TIME: u32 = 131600u32; +pub const OID_GEN_GET_TIME_CAPS: u32 = 131599u32; +pub const OID_GEN_HARDWARE_STATUS: u32 = 65794u32; +pub const OID_GEN_HD_SPLIT_CURRENT_CONFIG: u32 = 66080u32; +pub const OID_GEN_HD_SPLIT_PARAMETERS: u32 = 66078u32; +pub const OID_GEN_INIT_TIME_MS: u32 = 131603u32; +pub const OID_GEN_INTERFACE_INFO: u32 = 66183u32; +pub const OID_GEN_INTERRUPT_MODERATION: u32 = 66057u32; +pub const OID_GEN_IP_OPER_STATUS: u32 = 66189u32; +pub const OID_GEN_ISOLATION_PARAMETERS: u32 = 66304u32; +pub const OID_GEN_LAST_CHANGE: u32 = 66177u32; +pub const OID_GEN_LINK_PARAMETERS: u32 = 66056u32; +pub const OID_GEN_LINK_SPEED: u32 = 65799u32; +pub const OID_GEN_LINK_SPEED_EX: u32 = 66187u32; +pub const OID_GEN_LINK_STATE: u32 = 66055u32; +pub const OID_GEN_MACHINE_NAME: u32 = 66074u32; +pub const OID_GEN_MAC_ADDRESS: u32 = 66053u32; +pub const OID_GEN_MAC_OPTIONS: u32 = 65811u32; +pub const OID_GEN_MAXIMUM_FRAME_SIZE: u32 = 65798u32; +pub const OID_GEN_MAXIMUM_LOOKAHEAD: u32 = 65797u32; +pub const OID_GEN_MAXIMUM_SEND_PACKETS: u32 = 65813u32; +pub const OID_GEN_MAXIMUM_TOTAL_SIZE: u32 = 65809u32; +pub const OID_GEN_MAX_LINK_SPEED: u32 = 66054u32; +pub const OID_GEN_MEDIA_CAPABILITIES: u32 = 66049u32; +pub const OID_GEN_MEDIA_CONNECT_STATUS: u32 = 65812u32; +pub const OID_GEN_MEDIA_CONNECT_STATUS_EX: u32 = 66186u32; +pub const OID_GEN_MEDIA_DUPLEX_STATE: u32 = 66188u32; +pub const OID_GEN_MEDIA_IN_USE: u32 = 65796u32; +pub const OID_GEN_MEDIA_SENSE_COUNTS: u32 = 131605u32; +pub const OID_GEN_MEDIA_SUPPORTED: u32 = 65795u32; +pub const OID_GEN_MINIPORT_RESTART_ATTRIBUTES: u32 = 66077u32; +pub const OID_GEN_MULTICAST_BYTES_RCV: u32 = 131593u32; +pub const OID_GEN_MULTICAST_BYTES_XMIT: u32 = 131587u32; +pub const OID_GEN_MULTICAST_FRAMES_RCV: u32 = 131594u32; +pub const OID_GEN_MULTICAST_FRAMES_XMIT: u32 = 131588u32; +pub const OID_GEN_NDIS_RESERVED_1: u32 = 131607u32; +pub const OID_GEN_NDIS_RESERVED_2: u32 = 131608u32; +pub const OID_GEN_NDIS_RESERVED_3: u32 = 66058u32; +pub const OID_GEN_NDIS_RESERVED_4: u32 = 66059u32; +pub const OID_GEN_NDIS_RESERVED_5: u32 = 66060u32; +pub const OID_GEN_NDIS_RESERVED_6: u32 = 66066u32; +pub const OID_GEN_NDIS_RESERVED_7: u32 = 131614u32; +pub const OID_GEN_NETCARD_LOAD: u32 = 131601u32; +pub const OID_GEN_NETWORK_LAYER_ADDRESSES: u32 = 65816u32; +pub const OID_GEN_OPERATIONAL_STATUS: u32 = 66179u32; +pub const OID_GEN_PCI_DEVICE_CUSTOM_PROPERTIES: u32 = 66065u32; +pub const OID_GEN_PHYSICAL_MEDIUM: u32 = 66050u32; +pub const OID_GEN_PHYSICAL_MEDIUM_EX: u32 = 66067u32; +pub const OID_GEN_PORT_AUTHENTICATION_PARAMETERS: u32 = 66063u32; +pub const OID_GEN_PORT_STATE: u32 = 66062u32; +pub const OID_GEN_PROMISCUOUS_MODE: u32 = 66176u32; +pub const OID_GEN_PROTOCOL_OPTIONS: u32 = 65810u32; +pub const OID_GEN_RCV_CRC_ERROR: u32 = 131597u32; +pub const OID_GEN_RCV_DISCARDS: u32 = 131611u32; +pub const OID_GEN_RCV_ERROR: u32 = 131332u32; +pub const OID_GEN_RCV_LINK_SPEED: u32 = 66181u32; +pub const OID_GEN_RCV_NO_BUFFER: u32 = 131333u32; +pub const OID_GEN_RCV_OK: u32 = 131330u32; +pub const OID_GEN_RECEIVE_BLOCK_SIZE: u32 = 65803u32; +pub const OID_GEN_RECEIVE_BUFFER_SPACE: u32 = 65801u32; +pub const OID_GEN_RECEIVE_HASH: u32 = 66079u32; +pub const OID_GEN_RECEIVE_SCALE_CAPABILITIES: u32 = 66051u32; +pub const OID_GEN_RECEIVE_SCALE_PARAMETERS: u32 = 66052u32; +pub const OID_GEN_RECEIVE_SCALE_PARAMETERS_V2: u32 = 66068u32; +pub const OID_GEN_RESET_COUNTS: u32 = 131604u32; +pub const OID_GEN_RNDIS_CONFIG_PARAMETER: u32 = 66075u32; +pub const OID_GEN_RSS_SET_INDIRECTION_TABLE_ENTRIES: u32 = 66240u32; +pub const OID_GEN_STATISTICS: u32 = 131334u32; +pub const OID_GEN_SUPPORTED_GUIDS: u32 = 65815u32; +pub const OID_GEN_SUPPORTED_LIST: u32 = 65793u32; +pub const OID_GEN_TIMEOUT_DPC_REQUEST_CAPABILITIES: u32 = 66064u32; +pub const OID_GEN_TRANSMIT_BLOCK_SIZE: u32 = 65802u32; +pub const OID_GEN_TRANSMIT_BUFFER_SPACE: u32 = 65800u32; +pub const OID_GEN_TRANSMIT_QUEUE_LENGTH: u32 = 131598u32; +pub const OID_GEN_TRANSPORT_HEADER_OFFSET: u32 = 65817u32; +pub const OID_GEN_UNKNOWN_PROTOS: u32 = 66182u32; +pub const OID_GEN_VENDOR_DESCRIPTION: u32 = 65805u32; +pub const OID_GEN_VENDOR_DRIVER_VERSION: u32 = 65814u32; +pub const OID_GEN_VENDOR_ID: u32 = 65804u32; +pub const OID_GEN_VLAN_ID: u32 = 66076u32; +pub const OID_GEN_XMIT_DISCARDS: u32 = 131612u32; +pub const OID_GEN_XMIT_ERROR: u32 = 131331u32; +pub const OID_GEN_XMIT_LINK_SPEED: u32 = 66180u32; +pub const OID_GEN_XMIT_OK: u32 = 131329u32; +pub const OID_GFT_ACTIVATE_FLOW_ENTRIES: u32 = 66575u32; +pub const OID_GFT_ADD_FLOW_ENTRIES: u32 = 66572u32; +pub const OID_GFT_ALLOCATE_COUNTERS: u32 = 66567u32; +pub const OID_GFT_COUNTER_VALUES: u32 = 66570u32; +pub const OID_GFT_CREATE_LOGICAL_VPORT: u32 = 66584u32; +pub const OID_GFT_CREATE_TABLE: u32 = 66564u32; +pub const OID_GFT_CURRENT_CAPABILITIES: u32 = 66562u32; +pub const OID_GFT_DEACTIVATE_FLOW_ENTRIES: u32 = 66576u32; +pub const OID_GFT_DELETE_FLOW_ENTRIES: u32 = 66573u32; +pub const OID_GFT_DELETE_LOGICAL_VPORT: u32 = 66585u32; +pub const OID_GFT_DELETE_PROFILE: u32 = 66582u32; +pub const OID_GFT_DELETE_TABLE: u32 = 66565u32; +pub const OID_GFT_ENUM_COUNTERS: u32 = 66569u32; +pub const OID_GFT_ENUM_FLOW_ENTRIES: u32 = 66574u32; +pub const OID_GFT_ENUM_LOGICAL_VPORTS: u32 = 66586u32; +pub const OID_GFT_ENUM_PROFILES: u32 = 66581u32; +pub const OID_GFT_ENUM_TABLES: u32 = 66566u32; +pub const OID_GFT_EXACT_MATCH_PROFILE: u32 = 66578u32; +pub const OID_GFT_FLOW_ENTRY_PARAMETERS: u32 = 66577u32; +pub const OID_GFT_FREE_COUNTERS: u32 = 66568u32; +pub const OID_GFT_GLOBAL_PARAMETERS: u32 = 66563u32; +pub const OID_GFT_HARDWARE_CAPABILITIES: u32 = 66561u32; +pub const OID_GFT_HEADER_TRANSPOSITION_PROFILE: u32 = 66579u32; +pub const OID_GFT_STATISTICS: u32 = 66571u32; +pub const OID_GFT_VPORT_PARAMETERS: u32 = 66583u32; +pub const OID_GFT_WILDCARD_MATCH_PROFILE: u32 = 66580u32; +pub const OID_IP4_OFFLOAD_STATS: u32 = 4227924489u32; +pub const OID_IP6_OFFLOAD_STATS: u32 = 4227924490u32; +pub const OID_IRDA_EXTRA_RCV_BOFS: u32 = 167838208u32; +pub const OID_IRDA_LINK_SPEED: u32 = 167837955u32; +pub const OID_IRDA_MAX_RECEIVE_WINDOW_SIZE: u32 = 167838212u32; +pub const OID_IRDA_MAX_SEND_WINDOW_SIZE: u32 = 167838213u32; +pub const OID_IRDA_MAX_UNICAST_LIST_SIZE: u32 = 167838211u32; +pub const OID_IRDA_MEDIA_BUSY: u32 = 167837956u32; +pub const OID_IRDA_RATE_SNIFF: u32 = 167838209u32; +pub const OID_IRDA_RECEIVING: u32 = 167837952u32; +pub const OID_IRDA_RESERVED1: u32 = 167838218u32; +pub const OID_IRDA_RESERVED2: u32 = 167838223u32; +pub const OID_IRDA_SUPPORTED_SPEEDS: u32 = 167837954u32; +pub const OID_IRDA_TURNAROUND_TIME: u32 = 167837953u32; +pub const OID_IRDA_UNICAST_LIST: u32 = 167838210u32; +pub const OID_KDNET_ADD_PF: u32 = 131619u32; +pub const OID_KDNET_ENUMERATE_PFS: u32 = 131618u32; +pub const OID_KDNET_QUERY_PF_INFORMATION: u32 = 131621u32; +pub const OID_KDNET_REMOVE_PF: u32 = 131620u32; +pub const OID_LTALK_COLLISIONS: u32 = 84017666u32; +pub const OID_LTALK_CURRENT_NODE_ID: u32 = 83951874u32; +pub const OID_LTALK_DEFERS: u32 = 84017667u32; +pub const OID_LTALK_FCS_ERRORS: u32 = 84017670u32; +pub const OID_LTALK_IN_BROADCASTS: u32 = 84017409u32; +pub const OID_LTALK_IN_LENGTH_ERRORS: u32 = 84017410u32; +pub const OID_LTALK_NO_DATA_ERRORS: u32 = 84017668u32; +pub const OID_LTALK_OUT_NO_HANDLERS: u32 = 84017665u32; +pub const OID_LTALK_RANDOM_CTS_ERRORS: u32 = 84017669u32; +pub const OID_NDK_CONNECTIONS: u32 = 4228121091u32; +pub const OID_NDK_LOCAL_ENDPOINTS: u32 = 4228121092u32; +pub const OID_NDK_SET_STATE: u32 = 4228121089u32; +pub const OID_NDK_STATISTICS: u32 = 4228121090u32; +pub const OID_NIC_SWITCH_ALLOCATE_VF: u32 = 66117u32; +pub const OID_NIC_SWITCH_CREATE_SWITCH: u32 = 66103u32; +pub const OID_NIC_SWITCH_CREATE_VPORT: u32 = 66113u32; +pub const OID_NIC_SWITCH_CURRENT_CAPABILITIES: u32 = 66095u32; +pub const OID_NIC_SWITCH_DELETE_SWITCH: u32 = 66105u32; +pub const OID_NIC_SWITCH_DELETE_VPORT: u32 = 66116u32; +pub const OID_NIC_SWITCH_ENUM_SWITCHES: u32 = 66112u32; +pub const OID_NIC_SWITCH_ENUM_VFS: u32 = 66120u32; +pub const OID_NIC_SWITCH_ENUM_VPORTS: u32 = 66115u32; +pub const OID_NIC_SWITCH_FREE_VF: u32 = 66118u32; +pub const OID_NIC_SWITCH_HARDWARE_CAPABILITIES: u32 = 66094u32; +pub const OID_NIC_SWITCH_PARAMETERS: u32 = 66104u32; +pub const OID_NIC_SWITCH_VF_PARAMETERS: u32 = 66119u32; +pub const OID_NIC_SWITCH_VPORT_PARAMETERS: u32 = 66114u32; +pub const OID_OFFLOAD_ENCAPSULATION: u32 = 16843018u32; +pub const OID_PACKET_COALESCING_FILTER_MATCH_COUNT: u32 = 66101u32; +pub const OID_PD_CLOSE_PROVIDER: u32 = 66818u32; +pub const OID_PD_OPEN_PROVIDER: u32 = 66817u32; +pub const OID_PD_QUERY_CURRENT_CONFIG: u32 = 66819u32; +pub const OID_PM_ADD_PROTOCOL_OFFLOAD: u32 = 4244701453u32; +pub const OID_PM_ADD_WOL_PATTERN: u32 = 4244701450u32; +pub const OID_PM_CURRENT_CAPABILITIES: u32 = 4244701447u32; +pub const OID_PM_GET_PROTOCOL_OFFLOAD: u32 = 4244701454u32; +pub const OID_PM_HARDWARE_CAPABILITIES: u32 = 4244701448u32; +pub const OID_PM_PARAMETERS: u32 = 4244701449u32; +pub const OID_PM_PROTOCOL_OFFLOAD_LIST: u32 = 4244701456u32; +pub const OID_PM_REMOVE_PROTOCOL_OFFLOAD: u32 = 4244701455u32; +pub const OID_PM_REMOVE_WOL_PATTERN: u32 = 4244701451u32; +pub const OID_PM_RESERVED_1: u32 = 4244701457u32; +pub const OID_PM_WOL_PATTERN_LIST: u32 = 4244701452u32; +pub const OID_PNP_ADD_WAKE_UP_PATTERN: u32 = 4244701443u32; +pub const OID_PNP_CAPABILITIES: u32 = 4244701440u32; +pub const OID_PNP_ENABLE_WAKE_UP: u32 = 4244701446u32; +pub const OID_PNP_QUERY_POWER: u32 = 4244701442u32; +pub const OID_PNP_REMOVE_WAKE_UP_PATTERN: u32 = 4244701444u32; +pub const OID_PNP_SET_POWER: u32 = 4244701441u32; +pub const OID_PNP_WAKE_UP_ERROR: u32 = 4244767233u32; +pub const OID_PNP_WAKE_UP_OK: u32 = 4244767232u32; +pub const OID_PNP_WAKE_UP_PATTERN_LIST: u32 = 4244701445u32; +pub const OID_QOS_CURRENT_CAPABILITIES: u32 = 4228186114u32; +pub const OID_QOS_HARDWARE_CAPABILITIES: u32 = 4228186113u32; +pub const OID_QOS_OFFLOAD_CREATE_SQ: u32 = 67075u32; +pub const OID_QOS_OFFLOAD_CURRENT_CAPABILITIES: u32 = 67074u32; +pub const OID_QOS_OFFLOAD_DELETE_SQ: u32 = 67076u32; +pub const OID_QOS_OFFLOAD_ENUM_SQS: u32 = 67078u32; +pub const OID_QOS_OFFLOAD_HARDWARE_CAPABILITIES: u32 = 67073u32; +pub const OID_QOS_OFFLOAD_SQ_STATS: u32 = 67079u32; +pub const OID_QOS_OFFLOAD_UPDATE_SQ: u32 = 67077u32; +pub const OID_QOS_OPERATIONAL_PARAMETERS: u32 = 4228186116u32; +pub const OID_QOS_PARAMETERS: u32 = 4228186115u32; +pub const OID_QOS_REMOTE_PARAMETERS: u32 = 4228186117u32; +pub const OID_QOS_RESERVED1: u32 = 4211147008u32; +pub const OID_QOS_RESERVED10: u32 = 4211147017u32; +pub const OID_QOS_RESERVED11: u32 = 4211147018u32; +pub const OID_QOS_RESERVED12: u32 = 4211147019u32; +pub const OID_QOS_RESERVED13: u32 = 4211147020u32; +pub const OID_QOS_RESERVED14: u32 = 4211147021u32; +pub const OID_QOS_RESERVED15: u32 = 4211147022u32; +pub const OID_QOS_RESERVED16: u32 = 4211147023u32; +pub const OID_QOS_RESERVED17: u32 = 4211147024u32; +pub const OID_QOS_RESERVED18: u32 = 4211147025u32; +pub const OID_QOS_RESERVED19: u32 = 4211147026u32; +pub const OID_QOS_RESERVED2: u32 = 4211147009u32; +pub const OID_QOS_RESERVED20: u32 = 4211147027u32; +pub const OID_QOS_RESERVED3: u32 = 4211147010u32; +pub const OID_QOS_RESERVED4: u32 = 4211147011u32; +pub const OID_QOS_RESERVED5: u32 = 4211147012u32; +pub const OID_QOS_RESERVED6: u32 = 4211147013u32; +pub const OID_QOS_RESERVED7: u32 = 4211147014u32; +pub const OID_QOS_RESERVED8: u32 = 4211147015u32; +pub const OID_QOS_RESERVED9: u32 = 4211147016u32; +pub const OID_RECEIVE_FILTER_ALLOCATE_QUEUE: u32 = 66083u32; +pub const OID_RECEIVE_FILTER_CLEAR_FILTER: u32 = 66088u32; +pub const OID_RECEIVE_FILTER_CURRENT_CAPABILITIES: u32 = 66093u32; +pub const OID_RECEIVE_FILTER_ENUM_FILTERS: u32 = 66089u32; +pub const OID_RECEIVE_FILTER_ENUM_QUEUES: u32 = 66085u32; +pub const OID_RECEIVE_FILTER_FREE_QUEUE: u32 = 66084u32; +pub const OID_RECEIVE_FILTER_GLOBAL_PARAMETERS: u32 = 66082u32; +pub const OID_RECEIVE_FILTER_HARDWARE_CAPABILITIES: u32 = 66081u32; +pub const OID_RECEIVE_FILTER_MOVE_FILTER: u32 = 66096u32; +pub const OID_RECEIVE_FILTER_PARAMETERS: u32 = 66090u32; +pub const OID_RECEIVE_FILTER_QUEUE_ALLOCATION_COMPLETE: u32 = 66091u32; +pub const OID_RECEIVE_FILTER_QUEUE_PARAMETERS: u32 = 66086u32; +pub const OID_RECEIVE_FILTER_SET_FILTER: u32 = 66087u32; +pub const OID_SRIOV_BAR_RESOURCES: u32 = 66137u32; +pub const OID_SRIOV_CONFIG_STATE: u32 = 66145u32; +pub const OID_SRIOV_CURRENT_CAPABILITIES: u32 = 66128u32; +pub const OID_SRIOV_HARDWARE_CAPABILITIES: u32 = 66121u32; +pub const OID_SRIOV_OVERLYING_ADAPTER_INFO: u32 = 66152u32; +pub const OID_SRIOV_PF_LUID: u32 = 66144u32; +pub const OID_SRIOV_PROBED_BARS: u32 = 66136u32; +pub const OID_SRIOV_READ_VF_CONFIG_BLOCK: u32 = 66131u32; +pub const OID_SRIOV_READ_VF_CONFIG_SPACE: u32 = 66129u32; +pub const OID_SRIOV_RESET_VF: u32 = 66133u32; +pub const OID_SRIOV_SET_VF_POWER_STATE: u32 = 66134u32; +pub const OID_SRIOV_VF_INVALIDATE_CONFIG_BLOCK: u32 = 66153u32; +pub const OID_SRIOV_VF_SERIAL_NUMBER: u32 = 66146u32; +pub const OID_SRIOV_VF_VENDOR_DEVICE_ID: u32 = 66135u32; +pub const OID_SRIOV_WRITE_VF_CONFIG_BLOCK: u32 = 66132u32; +pub const OID_SRIOV_WRITE_VF_CONFIG_SPACE: u32 = 66130u32; +pub const OID_SWITCH_FEATURE_STATUS_QUERY: u32 = 66151u32; +pub const OID_SWITCH_NIC_ARRAY: u32 = 66167u32; +pub const OID_SWITCH_NIC_CONNECT: u32 = 66171u32; +pub const OID_SWITCH_NIC_CREATE: u32 = 66170u32; +pub const OID_SWITCH_NIC_DELETE: u32 = 66173u32; +pub const OID_SWITCH_NIC_DIRECT_REQUEST: u32 = 66198u32; +pub const OID_SWITCH_NIC_DISCONNECT: u32 = 66172u32; +pub const OID_SWITCH_NIC_REQUEST: u32 = 66160u32; +pub const OID_SWITCH_NIC_RESTORE: u32 = 66194u32; +pub const OID_SWITCH_NIC_RESTORE_COMPLETE: u32 = 66195u32; +pub const OID_SWITCH_NIC_RESUME: u32 = 66200u32; +pub const OID_SWITCH_NIC_SAVE: u32 = 66192u32; +pub const OID_SWITCH_NIC_SAVE_COMPLETE: u32 = 66193u32; +pub const OID_SWITCH_NIC_SUSPEND: u32 = 66199u32; +pub const OID_SWITCH_NIC_SUSPENDED_LM_SOURCE_FINISHED: u32 = 66202u32; +pub const OID_SWITCH_NIC_SUSPENDED_LM_SOURCE_STARTED: u32 = 66201u32; +pub const OID_SWITCH_NIC_UPDATED: u32 = 66196u32; +pub const OID_SWITCH_PARAMETERS: u32 = 66165u32; +pub const OID_SWITCH_PORT_ARRAY: u32 = 66166u32; +pub const OID_SWITCH_PORT_CREATE: u32 = 66168u32; +pub const OID_SWITCH_PORT_DELETE: u32 = 66169u32; +pub const OID_SWITCH_PORT_FEATURE_STATUS_QUERY: u32 = 66174u32; +pub const OID_SWITCH_PORT_PROPERTY_ADD: u32 = 66161u32; +pub const OID_SWITCH_PORT_PROPERTY_DELETE: u32 = 66163u32; +pub const OID_SWITCH_PORT_PROPERTY_ENUM: u32 = 66164u32; +pub const OID_SWITCH_PORT_PROPERTY_UPDATE: u32 = 66162u32; +pub const OID_SWITCH_PORT_TEARDOWN: u32 = 66175u32; +pub const OID_SWITCH_PORT_UPDATED: u32 = 66197u32; +pub const OID_SWITCH_PROPERTY_ADD: u32 = 66147u32; +pub const OID_SWITCH_PROPERTY_DELETE: u32 = 66149u32; +pub const OID_SWITCH_PROPERTY_ENUM: u32 = 66150u32; +pub const OID_SWITCH_PROPERTY_UPDATE: u32 = 66148u32; +pub const OID_TAPI_ACCEPT: u32 = 117637377u32; +pub const OID_TAPI_ANSWER: u32 = 117637378u32; +pub const OID_TAPI_CLOSE: u32 = 117637379u32; +pub const OID_TAPI_CLOSE_CALL: u32 = 117637380u32; +pub const OID_TAPI_CONDITIONAL_MEDIA_DETECTION: u32 = 117637381u32; +pub const OID_TAPI_CONFIG_DIALOG: u32 = 117637382u32; +pub const OID_TAPI_DEV_SPECIFIC: u32 = 117637383u32; +pub const OID_TAPI_DIAL: u32 = 117637384u32; +pub const OID_TAPI_DROP: u32 = 117637385u32; +pub const OID_TAPI_GATHER_DIGITS: u32 = 117637411u32; +pub const OID_TAPI_GET_ADDRESS_CAPS: u32 = 117637386u32; +pub const OID_TAPI_GET_ADDRESS_ID: u32 = 117637387u32; +pub const OID_TAPI_GET_ADDRESS_STATUS: u32 = 117637388u32; +pub const OID_TAPI_GET_CALL_ADDRESS_ID: u32 = 117637389u32; +pub const OID_TAPI_GET_CALL_INFO: u32 = 117637390u32; +pub const OID_TAPI_GET_CALL_STATUS: u32 = 117637391u32; +pub const OID_TAPI_GET_DEV_CAPS: u32 = 117637392u32; +pub const OID_TAPI_GET_DEV_CONFIG: u32 = 117637393u32; +pub const OID_TAPI_GET_EXTENSION_ID: u32 = 117637394u32; +pub const OID_TAPI_GET_ID: u32 = 117637395u32; +pub const OID_TAPI_GET_LINE_DEV_STATUS: u32 = 117637396u32; +pub const OID_TAPI_MAKE_CALL: u32 = 117637397u32; +pub const OID_TAPI_MONITOR_DIGITS: u32 = 117637412u32; +pub const OID_TAPI_NEGOTIATE_EXT_VERSION: u32 = 117637398u32; +pub const OID_TAPI_OPEN: u32 = 117637399u32; +pub const OID_TAPI_PROVIDER_INITIALIZE: u32 = 117637400u32; +pub const OID_TAPI_PROVIDER_SHUTDOWN: u32 = 117637401u32; +pub const OID_TAPI_SECURE_CALL: u32 = 117637402u32; +pub const OID_TAPI_SELECT_EXT_VERSION: u32 = 117637403u32; +pub const OID_TAPI_SEND_USER_USER_INFO: u32 = 117637404u32; +pub const OID_TAPI_SET_APP_SPECIFIC: u32 = 117637405u32; +pub const OID_TAPI_SET_CALL_PARAMS: u32 = 117637406u32; +pub const OID_TAPI_SET_DEFAULT_MEDIA_DETECTION: u32 = 117637407u32; +pub const OID_TAPI_SET_DEV_CONFIG: u32 = 117637408u32; +pub const OID_TAPI_SET_MEDIA_MODE: u32 = 117637409u32; +pub const OID_TAPI_SET_STATUS_MESSAGES: u32 = 117637410u32; +pub const OID_TCP4_OFFLOAD_STATS: u32 = 4227924487u32; +pub const OID_TCP6_OFFLOAD_STATS: u32 = 4227924488u32; +pub const OID_TCP_CONNECTION_OFFLOAD_CURRENT_CONFIG: u32 = 4227924494u32; +pub const OID_TCP_CONNECTION_OFFLOAD_HARDWARE_CAPABILITIES: u32 = 4227924495u32; +pub const OID_TCP_CONNECTION_OFFLOAD_PARAMETERS: u32 = 4228055553u32; +pub const OID_TCP_OFFLOAD_CURRENT_CONFIG: u32 = 4227924491u32; +pub const OID_TCP_OFFLOAD_HARDWARE_CAPABILITIES: u32 = 4227924493u32; +pub const OID_TCP_OFFLOAD_PARAMETERS: u32 = 4227924492u32; +pub const OID_TCP_RSC_STATISTICS: u32 = 131613u32; +pub const OID_TCP_SAN_SUPPORT: u32 = 4227924484u32; +pub const OID_TCP_TASK_IPSEC_ADD_SA: u32 = 4227924482u32; +pub const OID_TCP_TASK_IPSEC_ADD_UDPESP_SA: u32 = 4227924485u32; +pub const OID_TCP_TASK_IPSEC_DELETE_SA: u32 = 4227924483u32; +pub const OID_TCP_TASK_IPSEC_DELETE_UDPESP_SA: u32 = 4227924486u32; +pub const OID_TCP_TASK_IPSEC_OFFLOAD_V2_ADD_SA: u32 = 4228055554u32; +pub const OID_TCP_TASK_IPSEC_OFFLOAD_V2_ADD_SA_EX: u32 = 4228055557u32; +pub const OID_TCP_TASK_IPSEC_OFFLOAD_V2_DELETE_SA: u32 = 4228055555u32; +pub const OID_TCP_TASK_IPSEC_OFFLOAD_V2_UPDATE_SA: u32 = 4228055556u32; +pub const OID_TCP_TASK_OFFLOAD: u32 = 4227924481u32; +pub const OID_TIMESTAMP_CAPABILITY: u32 = 10485761u32; +pub const OID_TIMESTAMP_CURRENT_CONFIG: u32 = 10485762u32; +pub const OID_TIMESTAMP_GET_CROSSTIMESTAMP: u32 = 10485763u32; +pub const OID_TUNNEL_INTERFACE_RELEASE_OID: u32 = 251724039u32; +pub const OID_TUNNEL_INTERFACE_SET_OID: u32 = 251724038u32; +pub const OID_VLAN_RESERVED1: u32 = 66097u32; +pub const OID_VLAN_RESERVED2: u32 = 66098u32; +pub const OID_VLAN_RESERVED3: u32 = 66099u32; +pub const OID_VLAN_RESERVED4: u32 = 66100u32; +pub const OID_WAN_CO_GET_COMP_INFO: u32 = 67175040u32; +pub const OID_WAN_CO_GET_INFO: u32 = 67174784u32; +pub const OID_WAN_CO_GET_LINK_INFO: u32 = 67174786u32; +pub const OID_WAN_CO_GET_STATS_INFO: u32 = 67175042u32; +pub const OID_WAN_CO_SET_COMP_INFO: u32 = 67175041u32; +pub const OID_WAN_CO_SET_LINK_INFO: u32 = 67174785u32; +pub const OID_WAN_CURRENT_ADDRESS: u32 = 67174658u32; +pub const OID_WAN_GET_BRIDGE_INFO: u32 = 67174922u32; +pub const OID_WAN_GET_COMP_INFO: u32 = 67174924u32; +pub const OID_WAN_GET_INFO: u32 = 67174663u32; +pub const OID_WAN_GET_LINK_INFO: u32 = 67174665u32; +pub const OID_WAN_GET_STATS_INFO: u32 = 67174926u32; +pub const OID_WAN_HEADER_FORMAT: u32 = 67174662u32; +pub const OID_WAN_LINE_COUNT: u32 = 67174666u32; +pub const OID_WAN_MEDIUM_SUBTYPE: u32 = 67174661u32; +pub const OID_WAN_PERMANENT_ADDRESS: u32 = 67174657u32; +pub const OID_WAN_PROTOCOL_CAPS: u32 = 67174667u32; +pub const OID_WAN_PROTOCOL_TYPE: u32 = 67174660u32; +pub const OID_WAN_QUALITY_OF_SERVICE: u32 = 67174659u32; +pub const OID_WAN_SET_BRIDGE_INFO: u32 = 67174923u32; +pub const OID_WAN_SET_COMP_INFO: u32 = 67174925u32; +pub const OID_WAN_SET_LINK_INFO: u32 = 67174664u32; +pub const OID_WWAN_AUTH_CHALLENGE: u32 = 234946837u32; +pub const OID_WWAN_BASE_STATIONS_INFO: u32 = 234946888u32; +pub const OID_WWAN_CONNECT: u32 = 234946828u32; +pub const OID_WWAN_CREATE_MAC: u32 = 234946854u32; +pub const OID_WWAN_DELETE_MAC: u32 = 234946855u32; +pub const OID_WWAN_DEVICE_BINDINGS: u32 = 234946865u32; +pub const OID_WWAN_DEVICE_CAPS: u32 = 234946817u32; +pub const OID_WWAN_DEVICE_CAPS_EX: u32 = 234946862u32; +pub const OID_WWAN_DEVICE_RESET: u32 = 234946887u32; +pub const OID_WWAN_DEVICE_SERVICE_COMMAND: u32 = 234946840u32; +pub const OID_WWAN_DEVICE_SERVICE_SESSION: u32 = 234946851u32; +pub const OID_WWAN_DEVICE_SERVICE_SESSION_WRITE: u32 = 234946852u32; +pub const OID_WWAN_DRIVER_CAPS: u32 = 234946816u32; +pub const OID_WWAN_ENUMERATE_DEVICE_SERVICES: u32 = 234946838u32; +pub const OID_WWAN_ENUMERATE_DEVICE_SERVICE_COMMANDS: u32 = 234946850u32; +pub const OID_WWAN_HOME_PROVIDER: u32 = 234946822u32; +pub const OID_WWAN_IMS_VOICE_STATE: u32 = 234946867u32; +pub const OID_WWAN_LOCATION_STATE: u32 = 234946869u32; +pub const OID_WWAN_LTE_ATTACH_CONFIG: u32 = 234946882u32; +pub const OID_WWAN_LTE_ATTACH_STATUS: u32 = 234946883u32; +pub const OID_WWAN_MBIM_VERSION: u32 = 234946860u32; +pub const OID_WWAN_MODEM_CONFIG_INFO: u32 = 234946884u32; +pub const OID_WWAN_MODEM_LOGGING_CONFIG: u32 = 234946891u32; +pub const OID_WWAN_MPDP: u32 = 234946889u32; +pub const OID_WWAN_NETWORK_BLACKLIST: u32 = 234946881u32; +pub const OID_WWAN_NETWORK_IDLE_HINT: u32 = 234946871u32; +pub const OID_WWAN_NETWORK_PARAMS: u32 = 234946893u32; +pub const OID_WWAN_NITZ: u32 = 234946870u32; +pub const OID_WWAN_PACKET_SERVICE: u32 = 234946826u32; +pub const OID_WWAN_PCO: u32 = 234946885u32; +pub const OID_WWAN_PIN: u32 = 234946820u32; +pub const OID_WWAN_PIN_EX: u32 = 234946849u32; +pub const OID_WWAN_PIN_EX2: u32 = 234946859u32; +pub const OID_WWAN_PIN_LIST: u32 = 234946821u32; +pub const OID_WWAN_PREFERRED_MULTICARRIER_PROVIDERS: u32 = 234946853u32; +pub const OID_WWAN_PREFERRED_PROVIDERS: u32 = 234946823u32; +pub const OID_WWAN_PRESHUTDOWN: u32 = 234946872u32; +pub const OID_WWAN_PROVISIONED_CONTEXTS: u32 = 234946829u32; +pub const OID_WWAN_PS_MEDIA_CONFIG: u32 = 234946878u32; +pub const OID_WWAN_RADIO_STATE: u32 = 234946819u32; +pub const OID_WWAN_READY_INFO: u32 = 234946818u32; +pub const OID_WWAN_REGISTER_PARAMS: u32 = 234946892u32; +pub const OID_WWAN_REGISTER_STATE: u32 = 234946825u32; +pub const OID_WWAN_REGISTER_STATE_EX: u32 = 234946866u32; +pub const OID_WWAN_SAR_CONFIG: u32 = 234946879u32; +pub const OID_WWAN_SAR_TRANSMISSION_STATUS: u32 = 234946880u32; +pub const OID_WWAN_SERVICE_ACTIVATION: u32 = 234946830u32; +pub const OID_WWAN_SIGNAL_STATE: u32 = 234946827u32; +pub const OID_WWAN_SIGNAL_STATE_EX: u32 = 234946868u32; +pub const OID_WWAN_SLOT_INFO_STATUS: u32 = 234946864u32; +pub const OID_WWAN_SMS_CONFIGURATION: u32 = 234946831u32; +pub const OID_WWAN_SMS_DELETE: u32 = 234946834u32; +pub const OID_WWAN_SMS_READ: u32 = 234946832u32; +pub const OID_WWAN_SMS_SEND: u32 = 234946833u32; +pub const OID_WWAN_SMS_STATUS: u32 = 234946835u32; +pub const OID_WWAN_SUBSCRIBE_DEVICE_SERVICE_EVENTS: u32 = 234946839u32; +pub const OID_WWAN_SYS_CAPS: u32 = 234946861u32; +pub const OID_WWAN_SYS_SLOTMAPPINGS: u32 = 234946863u32; +pub const OID_WWAN_UE_POLICY: u32 = 234946894u32; +pub const OID_WWAN_UICC_ACCESS_BINARY: u32 = 234946857u32; +pub const OID_WWAN_UICC_ACCESS_RECORD: u32 = 234946858u32; +pub const OID_WWAN_UICC_APDU: u32 = 234946876u32; +pub const OID_WWAN_UICC_APP_LIST: u32 = 234946890u32; +pub const OID_WWAN_UICC_ATR: u32 = 234946873u32; +pub const OID_WWAN_UICC_CLOSE_CHANNEL: u32 = 234946875u32; +pub const OID_WWAN_UICC_FILE_STATUS: u32 = 234946856u32; +pub const OID_WWAN_UICC_OPEN_CHANNEL: u32 = 234946874u32; +pub const OID_WWAN_UICC_RESET: u32 = 234946886u32; +pub const OID_WWAN_UICC_TERMINAL_CAPABILITY: u32 = 234946877u32; +pub const OID_WWAN_USSD: u32 = 234946841u32; +pub const OID_WWAN_VENDOR_SPECIFIC: u32 = 234946836u32; +pub const OID_WWAN_VISIBLE_PROVIDERS: u32 = 234946824u32; +pub const OID_XBOX_ACC_RESERVED0: u32 = 4194304000u32; +pub const READABLE_LOCAL_CLOCK: u32 = 1u32; +pub const RECEIVE_TIME_INDICATION_CAPABLE: u32 = 8u32; +pub const TIMED_SEND_CAPABLE: u32 = 16u32; +pub const TIME_STAMP_CAPABLE: u32 = 32u32; +pub const TUNNEL_TYPE_6TO4: TUNNEL_TYPE = 11i32; +pub const TUNNEL_TYPE_DIRECT: TUNNEL_TYPE = 2i32; +pub const TUNNEL_TYPE_IPHTTPS: TUNNEL_TYPE = 15i32; +pub const TUNNEL_TYPE_ISATAP: TUNNEL_TYPE = 13i32; +pub const TUNNEL_TYPE_NONE: TUNNEL_TYPE = 0i32; +pub const TUNNEL_TYPE_OTHER: TUNNEL_TYPE = 1i32; +pub const TUNNEL_TYPE_TEREDO: TUNNEL_TYPE = 14i32; +pub const UNSPECIFIED_NETWORK_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x12ba5bde_143e_4c0d_b66d_2379bb141913); +pub const WAN_PROTOCOL_KEEPS_STATS: u32 = 1u32; +pub const fNDIS_GUID_ALLOW_READ: u32 = 32u32; +pub const fNDIS_GUID_ALLOW_WRITE: u32 = 64u32; +pub const fNDIS_GUID_ANSI_STRING: u32 = 4u32; +pub const fNDIS_GUID_ARRAY: u32 = 16u32; +pub const fNDIS_GUID_METHOD: u32 = 128u32; +pub const fNDIS_GUID_NDIS_RESERVED: u32 = 256u32; +pub const fNDIS_GUID_SUPPORT_COMMON_HEADER: u32 = 512u32; +pub const fNDIS_GUID_TO_OID: u32 = 1u32; +pub const fNDIS_GUID_TO_STATUS: u32 = 2u32; +pub const fNDIS_GUID_UNICODE_STRING: u32 = 8u32; +pub type IF_ADMINISTRATIVE_STATE = i32; +pub type IF_OPER_STATUS = i32; +pub type NDIS_802_11_AUTHENTICATION_MODE = i32; +pub type NDIS_802_11_MEDIA_STREAM_MODE = i32; +pub type NDIS_802_11_NETWORK_INFRASTRUCTURE = i32; +pub type NDIS_802_11_NETWORK_TYPE = i32; +pub type NDIS_802_11_POWER_MODE = i32; +pub type NDIS_802_11_PRIVACY_FILTER = i32; +pub type NDIS_802_11_RADIO_STATUS = i32; +pub type NDIS_802_11_RELOAD_DEFAULTS = i32; +pub type NDIS_802_11_STATUS_TYPE = i32; +pub type NDIS_802_11_WEP_STATUS = i32; +pub type NDIS_802_5_RING_STATE = i32; +pub type NDIS_DEVICE_POWER_STATE = i32; +pub type NDIS_FDDI_ATTACHMENT_TYPE = i32; +pub type NDIS_FDDI_LCONNECTION_STATE = i32; +pub type NDIS_FDDI_RING_MGT_STATE = i32; +pub type NDIS_HARDWARE_STATUS = i32; +pub type NDIS_INTERRUPT_MODERATION = i32; +pub type NDIS_MEDIA_STATE = i32; +pub type NDIS_MEDIUM = i32; +pub type NDIS_NETWORK_CHANGE_TYPE = i32; +pub type NDIS_PHYSICAL_MEDIUM = i32; +pub type NDIS_PORT_AUTHORIZATION_STATE = i32; +pub type NDIS_PORT_CONTROL_STATE = i32; +pub type NDIS_PORT_TYPE = i32; +pub type NDIS_PROCESSOR_VENDOR = i32; +pub type NDIS_REQUEST_TYPE = i32; +pub type NDIS_SUPPORTED_PAUSE_FUNCTIONS = i32; +pub type NDIS_WAN_HEADER_FORMAT = i32; +pub type NDIS_WAN_MEDIUM_SUBTYPE = i32; +pub type NDIS_WAN_QUALITY = i32; +pub type NDK_RDMA_TECHNOLOGY = i32; +pub type NET_IF_ACCESS_TYPE = i32; +pub type NET_IF_ADMIN_STATUS = i32; +pub type NET_IF_CONNECTION_TYPE = i32; +pub type NET_IF_DIRECTION_TYPE = i32; +pub type NET_IF_MEDIA_CONNECT_STATE = i32; +pub type NET_IF_MEDIA_DUPLEX_STATE = i32; +pub type NET_IF_OPER_STATUS = i32; +pub type NET_IF_RCV_ADDRESS_TYPE = i32; +pub type OFFLOAD_CONF_ALGO = i32; +pub type OFFLOAD_INTEGRITY_ALGO = i32; +pub type OFFLOAD_OPERATION_E = i32; +pub type TUNNEL_TYPE = i32; +pub type UDP_ENCAP_TYPE = i32; +#[repr(C)] +pub struct BSSID_INFO { + pub BSSID: [u8; 6], + pub PMKID: [u8; 16], +} +impl ::core::marker::Copy for BSSID_INFO {} +impl ::core::clone::Clone for BSSID_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct GEN_GET_NETCARD_TIME { + pub ReadTime: u64, +} +impl ::core::marker::Copy for GEN_GET_NETCARD_TIME {} +impl ::core::clone::Clone for GEN_GET_NETCARD_TIME { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct GEN_GET_TIME_CAPS { + pub Flags: u32, + pub ClockPrecision: u32, +} +impl ::core::marker::Copy for GEN_GET_TIME_CAPS {} +impl ::core::clone::Clone for GEN_GET_TIME_CAPS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IF_COUNTED_STRING_LH { + pub Length: u16, + pub String: [u16; 257], +} +impl ::core::marker::Copy for IF_COUNTED_STRING_LH {} +impl ::core::clone::Clone for IF_COUNTED_STRING_LH { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IF_PHYSICAL_ADDRESS_LH { + pub Length: u16, + pub Address: [u8; 32], +} +impl ::core::marker::Copy for IF_PHYSICAL_ADDRESS_LH {} +impl ::core::clone::Clone for IF_PHYSICAL_ADDRESS_LH { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_AI_REQFI { + pub Capabilities: u16, + pub ListenInterval: u16, + pub CurrentAPAddress: [u8; 6], +} +impl ::core::marker::Copy for NDIS_802_11_AI_REQFI {} +impl ::core::clone::Clone for NDIS_802_11_AI_REQFI { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_AI_RESFI { + pub Capabilities: u16, + pub StatusCode: u16, + pub AssociationId: u16, +} +impl ::core::marker::Copy for NDIS_802_11_AI_RESFI {} +impl ::core::clone::Clone for NDIS_802_11_AI_RESFI { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_ASSOCIATION_INFORMATION { + pub Length: u32, + pub AvailableRequestFixedIEs: u16, + pub RequestFixedIEs: NDIS_802_11_AI_REQFI, + pub RequestIELength: u32, + pub OffsetRequestIEs: u32, + pub AvailableResponseFixedIEs: u16, + pub ResponseFixedIEs: NDIS_802_11_AI_RESFI, + pub ResponseIELength: u32, + pub OffsetResponseIEs: u32, +} +impl ::core::marker::Copy for NDIS_802_11_ASSOCIATION_INFORMATION {} +impl ::core::clone::Clone for NDIS_802_11_ASSOCIATION_INFORMATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_AUTHENTICATION_ENCRYPTION { + pub AuthModeSupported: NDIS_802_11_AUTHENTICATION_MODE, + pub EncryptStatusSupported: NDIS_802_11_WEP_STATUS, +} +impl ::core::marker::Copy for NDIS_802_11_AUTHENTICATION_ENCRYPTION {} +impl ::core::clone::Clone for NDIS_802_11_AUTHENTICATION_ENCRYPTION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_AUTHENTICATION_EVENT { + pub Status: NDIS_802_11_STATUS_INDICATION, + pub Request: [NDIS_802_11_AUTHENTICATION_REQUEST; 1], +} +impl ::core::marker::Copy for NDIS_802_11_AUTHENTICATION_EVENT {} +impl ::core::clone::Clone for NDIS_802_11_AUTHENTICATION_EVENT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_AUTHENTICATION_REQUEST { + pub Length: u32, + pub Bssid: [u8; 6], + pub Flags: u32, +} +impl ::core::marker::Copy for NDIS_802_11_AUTHENTICATION_REQUEST {} +impl ::core::clone::Clone for NDIS_802_11_AUTHENTICATION_REQUEST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_BSSID_LIST { + pub NumberOfItems: u32, + pub Bssid: [NDIS_WLAN_BSSID; 1], +} +impl ::core::marker::Copy for NDIS_802_11_BSSID_LIST {} +impl ::core::clone::Clone for NDIS_802_11_BSSID_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_BSSID_LIST_EX { + pub NumberOfItems: u32, + pub Bssid: [NDIS_WLAN_BSSID_EX; 1], +} +impl ::core::marker::Copy for NDIS_802_11_BSSID_LIST_EX {} +impl ::core::clone::Clone for NDIS_802_11_BSSID_LIST_EX { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_CAPABILITY { + pub Length: u32, + pub Version: u32, + pub NoOfPMKIDs: u32, + pub NoOfAuthEncryptPairsSupported: u32, + pub AuthenticationEncryptionSupported: [NDIS_802_11_AUTHENTICATION_ENCRYPTION; 1], +} +impl ::core::marker::Copy for NDIS_802_11_CAPABILITY {} +impl ::core::clone::Clone for NDIS_802_11_CAPABILITY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_CONFIGURATION { + pub Length: u32, + pub BeaconPeriod: u32, + pub ATIMWindow: u32, + pub DSConfig: u32, + pub FHConfig: NDIS_802_11_CONFIGURATION_FH, +} +impl ::core::marker::Copy for NDIS_802_11_CONFIGURATION {} +impl ::core::clone::Clone for NDIS_802_11_CONFIGURATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_CONFIGURATION_FH { + pub Length: u32, + pub HopPattern: u32, + pub HopSet: u32, + pub DwellTime: u32, +} +impl ::core::marker::Copy for NDIS_802_11_CONFIGURATION_FH {} +impl ::core::clone::Clone for NDIS_802_11_CONFIGURATION_FH { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_FIXED_IEs { + pub Timestamp: [u8; 8], + pub BeaconInterval: u16, + pub Capabilities: u16, +} +impl ::core::marker::Copy for NDIS_802_11_FIXED_IEs {} +impl ::core::clone::Clone for NDIS_802_11_FIXED_IEs { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_KEY { + pub Length: u32, + pub KeyIndex: u32, + pub KeyLength: u32, + pub BSSID: [u8; 6], + pub KeyRSC: u64, + pub KeyMaterial: [u8; 1], +} +impl ::core::marker::Copy for NDIS_802_11_KEY {} +impl ::core::clone::Clone for NDIS_802_11_KEY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_NETWORK_TYPE_LIST { + pub NumberOfItems: u32, + pub NetworkType: [NDIS_802_11_NETWORK_TYPE; 1], +} +impl ::core::marker::Copy for NDIS_802_11_NETWORK_TYPE_LIST {} +impl ::core::clone::Clone for NDIS_802_11_NETWORK_TYPE_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_NON_BCAST_SSID_LIST { + pub NumberOfItems: u32, + pub Non_Bcast_Ssid: [NDIS_802_11_SSID; 1], +} +impl ::core::marker::Copy for NDIS_802_11_NON_BCAST_SSID_LIST {} +impl ::core::clone::Clone for NDIS_802_11_NON_BCAST_SSID_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_PMKID { + pub Length: u32, + pub BSSIDInfoCount: u32, + pub BSSIDInfo: [BSSID_INFO; 1], +} +impl ::core::marker::Copy for NDIS_802_11_PMKID {} +impl ::core::clone::Clone for NDIS_802_11_PMKID { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_PMKID_CANDIDATE_LIST { + pub Version: u32, + pub NumCandidates: u32, + pub CandidateList: [PMKID_CANDIDATE; 1], +} +impl ::core::marker::Copy for NDIS_802_11_PMKID_CANDIDATE_LIST {} +impl ::core::clone::Clone for NDIS_802_11_PMKID_CANDIDATE_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_REMOVE_KEY { + pub Length: u32, + pub KeyIndex: u32, + pub BSSID: [u8; 6], +} +impl ::core::marker::Copy for NDIS_802_11_REMOVE_KEY {} +impl ::core::clone::Clone for NDIS_802_11_REMOVE_KEY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_SSID { + pub SsidLength: u32, + pub Ssid: [u8; 32], +} +impl ::core::marker::Copy for NDIS_802_11_SSID {} +impl ::core::clone::Clone for NDIS_802_11_SSID { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_STATISTICS { + pub Length: u32, + pub TransmittedFragmentCount: i64, + pub MulticastTransmittedFrameCount: i64, + pub FailedCount: i64, + pub RetryCount: i64, + pub MultipleRetryCount: i64, + pub RTSSuccessCount: i64, + pub RTSFailureCount: i64, + pub ACKFailureCount: i64, + pub FrameDuplicateCount: i64, + pub ReceivedFragmentCount: i64, + pub MulticastReceivedFrameCount: i64, + pub FCSErrorCount: i64, + pub TKIPLocalMICFailures: i64, + pub TKIPICVErrorCount: i64, + pub TKIPCounterMeasuresInvoked: i64, + pub TKIPReplays: i64, + pub CCMPFormatErrors: i64, + pub CCMPReplays: i64, + pub CCMPDecryptErrors: i64, + pub FourWayHandshakeFailures: i64, + pub WEPUndecryptableCount: i64, + pub WEPICVErrorCount: i64, + pub DecryptSuccessCount: i64, + pub DecryptFailureCount: i64, +} +impl ::core::marker::Copy for NDIS_802_11_STATISTICS {} +impl ::core::clone::Clone for NDIS_802_11_STATISTICS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_STATUS_INDICATION { + pub StatusType: NDIS_802_11_STATUS_TYPE, +} +impl ::core::marker::Copy for NDIS_802_11_STATUS_INDICATION {} +impl ::core::clone::Clone for NDIS_802_11_STATUS_INDICATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_TEST { + pub Length: u32, + pub Type: u32, + pub Anonymous: NDIS_802_11_TEST_0, +} +impl ::core::marker::Copy for NDIS_802_11_TEST {} +impl ::core::clone::Clone for NDIS_802_11_TEST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union NDIS_802_11_TEST_0 { + pub AuthenticationEvent: NDIS_802_11_AUTHENTICATION_EVENT, + pub RssiTrigger: i32, +} +impl ::core::marker::Copy for NDIS_802_11_TEST_0 {} +impl ::core::clone::Clone for NDIS_802_11_TEST_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_VARIABLE_IEs { + pub ElementID: u8, + pub Length: u8, + pub data: [u8; 1], +} +impl ::core::marker::Copy for NDIS_802_11_VARIABLE_IEs {} +impl ::core::clone::Clone for NDIS_802_11_VARIABLE_IEs { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_WEP { + pub Length: u32, + pub KeyIndex: u32, + pub KeyLength: u32, + pub KeyMaterial: [u8; 1], +} +impl ::core::marker::Copy for NDIS_802_11_WEP {} +impl ::core::clone::Clone for NDIS_802_11_WEP { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_CO_DEVICE_PROFILE { + pub DeviceDescription: NDIS_VAR_DATA_DESC, + pub DevSpecificInfo: NDIS_VAR_DATA_DESC, + pub ulTAPISupplementaryPassThru: u32, + pub ulAddressModes: u32, + pub ulNumAddresses: u32, + pub ulBearerModes: u32, + pub ulMaxTxRate: u32, + pub ulMinTxRate: u32, + pub ulMaxRxRate: u32, + pub ulMinRxRate: u32, + pub ulMediaModes: u32, + pub ulGenerateToneModes: u32, + pub ulGenerateToneMaxNumFreq: u32, + pub ulGenerateDigitModes: u32, + pub ulMonitorToneMaxNumFreq: u32, + pub ulMonitorToneMaxNumEntries: u32, + pub ulMonitorDigitModes: u32, + pub ulGatherDigitsMinTimeout: u32, + pub ulGatherDigitsMaxTimeout: u32, + pub ulDevCapFlags: u32, + pub ulMaxNumActiveCalls: u32, + pub ulAnswerMode: u32, + pub ulUUIAcceptSize: u32, + pub ulUUIAnswerSize: u32, + pub ulUUIMakeCallSize: u32, + pub ulUUIDropSize: u32, + pub ulUUISendUserUserInfoSize: u32, + pub ulUUICallInfoSize: u32, +} +impl ::core::marker::Copy for NDIS_CO_DEVICE_PROFILE {} +impl ::core::clone::Clone for NDIS_CO_DEVICE_PROFILE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_CO_LINK_SPEED { + pub Outbound: u32, + pub Inbound: u32, +} +impl ::core::marker::Copy for NDIS_CO_LINK_SPEED {} +impl ::core::clone::Clone for NDIS_CO_LINK_SPEED { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_GUID { + pub Guid: ::windows_sys::core::GUID, + pub Anonymous: NDIS_GUID_0, + pub Size: u32, + pub Flags: u32, +} +impl ::core::marker::Copy for NDIS_GUID {} +impl ::core::clone::Clone for NDIS_GUID { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union NDIS_GUID_0 { + pub Oid: u32, + pub Status: i32, +} +impl ::core::marker::Copy for NDIS_GUID_0 {} +impl ::core::clone::Clone for NDIS_GUID_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_HARDWARE_CROSSTIMESTAMP { + pub Header: NDIS_OBJECT_HEADER, + pub Flags: u32, + pub SystemTimestamp1: u64, + pub HardwareClockTimestamp: u64, + pub SystemTimestamp2: u64, +} +impl ::core::marker::Copy for NDIS_HARDWARE_CROSSTIMESTAMP {} +impl ::core::clone::Clone for NDIS_HARDWARE_CROSSTIMESTAMP { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct NDIS_INTERFACE_INFORMATION { + pub ifOperStatus: NET_IF_OPER_STATUS, + pub ifOperStatusFlags: u32, + pub MediaConnectState: NET_IF_MEDIA_CONNECT_STATE, + pub MediaDuplexState: NET_IF_MEDIA_DUPLEX_STATE, + pub ifMtu: u32, + pub ifPromiscuousMode: super::super::Foundation::BOOLEAN, + pub ifDeviceWakeUpEnable: super::super::Foundation::BOOLEAN, + pub XmitLinkSpeed: u64, + pub RcvLinkSpeed: u64, + pub ifLastChange: u64, + pub ifCounterDiscontinuityTime: u64, + pub ifInUnknownProtos: u64, + pub ifInDiscards: u64, + pub ifInErrors: u64, + pub ifHCInOctets: u64, + pub ifHCInUcastPkts: u64, + pub ifHCInMulticastPkts: u64, + pub ifHCInBroadcastPkts: u64, + pub ifHCOutOctets: u64, + pub ifHCOutUcastPkts: u64, + pub ifHCOutMulticastPkts: u64, + pub ifHCOutBroadcastPkts: u64, + pub ifOutErrors: u64, + pub ifOutDiscards: u64, + pub ifHCInUcastOctets: u64, + pub ifHCInMulticastOctets: u64, + pub ifHCInBroadcastOctets: u64, + pub ifHCOutUcastOctets: u64, + pub ifHCOutMulticastOctets: u64, + pub ifHCOutBroadcastOctets: u64, + pub CompartmentId: u32, + pub SupportedStatistics: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NDIS_INTERFACE_INFORMATION {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NDIS_INTERFACE_INFORMATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_INTERRUPT_MODERATION_PARAMETERS { + pub Header: NDIS_OBJECT_HEADER, + pub Flags: u32, + pub InterruptModeration: NDIS_INTERRUPT_MODERATION, +} +impl ::core::marker::Copy for NDIS_INTERRUPT_MODERATION_PARAMETERS {} +impl ::core::clone::Clone for NDIS_INTERRUPT_MODERATION_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_IPSEC_OFFLOAD_V1 { + pub Supported: NDIS_IPSEC_OFFLOAD_V1_2, + pub IPv4AH: NDIS_IPSEC_OFFLOAD_V1_0, + pub IPv4ESP: NDIS_IPSEC_OFFLOAD_V1_1, +} +impl ::core::marker::Copy for NDIS_IPSEC_OFFLOAD_V1 {} +impl ::core::clone::Clone for NDIS_IPSEC_OFFLOAD_V1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_IPSEC_OFFLOAD_V1_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_IPSEC_OFFLOAD_V1_0 {} +impl ::core::clone::Clone for NDIS_IPSEC_OFFLOAD_V1_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_IPSEC_OFFLOAD_V1_1 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_IPSEC_OFFLOAD_V1_1 {} +impl ::core::clone::Clone for NDIS_IPSEC_OFFLOAD_V1_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_IPSEC_OFFLOAD_V1_2 { + pub Encapsulation: u32, + pub AhEspCombined: u32, + pub TransportTunnelCombined: u32, + pub IPv4Options: u32, + pub Flags: u32, +} +impl ::core::marker::Copy for NDIS_IPSEC_OFFLOAD_V1_2 {} +impl ::core::clone::Clone for NDIS_IPSEC_OFFLOAD_V1_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_IP_OPER_STATE { + pub Header: NDIS_OBJECT_HEADER, + pub Flags: u32, + pub IpOperationalStatus: NDIS_IP_OPER_STATUS, +} +impl ::core::marker::Copy for NDIS_IP_OPER_STATE {} +impl ::core::clone::Clone for NDIS_IP_OPER_STATE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_IP_OPER_STATUS { + pub AddressFamily: u32, + pub OperationalStatus: NET_IF_OPER_STATUS, + pub OperationalStatusFlags: u32, +} +impl ::core::marker::Copy for NDIS_IP_OPER_STATUS {} +impl ::core::clone::Clone for NDIS_IP_OPER_STATUS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_IP_OPER_STATUS_INFO { + pub Header: NDIS_OBJECT_HEADER, + pub Flags: u32, + pub NumberofAddressFamiliesReturned: u32, + pub IpOperationalStatus: [NDIS_IP_OPER_STATUS; 32], +} +impl ::core::marker::Copy for NDIS_IP_OPER_STATUS_INFO {} +impl ::core::clone::Clone for NDIS_IP_OPER_STATUS_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_IRDA_PACKET_INFO { + pub ExtraBOFs: u32, + pub MinTurnAroundTime: u32, +} +impl ::core::marker::Copy for NDIS_IRDA_PACKET_INFO {} +impl ::core::clone::Clone for NDIS_IRDA_PACKET_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_LINK_PARAMETERS { + pub Header: NDIS_OBJECT_HEADER, + pub MediaDuplexState: NET_IF_MEDIA_DUPLEX_STATE, + pub XmitLinkSpeed: u64, + pub RcvLinkSpeed: u64, + pub PauseFunctions: NDIS_SUPPORTED_PAUSE_FUNCTIONS, + pub AutoNegotiationFlags: u32, +} +impl ::core::marker::Copy for NDIS_LINK_PARAMETERS {} +impl ::core::clone::Clone for NDIS_LINK_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_LINK_SPEED { + pub XmitLinkSpeed: u64, + pub RcvLinkSpeed: u64, +} +impl ::core::marker::Copy for NDIS_LINK_SPEED {} +impl ::core::clone::Clone for NDIS_LINK_SPEED { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_LINK_STATE { + pub Header: NDIS_OBJECT_HEADER, + pub MediaConnectState: NET_IF_MEDIA_CONNECT_STATE, + pub MediaDuplexState: NET_IF_MEDIA_DUPLEX_STATE, + pub XmitLinkSpeed: u64, + pub RcvLinkSpeed: u64, + pub PauseFunctions: NDIS_SUPPORTED_PAUSE_FUNCTIONS, + pub AutoNegotiationFlags: u32, +} +impl ::core::marker::Copy for NDIS_LINK_STATE {} +impl ::core::clone::Clone for NDIS_LINK_STATE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_OBJECT_HEADER { + pub Type: u8, + pub Revision: u8, + pub Size: u16, +} +impl ::core::marker::Copy for NDIS_OBJECT_HEADER {} +impl ::core::clone::Clone for NDIS_OBJECT_HEADER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_OFFLOAD { + pub Header: NDIS_OBJECT_HEADER, + pub Checksum: NDIS_TCP_IP_CHECKSUM_OFFLOAD, + pub LsoV1: NDIS_TCP_LARGE_SEND_OFFLOAD_V1, + pub IPsecV1: NDIS_IPSEC_OFFLOAD_V1, + pub LsoV2: NDIS_TCP_LARGE_SEND_OFFLOAD_V2, + pub Flags: u32, +} +impl ::core::marker::Copy for NDIS_OFFLOAD {} +impl ::core::clone::Clone for NDIS_OFFLOAD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_OFFLOAD_PARAMETERS { + pub Header: NDIS_OBJECT_HEADER, + pub IPv4Checksum: u8, + pub TCPIPv4Checksum: u8, + pub UDPIPv4Checksum: u8, + pub TCPIPv6Checksum: u8, + pub UDPIPv6Checksum: u8, + pub LsoV1: u8, + pub IPsecV1: u8, + pub LsoV2IPv4: u8, + pub LsoV2IPv6: u8, + pub TcpConnectionIPv4: u8, + pub TcpConnectionIPv6: u8, + pub Flags: u32, +} +impl ::core::marker::Copy for NDIS_OFFLOAD_PARAMETERS {} +impl ::core::clone::Clone for NDIS_OFFLOAD_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_OPER_STATE { + pub Header: NDIS_OBJECT_HEADER, + pub OperationalStatus: NET_IF_OPER_STATUS, + pub OperationalStatusFlags: u32, +} +impl ::core::marker::Copy for NDIS_OPER_STATE {} +impl ::core::clone::Clone for NDIS_OPER_STATE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_PCI_DEVICE_CUSTOM_PROPERTIES { + pub Header: NDIS_OBJECT_HEADER, + pub DeviceType: u32, + pub CurrentSpeedAndMode: u32, + pub CurrentPayloadSize: u32, + pub MaxPayloadSize: u32, + pub MaxReadRequestSize: u32, + pub CurrentLinkSpeed: u32, + pub CurrentLinkWidth: u32, + pub MaxLinkSpeed: u32, + pub MaxLinkWidth: u32, + pub PciExpressVersion: u32, + pub InterruptType: u32, + pub MaxInterruptMessages: u32, +} +impl ::core::marker::Copy for NDIS_PCI_DEVICE_CUSTOM_PROPERTIES {} +impl ::core::clone::Clone for NDIS_PCI_DEVICE_CUSTOM_PROPERTIES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_PM_PACKET_PATTERN { + pub Priority: u32, + pub Reserved: u32, + pub MaskSize: u32, + pub PatternOffset: u32, + pub PatternSize: u32, + pub PatternFlags: u32, +} +impl ::core::marker::Copy for NDIS_PM_PACKET_PATTERN {} +impl ::core::clone::Clone for NDIS_PM_PACKET_PATTERN { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_PM_WAKE_UP_CAPABILITIES { + pub MinMagicPacketWakeUp: NDIS_DEVICE_POWER_STATE, + pub MinPatternWakeUp: NDIS_DEVICE_POWER_STATE, + pub MinLinkChangeWakeUp: NDIS_DEVICE_POWER_STATE, +} +impl ::core::marker::Copy for NDIS_PM_WAKE_UP_CAPABILITIES {} +impl ::core::clone::Clone for NDIS_PM_WAKE_UP_CAPABILITIES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_PNP_CAPABILITIES { + pub Flags: u32, + pub WakeUpCapabilities: NDIS_PM_WAKE_UP_CAPABILITIES, +} +impl ::core::marker::Copy for NDIS_PNP_CAPABILITIES {} +impl ::core::clone::Clone for NDIS_PNP_CAPABILITIES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_PORT { + pub Next: *mut NDIS_PORT, + pub NdisReserved: *mut ::core::ffi::c_void, + pub MiniportReserved: *mut ::core::ffi::c_void, + pub ProtocolReserved: *mut ::core::ffi::c_void, + pub PortCharacteristics: NDIS_PORT_CHARACTERISTICS, +} +impl ::core::marker::Copy for NDIS_PORT {} +impl ::core::clone::Clone for NDIS_PORT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_PORT_ARRAY { + pub Header: NDIS_OBJECT_HEADER, + pub NumberOfPorts: u32, + pub OffsetFirstPort: u32, + pub ElementSize: u32, + pub Ports: [NDIS_PORT_CHARACTERISTICS; 1], +} +impl ::core::marker::Copy for NDIS_PORT_ARRAY {} +impl ::core::clone::Clone for NDIS_PORT_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_PORT_AUTHENTICATION_PARAMETERS { + pub Header: NDIS_OBJECT_HEADER, + pub SendControlState: NDIS_PORT_CONTROL_STATE, + pub RcvControlState: NDIS_PORT_CONTROL_STATE, + pub SendAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE, + pub RcvAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE, +} +impl ::core::marker::Copy for NDIS_PORT_AUTHENTICATION_PARAMETERS {} +impl ::core::clone::Clone for NDIS_PORT_AUTHENTICATION_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_PORT_CHARACTERISTICS { + pub Header: NDIS_OBJECT_HEADER, + pub PortNumber: u32, + pub Flags: u32, + pub Type: NDIS_PORT_TYPE, + pub MediaConnectState: NET_IF_MEDIA_CONNECT_STATE, + pub XmitLinkSpeed: u64, + pub RcvLinkSpeed: u64, + pub Direction: NET_IF_DIRECTION_TYPE, + pub SendControlState: NDIS_PORT_CONTROL_STATE, + pub RcvControlState: NDIS_PORT_CONTROL_STATE, + pub SendAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE, + pub RcvAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE, +} +impl ::core::marker::Copy for NDIS_PORT_CHARACTERISTICS {} +impl ::core::clone::Clone for NDIS_PORT_CHARACTERISTICS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_PORT_STATE { + pub Header: NDIS_OBJECT_HEADER, + pub MediaConnectState: NET_IF_MEDIA_CONNECT_STATE, + pub XmitLinkSpeed: u64, + pub RcvLinkSpeed: u64, + pub Direction: NET_IF_DIRECTION_TYPE, + pub SendControlState: NDIS_PORT_CONTROL_STATE, + pub RcvControlState: NDIS_PORT_CONTROL_STATE, + pub SendAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE, + pub RcvAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE, + pub Flags: u32, +} +impl ::core::marker::Copy for NDIS_PORT_STATE {} +impl ::core::clone::Clone for NDIS_PORT_STATE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_RECEIVE_HASH_PARAMETERS { + pub Header: NDIS_OBJECT_HEADER, + pub Flags: u32, + pub HashInformation: u32, + pub HashSecretKeySize: u16, + pub HashSecretKeyOffset: u32, +} +impl ::core::marker::Copy for NDIS_RECEIVE_HASH_PARAMETERS {} +impl ::core::clone::Clone for NDIS_RECEIVE_HASH_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_RECEIVE_SCALE_CAPABILITIES { + pub Header: NDIS_OBJECT_HEADER, + pub CapabilitiesFlags: u32, + pub NumberOfInterruptMessages: u32, + pub NumberOfReceiveQueues: u32, +} +impl ::core::marker::Copy for NDIS_RECEIVE_SCALE_CAPABILITIES {} +impl ::core::clone::Clone for NDIS_RECEIVE_SCALE_CAPABILITIES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_RECEIVE_SCALE_PARAMETERS { + pub Header: NDIS_OBJECT_HEADER, + pub Flags: u16, + pub BaseCpuNumber: u16, + pub HashInformation: u32, + pub IndirectionTableSize: u16, + pub IndirectionTableOffset: u32, + pub HashSecretKeySize: u16, + pub HashSecretKeyOffset: u32, +} +impl ::core::marker::Copy for NDIS_RECEIVE_SCALE_PARAMETERS {} +impl ::core::clone::Clone for NDIS_RECEIVE_SCALE_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_STATISTICS_INFO { + pub Header: NDIS_OBJECT_HEADER, + pub SupportedStatistics: u32, + pub ifInDiscards: u64, + pub ifInErrors: u64, + pub ifHCInOctets: u64, + pub ifHCInUcastPkts: u64, + pub ifHCInMulticastPkts: u64, + pub ifHCInBroadcastPkts: u64, + pub ifHCOutOctets: u64, + pub ifHCOutUcastPkts: u64, + pub ifHCOutMulticastPkts: u64, + pub ifHCOutBroadcastPkts: u64, + pub ifOutErrors: u64, + pub ifOutDiscards: u64, + pub ifHCInUcastOctets: u64, + pub ifHCInMulticastOctets: u64, + pub ifHCInBroadcastOctets: u64, + pub ifHCOutUcastOctets: u64, + pub ifHCOutMulticastOctets: u64, + pub ifHCOutBroadcastOctets: u64, +} +impl ::core::marker::Copy for NDIS_STATISTICS_INFO {} +impl ::core::clone::Clone for NDIS_STATISTICS_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_STATISTICS_VALUE { + pub Oid: u32, + pub DataLength: u32, + pub Data: [u8; 1], +} +impl ::core::marker::Copy for NDIS_STATISTICS_VALUE {} +impl ::core::clone::Clone for NDIS_STATISTICS_VALUE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_STATISTICS_VALUE_EX { + pub Oid: u32, + pub DataLength: u32, + pub Length: u32, + pub Data: [u8; 1], +} +impl ::core::marker::Copy for NDIS_STATISTICS_VALUE_EX {} +impl ::core::clone::Clone for NDIS_STATISTICS_VALUE_EX { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_TCP_CONNECTION_OFFLOAD { + pub Header: NDIS_OBJECT_HEADER, + pub Encapsulation: u32, + pub _bitfield: u32, + pub TcpConnectionOffloadCapacity: u32, + pub Flags: u32, +} +impl ::core::marker::Copy for NDIS_TCP_CONNECTION_OFFLOAD {} +impl ::core::clone::Clone for NDIS_TCP_CONNECTION_OFFLOAD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_TCP_IP_CHECKSUM_OFFLOAD { + pub IPv4Transmit: NDIS_TCP_IP_CHECKSUM_OFFLOAD_1, + pub IPv4Receive: NDIS_TCP_IP_CHECKSUM_OFFLOAD_0, + pub IPv6Transmit: NDIS_TCP_IP_CHECKSUM_OFFLOAD_3, + pub IPv6Receive: NDIS_TCP_IP_CHECKSUM_OFFLOAD_2, +} +impl ::core::marker::Copy for NDIS_TCP_IP_CHECKSUM_OFFLOAD {} +impl ::core::clone::Clone for NDIS_TCP_IP_CHECKSUM_OFFLOAD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_TCP_IP_CHECKSUM_OFFLOAD_0 { + pub Encapsulation: u32, + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_TCP_IP_CHECKSUM_OFFLOAD_0 {} +impl ::core::clone::Clone for NDIS_TCP_IP_CHECKSUM_OFFLOAD_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_TCP_IP_CHECKSUM_OFFLOAD_1 { + pub Encapsulation: u32, + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_TCP_IP_CHECKSUM_OFFLOAD_1 {} +impl ::core::clone::Clone for NDIS_TCP_IP_CHECKSUM_OFFLOAD_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_TCP_IP_CHECKSUM_OFFLOAD_2 { + pub Encapsulation: u32, + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_TCP_IP_CHECKSUM_OFFLOAD_2 {} +impl ::core::clone::Clone for NDIS_TCP_IP_CHECKSUM_OFFLOAD_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_TCP_IP_CHECKSUM_OFFLOAD_3 { + pub Encapsulation: u32, + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_TCP_IP_CHECKSUM_OFFLOAD_3 {} +impl ::core::clone::Clone for NDIS_TCP_IP_CHECKSUM_OFFLOAD_3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_TCP_LARGE_SEND_OFFLOAD_V1 { + pub IPv4: NDIS_TCP_LARGE_SEND_OFFLOAD_V1_0, +} +impl ::core::marker::Copy for NDIS_TCP_LARGE_SEND_OFFLOAD_V1 {} +impl ::core::clone::Clone for NDIS_TCP_LARGE_SEND_OFFLOAD_V1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_TCP_LARGE_SEND_OFFLOAD_V1_0 { + pub Encapsulation: u32, + pub MaxOffLoadSize: u32, + pub MinSegmentCount: u32, + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_TCP_LARGE_SEND_OFFLOAD_V1_0 {} +impl ::core::clone::Clone for NDIS_TCP_LARGE_SEND_OFFLOAD_V1_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_TCP_LARGE_SEND_OFFLOAD_V2 { + pub IPv4: NDIS_TCP_LARGE_SEND_OFFLOAD_V2_0, + pub IPv6: NDIS_TCP_LARGE_SEND_OFFLOAD_V2_1, +} +impl ::core::marker::Copy for NDIS_TCP_LARGE_SEND_OFFLOAD_V2 {} +impl ::core::clone::Clone for NDIS_TCP_LARGE_SEND_OFFLOAD_V2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_TCP_LARGE_SEND_OFFLOAD_V2_0 { + pub Encapsulation: u32, + pub MaxOffLoadSize: u32, + pub MinSegmentCount: u32, +} +impl ::core::marker::Copy for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_0 {} +impl ::core::clone::Clone for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_TCP_LARGE_SEND_OFFLOAD_V2_1 { + pub Encapsulation: u32, + pub MaxOffLoadSize: u32, + pub MinSegmentCount: u32, + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_1 {} +impl ::core::clone::Clone for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_TIMEOUT_DPC_REQUEST_CAPABILITIES { + pub Header: NDIS_OBJECT_HEADER, + pub Flags: u32, + pub TimeoutArrayLength: u32, + pub TimeoutArray: [u32; 1], +} +impl ::core::marker::Copy for NDIS_TIMEOUT_DPC_REQUEST_CAPABILITIES {} +impl ::core::clone::Clone for NDIS_TIMEOUT_DPC_REQUEST_CAPABILITIES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct NDIS_TIMESTAMP_CAPABILITIES { + pub Header: NDIS_OBJECT_HEADER, + pub HardwareClockFrequencyHz: u64, + pub CrossTimestamp: super::super::Foundation::BOOLEAN, + pub Reserved1: u64, + pub Reserved2: u64, + pub TimestampFlags: NDIS_TIMESTAMP_CAPABILITY_FLAGS, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NDIS_TIMESTAMP_CAPABILITIES {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NDIS_TIMESTAMP_CAPABILITIES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct NDIS_TIMESTAMP_CAPABILITY_FLAGS { + pub PtpV2OverUdpIPv4EventMsgReceiveHw: super::super::Foundation::BOOLEAN, + pub PtpV2OverUdpIPv4AllMsgReceiveHw: super::super::Foundation::BOOLEAN, + pub PtpV2OverUdpIPv4EventMsgTransmitHw: super::super::Foundation::BOOLEAN, + pub PtpV2OverUdpIPv4AllMsgTransmitHw: super::super::Foundation::BOOLEAN, + pub PtpV2OverUdpIPv6EventMsgReceiveHw: super::super::Foundation::BOOLEAN, + pub PtpV2OverUdpIPv6AllMsgReceiveHw: super::super::Foundation::BOOLEAN, + pub PtpV2OverUdpIPv6EventMsgTransmitHw: super::super::Foundation::BOOLEAN, + pub PtpV2OverUdpIPv6AllMsgTransmitHw: super::super::Foundation::BOOLEAN, + pub AllReceiveHw: super::super::Foundation::BOOLEAN, + pub AllTransmitHw: super::super::Foundation::BOOLEAN, + pub TaggedTransmitHw: super::super::Foundation::BOOLEAN, + pub AllReceiveSw: super::super::Foundation::BOOLEAN, + pub AllTransmitSw: super::super::Foundation::BOOLEAN, + pub TaggedTransmitSw: super::super::Foundation::BOOLEAN, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NDIS_TIMESTAMP_CAPABILITY_FLAGS {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NDIS_TIMESTAMP_CAPABILITY_FLAGS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_VAR_DATA_DESC { + pub Length: u16, + pub MaximumLength: u16, + pub Offset: usize, +} +impl ::core::marker::Copy for NDIS_VAR_DATA_DESC {} +impl ::core::clone::Clone for NDIS_VAR_DATA_DESC { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WAN_PROTOCOL_CAPS { + pub Flags: u32, + pub Reserved: u32, +} +impl ::core::marker::Copy for NDIS_WAN_PROTOCOL_CAPS {} +impl ::core::clone::Clone for NDIS_WAN_PROTOCOL_CAPS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WLAN_BSSID { + pub Length: u32, + pub MacAddress: [u8; 6], + pub Reserved: [u8; 2], + pub Ssid: NDIS_802_11_SSID, + pub Privacy: u32, + pub Rssi: i32, + pub NetworkTypeInUse: NDIS_802_11_NETWORK_TYPE, + pub Configuration: NDIS_802_11_CONFIGURATION, + pub InfrastructureMode: NDIS_802_11_NETWORK_INFRASTRUCTURE, + pub SupportedRates: [u8; 8], +} +impl ::core::marker::Copy for NDIS_WLAN_BSSID {} +impl ::core::clone::Clone for NDIS_WLAN_BSSID { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WLAN_BSSID_EX { + pub Length: u32, + pub MacAddress: [u8; 6], + pub Reserved: [u8; 2], + pub Ssid: NDIS_802_11_SSID, + pub Privacy: u32, + pub Rssi: i32, + pub NetworkTypeInUse: NDIS_802_11_NETWORK_TYPE, + pub Configuration: NDIS_802_11_CONFIGURATION, + pub InfrastructureMode: NDIS_802_11_NETWORK_INFRASTRUCTURE, + pub SupportedRates: [u8; 16], + pub IELength: u32, + pub IEs: [u8; 1], +} +impl ::core::marker::Copy for NDIS_WLAN_BSSID_EX {} +impl ::core::clone::Clone for NDIS_WLAN_BSSID_EX { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_ENUM_ADAPTER { + pub Header: NDIS_OBJECT_HEADER, + pub IfIndex: u32, + pub NetLuid: NET_LUID_LH, + pub DeviceNameLength: u16, + pub DeviceName: [u8; 1], +} +impl ::core::marker::Copy for NDIS_WMI_ENUM_ADAPTER {} +impl ::core::clone::Clone for NDIS_WMI_ENUM_ADAPTER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_EVENT_HEADER { + pub Header: NDIS_OBJECT_HEADER, + pub IfIndex: u32, + pub NetLuid: NET_LUID_LH, + pub RequestId: u64, + pub PortNumber: u32, + pub DeviceNameLength: u32, + pub DeviceNameOffset: u32, + pub Padding: [u8; 4], +} +impl ::core::marker::Copy for NDIS_WMI_EVENT_HEADER {} +impl ::core::clone::Clone for NDIS_WMI_EVENT_HEADER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_IPSEC_OFFLOAD_V1 { + pub Supported: NDIS_WMI_IPSEC_OFFLOAD_V1_2, + pub IPv4AH: NDIS_WMI_IPSEC_OFFLOAD_V1_0, + pub IPv4ESP: NDIS_WMI_IPSEC_OFFLOAD_V1_1, +} +impl ::core::marker::Copy for NDIS_WMI_IPSEC_OFFLOAD_V1 {} +impl ::core::clone::Clone for NDIS_WMI_IPSEC_OFFLOAD_V1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_IPSEC_OFFLOAD_V1_0 { + pub Md5: u32, + pub Sha_1: u32, + pub Transport: u32, + pub Tunnel: u32, + pub Send: u32, + pub Receive: u32, +} +impl ::core::marker::Copy for NDIS_WMI_IPSEC_OFFLOAD_V1_0 {} +impl ::core::clone::Clone for NDIS_WMI_IPSEC_OFFLOAD_V1_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_IPSEC_OFFLOAD_V1_1 { + pub Des: u32, + pub Reserved: u32, + pub TripleDes: u32, + pub NullEsp: u32, + pub Transport: u32, + pub Tunnel: u32, + pub Send: u32, + pub Receive: u32, +} +impl ::core::marker::Copy for NDIS_WMI_IPSEC_OFFLOAD_V1_1 {} +impl ::core::clone::Clone for NDIS_WMI_IPSEC_OFFLOAD_V1_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_IPSEC_OFFLOAD_V1_2 { + pub Encapsulation: u32, + pub AhEspCombined: u32, + pub TransportTunnelCombined: u32, + pub IPv4Options: u32, + pub Flags: u32, +} +impl ::core::marker::Copy for NDIS_WMI_IPSEC_OFFLOAD_V1_2 {} +impl ::core::clone::Clone for NDIS_WMI_IPSEC_OFFLOAD_V1_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_METHOD_HEADER { + pub Header: NDIS_OBJECT_HEADER, + pub PortNumber: u32, + pub NetLuid: NET_LUID_LH, + pub RequestId: u64, + pub Timeout: u32, + pub Padding: [u8; 4], +} +impl ::core::marker::Copy for NDIS_WMI_METHOD_HEADER {} +impl ::core::clone::Clone for NDIS_WMI_METHOD_HEADER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_OFFLOAD { + pub Header: NDIS_OBJECT_HEADER, + pub Checksum: NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD, + pub LsoV1: NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1, + pub IPsecV1: NDIS_WMI_IPSEC_OFFLOAD_V1, + pub LsoV2: NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2, + pub Flags: u32, +} +impl ::core::marker::Copy for NDIS_WMI_OFFLOAD {} +impl ::core::clone::Clone for NDIS_WMI_OFFLOAD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_OUTPUT_INFO { + pub Header: NDIS_OBJECT_HEADER, + pub Flags: u32, + pub SupportedRevision: u8, + pub DataOffset: u32, +} +impl ::core::marker::Copy for NDIS_WMI_OUTPUT_INFO {} +impl ::core::clone::Clone for NDIS_WMI_OUTPUT_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_SET_HEADER { + pub Header: NDIS_OBJECT_HEADER, + pub PortNumber: u32, + pub NetLuid: NET_LUID_LH, + pub RequestId: u64, + pub Timeout: u32, + pub Padding: [u8; 4], +} +impl ::core::marker::Copy for NDIS_WMI_SET_HEADER {} +impl ::core::clone::Clone for NDIS_WMI_SET_HEADER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_CONNECTION_OFFLOAD { + pub Header: NDIS_OBJECT_HEADER, + pub Encapsulation: u32, + pub SupportIPv4: u32, + pub SupportIPv6: u32, + pub SupportIPv6ExtensionHeaders: u32, + pub SupportSack: u32, + pub TcpConnectionOffloadCapacity: u32, + pub Flags: u32, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_CONNECTION_OFFLOAD {} +impl ::core::clone::Clone for NDIS_WMI_TCP_CONNECTION_OFFLOAD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD { + pub IPv4Transmit: NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_1, + pub IPv4Receive: NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_0, + pub IPv6Transmit: NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_3, + pub IPv6Receive: NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_2, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD {} +impl ::core::clone::Clone for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_0 { + pub Encapsulation: u32, + pub IpOptionsSupported: u32, + pub TcpOptionsSupported: u32, + pub TcpChecksum: u32, + pub UdpChecksum: u32, + pub IpChecksum: u32, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_0 {} +impl ::core::clone::Clone for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_1 { + pub Encapsulation: u32, + pub IpOptionsSupported: u32, + pub TcpOptionsSupported: u32, + pub TcpChecksum: u32, + pub UdpChecksum: u32, + pub IpChecksum: u32, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_1 {} +impl ::core::clone::Clone for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_2 { + pub Encapsulation: u32, + pub IpExtensionHeadersSupported: u32, + pub TcpOptionsSupported: u32, + pub TcpChecksum: u32, + pub UdpChecksum: u32, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_2 {} +impl ::core::clone::Clone for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_3 { + pub Encapsulation: u32, + pub IpExtensionHeadersSupported: u32, + pub TcpOptionsSupported: u32, + pub TcpChecksum: u32, + pub UdpChecksum: u32, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_3 {} +impl ::core::clone::Clone for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1 { + pub IPv4: NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1_0, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1 {} +impl ::core::clone::Clone for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1_0 { + pub Encapsulation: u32, + pub MaxOffLoadSize: u32, + pub MinSegmentCount: u32, + pub TcpOptions: u32, + pub IpOptions: u32, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1_0 {} +impl ::core::clone::Clone for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2 { + pub IPv4: NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_0, + pub IPv6: NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_1, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2 {} +impl ::core::clone::Clone for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_0 { + pub Encapsulation: u32, + pub MaxOffLoadSize: u32, + pub MinSegmentCount: u32, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_0 {} +impl ::core::clone::Clone for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_1 { + pub Encapsulation: u32, + pub MaxOffLoadSize: u32, + pub MinSegmentCount: u32, + pub IpExtensionHeadersSupported: u32, + pub TcpOptionsSupported: u32, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_1 {} +impl ::core::clone::Clone for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDK_ADAPTER_INFO { + pub Version: NDK_VERSION, + pub VendorId: u32, + pub DeviceId: u32, + pub MaxRegistrationSize: usize, + pub MaxWindowSize: usize, + pub FRMRPageCount: u32, + pub MaxInitiatorRequestSge: u32, + pub MaxReceiveRequestSge: u32, + pub MaxReadRequestSge: u32, + pub MaxTransferLength: u32, + pub MaxInlineDataSize: u32, + pub MaxInboundReadLimit: u32, + pub MaxOutboundReadLimit: u32, + pub MaxReceiveQueueDepth: u32, + pub MaxInitiatorQueueDepth: u32, + pub MaxSrqDepth: u32, + pub MaxCqDepth: u32, + pub LargeRequestThreshold: u32, + pub MaxCallerData: u32, + pub MaxCalleeData: u32, + pub AdapterFlags: u32, + pub RdmaTechnology: NDK_RDMA_TECHNOLOGY, +} +impl ::core::marker::Copy for NDK_ADAPTER_INFO {} +impl ::core::clone::Clone for NDK_ADAPTER_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDK_VERSION { + pub Major: u16, + pub Minor: u16, +} +impl ::core::marker::Copy for NDK_VERSION {} +impl ::core::clone::Clone for NDK_VERSION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NETWORK_ADDRESS { + pub AddressLength: u16, + pub AddressType: u16, + pub Address: [u8; 1], +} +impl ::core::marker::Copy for NETWORK_ADDRESS {} +impl ::core::clone::Clone for NETWORK_ADDRESS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NETWORK_ADDRESS_IP { + pub sin_port: u16, + pub IN_ADDR: u32, + pub sin_zero: [u8; 8], +} +impl ::core::marker::Copy for NETWORK_ADDRESS_IP {} +impl ::core::clone::Clone for NETWORK_ADDRESS_IP { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NETWORK_ADDRESS_IP6 { + pub sin6_port: u16, + pub sin6_flowinfo: u32, + pub sin6_addr: [u16; 8], + pub sin6_scope_id: u32, +} +impl ::core::marker::Copy for NETWORK_ADDRESS_IP6 {} +impl ::core::clone::Clone for NETWORK_ADDRESS_IP6 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NETWORK_ADDRESS_IPX { + pub NetworkAddress: u32, + pub NodeAddress: [u8; 6], + pub Socket: u16, +} +impl ::core::marker::Copy for NETWORK_ADDRESS_IPX {} +impl ::core::clone::Clone for NETWORK_ADDRESS_IPX { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NETWORK_ADDRESS_LIST { + pub AddressCount: i32, + pub AddressType: u16, + pub Address: [NETWORK_ADDRESS; 1], +} +impl ::core::marker::Copy for NETWORK_ADDRESS_LIST {} +impl ::core::clone::Clone for NETWORK_ADDRESS_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NET_IF_ALIAS_LH { + pub ifAliasLength: u16, + pub ifAliasOffset: u16, +} +impl ::core::marker::Copy for NET_IF_ALIAS_LH {} +impl ::core::clone::Clone for NET_IF_ALIAS_LH { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NET_IF_RCV_ADDRESS_LH { + pub ifRcvAddressType: NET_IF_RCV_ADDRESS_TYPE, + pub ifRcvAddressLength: u16, + pub ifRcvAddressOffset: u16, +} +impl ::core::marker::Copy for NET_IF_RCV_ADDRESS_LH {} +impl ::core::clone::Clone for NET_IF_RCV_ADDRESS_LH { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union NET_LUID_LH { + pub Value: u64, + pub Info: NET_LUID_LH_0, +} +impl ::core::marker::Copy for NET_LUID_LH {} +impl ::core::clone::Clone for NET_LUID_LH { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NET_LUID_LH_0 { + pub _bitfield: u64, +} +impl ::core::marker::Copy for NET_LUID_LH_0 {} +impl ::core::clone::Clone for NET_LUID_LH_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NET_PHYSICAL_LOCATION_LH { + pub BusNumber: u32, + pub SlotNumber: u32, + pub FunctionNumber: u32, +} +impl ::core::marker::Copy for NET_PHYSICAL_LOCATION_LH {} +impl ::core::clone::Clone for NET_PHYSICAL_LOCATION_LH { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct OFFLOAD_ALGO_INFO { + pub algoIdentifier: u32, + pub algoKeylen: u32, + pub algoRounds: u32, +} +impl ::core::marker::Copy for OFFLOAD_ALGO_INFO {} +impl ::core::clone::Clone for OFFLOAD_ALGO_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct OFFLOAD_IPSEC_ADD_SA { + pub SrcAddr: u32, + pub SrcMask: u32, + pub DestAddr: u32, + pub DestMask: u32, + pub Protocol: u32, + pub SrcPort: u16, + pub DestPort: u16, + pub SrcTunnelAddr: u32, + pub DestTunnelAddr: u32, + pub Flags: u16, + pub NumSAs: i16, + pub SecAssoc: [OFFLOAD_SECURITY_ASSOCIATION; 3], + pub OffloadHandle: super::super::Foundation::HANDLE, + pub KeyLen: u32, + pub KeyMat: [u8; 1], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OFFLOAD_IPSEC_ADD_SA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OFFLOAD_IPSEC_ADD_SA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct OFFLOAD_IPSEC_ADD_UDPESP_SA { + pub SrcAddr: u32, + pub SrcMask: u32, + pub DstAddr: u32, + pub DstMask: u32, + pub Protocol: u32, + pub SrcPort: u16, + pub DstPort: u16, + pub SrcTunnelAddr: u32, + pub DstTunnelAddr: u32, + pub Flags: u16, + pub NumSAs: i16, + pub SecAssoc: [OFFLOAD_SECURITY_ASSOCIATION; 3], + pub OffloadHandle: super::super::Foundation::HANDLE, + pub EncapTypeEntry: OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_ENTRY, + pub EncapTypeEntryOffldHandle: super::super::Foundation::HANDLE, + pub KeyLen: u32, + pub KeyMat: [u8; 1], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OFFLOAD_IPSEC_ADD_UDPESP_SA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OFFLOAD_IPSEC_ADD_UDPESP_SA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct OFFLOAD_IPSEC_DELETE_SA { + pub OffloadHandle: super::super::Foundation::HANDLE, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OFFLOAD_IPSEC_DELETE_SA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OFFLOAD_IPSEC_DELETE_SA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct OFFLOAD_IPSEC_DELETE_UDPESP_SA { + pub OffloadHandle: super::super::Foundation::HANDLE, + pub EncapTypeEntryOffldHandle: super::super::Foundation::HANDLE, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OFFLOAD_IPSEC_DELETE_UDPESP_SA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OFFLOAD_IPSEC_DELETE_UDPESP_SA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_ENTRY { + pub UdpEncapType: UDP_ENCAP_TYPE, + pub DstEncapPort: u16, +} +impl ::core::marker::Copy for OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_ENTRY {} +impl ::core::clone::Clone for OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct OFFLOAD_SECURITY_ASSOCIATION { + pub Operation: OFFLOAD_OPERATION_E, + pub SPI: u32, + pub IntegrityAlgo: OFFLOAD_ALGO_INFO, + pub ConfAlgo: OFFLOAD_ALGO_INFO, + pub Reserved: OFFLOAD_ALGO_INFO, +} +impl ::core::marker::Copy for OFFLOAD_SECURITY_ASSOCIATION {} +impl ::core::clone::Clone for OFFLOAD_SECURITY_ASSOCIATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PMKID_CANDIDATE { + pub BSSID: [u8; 6], + pub Flags: u32, +} +impl ::core::marker::Copy for PMKID_CANDIDATE {} +impl ::core::clone::Clone for PMKID_CANDIDATE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct TRANSPORT_HEADER_OFFSET { + pub ProtocolType: u16, + pub HeaderOffset: u16, +} +impl ::core::marker::Copy for TRANSPORT_HEADER_OFFSET {} +impl ::core::clone::Clone for TRANSPORT_HEADER_OFFSET { + fn clone(&self) -> Self { + *self + } +} diff --git a/vendor/windows-sys/src/Windows/Win32/NetworkManagement/NetBios/mod.rs b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/NetBios/mod.rs new file mode 100644 index 0000000..467eff3 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/NetBios/mod.rs @@ -0,0 +1,274 @@ +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn Netbios(pncb : *mut NCB) -> u8); +pub const ALL_TRANSPORTS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("M\u{0}\u{0}\u{0}"); +pub const ASYNCH: u32 = 128u32; +pub const CALL_PENDING: u32 = 2u32; +pub const DEREGISTERED: u32 = 5u32; +pub const DUPLICATE: u32 = 6u32; +pub const DUPLICATE_DEREG: u32 = 7u32; +pub const GROUP_NAME: u32 = 128u32; +pub const HANGUP_COMPLETE: u32 = 5u32; +pub const HANGUP_PENDING: u32 = 4u32; +pub const LISTEN_OUTSTANDING: u32 = 1u32; +pub const MAX_LANA: u32 = 254u32; +pub const MS_NBF: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("MNBF"); +pub const NAME_FLAGS_MASK: u32 = 135u32; +pub const NCBACTION: u32 = 119u32; +pub const NCBADDGRNAME: u32 = 54u32; +pub const NCBADDNAME: u32 = 48u32; +pub const NCBASTAT: u32 = 51u32; +pub const NCBCALL: u32 = 16u32; +pub const NCBCANCEL: u32 = 53u32; +pub const NCBCHAINSEND: u32 = 23u32; +pub const NCBCHAINSENDNA: u32 = 114u32; +pub const NCBDELNAME: u32 = 49u32; +pub const NCBDGRECV: u32 = 33u32; +pub const NCBDGRECVBC: u32 = 35u32; +pub const NCBDGSEND: u32 = 32u32; +pub const NCBDGSENDBC: u32 = 34u32; +pub const NCBENUM: u32 = 55u32; +pub const NCBFINDNAME: u32 = 120u32; +pub const NCBHANGUP: u32 = 18u32; +pub const NCBLANSTALERT: u32 = 115u32; +pub const NCBLISTEN: u32 = 17u32; +pub const NCBNAMSZ: u32 = 16u32; +pub const NCBRECV: u32 = 21u32; +pub const NCBRECVANY: u32 = 22u32; +pub const NCBRESET: u32 = 50u32; +pub const NCBSEND: u32 = 20u32; +pub const NCBSENDNA: u32 = 113u32; +pub const NCBSSTAT: u32 = 52u32; +pub const NCBTRACE: u32 = 121u32; +pub const NCBUNLINK: u32 = 112u32; +pub const NRC_ACTSES: u32 = 15u32; +pub const NRC_BADDR: u32 = 7u32; +pub const NRC_BRIDGE: u32 = 35u32; +pub const NRC_BUFLEN: u32 = 1u32; +pub const NRC_CANCEL: u32 = 38u32; +pub const NRC_CANOCCR: u32 = 36u32; +pub const NRC_CMDCAN: u32 = 11u32; +pub const NRC_CMDTMO: u32 = 5u32; +pub const NRC_DUPENV: u32 = 48u32; +pub const NRC_DUPNAME: u32 = 13u32; +pub const NRC_ENVNOTDEF: u32 = 52u32; +pub const NRC_GOODRET: u32 = 0u32; +pub const NRC_IFBUSY: u32 = 33u32; +pub const NRC_ILLCMD: u32 = 3u32; +pub const NRC_ILLNN: u32 = 19u32; +pub const NRC_INCOMP: u32 = 6u32; +pub const NRC_INUSE: u32 = 22u32; +pub const NRC_INVADDRESS: u32 = 57u32; +pub const NRC_INVDDID: u32 = 59u32; +pub const NRC_LOCKFAIL: u32 = 60u32; +pub const NRC_LOCTFUL: u32 = 17u32; +pub const NRC_MAXAPPS: u32 = 54u32; +pub const NRC_NAMCONF: u32 = 25u32; +pub const NRC_NAMERR: u32 = 23u32; +pub const NRC_NAMTFUL: u32 = 14u32; +pub const NRC_NOCALL: u32 = 20u32; +pub const NRC_NORES: u32 = 9u32; +pub const NRC_NORESOURCES: u32 = 56u32; +pub const NRC_NOSAPS: u32 = 55u32; +pub const NRC_NOWILD: u32 = 21u32; +pub const NRC_OPENERR: u32 = 63u32; +pub const NRC_OSRESNOTAV: u32 = 53u32; +pub const NRC_PENDING: u32 = 255u32; +pub const NRC_REMTFUL: u32 = 18u32; +pub const NRC_SABORT: u32 = 24u32; +pub const NRC_SCLOSED: u32 = 10u32; +pub const NRC_SNUMOUT: u32 = 8u32; +pub const NRC_SYSTEM: u32 = 64u32; +pub const NRC_TOOMANY: u32 = 34u32; +pub const REGISTERED: u32 = 4u32; +pub const REGISTERING: u32 = 0u32; +pub const SESSION_ABORTED: u32 = 6u32; +pub const SESSION_ESTABLISHED: u32 = 3u32; +pub const UNIQUE_NAME: u32 = 0u32; +#[repr(C)] +pub struct ACTION_HEADER { + pub transport_id: u32, + pub action_code: u16, + pub reserved: u16, +} +impl ::core::marker::Copy for ACTION_HEADER {} +impl ::core::clone::Clone for ACTION_HEADER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct ADAPTER_STATUS { + pub adapter_address: [u8; 6], + pub rev_major: u8, + pub reserved0: u8, + pub adapter_type: u8, + pub rev_minor: u8, + pub duration: u16, + pub frmr_recv: u16, + pub frmr_xmit: u16, + pub iframe_recv_err: u16, + pub xmit_aborts: u16, + pub xmit_success: u32, + pub recv_success: u32, + pub iframe_xmit_err: u16, + pub recv_buff_unavail: u16, + pub t1_timeouts: u16, + pub ti_timeouts: u16, + pub reserved1: u32, + pub free_ncbs: u16, + pub max_cfg_ncbs: u16, + pub max_ncbs: u16, + pub xmit_buf_unavail: u16, + pub max_dgram_size: u16, + pub pending_sess: u16, + pub max_cfg_sess: u16, + pub max_sess: u16, + pub max_sess_pkt_size: u16, + pub name_count: u16, +} +impl ::core::marker::Copy for ADAPTER_STATUS {} +impl ::core::clone::Clone for ADAPTER_STATUS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FIND_NAME_BUFFER { + pub length: u8, + pub access_control: u8, + pub frame_control: u8, + pub destination_addr: [u8; 6], + pub source_addr: [u8; 6], + pub routing_info: [u8; 18], +} +impl ::core::marker::Copy for FIND_NAME_BUFFER {} +impl ::core::clone::Clone for FIND_NAME_BUFFER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FIND_NAME_HEADER { + pub node_count: u16, + pub reserved: u8, + pub unique_group: u8, +} +impl ::core::marker::Copy for FIND_NAME_HEADER {} +impl ::core::clone::Clone for FIND_NAME_HEADER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct LANA_ENUM { + pub length: u8, + pub lana: [u8; 255], +} +impl ::core::marker::Copy for LANA_ENUM {} +impl ::core::clone::Clone for LANA_ENUM { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NAME_BUFFER { + pub name: [u8; 16], + pub name_num: u8, + pub name_flags: u8, +} +impl ::core::marker::Copy for NAME_BUFFER {} +impl ::core::clone::Clone for NAME_BUFFER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +pub struct NCB { + pub ncb_command: u8, + pub ncb_retcode: u8, + pub ncb_lsn: u8, + pub ncb_num: u8, + pub ncb_buffer: *mut u8, + pub ncb_length: u16, + pub ncb_callname: [u8; 16], + pub ncb_name: [u8; 16], + pub ncb_rto: u8, + pub ncb_sto: u8, + pub ncb_post: isize, + pub ncb_lana_num: u8, + pub ncb_cmd_cplt: u8, + pub ncb_reserve: [u8; 18], + pub ncb_event: super::super::Foundation::HANDLE, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NCB {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NCB { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +pub struct NCB { + pub ncb_command: u8, + pub ncb_retcode: u8, + pub ncb_lsn: u8, + pub ncb_num: u8, + pub ncb_buffer: *mut u8, + pub ncb_length: u16, + pub ncb_callname: [u8; 16], + pub ncb_name: [u8; 16], + pub ncb_rto: u8, + pub ncb_sto: u8, + pub ncb_post: isize, + pub ncb_lana_num: u8, + pub ncb_cmd_cplt: u8, + pub ncb_reserve: [u8; 10], + pub ncb_event: super::super::Foundation::HANDLE, +} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NCB {} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NCB { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SESSION_BUFFER { + pub lsn: u8, + pub state: u8, + pub local_name: [u8; 16], + pub remote_name: [u8; 16], + pub rcvs_outstanding: u8, + pub sends_outstanding: u8, +} +impl ::core::marker::Copy for SESSION_BUFFER {} +impl ::core::clone::Clone for SESSION_BUFFER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SESSION_HEADER { + pub sess_name: u8, + pub num_sess: u8, + pub rcv_dg_outstanding: u8, + pub rcv_any_outstanding: u8, +} +impl ::core::marker::Copy for SESSION_HEADER {} +impl ::core::clone::Clone for SESSION_HEADER { + fn clone(&self) -> Self { + *self + } +} diff --git a/vendor/windows-sys/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs new file mode 100644 index 0000000..d6ea036 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs @@ -0,0 +1,6564 @@ +::windows_targets::link!("mstask.dll" "system" fn GetNetScheduleAccountInformation(pwszservername : ::windows_sys::core::PCWSTR, ccaccount : u32, wszaccount : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("netapi32.dll" "system" fn I_NetLogonControl2(servername : ::windows_sys::core::PCWSTR, functioncode : u32, querylevel : u32, data : *const u8, buffer : *mut *mut u8) -> u32); +::windows_targets::link!("rtutils.dll" "system" fn LogErrorA(dwmessageid : u32, cnumberofsubstrings : u32, plpwssubstrings : *const ::windows_sys::core::PCSTR, dwerrorcode : u32) -> ()); +::windows_targets::link!("rtutils.dll" "system" fn LogErrorW(dwmessageid : u32, cnumberofsubstrings : u32, plpwssubstrings : *const ::windows_sys::core::PCWSTR, dwerrorcode : u32) -> ()); +::windows_targets::link!("rtutils.dll" "system" fn LogEventA(weventtype : u32, dwmessageid : u32, cnumberofsubstrings : u32, plpwssubstrings : *const ::windows_sys::core::PCSTR) -> ()); +::windows_targets::link!("rtutils.dll" "system" fn LogEventW(weventtype : u32, dwmessageid : u32, cnumberofsubstrings : u32, plpwssubstrings : *const ::windows_sys::core::PCWSTR) -> ()); +::windows_targets::link!("rtutils.dll" "system" fn MprSetupProtocolEnum(dwtransportid : u32, lplpbuffer : *mut *mut u8, lpdwentriesread : *mut u32) -> u32); +::windows_targets::link!("rtutils.dll" "system" fn MprSetupProtocolFree(lpbuffer : *mut ::core::ffi::c_void) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetAccessAdd(servername : ::windows_sys::core::PCWSTR, level : u32, buf : *const u8, parm_err : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetAccessDel(servername : ::windows_sys::core::PCWSTR, resource : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetAccessEnum(servername : ::windows_sys::core::PCWSTR, basepath : ::windows_sys::core::PCWSTR, recursive : u32, level : u32, bufptr : *mut *mut u8, prefmaxlen : u32, entriesread : *mut u32, totalentries : *mut u32, resume_handle : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetAccessGetInfo(servername : ::windows_sys::core::PCWSTR, resource : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetAccessGetUserPerms(servername : ::windows_sys::core::PCWSTR, ugname : ::windows_sys::core::PCWSTR, resource : ::windows_sys::core::PCWSTR, perms : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetAccessSetInfo(servername : ::windows_sys::core::PCWSTR, resource : ::windows_sys::core::PCWSTR, level : u32, buf : *const u8, parm_err : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetAddAlternateComputerName(server : ::windows_sys::core::PCWSTR, alternatename : ::windows_sys::core::PCWSTR, domainaccount : ::windows_sys::core::PCWSTR, domainaccountpassword : ::windows_sys::core::PCWSTR, reserved : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NetAddServiceAccount(servername : ::windows_sys::core::PCWSTR, accountname : ::windows_sys::core::PCWSTR, password : ::windows_sys::core::PCWSTR, flags : u32) -> super::super::Foundation:: NTSTATUS); +::windows_targets::link!("netapi32.dll" "system" fn NetAlertRaise(alerttype : ::windows_sys::core::PCWSTR, buffer : *const ::core::ffi::c_void, buffersize : u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetAlertRaiseEx(alerttype : ::windows_sys::core::PCWSTR, variableinfo : *const ::core::ffi::c_void, variableinfosize : u32, servicename : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetApiBufferAllocate(bytecount : u32, buffer : *mut *mut ::core::ffi::c_void) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetApiBufferFree(buffer : *const ::core::ffi::c_void) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetApiBufferReallocate(oldbuffer : *const ::core::ffi::c_void, newbytecount : u32, newbuffer : *mut *mut ::core::ffi::c_void) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetApiBufferSize(buffer : *const ::core::ffi::c_void, bytecount : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetAuditClear(server : ::windows_sys::core::PCWSTR, backupfile : ::windows_sys::core::PCWSTR, service : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetAuditRead(server : ::windows_sys::core::PCWSTR, service : ::windows_sys::core::PCWSTR, auditloghandle : *mut HLOG, offset : u32, reserved1 : *mut u32, reserved2 : u32, offsetflag : u32, bufptr : *mut *mut u8, prefmaxlen : u32, bytesread : *mut u32, totalavailable : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetAuditWrite(r#type : u32, buf : *mut u8, numbytes : u32, service : ::windows_sys::core::PCWSTR, reserved : *mut u8) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetConfigGet(server : ::windows_sys::core::PCWSTR, component : ::windows_sys::core::PCWSTR, parameter : ::windows_sys::core::PCWSTR, bufptr : *mut *mut u8) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetConfigGetAll(server : ::windows_sys::core::PCWSTR, component : ::windows_sys::core::PCWSTR, bufptr : *mut *mut u8) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetConfigSet(server : ::windows_sys::core::PCWSTR, reserved1 : ::windows_sys::core::PCWSTR, component : ::windows_sys::core::PCWSTR, level : u32, reserved2 : u32, buf : *mut u8, reserved3 : u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetCreateProvisioningPackage(pprovisioningparams : *const NETSETUP_PROVISIONING_PARAMS, pppackagebindata : *mut *mut u8, pdwpackagebindatasize : *mut u32, pppackagetextdata : *mut ::windows_sys::core::PWSTR) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetEnumerateComputerNames(server : ::windows_sys::core::PCWSTR, nametype : NET_COMPUTER_NAME_TYPE, reserved : u32, entrycount : *mut u32, computernames : *mut *mut ::windows_sys::core::PWSTR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NetEnumerateServiceAccounts(servername : ::windows_sys::core::PCWSTR, flags : u32, accountscount : *mut u32, accounts : *mut *mut *mut u16) -> super::super::Foundation:: NTSTATUS); +::windows_targets::link!("netapi32.dll" "system" fn NetErrorLogClear(uncservername : ::windows_sys::core::PCWSTR, backupfile : ::windows_sys::core::PCWSTR, reserved : *const u8) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetErrorLogRead(uncservername : ::windows_sys::core::PCWSTR, reserved1 : ::windows_sys::core::PCWSTR, errorloghandle : *const HLOG, offset : u32, reserved2 : *const u32, reserved3 : u32, offsetflag : u32, bufptr : *mut *mut u8, prefmaxsize : u32, bytesread : *mut u32, totalavailable : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetErrorLogWrite(reserved1 : *const u8, code : u32, component : ::windows_sys::core::PCWSTR, buffer : *const u8, numbytes : u32, msgbuf : *const u8, strcount : u32, reserved2 : *const u8) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] fn NetFreeAadJoinInformation(pjoininfo : *const DSREG_JOIN_INFO) -> ()); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] fn NetGetAadJoinInformation(pcsztenantid : ::windows_sys::core::PCWSTR, ppjoininfo : *mut *mut DSREG_JOIN_INFO) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("netapi32.dll" "system" fn NetGetAnyDCName(servername : ::windows_sys::core::PCWSTR, domainname : ::windows_sys::core::PCWSTR, buffer : *mut *mut u8) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetGetDCName(servername : ::windows_sys::core::PCWSTR, domainname : ::windows_sys::core::PCWSTR, buffer : *mut *mut u8) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetGetDisplayInformationIndex(servername : ::windows_sys::core::PCWSTR, level : u32, prefix : ::windows_sys::core::PCWSTR, index : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetGetJoinInformation(lpserver : ::windows_sys::core::PCWSTR, lpnamebuffer : *mut ::windows_sys::core::PWSTR, buffertype : *mut NETSETUP_JOIN_STATUS) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetGetJoinableOUs(lpserver : ::windows_sys::core::PCWSTR, lpdomain : ::windows_sys::core::PCWSTR, lpaccount : ::windows_sys::core::PCWSTR, lppassword : ::windows_sys::core::PCWSTR, oucount : *mut u32, ous : *mut *mut ::windows_sys::core::PWSTR) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetGroupAdd(servername : ::windows_sys::core::PCWSTR, level : u32, buf : *const u8, parm_err : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetGroupAddUser(servername : ::windows_sys::core::PCWSTR, groupname : ::windows_sys::core::PCWSTR, username : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetGroupDel(servername : ::windows_sys::core::PCWSTR, groupname : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetGroupDelUser(servername : ::windows_sys::core::PCWSTR, groupname : ::windows_sys::core::PCWSTR, username : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetGroupEnum(servername : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8, prefmaxlen : u32, entriesread : *mut u32, totalentries : *mut u32, resume_handle : *mut usize) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetGroupGetInfo(servername : ::windows_sys::core::PCWSTR, groupname : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetGroupGetUsers(servername : ::windows_sys::core::PCWSTR, groupname : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8, prefmaxlen : u32, entriesread : *mut u32, totalentries : *mut u32, resumehandle : *mut usize) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetGroupSetInfo(servername : ::windows_sys::core::PCWSTR, groupname : ::windows_sys::core::PCWSTR, level : u32, buf : *const u8, parm_err : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetGroupSetUsers(servername : ::windows_sys::core::PCWSTR, groupname : ::windows_sys::core::PCWSTR, level : u32, buf : *const u8, totalentries : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NetIsServiceAccount(servername : ::windows_sys::core::PCWSTR, accountname : ::windows_sys::core::PCWSTR, isservice : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: NTSTATUS); +::windows_targets::link!("netapi32.dll" "system" fn NetJoinDomain(lpserver : ::windows_sys::core::PCWSTR, lpdomain : ::windows_sys::core::PCWSTR, lpmachineaccountou : ::windows_sys::core::PCWSTR, lpaccount : ::windows_sys::core::PCWSTR, lppassword : ::windows_sys::core::PCWSTR, fjoinoptions : NET_JOIN_DOMAIN_JOIN_OPTIONS) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetLocalGroupAdd(servername : ::windows_sys::core::PCWSTR, level : u32, buf : *const u8, parm_err : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NetLocalGroupAddMember(servername : ::windows_sys::core::PCWSTR, groupname : ::windows_sys::core::PCWSTR, membersid : super::super::Foundation:: PSID) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetLocalGroupAddMembers(servername : ::windows_sys::core::PCWSTR, groupname : ::windows_sys::core::PCWSTR, level : u32, buf : *const u8, totalentries : u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetLocalGroupDel(servername : ::windows_sys::core::PCWSTR, groupname : ::windows_sys::core::PCWSTR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NetLocalGroupDelMember(servername : ::windows_sys::core::PCWSTR, groupname : ::windows_sys::core::PCWSTR, membersid : super::super::Foundation:: PSID) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetLocalGroupDelMembers(servername : ::windows_sys::core::PCWSTR, groupname : ::windows_sys::core::PCWSTR, level : u32, buf : *const u8, totalentries : u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetLocalGroupEnum(servername : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8, prefmaxlen : u32, entriesread : *mut u32, totalentries : *mut u32, resumehandle : *mut usize) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetLocalGroupGetInfo(servername : ::windows_sys::core::PCWSTR, groupname : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetLocalGroupGetMembers(servername : ::windows_sys::core::PCWSTR, localgroupname : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8, prefmaxlen : u32, entriesread : *mut u32, totalentries : *mut u32, resumehandle : *mut usize) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetLocalGroupSetInfo(servername : ::windows_sys::core::PCWSTR, groupname : ::windows_sys::core::PCWSTR, level : u32, buf : *const u8, parm_err : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetLocalGroupSetMembers(servername : ::windows_sys::core::PCWSTR, groupname : ::windows_sys::core::PCWSTR, level : u32, buf : *const u8, totalentries : u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetMessageBufferSend(servername : ::windows_sys::core::PCWSTR, msgname : ::windows_sys::core::PCWSTR, fromname : ::windows_sys::core::PCWSTR, buf : *const u8, buflen : u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetMessageNameAdd(servername : ::windows_sys::core::PCWSTR, msgname : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetMessageNameDel(servername : ::windows_sys::core::PCWSTR, msgname : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetMessageNameEnum(servername : ::windows_sys::core::PCWSTR, level : u32, bufptr : *const *const u8, prefmaxlen : u32, entriesread : *mut u32, totalentries : *mut u32, resume_handle : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetMessageNameGetInfo(servername : ::windows_sys::core::PCWSTR, msgname : ::windows_sys::core::PCWSTR, level : u32, bufptr : *const *const u8) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetProvisionComputerAccount(lpdomain : ::windows_sys::core::PCWSTR, lpmachinename : ::windows_sys::core::PCWSTR, lpmachineaccountou : ::windows_sys::core::PCWSTR, lpdcname : ::windows_sys::core::PCWSTR, dwoptions : NETSETUP_PROVISION, pprovisionbindata : *mut *mut u8, pdwprovisionbindatasize : *mut u32, pprovisiontextdata : *mut ::windows_sys::core::PWSTR) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetQueryDisplayInformation(servername : ::windows_sys::core::PCWSTR, level : u32, index : u32, entriesrequested : u32, preferredmaximumlength : u32, returnedentrycount : *mut u32, sortedbuffer : *mut *mut ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NetQueryServiceAccount(servername : ::windows_sys::core::PCWSTR, accountname : ::windows_sys::core::PCWSTR, infolevel : u32, buffer : *mut *mut u8) -> super::super::Foundation:: NTSTATUS); +::windows_targets::link!("netapi32.dll" "system" fn NetRemoteComputerSupports(uncservername : ::windows_sys::core::PCWSTR, optionswanted : NET_REMOTE_COMPUTER_SUPPORTS_OPTIONS, optionssupported : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetRemoteTOD(uncservername : ::windows_sys::core::PCWSTR, bufferptr : *mut *mut u8) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetRemoveAlternateComputerName(server : ::windows_sys::core::PCWSTR, alternatename : ::windows_sys::core::PCWSTR, domainaccount : ::windows_sys::core::PCWSTR, domainaccountpassword : ::windows_sys::core::PCWSTR, reserved : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NetRemoveServiceAccount(servername : ::windows_sys::core::PCWSTR, accountname : ::windows_sys::core::PCWSTR, flags : u32) -> super::super::Foundation:: NTSTATUS); +::windows_targets::link!("netapi32.dll" "system" fn NetRenameMachineInDomain(lpserver : ::windows_sys::core::PCWSTR, lpnewmachinename : ::windows_sys::core::PCWSTR, lpaccount : ::windows_sys::core::PCWSTR, lppassword : ::windows_sys::core::PCWSTR, frenameoptions : u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetReplExportDirAdd(servername : ::windows_sys::core::PCWSTR, level : u32, buf : *const u8, parm_err : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetReplExportDirDel(servername : ::windows_sys::core::PCWSTR, dirname : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetReplExportDirEnum(servername : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8, prefmaxlen : u32, entriesread : *mut u32, totalentries : *mut u32, resumehandle : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetReplExportDirGetInfo(servername : ::windows_sys::core::PCWSTR, dirname : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetReplExportDirLock(servername : ::windows_sys::core::PCWSTR, dirname : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetReplExportDirSetInfo(servername : ::windows_sys::core::PCWSTR, dirname : ::windows_sys::core::PCWSTR, level : u32, buf : *const u8, parm_err : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetReplExportDirUnlock(servername : ::windows_sys::core::PCWSTR, dirname : ::windows_sys::core::PCWSTR, unlockforce : u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetReplGetInfo(servername : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetReplImportDirAdd(servername : ::windows_sys::core::PCWSTR, level : u32, buf : *const u8, parm_err : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetReplImportDirDel(servername : ::windows_sys::core::PCWSTR, dirname : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetReplImportDirEnum(servername : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8, prefmaxlen : u32, entriesread : *mut u32, totalentries : *mut u32, resumehandle : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetReplImportDirGetInfo(servername : ::windows_sys::core::PCWSTR, dirname : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetReplImportDirLock(servername : ::windows_sys::core::PCWSTR, dirname : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetReplImportDirUnlock(servername : ::windows_sys::core::PCWSTR, dirname : ::windows_sys::core::PCWSTR, unlockforce : u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetReplSetInfo(servername : ::windows_sys::core::PCWSTR, level : u32, buf : *const u8, parm_err : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetRequestOfflineDomainJoin(pprovisionbindata : *const u8, cbprovisionbindatasize : u32, dwoptions : NET_REQUEST_PROVISION_OPTIONS, lpwindowspath : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetRequestProvisioningPackageInstall(ppackagebindata : *const u8, dwpackagebindatasize : u32, dwprovisionoptions : NET_REQUEST_PROVISION_OPTIONS, lpwindowspath : ::windows_sys::core::PCWSTR, pvreserved : *const ::core::ffi::c_void) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetScheduleJobAdd(servername : ::windows_sys::core::PCWSTR, buffer : *mut u8, jobid : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetScheduleJobDel(servername : ::windows_sys::core::PCWSTR, minjobid : u32, maxjobid : u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetScheduleJobEnum(servername : ::windows_sys::core::PCWSTR, pointertobuffer : *mut *mut u8, prefferedmaximumlength : u32, entriesread : *mut u32, totalentries : *mut u32, resumehandle : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetScheduleJobGetInfo(servername : ::windows_sys::core::PCWSTR, jobid : u32, pointertobuffer : *mut *mut u8) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetServerComputerNameAdd(servername : ::windows_sys::core::PCWSTR, emulateddomainname : ::windows_sys::core::PCWSTR, emulatedservername : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetServerComputerNameDel(servername : ::windows_sys::core::PCWSTR, emulatedservername : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetServerDiskEnum(servername : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8, prefmaxlen : u32, entriesread : *mut u32, totalentries : *mut u32, resume_handle : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetServerEnum(servername : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8, prefmaxlen : u32, entriesread : *mut u32, totalentries : *mut u32, servertype : NET_SERVER_TYPE, domain : ::windows_sys::core::PCWSTR, resume_handle : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetServerGetInfo(servername : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetServerSetInfo(servername : ::windows_sys::core::PCWSTR, level : u32, buf : *const u8, parmerror : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetServerTransportAdd(servername : ::windows_sys::core::PCWSTR, level : u32, bufptr : *const u8) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetServerTransportAddEx(servername : ::windows_sys::core::PCWSTR, level : u32, bufptr : *const u8) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetServerTransportDel(servername : ::windows_sys::core::PCWSTR, level : u32, bufptr : *const u8) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetServerTransportEnum(servername : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8, prefmaxlen : u32, entriesread : *mut u32, totalentries : *mut u32, resume_handle : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetServiceControl(servername : ::windows_sys::core::PCWSTR, service : ::windows_sys::core::PCWSTR, opcode : u32, arg : u32, bufptr : *mut *mut u8) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetServiceEnum(servername : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8, prefmaxlen : u32, entriesread : *mut u32, totalentries : *mut u32, resume_handle : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetServiceGetInfo(servername : ::windows_sys::core::PCWSTR, service : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetServiceInstall(servername : ::windows_sys::core::PCWSTR, service : ::windows_sys::core::PCWSTR, argc : u32, argv : *const ::windows_sys::core::PCWSTR, bufptr : *mut *mut u8) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetSetPrimaryComputerName(server : ::windows_sys::core::PCWSTR, primaryname : ::windows_sys::core::PCWSTR, domainaccount : ::windows_sys::core::PCWSTR, domainaccountpassword : ::windows_sys::core::PCWSTR, reserved : u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetUnjoinDomain(lpserver : ::windows_sys::core::PCWSTR, lpaccount : ::windows_sys::core::PCWSTR, lppassword : ::windows_sys::core::PCWSTR, funjoinoptions : u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetUseAdd(servername : *const i8, levelflags : u32, buf : *const u8, parm_err : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetUseDel(uncservername : ::windows_sys::core::PCWSTR, usename : ::windows_sys::core::PCWSTR, forcelevelflags : FORCE_LEVEL_FLAGS) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetUseEnum(uncservername : ::windows_sys::core::PCWSTR, levelflags : u32, bufptr : *mut *mut u8, preferedmaximumsize : u32, entriesread : *mut u32, totalentries : *mut u32, resumehandle : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetUseGetInfo(uncservername : ::windows_sys::core::PCWSTR, usename : ::windows_sys::core::PCWSTR, levelflags : u32, bufptr : *mut *mut u8) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetUserAdd(servername : ::windows_sys::core::PCWSTR, level : u32, buf : *const u8, parm_err : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetUserChangePassword(domainname : ::windows_sys::core::PCWSTR, username : ::windows_sys::core::PCWSTR, oldpassword : ::windows_sys::core::PCWSTR, newpassword : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetUserDel(servername : ::windows_sys::core::PCWSTR, username : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetUserEnum(servername : ::windows_sys::core::PCWSTR, level : u32, filter : NET_USER_ENUM_FILTER_FLAGS, bufptr : *mut *mut u8, prefmaxlen : u32, entriesread : *mut u32, totalentries : *mut u32, resume_handle : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetUserGetGroups(servername : ::windows_sys::core::PCWSTR, username : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8, prefmaxlen : u32, entriesread : *mut u32, totalentries : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetUserGetInfo(servername : ::windows_sys::core::PCWSTR, username : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetUserGetLocalGroups(servername : ::windows_sys::core::PCWSTR, username : ::windows_sys::core::PCWSTR, level : u32, flags : u32, bufptr : *mut *mut u8, prefmaxlen : u32, entriesread : *mut u32, totalentries : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetUserModalsGet(servername : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetUserModalsSet(servername : ::windows_sys::core::PCWSTR, level : u32, buf : *const u8, parm_err : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetUserSetGroups(servername : ::windows_sys::core::PCWSTR, username : ::windows_sys::core::PCWSTR, level : u32, buf : *const u8, num_entries : u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetUserSetInfo(servername : ::windows_sys::core::PCWSTR, username : ::windows_sys::core::PCWSTR, level : u32, buf : *const u8, parm_err : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetValidateName(lpserver : ::windows_sys::core::PCWSTR, lpname : ::windows_sys::core::PCWSTR, lpaccount : ::windows_sys::core::PCWSTR, lppassword : ::windows_sys::core::PCWSTR, nametype : NETSETUP_NAME_TYPE) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetValidatePasswordPolicy(servername : ::windows_sys::core::PCWSTR, qualifier : *mut ::core::ffi::c_void, validationtype : NET_VALIDATE_PASSWORD_TYPE, inputarg : *mut ::core::ffi::c_void, outputarg : *mut *mut ::core::ffi::c_void) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetValidatePasswordPolicyFree(outputarg : *mut *mut ::core::ffi::c_void) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetWkstaGetInfo(servername : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetWkstaSetInfo(servername : ::windows_sys::core::PCWSTR, level : u32, buffer : *const u8, parm_err : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetWkstaTransportAdd(servername : *const i8, level : u32, buf : *const u8, parm_err : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetWkstaTransportDel(servername : ::windows_sys::core::PCWSTR, transportname : ::windows_sys::core::PCWSTR, ucond : FORCE_LEVEL_FLAGS) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetWkstaTransportEnum(servername : *const i8, level : u32, bufptr : *mut *mut u8, prefmaxlen : u32, entriesread : *mut u32, totalentries : *mut u32, resume_handle : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetWkstaUserEnum(servername : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8, prefmaxlen : u32, entriesread : *mut u32, totalentries : *mut u32, resumehandle : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetWkstaUserGetInfo(reserved : ::windows_sys::core::PCWSTR, level : u32, bufptr : *mut *mut u8) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn NetWkstaUserSetInfo(reserved : ::windows_sys::core::PCWSTR, level : u32, buf : *const u8, parm_err : *mut u32) -> u32); +::windows_targets::link!("rtutils.dll" "system" fn RouterAssert(pszfailedassertion : ::windows_sys::core::PCSTR, pszfilename : ::windows_sys::core::PCSTR, dwlinenumber : u32, pszmessage : ::windows_sys::core::PCSTR) -> ()); +::windows_targets::link!("rtutils.dll" "system" fn RouterGetErrorStringA(dwerrorcode : u32, lplpszerrorstring : *mut ::windows_sys::core::PSTR) -> u32); +::windows_targets::link!("rtutils.dll" "system" fn RouterGetErrorStringW(dwerrorcode : u32, lplpwszerrorstring : *mut ::windows_sys::core::PWSTR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtutils.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RouterLogDeregisterA(hloghandle : super::super::Foundation:: HANDLE) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtutils.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RouterLogDeregisterW(hloghandle : super::super::Foundation:: HANDLE) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtutils.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RouterLogEventA(hloghandle : super::super::Foundation:: HANDLE, dweventtype : u32, dwmessageid : u32, dwsubstringcount : u32, plpszsubstringarray : *const ::windows_sys::core::PCSTR, dwerrorcode : u32) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtutils.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RouterLogEventDataA(hloghandle : super::super::Foundation:: HANDLE, dweventtype : u32, dwmessageid : u32, dwsubstringcount : u32, plpszsubstringarray : *const ::windows_sys::core::PCSTR, dwdatabytes : u32, lpdatabytes : *mut u8) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtutils.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RouterLogEventDataW(hloghandle : super::super::Foundation:: HANDLE, dweventtype : u32, dwmessageid : u32, dwsubstringcount : u32, plpszsubstringarray : *const ::windows_sys::core::PCWSTR, dwdatabytes : u32, lpdatabytes : *mut u8) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtutils.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RouterLogEventExA(hloghandle : super::super::Foundation:: HANDLE, dweventtype : u32, dwerrorcode : u32, dwmessageid : u32, ptszformat : ::windows_sys::core::PCSTR, ...) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtutils.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RouterLogEventExW(hloghandle : super::super::Foundation:: HANDLE, dweventtype : u32, dwerrorcode : u32, dwmessageid : u32, ptszformat : ::windows_sys::core::PCWSTR, ...) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtutils.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RouterLogEventStringA(hloghandle : super::super::Foundation:: HANDLE, dweventtype : u32, dwmessageid : u32, dwsubstringcount : u32, plpszsubstringarray : *const ::windows_sys::core::PCSTR, dwerrorcode : u32, dwerrorindex : u32) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtutils.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RouterLogEventStringW(hloghandle : super::super::Foundation:: HANDLE, dweventtype : u32, dwmessageid : u32, dwsubstringcount : u32, plpszsubstringarray : *const ::windows_sys::core::PCWSTR, dwerrorcode : u32, dwerrorindex : u32) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtutils.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RouterLogEventValistExA(hloghandle : super::super::Foundation:: HANDLE, dweventtype : u32, dwerrorcode : u32, dwmessageid : u32, ptszformat : ::windows_sys::core::PCSTR, arglist : *mut i8) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtutils.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RouterLogEventValistExW(hloghandle : super::super::Foundation:: HANDLE, dweventtype : u32, dwerrorcode : u32, dwmessageid : u32, ptszformat : ::windows_sys::core::PCWSTR, arglist : *mut i8) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtutils.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RouterLogEventW(hloghandle : super::super::Foundation:: HANDLE, dweventtype : u32, dwmessageid : u32, dwsubstringcount : u32, plpszsubstringarray : *const ::windows_sys::core::PCWSTR, dwerrorcode : u32) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtutils.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RouterLogRegisterA(lpszsource : ::windows_sys::core::PCSTR) -> super::super::Foundation:: HANDLE); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtutils.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RouterLogRegisterW(lpszsource : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: HANDLE); +::windows_targets::link!("mstask.dll" "system" fn SetNetScheduleAccountInformation(pwszservername : ::windows_sys::core::PCWSTR, pwszaccount : ::windows_sys::core::PCWSTR, pwszpassword : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("rtutils.dll" "system" fn TraceDeregisterA(dwtraceid : u32) -> u32); +::windows_targets::link!("rtutils.dll" "system" fn TraceDeregisterExA(dwtraceid : u32, dwflags : u32) -> u32); +::windows_targets::link!("rtutils.dll" "system" fn TraceDeregisterExW(dwtraceid : u32, dwflags : u32) -> u32); +::windows_targets::link!("rtutils.dll" "system" fn TraceDeregisterW(dwtraceid : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtutils.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TraceDumpExA(dwtraceid : u32, dwflags : u32, lpbbytes : *mut u8, dwbytecount : u32, dwgroupsize : u32, baddressprefix : super::super::Foundation:: BOOL, lpszprefix : ::windows_sys::core::PCSTR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtutils.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TraceDumpExW(dwtraceid : u32, dwflags : u32, lpbbytes : *mut u8, dwbytecount : u32, dwgroupsize : u32, baddressprefix : super::super::Foundation:: BOOL, lpszprefix : ::windows_sys::core::PCWSTR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtutils.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TraceGetConsoleA(dwtraceid : u32, lphconsole : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtutils.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TraceGetConsoleW(dwtraceid : u32, lphconsole : *mut super::super::Foundation:: HANDLE) -> u32); +::windows_targets::link!("rtutils.dll" "cdecl" fn TracePrintfA(dwtraceid : u32, lpszformat : ::windows_sys::core::PCSTR, ...) -> u32); +::windows_targets::link!("rtutils.dll" "cdecl" fn TracePrintfExA(dwtraceid : u32, dwflags : u32, lpszformat : ::windows_sys::core::PCSTR, ...) -> u32); +::windows_targets::link!("rtutils.dll" "cdecl" fn TracePrintfExW(dwtraceid : u32, dwflags : u32, lpszformat : ::windows_sys::core::PCWSTR, ...) -> u32); +::windows_targets::link!("rtutils.dll" "cdecl" fn TracePrintfW(dwtraceid : u32, lpszformat : ::windows_sys::core::PCWSTR, ...) -> u32); +::windows_targets::link!("rtutils.dll" "system" fn TracePutsExA(dwtraceid : u32, dwflags : u32, lpszstring : ::windows_sys::core::PCSTR) -> u32); +::windows_targets::link!("rtutils.dll" "system" fn TracePutsExW(dwtraceid : u32, dwflags : u32, lpszstring : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("rtutils.dll" "system" fn TraceRegisterExA(lpszcallername : ::windows_sys::core::PCSTR, dwflags : u32) -> u32); +::windows_targets::link!("rtutils.dll" "system" fn TraceRegisterExW(lpszcallername : ::windows_sys::core::PCWSTR, dwflags : u32) -> u32); +::windows_targets::link!("rtutils.dll" "system" fn TraceVprintfExA(dwtraceid : u32, dwflags : u32, lpszformat : ::windows_sys::core::PCSTR, arglist : *mut i8) -> u32); +::windows_targets::link!("rtutils.dll" "system" fn TraceVprintfExW(dwtraceid : u32, dwflags : u32, lpszformat : ::windows_sys::core::PCWSTR, arglist : *mut i8) -> u32); +pub type IEnumNetCfgBindingInterface = *mut ::core::ffi::c_void; +pub type IEnumNetCfgBindingPath = *mut ::core::ffi::c_void; +pub type IEnumNetCfgComponent = *mut ::core::ffi::c_void; +pub type INetCfg = *mut ::core::ffi::c_void; +pub type INetCfgBindingInterface = *mut ::core::ffi::c_void; +pub type INetCfgBindingPath = *mut ::core::ffi::c_void; +pub type INetCfgClass = *mut ::core::ffi::c_void; +pub type INetCfgClassSetup = *mut ::core::ffi::c_void; +pub type INetCfgClassSetup2 = *mut ::core::ffi::c_void; +pub type INetCfgComponent = *mut ::core::ffi::c_void; +pub type INetCfgComponentBindings = *mut ::core::ffi::c_void; +pub type INetCfgComponentControl = *mut ::core::ffi::c_void; +pub type INetCfgComponentNotifyBinding = *mut ::core::ffi::c_void; +pub type INetCfgComponentNotifyGlobal = *mut ::core::ffi::c_void; +pub type INetCfgComponentPropertyUi = *mut ::core::ffi::c_void; +pub type INetCfgComponentSetup = *mut ::core::ffi::c_void; +pub type INetCfgComponentSysPrep = *mut ::core::ffi::c_void; +pub type INetCfgComponentUpperEdge = *mut ::core::ffi::c_void; +pub type INetCfgLock = *mut ::core::ffi::c_void; +pub type INetCfgPnpReconfigCallback = *mut ::core::ffi::c_void; +pub type INetCfgSysPrep = *mut ::core::ffi::c_void; +pub type INetLanConnectionUiInfo = *mut ::core::ffi::c_void; +pub type INetRasConnectionIpUiInfo = *mut ::core::ffi::c_void; +pub type IProvisioningDomain = *mut ::core::ffi::c_void; +pub type IProvisioningProfileWireless = *mut ::core::ffi::c_void; +pub const AA_AUDIT_ALL: u32 = 1u32; +pub const AA_A_ACL: u32 = 32768u32; +pub const AA_A_CREATE: u32 = 8192u32; +pub const AA_A_DELETE: u32 = 16384u32; +pub const AA_A_OPEN: u32 = 4096u32; +pub const AA_A_OWNER: u32 = 4u32; +pub const AA_A_WRITE: u32 = 8192u32; +pub const AA_CLOSE: u32 = 8u32; +pub const AA_F_ACL: u32 = 2048u32; +pub const AA_F_CREATE: u32 = 512u32; +pub const AA_F_DELETE: u32 = 1024u32; +pub const AA_F_OPEN: u32 = 256u32; +pub const AA_F_WRITE: u32 = 512u32; +pub const AA_S_ACL: u32 = 128u32; +pub const AA_S_CREATE: u32 = 32u32; +pub const AA_S_DELETE: u32 = 64u32; +pub const AA_S_OPEN: u32 = 16u32; +pub const AA_S_WRITE: u32 = 32u32; +pub const ACCESS_ACCESS_LIST_PARMNUM: u32 = 4u32; +pub const ACCESS_ATTR_PARMNUM: u32 = 2u32; +pub const ACCESS_AUDIT: u32 = 1u32; +pub const ACCESS_COUNT_PARMNUM: u32 = 3u32; +pub const ACCESS_FAIL_ACL: u32 = 2048u32; +pub const ACCESS_FAIL_DELETE: u32 = 1024u32; +pub const ACCESS_FAIL_MASK: u32 = 3840u32; +pub const ACCESS_FAIL_OPEN: u32 = 256u32; +pub const ACCESS_FAIL_SHIFT: u32 = 4u32; +pub const ACCESS_FAIL_WRITE: u32 = 512u32; +pub const ACCESS_GROUP: u32 = 32768u32; +pub const ACCESS_LETTERS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("RWCXDAP "); +pub const ACCESS_NONE: u32 = 0u32; +pub const ACCESS_RESOURCE_NAME_PARMNUM: u32 = 1u32; +pub const ACCESS_SUCCESS_ACL: u32 = 128u32; +pub const ACCESS_SUCCESS_DELETE: u32 = 64u32; +pub const ACCESS_SUCCESS_MASK: u32 = 240u32; +pub const ACCESS_SUCCESS_OPEN: u32 = 16u32; +pub const ACCESS_SUCCESS_WRITE: u32 = 32u32; +pub const ACTION_ADMINUNLOCK: u32 = 1u32; +pub const ACTION_LOCKOUT: u32 = 0u32; +pub const AE_ACCLIMITEXCD: u32 = 17u32; +pub const AE_ACCRESTRICT: u32 = 4u32; +pub const AE_ACLMOD: u32 = 12u32; +pub const AE_ACLMODFAIL: u32 = 19u32; +pub const AE_ADD: u32 = 2u32; +pub const AE_ADMIN: u32 = 2u32; +pub const AE_ADMINDIS: u32 = 3u32; +pub const AE_ADMINPRIVREQD: u32 = 2u32; +pub const AE_ADMIN_CLOSE: u32 = 2u32; +pub const AE_AUTODIS: u32 = 2u32; +pub const AE_BADPW: u32 = 1u32; +pub const AE_CLOSEFILE: u32 = 9u32; +pub const AE_CONNREJ: u32 = 6u32; +pub const AE_CONNSTART: u32 = 4u32; +pub const AE_CONNSTOP: u32 = 5u32; +pub const AE_DELETE: u32 = 1u32; +pub const AE_ERROR: u32 = 1u32; +pub const AE_GENERAL: u32 = 0u32; +pub const AE_GENERIC_TYPE: u32 = 21u32; +pub const AE_GUEST: u32 = 0u32; +pub const AE_LIM_DELETED: u32 = 5u32; +pub const AE_LIM_DISABLED: u32 = 4u32; +pub const AE_LIM_EXPIRED: u32 = 2u32; +pub const AE_LIM_INVAL_WKSTA: u32 = 3u32; +pub const AE_LIM_LOGONHOURS: u32 = 1u32; +pub const AE_LIM_UNKNOWN: u32 = 0u32; +pub const AE_LOCKOUT: u32 = 20u32; +pub const AE_MOD: u32 = 0u32; +pub const AE_NETLOGDENIED: u32 = 16u32; +pub const AE_NETLOGOFF: u32 = 15u32; +pub const AE_NETLOGON: u32 = 14u32; +pub const AE_NOACCESSPERM: u32 = 3u32; +pub const AE_NORMAL: u32 = 0u32; +pub const AE_NORMAL_CLOSE: u32 = 0u32; +pub const AE_RESACCESS: u32 = 7u32; +pub const AE_RESACCESS2: u32 = 18u32; +pub const AE_RESACCESSREJ: u32 = 8u32; +pub const AE_SERVICESTAT: u32 = 11u32; +pub const AE_SESSDIS: u32 = 1u32; +pub const AE_SESSLOGOFF: u32 = 2u32; +pub const AE_SESSLOGON: u32 = 1u32; +pub const AE_SESSPWERR: u32 = 3u32; +pub const AE_SES_CLOSE: u32 = 1u32; +pub const AE_SRVCONT: u32 = 2u32; +pub const AE_SRVPAUSED: u32 = 1u32; +pub const AE_SRVSTART: u32 = 0u32; +pub const AE_SRVSTATUS: u32 = 0u32; +pub const AE_SRVSTOP: u32 = 3u32; +pub const AE_UASMOD: u32 = 13u32; +pub const AE_UAS_GROUP: u32 = 1u32; +pub const AE_UAS_MODALS: u32 = 2u32; +pub const AE_UAS_USER: u32 = 0u32; +pub const AE_UNSHARE: u32 = 2u32; +pub const AE_USER: u32 = 1u32; +pub const AE_USERLIMIT: u32 = 0u32; +pub const AF_OP_ACCOUNTS: AF_OP = 8u32; +pub const AF_OP_COMM: AF_OP = 2u32; +pub const AF_OP_PRINT: AF_OP = 1u32; +pub const AF_OP_SERVER: AF_OP = 4u32; +pub const ALERTER_MAILSLOT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("\\\\.\\MAILSLOT\\Alerter"); +pub const ALERTSZ: u32 = 128u32; +pub const ALERT_ADMIN_EVENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ADMIN"); +pub const ALERT_ERRORLOG_EVENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ERRORLOG"); +pub const ALERT_MESSAGE_EVENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MESSAGE"); +pub const ALERT_PRINT_EVENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PRINTING"); +pub const ALERT_USER_EVENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("USER"); +pub const ALIGN_SHIFT: u32 = 7u32; +pub const ALIGN_SIZE: u32 = 8u32; +pub const ALLOCATE_RESPONSE: u32 = 2u32; +pub const BACKUP_MSG_FILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BAK.MSG"); +pub const CLTYPE_LEN: u32 = 12u32; +pub const CNLEN: u32 = 15u32; +pub const COULD_NOT_VERIFY_VOLUMES: i32 = -1073727512i32; +pub const CREATE_BYPASS_CSC: u32 = 2u32; +pub const CREATE_CRED_RESET: u32 = 4u32; +pub const CREATE_GLOBAL_MAPPING: u32 = 256u32; +pub const CREATE_NO_CONNECT: u32 = 1u32; +pub const CREATE_PERSIST_MAPPING: u32 = 32u32; +pub const CREATE_REQUIRE_CONNECTION_INTEGRITY: u32 = 8u32; +pub const CREATE_REQUIRE_CONNECTION_PRIVACY: u32 = 16u32; +pub const CREATE_WRITE_THROUGH_SEMANTICS: u32 = 64u32; +pub const CRYPT_KEY_LEN: u32 = 7u32; +pub const CRYPT_TXT_LEN: u32 = 8u32; +pub const DEF_MAX_BADPW: u32 = 0u32; +pub const DEF_MAX_PWHIST: u32 = 8u32; +pub const DEF_MIN_PWLEN: u32 = 6u32; +pub const DEF_PWUNIQUENESS: u32 = 5u32; +pub const DEVLEN: u32 = 80u32; +pub const DFS_CONNECTION_FAILURE: i32 = 1073756226i32; +pub const DFS_ERROR_ACTIVEDIRECTORY_OFFLINE: i32 = -1073727301i32; +pub const DFS_ERROR_CLUSTERINFO_FAILED: i32 = -1073727307i32; +pub const DFS_ERROR_COMPUTERINFO_FAILED: i32 = -1073727308i32; +pub const DFS_ERROR_CREATEEVENT_FAILED: i32 = -1073727309i32; +pub const DFS_ERROR_CREATE_REPARSEPOINT_FAILURE: i32 = -1073727321i32; +pub const DFS_ERROR_CREATE_REPARSEPOINT_SUCCESS: i32 = 1073756370i32; +pub const DFS_ERROR_CROSS_FOREST_TRUST_INFO_FAILED: i32 = -1073727274i32; +pub const DFS_ERROR_DCINFO_FAILED: i32 = -1073727306i32; +pub const DFS_ERROR_DSCONNECT_FAILED: i32 = -2147469122i32; +pub const DFS_ERROR_DUPLICATE_LINK: i32 = -1073727277i32; +pub const DFS_ERROR_HANDLENAMESPACE_FAILED: i32 = -1073727304i32; +pub const DFS_ERROR_LINKS_OVERLAP: i32 = -1073727280i32; +pub const DFS_ERROR_LINK_OVERLAP: i32 = -1073727279i32; +pub const DFS_ERROR_MUTLIPLE_ROOTS_NOT_SUPPORTED: i32 = -1073727289i32; +pub const DFS_ERROR_NO_DFS_DATA: i32 = -1073727294i32; +pub const DFS_ERROR_ON_ROOT: i32 = -2147469114i32; +pub const DFS_ERROR_OVERLAPPING_DIRECTORIES: i32 = -1073727319i32; +pub const DFS_ERROR_PREFIXTABLE_FAILED: i32 = -1073727305i32; +pub const DFS_ERROR_REFLECTIONENGINE_FAILED: i32 = -1073727302i32; +pub const DFS_ERROR_REGISTERSTORE_FAILED: i32 = -1073727303i32; +pub const DFS_ERROR_REMOVE_LINK_FAILED: i32 = -1073727284i32; +pub const DFS_ERROR_RESYNCHRONIZE_FAILED: i32 = -1073727285i32; +pub const DFS_ERROR_ROOTSYNCINIT_FAILED: i32 = -1073727310i32; +pub const DFS_ERROR_SECURITYINIT_FAILED: i32 = -1073727313i32; +pub const DFS_ERROR_SITECACHEINIT_FAILED: i32 = -1073727311i32; +pub const DFS_ERROR_SITESUPPOR_FAILED: i32 = -1073727300i32; +pub const DFS_ERROR_TARGET_LIST_INCORRECT: i32 = -1073727281i32; +pub const DFS_ERROR_THREADINIT_FAILED: i32 = -1073727312i32; +pub const DFS_ERROR_TOO_MANY_ERRORS: i32 = -1073727315i32; +pub const DFS_ERROR_TRUSTED_DOMAIN_INFO_FAILED: i32 = -1073727276i32; +pub const DFS_ERROR_UNSUPPORTED_FILESYSTEM: i32 = -1073727320i32; +pub const DFS_ERROR_WINSOCKINIT_FAILED: i32 = -1073727314i32; +pub const DFS_INFO_ACTIVEDIRECTORY_ONLINE: i32 = 1073756332i32; +pub const DFS_INFO_CROSS_FOREST_TRUST_INFO_SUCCESS: i32 = 1073756375i32; +pub const DFS_INFO_DOMAIN_REFERRAL_MIN_OVERFLOW: i32 = 1073756361i32; +pub const DFS_INFO_DS_RECONNECTED: i32 = 1073756353i32; +pub const DFS_INFO_FINISH_BUILDING_NAMESPACE: i32 = 1073756357i32; +pub const DFS_INFO_FINISH_INIT: i32 = 1073756355i32; +pub const DFS_INFO_RECONNECT_DATA: i32 = 1073756356i32; +pub const DFS_INFO_TRUSTED_DOMAIN_INFO_SUCCESS: i32 = 1073756373i32; +pub const DFS_INIT_SUCCESS: i32 = 1073756376i32; +pub const DFS_MAX_DNR_ATTEMPTS: i32 = 1073756229i32; +pub const DFS_OPEN_FAILURE: i32 = 1073756231i32; +pub const DFS_REFERRAL_FAILURE: i32 = 1073756227i32; +pub const DFS_REFERRAL_REQUEST: i32 = 1073756142i32; +pub const DFS_REFERRAL_SUCCESS: i32 = 1073756228i32; +pub const DFS_ROOT_SHARE_ACQUIRE_FAILED: i32 = -2147469095i32; +pub const DFS_ROOT_SHARE_ACQUIRE_SUCCESS: i32 = 1073756378i32; +pub const DFS_SPECIAL_REFERRAL_FAILURE: i32 = 1073756230i32; +pub const DFS_WARN_DOMAIN_REFERRAL_OVERFLOW: i32 = -2147469112i32; +pub const DFS_WARN_INCOMPLETE_MOVE: i32 = -2147469110i32; +pub const DFS_WARN_METADATA_LINK_INFO_INVALID: i32 = -2147469106i32; +pub const DFS_WARN_METADATA_LINK_TYPE_INCORRECT: i32 = -2147469107i32; +pub const DNLEN: u32 = 15u32; +pub const DPP_ADVANCED: DEFAULT_PAGES = 1i32; +pub const DSREG_DEVICE_JOIN: DSREG_JOIN_TYPE = 1i32; +pub const DSREG_UNKNOWN_JOIN: DSREG_JOIN_TYPE = 0i32; +pub const DSREG_WORKPLACE_JOIN: DSREG_JOIN_TYPE = 2i32; +pub const EBP_ABOVE: ENUM_BINDING_PATHS_FLAGS = 1i32; +pub const EBP_BELOW: ENUM_BINDING_PATHS_FLAGS = 2i32; +pub const ENCRYPTED_PWLEN: u32 = 16u32; +pub const ERRLOG2_BASE: u32 = 5700u32; +pub const ERRLOG_BASE: u32 = 3100u32; +pub const EVENT_BAD_ACCOUNT_NAME: i32 = -1073734816i32; +pub const EVENT_BAD_SERVICE_STATE: i32 = -1073734808i32; +pub const EVENT_BOOT_SYSTEM_DRIVERS_FAILED: i32 = -1073734798i32; +pub const EVENT_BOWSER_CANT_READ_REGISTRY: i32 = 1073749853i32; +pub const EVENT_BOWSER_ELECTION_RECEIVED: i32 = 8012i32; +pub const EVENT_BOWSER_ELECTION_SENT_FIND_MASTER_FAILED: i32 = 1073749838i32; +pub const EVENT_BOWSER_ELECTION_SENT_GETBLIST_FAILED: i32 = 1073749837i32; +pub const EVENT_BOWSER_GETBROWSERLIST_THRESHOLD_EXCEEDED: i32 = 1073749855i32; +pub const EVENT_BOWSER_ILLEGAL_DATAGRAM: i32 = -2147475642i32; +pub const EVENT_BOWSER_ILLEGAL_DATAGRAM_THRESHOLD: i32 = -1073733808i32; +pub const EVENT_BOWSER_MAILSLOT_DATAGRAM_THRESHOLD_EXCEEDED: i32 = 1073749854i32; +pub const EVENT_BOWSER_NAME_CONVERSION_FAILED: i32 = -1073733814i32; +pub const EVENT_BOWSER_NON_MASTER_MASTER_ANNOUNCE: i32 = -2147475643i32; +pub const EVENT_BOWSER_NON_PDC_WON_ELECTION: i32 = 1073749852i32; +pub const EVENT_BOWSER_OLD_BACKUP_FOUND: i32 = 1073749848i32; +pub const EVENT_BOWSER_OTHER_MASTER_ON_NET: i32 = -1073733821i32; +pub const EVENT_BOWSER_PDC_LOST_ELECTION: i32 = 1073749851i32; +pub const EVENT_BOWSER_PROMOTED_WHILE_ALREADY_MASTER: i32 = -2147475644i32; +pub const EVENT_BRIDGE_ADAPTER_BIND_FAILED: i32 = -1073727120i32; +pub const EVENT_BRIDGE_ADAPTER_FILTER_FAILED: i32 = -1073727122i32; +pub const EVENT_BRIDGE_ADAPTER_LINK_SPEED_QUERY_FAILED: i32 = -1073727124i32; +pub const EVENT_BRIDGE_ADAPTER_MAC_ADDR_QUERY_FAILED: i32 = -1073727123i32; +pub const EVENT_BRIDGE_ADAPTER_NAME_QUERY_FAILED: i32 = -1073727121i32; +pub const EVENT_BRIDGE_BUFFER_POOL_CREATION_FAILED: i32 = -1073727214i32; +pub const EVENT_BRIDGE_DEVICE_CREATION_FAILED: i32 = -1073727221i32; +pub const EVENT_BRIDGE_ETHERNET_NOT_OFFERED: i32 = -1073727218i32; +pub const EVENT_BRIDGE_INIT_MALLOC_FAILED: i32 = -1073727213i32; +pub const EVENT_BRIDGE_MINIPORT_INIT_FAILED: i32 = -1073727219i32; +pub const EVENT_BRIDGE_MINIPORT_REGISTER_FAILED: i32 = -1073727222i32; +pub const EVENT_BRIDGE_MINIPROT_DEVNAME_MISSING: i32 = -1073727223i32; +pub const EVENT_BRIDGE_NO_BRIDGE_MAC_ADDR: i32 = -1073727220i32; +pub const EVENT_BRIDGE_PACKET_POOL_CREATION_FAILED: i32 = -1073727215i32; +pub const EVENT_BRIDGE_PROTOCOL_REGISTER_FAILED: i32 = -1073727224i32; +pub const EVENT_BRIDGE_THREAD_CREATION_FAILED: i32 = -1073727217i32; +pub const EVENT_BRIDGE_THREAD_REF_FAILED: i32 = -1073727216i32; +pub const EVENT_BROWSER_BACKUP_STOPPED: i32 = -1073733792i32; +pub const EVENT_BROWSER_DEPENDANT_SERVICE_FAILED: i32 = -1073733807i32; +pub const EVENT_BROWSER_DOMAIN_LIST_FAILED: i32 = -2147475626i32; +pub const EVENT_BROWSER_DOMAIN_LIST_RETRIEVED: i32 = 8026i32; +pub const EVENT_BROWSER_ELECTION_SENT_LANMAN_NT_STARTED: i32 = 1073749839i32; +pub const EVENT_BROWSER_ELECTION_SENT_LANMAN_NT_STOPPED: i32 = 1073749857i32; +pub const EVENT_BROWSER_ELECTION_SENT_ROLE_CHANGED: i32 = 1073749859i32; +pub const EVENT_BROWSER_GETBLIST_RECEIVED_NOT_MASTER: i32 = -1073733790i32; +pub const EVENT_BROWSER_ILLEGAL_CONFIG: i32 = -2147475625i32; +pub const EVENT_BROWSER_MASTER_PROMOTION_FAILED: i32 = -1073733815i32; +pub const EVENT_BROWSER_MASTER_PROMOTION_FAILED_NO_MASTER: i32 = -1073733804i32; +pub const EVENT_BROWSER_MASTER_PROMOTION_FAILED_STOPPING: i32 = -1073733805i32; +pub const EVENT_BROWSER_NOT_STARTED_IPX_CONFIG_MISMATCH: i32 = -1073733788i32; +pub const EVENT_BROWSER_OTHERDOMAIN_ADD_FAILED: i32 = -1073733813i32; +pub const EVENT_BROWSER_ROLE_CHANGE_FAILED: i32 = -1073733816i32; +pub const EVENT_BROWSER_SERVER_LIST_FAILED: i32 = -2147475627i32; +pub const EVENT_BROWSER_SERVER_LIST_RETRIEVED: i32 = 8025i32; +pub const EVENT_BROWSER_STATUS_BITS_UPDATE_FAILED: i32 = -1073733817i32; +pub const EVENT_CALL_TO_FUNCTION_FAILED: i32 = -1073734819i32; +pub const EVENT_CALL_TO_FUNCTION_FAILED_II: i32 = -1073734818i32; +pub const EVENT_CIRCULAR_DEPENDENCY_AUTO: i32 = -1073734806i32; +pub const EVENT_CIRCULAR_DEPENDENCY_DEMAND: i32 = -1073734807i32; +pub const EVENT_COMMAND_NOT_INTERACTIVE: i32 = -1073733924i32; +pub const EVENT_COMMAND_START_FAILED: i32 = -1073733923i32; +pub const EVENT_CONNECTION_TIMEOUT: i32 = -1073734815i32; +pub const EVENT_ComputerNameChange: i32 = -2147477637i32; +pub const EVENT_DAV_REDIR_DELAYED_WRITE_FAILED: i32 = -2147468848i32; +pub const EVENT_DCOM_ASSERTION_FAILURE: i32 = -1073731812i32; +pub const EVENT_DCOM_COMPLUS_DISABLED: i32 = -1073731810i32; +pub const EVENT_DCOM_INVALID_ENDPOINT_DATA: i32 = -1073731811i32; +pub const EVENT_DEPEND_ON_LATER_GROUP: i32 = -1073734804i32; +pub const EVENT_DEPEND_ON_LATER_SERVICE: i32 = -1073734805i32; +pub const EVENT_DNSAPI_DEREGISTRATION_FAILED_NOTSUPP: i32 = -2147472466i32; +pub const EVENT_DNSAPI_DEREGISTRATION_FAILED_NOTSUPP_PRIMARY_DN: i32 = -2147472454i32; +pub const EVENT_DNSAPI_DEREGISTRATION_FAILED_OTHER: i32 = -2147472463i32; +pub const EVENT_DNSAPI_DEREGISTRATION_FAILED_OTHER_PRIMARY_DN: i32 = -2147472451i32; +pub const EVENT_DNSAPI_DEREGISTRATION_FAILED_REFUSED: i32 = -2147472465i32; +pub const EVENT_DNSAPI_DEREGISTRATION_FAILED_REFUSED_PRIMARY_DN: i32 = -2147472453i32; +pub const EVENT_DNSAPI_DEREGISTRATION_FAILED_SECURITY: i32 = -2147472464i32; +pub const EVENT_DNSAPI_DEREGISTRATION_FAILED_SECURITY_PRIMARY_DN: i32 = -2147472452i32; +pub const EVENT_DNSAPI_DEREGISTRATION_FAILED_SERVERFAIL: i32 = -2147472467i32; +pub const EVENT_DNSAPI_DEREGISTRATION_FAILED_SERVERFAIL_PRIMARY_DN: i32 = -2147472455i32; +pub const EVENT_DNSAPI_DEREGISTRATION_FAILED_TIMEOUT: i32 = -2147472468i32; +pub const EVENT_DNSAPI_DEREGISTRATION_FAILED_TIMEOUT_PRIMARY_DN: i32 = -2147472456i32; +pub const EVENT_DNSAPI_PTR_DEREGISTRATION_FAILED_NOTSUPP: i32 = -2147472460i32; +pub const EVENT_DNSAPI_PTR_DEREGISTRATION_FAILED_OTHER: i32 = -2147472457i32; +pub const EVENT_DNSAPI_PTR_DEREGISTRATION_FAILED_REFUSED: i32 = -2147472459i32; +pub const EVENT_DNSAPI_PTR_DEREGISTRATION_FAILED_SECURITY: i32 = -2147472458i32; +pub const EVENT_DNSAPI_PTR_DEREGISTRATION_FAILED_SERVERFAIL: i32 = -2147472461i32; +pub const EVENT_DNSAPI_PTR_DEREGISTRATION_FAILED_TIMEOUT: i32 = -2147472462i32; +pub const EVENT_DNSAPI_PTR_REGISTRATION_FAILED_NOTSUPP: i32 = -2147472490i32; +pub const EVENT_DNSAPI_PTR_REGISTRATION_FAILED_OTHER: i32 = -2147472487i32; +pub const EVENT_DNSAPI_PTR_REGISTRATION_FAILED_REFUSED: i32 = -2147472489i32; +pub const EVENT_DNSAPI_PTR_REGISTRATION_FAILED_SECURITY: i32 = -2147472488i32; +pub const EVENT_DNSAPI_PTR_REGISTRATION_FAILED_SERVERFAIL: i32 = -2147472491i32; +pub const EVENT_DNSAPI_PTR_REGISTRATION_FAILED_TIMEOUT: i32 = -2147472492i32; +pub const EVENT_DNSAPI_REGISTERED_ADAPTER: i32 = 1073753024i32; +pub const EVENT_DNSAPI_REGISTERED_ADAPTER_PRIMARY_DN: i32 = 1073753026i32; +pub const EVENT_DNSAPI_REGISTERED_PTR: i32 = 1073753025i32; +pub const EVENT_DNSAPI_REGISTRATION_FAILED_NOTSUPP: i32 = -2147472496i32; +pub const EVENT_DNSAPI_REGISTRATION_FAILED_NOTSUPP_PRIMARY_DN: i32 = -2147472484i32; +pub const EVENT_DNSAPI_REGISTRATION_FAILED_OTHER: i32 = -2147472493i32; +pub const EVENT_DNSAPI_REGISTRATION_FAILED_OTHER_PRIMARY_DN: i32 = -2147472481i32; +pub const EVENT_DNSAPI_REGISTRATION_FAILED_REFUSED: i32 = -2147472495i32; +pub const EVENT_DNSAPI_REGISTRATION_FAILED_REFUSED_PRIMARY_DN: i32 = -2147472483i32; +pub const EVENT_DNSAPI_REGISTRATION_FAILED_SECURITY: i32 = -2147472494i32; +pub const EVENT_DNSAPI_REGISTRATION_FAILED_SECURITY_PRIMARY_DN: i32 = -2147472482i32; +pub const EVENT_DNSAPI_REGISTRATION_FAILED_SERVERFAIL: i32 = -2147472497i32; +pub const EVENT_DNSAPI_REGISTRATION_FAILED_SERVERFAIL_PRIMARY_DN: i32 = -2147472485i32; +pub const EVENT_DNSAPI_REGISTRATION_FAILED_TIMEOUT: i32 = -2147472498i32; +pub const EVENT_DNSAPI_REGISTRATION_FAILED_TIMEOUT_PRIMARY_DN: i32 = -2147472486i32; +pub const EVENT_DNSDomainNameChange: i32 = -2147477636i32; +pub const EVENT_DNS_CACHE_NETWORK_PERF_WARNING: i32 = -2147472598i32; +pub const EVENT_DNS_CACHE_START_FAILURE_LOW_MEMORY: i32 = -1073730817i32; +pub const EVENT_DNS_CACHE_START_FAILURE_NO_CONTROL: i32 = -1073730822i32; +pub const EVENT_DNS_CACHE_START_FAILURE_NO_DLL: i32 = -1073730824i32; +pub const EVENT_DNS_CACHE_START_FAILURE_NO_DONE_EVENT: i32 = -1073730821i32; +pub const EVENT_DNS_CACHE_START_FAILURE_NO_ENTRY: i32 = -1073730823i32; +pub const EVENT_DNS_CACHE_START_FAILURE_NO_RPC: i32 = -1073730820i32; +pub const EVENT_DNS_CACHE_START_FAILURE_NO_SHUTDOWN_NOTIFY: i32 = -1073730819i32; +pub const EVENT_DNS_CACHE_START_FAILURE_NO_UPDATE: i32 = -1073730818i32; +pub const EVENT_DNS_CACHE_UNABLE_TO_REACH_SERVER_WARNING: i32 = -2147472597i32; +pub const EVENT_EQOS_ERROR_MACHINE_POLICY_KEYNAME_SIZE_ZERO: i32 = -1073725118i32; +pub const EVENT_EQOS_ERROR_MACHINE_POLICY_KEYNAME_TOO_LONG: i32 = -1073725120i32; +pub const EVENT_EQOS_ERROR_MACHINE_POLICY_REFERESH: i32 = -1073725124i32; +pub const EVENT_EQOS_ERROR_OPENING_MACHINE_POLICY_ROOT_KEY: i32 = -1073725122i32; +pub const EVENT_EQOS_ERROR_OPENING_MACHINE_POLICY_SUBKEY: i32 = -1073725116i32; +pub const EVENT_EQOS_ERROR_OPENING_USER_POLICY_ROOT_KEY: i32 = -1073725121i32; +pub const EVENT_EQOS_ERROR_OPENING_USER_POLICY_SUBKEY: i32 = -1073725115i32; +pub const EVENT_EQOS_ERROR_PROCESSING_MACHINE_POLICY_FIELD: i32 = -1073725114i32; +pub const EVENT_EQOS_ERROR_PROCESSING_USER_POLICY_FIELD: i32 = -1073725113i32; +pub const EVENT_EQOS_ERROR_SETTING_APP_MARKING: i32 = -1073725111i32; +pub const EVENT_EQOS_ERROR_SETTING_TCP_AUTOTUNING: i32 = -1073725112i32; +pub const EVENT_EQOS_ERROR_USER_POLICY_KEYNAME_SIZE_ZERO: i32 = -1073725117i32; +pub const EVENT_EQOS_ERROR_USER_POLICY_KEYNAME_TOO_LONG: i32 = -1073725119i32; +pub const EVENT_EQOS_ERROR_USER_POLICY_REFERESH: i32 = -1073725123i32; +pub const EVENT_EQOS_INFO_APP_MARKING_ALLOWED: i32 = 1073758335i32; +pub const EVENT_EQOS_INFO_APP_MARKING_IGNORED: i32 = 1073758334i32; +pub const EVENT_EQOS_INFO_APP_MARKING_NOT_CONFIGURED: i32 = 1073758333i32; +pub const EVENT_EQOS_INFO_LOCAL_SETTING_DONT_USE_NLA: i32 = 1073758336i32; +pub const EVENT_EQOS_INFO_MACHINE_POLICY_REFRESH_NO_CHANGE: i32 = 1073758324i32; +pub const EVENT_EQOS_INFO_MACHINE_POLICY_REFRESH_WITH_CHANGE: i32 = 1073758325i32; +pub const EVENT_EQOS_INFO_TCP_AUTOTUNING_HIGHLY_RESTRICTED: i32 = 1073758330i32; +pub const EVENT_EQOS_INFO_TCP_AUTOTUNING_NORMAL: i32 = 1073758332i32; +pub const EVENT_EQOS_INFO_TCP_AUTOTUNING_NOT_CONFIGURED: i32 = 1073758328i32; +pub const EVENT_EQOS_INFO_TCP_AUTOTUNING_OFF: i32 = 1073758329i32; +pub const EVENT_EQOS_INFO_TCP_AUTOTUNING_RESTRICTED: i32 = 1073758331i32; +pub const EVENT_EQOS_INFO_USER_POLICY_REFRESH_NO_CHANGE: i32 = 1073758326i32; +pub const EVENT_EQOS_INFO_USER_POLICY_REFRESH_WITH_CHANGE: i32 = 1073758327i32; +pub const EVENT_EQOS_URL_QOS_APPLICATION_CONFLICT: i32 = 1073758337i32; +pub const EVENT_EQOS_WARNING_MACHINE_POLICY_CONFLICT: i32 = -2147467040i32; +pub const EVENT_EQOS_WARNING_MACHINE_POLICY_NO_FULLPATH_APPNAME: i32 = -2147467038i32; +pub const EVENT_EQOS_WARNING_MACHINE_POLICY_PROFILE_NOT_SPECIFIED: i32 = -2147467044i32; +pub const EVENT_EQOS_WARNING_MACHINE_POLICY_QUOTA_EXCEEDED: i32 = -2147467042i32; +pub const EVENT_EQOS_WARNING_MACHINE_POLICY_VERSION: i32 = -2147467046i32; +pub const EVENT_EQOS_WARNING_TEST_1: i32 = -2147467048i32; +pub const EVENT_EQOS_WARNING_TEST_2: i32 = -2147467047i32; +pub const EVENT_EQOS_WARNING_USER_POLICY_CONFLICT: i32 = -2147467039i32; +pub const EVENT_EQOS_WARNING_USER_POLICY_NO_FULLPATH_APPNAME: i32 = -2147467037i32; +pub const EVENT_EQOS_WARNING_USER_POLICY_PROFILE_NOT_SPECIFIED: i32 = -2147467043i32; +pub const EVENT_EQOS_WARNING_USER_POLICY_QUOTA_EXCEEDED: i32 = -2147467041i32; +pub const EVENT_EQOS_WARNING_USER_POLICY_VERSION: i32 = -2147467045i32; +pub const EVENT_EventLogProductInfo: i32 = -2147477639i32; +pub const EVENT_EventlogAbnormalShutdown: i32 = -2147477640i32; +pub const EVENT_EventlogStarted: i32 = -2147477643i32; +pub const EVENT_EventlogStopped: i32 = -2147477642i32; +pub const EVENT_EventlogUptime: i32 = -2147477635i32; +pub const EVENT_FIRST_LOGON_FAILED: i32 = -1073734811i32; +pub const EVENT_FIRST_LOGON_FAILED_II: i32 = -1073734786i32; +pub const EVENT_FRS_ACCESS_CHECKS_DISABLED: i32 = -2147470131i32; +pub const EVENT_FRS_ACCESS_CHECKS_FAILED_UNKNOWN: i32 = -1073728305i32; +pub const EVENT_FRS_ACCESS_CHECKS_FAILED_USER: i32 = -2147470130i32; +pub const EVENT_FRS_ASSERT: i32 = -1073728318i32; +pub const EVENT_FRS_BAD_REG_DATA: i32 = -2147470101i32; +pub const EVENT_FRS_CANNOT_COMMUNICATE: i32 = -1073728314i32; +pub const EVENT_FRS_CANNOT_CREATE_UUID: i32 = -1073728300i32; +pub const EVENT_FRS_CANNOT_START_BACKUP_RESTORE_IN_PROGRESS: i32 = -1073728303i32; +pub const EVENT_FRS_CANT_OPEN_PREINSTALL: i32 = -1073728273i32; +pub const EVENT_FRS_CANT_OPEN_STAGE: i32 = -1073728274i32; +pub const EVENT_FRS_DATABASE_SPACE: i32 = -1073728313i32; +pub const EVENT_FRS_DISK_WRITE_CACHE_ENABLED: i32 = -2147470136i32; +pub const EVENT_FRS_DS_POLL_ERROR_SUMMARY: i32 = -2147470086i32; +pub const EVENT_FRS_DUPLICATE_IN_CXTION: i32 = -1073728266i32; +pub const EVENT_FRS_DUPLICATE_IN_CXTION_SYSVOL: i32 = -1073728267i32; +pub const EVENT_FRS_ERROR: i32 = -1073728324i32; +pub const EVENT_FRS_ERROR_REPLICA_SET_DELETED: i32 = -2147470088i32; +pub const EVENT_FRS_HUGE_FILE: i32 = -2147470125i32; +pub const EVENT_FRS_IN_ERROR_STATE: i32 = -1073728269i32; +pub const EVENT_FRS_JET_1414: i32 = -1073728311i32; +pub const EVENT_FRS_JOIN_FAIL_TIME_SKEW: i32 = -1073728276i32; +pub const EVENT_FRS_LONG_JOIN: i32 = -2147470140i32; +pub const EVENT_FRS_LONG_JOIN_DONE: i32 = -2147470139i32; +pub const EVENT_FRS_MOVED_PREEXISTING: i32 = -2147470128i32; +pub const EVENT_FRS_NO_DNS_ATTRIBUTE: i32 = -2147470123i32; +pub const EVENT_FRS_NO_SID: i32 = -1073728298i32; +pub const EVENT_FRS_OVERLAPS_LOGGING: i32 = -1073728283i32; +pub const EVENT_FRS_OVERLAPS_OTHER_STAGE: i32 = -1073728279i32; +pub const EVENT_FRS_OVERLAPS_ROOT: i32 = -1073728280i32; +pub const EVENT_FRS_OVERLAPS_STAGE: i32 = -1073728281i32; +pub const EVENT_FRS_OVERLAPS_WORKING: i32 = -1073728282i32; +pub const EVENT_FRS_PREPARE_ROOT_FAILED: i32 = -1073728278i32; +pub const EVENT_FRS_REPLICA_IN_JRNL_WRAP_ERROR: i32 = -1073728263i32; +pub const EVENT_FRS_REPLICA_NO_ROOT_CHANGE: i32 = -1073728268i32; +pub const EVENT_FRS_REPLICA_SET_CREATE_FAIL: i32 = -1073728272i32; +pub const EVENT_FRS_REPLICA_SET_CREATE_OK: i32 = 1073755377i32; +pub const EVENT_FRS_REPLICA_SET_CXTIONS: i32 = 1073755378i32; +pub const EVENT_FRS_RMTCO_TIME_SKEW: i32 = -1073728275i32; +pub const EVENT_FRS_ROOT_HAS_MOVED: i32 = -1073728265i32; +pub const EVENT_FRS_ROOT_NOT_VALID: i32 = -1073728285i32; +pub const EVENT_FRS_STAGE_NOT_VALID: i32 = -1073728284i32; +pub const EVENT_FRS_STAGING_AREA_FULL: i32 = -2147470126i32; +pub const EVENT_FRS_STARTING: i32 = 1073755325i32; +pub const EVENT_FRS_STOPPED: i32 = 1073755327i32; +pub const EVENT_FRS_STOPPED_ASSERT: i32 = -1073728319i32; +pub const EVENT_FRS_STOPPED_FORCE: i32 = -1073728320i32; +pub const EVENT_FRS_STOPPING: i32 = 1073755326i32; +pub const EVENT_FRS_SYSVOL_NOT_READY: i32 = -2147470134i32; +pub const EVENT_FRS_SYSVOL_NOT_READY_PRIMARY: i32 = -2147470133i32; +pub const EVENT_FRS_SYSVOL_READY: i32 = 1073755340i32; +pub const EVENT_FRS_VOLUME_NOT_SUPPORTED: i32 = -1073728317i32; +pub const EVENT_INVALID_DRIVER_DEPENDENCY: i32 = -1073734809i32; +pub const EVENT_IPX_CREATE_DEVICE: i32 = -1073732318i32; +pub const EVENT_IPX_ILLEGAL_CONFIG: i32 = -2147474145i32; +pub const EVENT_IPX_INTERNAL_NET_INVALID: i32 = -1073732320i32; +pub const EVENT_IPX_NEW_DEFAULT_TYPE: i32 = 1073751325i32; +pub const EVENT_IPX_NO_ADAPTERS: i32 = -1073732317i32; +pub const EVENT_IPX_NO_FRAME_TYPES: i32 = -1073732319i32; +pub const EVENT_IPX_SAP_ANNOUNCE: i32 = -2147474146i32; +pub const EVENT_NBT_BAD_BACKUP_WINS_ADDR: i32 = -2147479344i32; +pub const EVENT_NBT_BAD_PRIMARY_WINS_ADDR: i32 = -2147479343i32; +pub const EVENT_NBT_CREATE_ADDRESS: i32 = -1073737517i32; +pub const EVENT_NBT_CREATE_CONNECTION: i32 = -1073737516i32; +pub const EVENT_NBT_CREATE_DEVICE: i32 = -1073737513i32; +pub const EVENT_NBT_CREATE_DRIVER: i32 = -1073737524i32; +pub const EVENT_NBT_DUPLICATE_NAME: i32 = -1073737505i32; +pub const EVENT_NBT_DUPLICATE_NAME_ERROR: i32 = -1073737503i32; +pub const EVENT_NBT_NAME_RELEASE: i32 = -1073737504i32; +pub const EVENT_NBT_NAME_SERVER_ADDRS: i32 = -1073737518i32; +pub const EVENT_NBT_NON_OS_INIT: i32 = -1073737515i32; +pub const EVENT_NBT_NO_BACKUP_WINS: i32 = -2147479346i32; +pub const EVENT_NBT_NO_DEVICES: i32 = -2147479336i32; +pub const EVENT_NBT_NO_RESOURCES: i32 = -1073737502i32; +pub const EVENT_NBT_NO_WINS: i32 = -2147479345i32; +pub const EVENT_NBT_OPEN_REG_LINKAGE: i32 = -1073737511i32; +pub const EVENT_NBT_OPEN_REG_NAMESERVER: i32 = -2147479332i32; +pub const EVENT_NBT_OPEN_REG_PARAMS: i32 = -1073737523i32; +pub const EVENT_NBT_READ_BIND: i32 = -1073737510i32; +pub const EVENT_NBT_READ_EXPORT: i32 = -1073737509i32; +pub const EVENT_NBT_TIMERS: i32 = -1073737514i32; +pub const EVENT_NDIS_ADAPTER_CHECK_ERROR: i32 = -1073736793i32; +pub const EVENT_NDIS_ADAPTER_DISABLED: i32 = -2147478634i32; +pub const EVENT_NDIS_ADAPTER_NOT_FOUND: i32 = -1073736821i32; +pub const EVENT_NDIS_BAD_IO_BASE_ADDRESS: i32 = -1073736812i32; +pub const EVENT_NDIS_BAD_VERSION: i32 = -1073736818i32; +pub const EVENT_NDIS_CABLE_DISCONNECTED_ERROR: i32 = -2147478615i32; +pub const EVENT_NDIS_DMA_CONFLICT: i32 = -2147478629i32; +pub const EVENT_NDIS_DRIVER_FAILURE: i32 = -1073736819i32; +pub const EVENT_NDIS_HARDWARE_FAILURE: i32 = -1073736822i32; +pub const EVENT_NDIS_INTERRUPT_CONFLICT: i32 = -2147478630i32; +pub const EVENT_NDIS_INTERRUPT_CONNECT: i32 = -1073736820i32; +pub const EVENT_NDIS_INVALID_DOWNLOAD_FILE_ERROR: i32 = -1073736804i32; +pub const EVENT_NDIS_INVALID_VALUE_FROM_ADAPTER: i32 = -1073736814i32; +pub const EVENT_NDIS_IO_PORT_CONFLICT: i32 = -2147478633i32; +pub const EVENT_NDIS_LOBE_FAILUE_ERROR: i32 = -2147478621i32; +pub const EVENT_NDIS_MAXFRAMESIZE_ERROR: i32 = -2147478625i32; +pub const EVENT_NDIS_MAXINTERNALBUFS_ERROR: i32 = -2147478624i32; +pub const EVENT_NDIS_MAXMULTICAST_ERROR: i32 = -2147478623i32; +pub const EVENT_NDIS_MAXRECEIVES_ERROR: i32 = -2147478627i32; +pub const EVENT_NDIS_MAXTRANSMITS_ERROR: i32 = -2147478626i32; +pub const EVENT_NDIS_MEMORY_CONFLICT: i32 = -2147478631i32; +pub const EVENT_NDIS_MISSING_CONFIGURATION_PARAMETER: i32 = -1073736813i32; +pub const EVENT_NDIS_NETWORK_ADDRESS: i32 = -1073736816i32; +pub const EVENT_NDIS_OUT_OF_RESOURCE: i32 = -1073736823i32; +pub const EVENT_NDIS_PORT_OR_DMA_CONFLICT: i32 = -2147478632i32; +pub const EVENT_NDIS_PRODUCTID_ERROR: i32 = -2147478622i32; +pub const EVENT_NDIS_RECEIVE_SPACE_SMALL: i32 = 1073746837i32; +pub const EVENT_NDIS_REMOVE_RECEIVED_ERROR: i32 = -2147478619i32; +pub const EVENT_NDIS_RESET_FAILURE_CORRECTION: i32 = -2147478614i32; +pub const EVENT_NDIS_RESET_FAILURE_ERROR: i32 = -2147478616i32; +pub const EVENT_NDIS_RESOURCE_CONFLICT: i32 = -1073736824i32; +pub const EVENT_NDIS_SIGNAL_LOSS_ERROR: i32 = -2147478620i32; +pub const EVENT_NDIS_TIMEOUT: i32 = -2147478641i32; +pub const EVENT_NDIS_TOKEN_RING_CORRECTION: i32 = 1073746854i32; +pub const EVENT_NDIS_UNSUPPORTED_CONFIGURATION: i32 = -1073736815i32; +pub const EVENT_PS_ADMISSIONCONTROL_OVERFLOW: i32 = -2147469537i32; +pub const EVENT_PS_BAD_BESTEFFORT_LIMIT: i32 = -2147469548i32; +pub const EVENT_PS_BINDING_FAILED: i32 = -1073727720i32; +pub const EVENT_PS_GPC_REGISTER_FAILED: i32 = -1073727824i32; +pub const EVENT_PS_INIT_DEVICE_FAILED: i32 = -1073727717i32; +pub const EVENT_PS_MISSING_ADAPTER_REGISTRY_DATA: i32 = -1073727719i32; +pub const EVENT_PS_NETWORK_ADDRESS_FAIL: i32 = -1073727712i32; +pub const EVENT_PS_NO_RESOURCES_FOR_INIT: i32 = -1073727823i32; +pub const EVENT_PS_QUERY_OID_GEN_LINK_SPEED: i32 = -1073727721i32; +pub const EVENT_PS_QUERY_OID_GEN_MAXIMUM_FRAME_SIZE: i32 = -1073727723i32; +pub const EVENT_PS_QUERY_OID_GEN_MAXIMUM_TOTAL_SIZE: i32 = -1073727722i32; +pub const EVENT_PS_REGISTER_ADDRESS_FAMILY_FAILED: i32 = -1073727718i32; +pub const EVENT_PS_REGISTER_MINIPORT_FAILED: i32 = -1073727821i32; +pub const EVENT_PS_REGISTER_PROTOCOL_FAILED: i32 = -1073727822i32; +pub const EVENT_PS_RESOURCE_POOL: i32 = -1073727714i32; +pub const EVENT_PS_WAN_LIMITED_BESTEFFORT: i32 = -2147469539i32; +pub const EVENT_PS_WMI_INSTANCE_NAME_FAILED: i32 = -1073727716i32; +pub const EVENT_RDR_AT_THREAD_MAX: i32 = -2147480622i32; +pub const EVENT_RDR_CANT_BIND_TRANSPORT: i32 = -2147480616i32; +pub const EVENT_RDR_CANT_BUILD_SMB_HEADER: i32 = -2147480613i32; +pub const EVENT_RDR_CANT_CREATE_DEVICE: i32 = -2147480646i32; +pub const EVENT_RDR_CANT_CREATE_THREAD: i32 = -2147480645i32; +pub const EVENT_RDR_CANT_GET_SECURITY_CONTEXT: i32 = -2147480614i32; +pub const EVENT_RDR_CANT_READ_REGISTRY: i32 = -2147480621i32; +pub const EVENT_RDR_CANT_REGISTER_ADDRESS: i32 = -2147480615i32; +pub const EVENT_RDR_CANT_SET_THREAD: i32 = -2147480644i32; +pub const EVENT_RDR_CLOSE_BEHIND: i32 = -2147480637i32; +pub const EVENT_RDR_CONNECTION: i32 = -2147480629i32; +pub const EVENT_RDR_CONNECTION_REFERENCE: i32 = -2147480633i32; +pub const EVENT_RDR_CONTEXTS: i32 = -2147480624i32; +pub const EVENT_RDR_DELAYED_SET_ATTRIBUTES_FAILED: i32 = -2147480618i32; +pub const EVENT_RDR_DELETEONCLOSE_FAILED: i32 = -2147480617i32; +pub const EVENT_RDR_DISPOSITION: i32 = -2147480625i32; +pub const EVENT_RDR_ENCRYPT: i32 = -2147480630i32; +pub const EVENT_RDR_FAILED_UNLOCK: i32 = -2147480639i32; +pub const EVENT_RDR_INVALID_LOCK_REPLY: i32 = -2147480641i32; +pub const EVENT_RDR_INVALID_OPLOCK: i32 = -2147480634i32; +pub const EVENT_RDR_INVALID_REPLY: i32 = -2147480643i32; +pub const EVENT_RDR_INVALID_SMB: i32 = -2147480642i32; +pub const EVENT_RDR_MAXCMDS: i32 = -2147480627i32; +pub const EVENT_RDR_OPLOCK_SMB: i32 = -2147480626i32; +pub const EVENT_RDR_PRIMARY_TRANSPORT_CONNECT_FAILED: i32 = -2147480619i32; +pub const EVENT_RDR_RESOURCE_SHORTAGE: i32 = -2147480647i32; +pub const EVENT_RDR_SECURITY_SIGNATURE_MISMATCH: i32 = -2147480612i32; +pub const EVENT_RDR_SERVER_REFERENCE: i32 = -2147480632i32; +pub const EVENT_RDR_SMB_REFERENCE: i32 = -2147480631i32; +pub const EVENT_RDR_TIMEOUT: i32 = -2147480635i32; +pub const EVENT_RDR_TIMEZONE_BIAS_TOO_LARGE: i32 = -2147480620i32; +pub const EVENT_RDR_UNEXPECTED_ERROR: i32 = -2147480636i32; +pub const EVENT_RDR_WRITE_BEHIND_FLUSH_FAILED: i32 = -2147480623i32; +pub const EVENT_READFILE_TIMEOUT: i32 = -1073734814i32; +pub const EVENT_REVERTED_TO_LASTKNOWNGOOD: i32 = -1073734817i32; +pub const EVENT_RPCSS_ACTIVATION_ERROR: i32 = -1073731817i32; +pub const EVENT_RPCSS_CREATEDEBUGGERPROCESS_FAILURE: i32 = -1073731794i32; +pub const EVENT_RPCSS_CREATEPROCESS_FAILURE: i32 = -1073731824i32; +pub const EVENT_RPCSS_DEFAULT_LAUNCH_ACCESS_DENIED: i32 = -1073731821i32; +pub const EVENT_RPCSS_LAUNCH_ACCESS_DENIED: i32 = -1073731822i32; +pub const EVENT_RPCSS_REMOTE_SIDE_ERROR: i32 = -1073731818i32; +pub const EVENT_RPCSS_REMOTE_SIDE_ERROR_WITH_FILE: i32 = -1073731816i32; +pub const EVENT_RPCSS_REMOTE_SIDE_UNAVAILABLE: i32 = -1073731815i32; +pub const EVENT_RPCSS_RUNAS_CANT_LOGIN: i32 = -1073731820i32; +pub const EVENT_RPCSS_RUNAS_CREATEPROCESS_FAILURE: i32 = -1073731823i32; +pub const EVENT_RPCSS_SERVER_NOT_RESPONDING: i32 = -1073731813i32; +pub const EVENT_RPCSS_SERVER_START_TIMEOUT: i32 = -1073731814i32; +pub const EVENT_RPCSS_START_SERVICE_FAILURE: i32 = -1073731819i32; +pub const EVENT_RPCSS_STOP_SERVICE_FAILURE: i32 = -1073731795i32; +pub const EVENT_RUNNING_LASTKNOWNGOOD: i32 = -1073734797i32; +pub const EVENT_SCOPE_LABEL_TOO_LONG: i32 = -2147479331i32; +pub const EVENT_SCOPE_TOO_LONG: i32 = -2147479330i32; +pub const EVENT_SECOND_LOGON_FAILED: i32 = -1073734810i32; +pub const EVENT_SERVICE_CONFIG_BACKOUT_FAILED: i32 = -1073734787i32; +pub const EVENT_SERVICE_CONTROL_SUCCESS: i32 = 1073748859i32; +pub const EVENT_SERVICE_CRASH: i32 = -1073734793i32; +pub const EVENT_SERVICE_CRASH_NO_ACTION: i32 = -1073734790i32; +pub const EVENT_SERVICE_DIFFERENT_PID_CONNECTED: i32 = -2147476609i32; +pub const EVENT_SERVICE_EXIT_FAILED: i32 = -1073734801i32; +pub const EVENT_SERVICE_EXIT_FAILED_SPECIFIC: i32 = -1073734800i32; +pub const EVENT_SERVICE_LOGON_TYPE_NOT_GRANTED: i32 = -1073734783i32; +pub const EVENT_SERVICE_NOT_INTERACTIVE: i32 = -1073734794i32; +pub const EVENT_SERVICE_RECOVERY_FAILED: i32 = -1073734792i32; +pub const EVENT_SERVICE_SCESRV_FAILED: i32 = -1073734791i32; +pub const EVENT_SERVICE_SHUTDOWN_FAILED: i32 = -1073734781i32; +pub const EVENT_SERVICE_START_AT_BOOT_FAILED: i32 = -1073734799i32; +pub const EVENT_SERVICE_START_FAILED: i32 = -1073734824i32; +pub const EVENT_SERVICE_START_FAILED_GROUP: i32 = -1073734822i32; +pub const EVENT_SERVICE_START_FAILED_II: i32 = -1073734823i32; +pub const EVENT_SERVICE_START_FAILED_NONE: i32 = -1073734821i32; +pub const EVENT_SERVICE_START_HUNG: i32 = -1073734802i32; +pub const EVENT_SERVICE_START_TYPE_CHANGED: i32 = 1073748864i32; +pub const EVENT_SERVICE_STATUS_SUCCESS: i32 = 1073748860i32; +pub const EVENT_SERVICE_STOP_SUCCESS_WITH_REASON: i32 = 1073748866i32; +pub const EVENT_SEVERE_SERVICE_FAILED: i32 = -1073734803i32; +pub const EVENT_SRV_CANT_BIND_DUP_NAME: i32 = -1073739319i32; +pub const EVENT_SRV_CANT_BIND_TO_TRANSPORT: i32 = -2147481144i32; +pub const EVENT_SRV_CANT_CHANGE_DOMAIN_NAME: i32 = -2147481136i32; +pub const EVENT_SRV_CANT_CREATE_DEVICE: i32 = -1073739822i32; +pub const EVENT_SRV_CANT_CREATE_PROCESS: i32 = -1073739821i32; +pub const EVENT_SRV_CANT_CREATE_THREAD: i32 = -1073739820i32; +pub const EVENT_SRV_CANT_GROW_TABLE: i32 = -2147481639i32; +pub const EVENT_SRV_CANT_LOAD_DRIVER: i32 = -2147481140i32; +pub const EVENT_SRV_CANT_MAP_ERROR: i32 = -2147481138i32; +pub const EVENT_SRV_CANT_OPEN_NPFS: i32 = -1073739817i32; +pub const EVENT_SRV_CANT_RECREATE_SHARE: i32 = -2147481137i32; +pub const EVENT_SRV_CANT_START_SCAVENGER: i32 = -1073739814i32; +pub const EVENT_SRV_CANT_UNLOAD_DRIVER: i32 = -2147481139i32; +pub const EVENT_SRV_DISK_FULL: i32 = -2147481635i32; +pub const EVENT_SRV_DOS_ATTACK_DETECTED: i32 = -2147481623i32; +pub const EVENT_SRV_INVALID_REGISTRY_VALUE: i32 = -2147481142i32; +pub const EVENT_SRV_INVALID_REQUEST: i32 = -1073739818i32; +pub const EVENT_SRV_INVALID_SD: i32 = -2147481141i32; +pub const EVENT_SRV_IRP_STACK_SIZE: i32 = -1073739813i32; +pub const EVENT_SRV_KEY_NOT_CREATED: i32 = -1073739322i32; +pub const EVENT_SRV_KEY_NOT_FOUND: i32 = -1073739323i32; +pub const EVENT_SRV_NETWORK_ERROR: i32 = -2147481636i32; +pub const EVENT_SRV_NONPAGED_POOL_LIMIT: i32 = -1073739807i32; +pub const EVENT_SRV_NO_BLOCKING_IO: i32 = -2147481624i32; +pub const EVENT_SRV_NO_FREE_CONNECTIONS: i32 = -2147481626i32; +pub const EVENT_SRV_NO_FREE_RAW_WORK_ITEM: i32 = -2147481625i32; +pub const EVENT_SRV_NO_NONPAGED_POOL: i32 = -1073739805i32; +pub const EVENT_SRV_NO_PAGED_POOL: i32 = -1073739804i32; +pub const EVENT_SRV_NO_TRANSPORTS_BOUND: i32 = -1073739321i32; +pub const EVENT_SRV_NO_VIRTUAL_MEMORY: i32 = -1073739808i32; +pub const EVENT_SRV_NO_WORK_ITEM: i32 = -2147481627i32; +pub const EVENT_SRV_OUT_OF_WORK_ITEM_DOS: i32 = -2147481621i32; +pub const EVENT_SRV_PAGED_POOL_LIMIT: i32 = -1073739806i32; +pub const EVENT_SRV_RESOURCE_SHORTAGE: i32 = -1073739823i32; +pub const EVENT_SRV_SERVICE_FAILED: i32 = -1073739824i32; +pub const EVENT_SRV_TOO_MANY_DOS: i32 = -2147481622i32; +pub const EVENT_SRV_TXF_INIT_FAILED: i32 = -2147481135i32; +pub const EVENT_SRV_UNEXPECTED_DISC: i32 = -1073739819i32; +pub const EVENT_STREAMS_ALLOCB_FAILURE: i32 = -2147479647i32; +pub const EVENT_STREAMS_ALLOCB_FAILURE_CNT: i32 = -2147479646i32; +pub const EVENT_STREAMS_ESBALLOC_FAILURE: i32 = -2147479645i32; +pub const EVENT_STREAMS_ESBALLOC_FAILURE_CNT: i32 = -2147479644i32; +pub const EVENT_STREAMS_STRLOG: i32 = -1073737824i32; +pub const EVENT_TAKE_OWNERSHIP: i32 = -1073734796i32; +pub const EVENT_TCPIP6_STARTED: i32 = 1073744924i32; +pub const EVENT_TCPIP_ADAPTER_REG_FAILURE: i32 = -1073737633i32; +pub const EVENT_TCPIP_ADDRESS_CONFLICT1: i32 = -1073737626i32; +pub const EVENT_TCPIP_ADDRESS_CONFLICT2: i32 = -1073737625i32; +pub const EVENT_TCPIP_AUTOCONFIGURED_ADDRESS_LIMIT_REACHED: i32 = -2147479444i32; +pub const EVENT_TCPIP_AUTOCONFIGURED_ROUTE_LIMIT_REACHED: i32 = -2147479443i32; +pub const EVENT_TCPIP_CREATE_DEVICE_FAILED: i32 = -1073737724i32; +pub const EVENT_TCPIP_DHCP_INIT_FAILED: i32 = -2147479458i32; +pub const EVENT_TCPIP_INTERFACE_BIND_FAILURE: i32 = -1073737617i32; +pub const EVENT_TCPIP_INVALID_ADDRESS: i32 = -1073737637i32; +pub const EVENT_TCPIP_INVALID_DEFAULT_GATEWAY: i32 = -2147479456i32; +pub const EVENT_TCPIP_INVALID_MASK: i32 = -1073737636i32; +pub const EVENT_TCPIP_IPV4_UNINSTALLED: i32 = 1073746027i32; +pub const EVENT_TCPIP_IP_INIT_FAILED: i32 = -1073737628i32; +pub const EVENT_TCPIP_MEDIA_CONNECT: i32 = 1073746025i32; +pub const EVENT_TCPIP_MEDIA_DISCONNECT: i32 = 1073746026i32; +pub const EVENT_TCPIP_NO_ADAPTER_RESOURCES: i32 = -1073737635i32; +pub const EVENT_TCPIP_NO_ADDRESS_LIST: i32 = -1073737631i32; +pub const EVENT_TCPIP_NO_BINDINGS: i32 = -1073737629i32; +pub const EVENT_TCPIP_NO_MASK: i32 = -1073737638i32; +pub const EVENT_TCPIP_NO_MASK_LIST: i32 = -1073737630i32; +pub const EVENT_TCPIP_NO_RESOURCES_FOR_INIT: i32 = -1073737723i32; +pub const EVENT_TCPIP_NTE_CONTEXT_LIST_FAILURE: i32 = -1073737624i32; +pub const EVENT_TCPIP_OUT_OF_ORDER_FRAGMENTS_EXCEEDED: i32 = -2147479442i32; +pub const EVENT_TCPIP_PCF_CLEAR_FILTER_FAILURE: i32 = -1073737530i32; +pub const EVENT_TCPIP_PCF_MISSING_CAPABILITY: i32 = -2147479357i32; +pub const EVENT_TCPIP_PCF_MULTICAST_OID_ISSUE: i32 = -2147479358i32; +pub const EVENT_TCPIP_PCF_NO_ARP_FILTER: i32 = -2147479355i32; +pub const EVENT_TCPIP_PCF_SET_FILTER_FAILURE: i32 = -2147479356i32; +pub const EVENT_TCPIP_TCP_CONNECTIONS_PERF_IMPACTED: i32 = -2147479418i32; +pub const EVENT_TCPIP_TCP_CONNECT_LIMIT_REACHED: i32 = -2147479422i32; +pub const EVENT_TCPIP_TCP_GLOBAL_EPHEMERAL_PORT_SPACE_EXHAUSTED: i32 = -2147479417i32; +pub const EVENT_TCPIP_TCP_INIT_FAILED: i32 = -1073737599i32; +pub const EVENT_TCPIP_TCP_MPP_ATTACKS_DETECTED: i32 = -2147479419i32; +pub const EVENT_TCPIP_TCP_TIME_WAIT_COLLISION: i32 = -2147479421i32; +pub const EVENT_TCPIP_TCP_WSD_WS_RESTRICTED: i32 = -2147479420i32; +pub const EVENT_TCPIP_TOO_MANY_GATEWAYS: i32 = -2147479451i32; +pub const EVENT_TCPIP_TOO_MANY_NETS: i32 = -1073737639i32; +pub const EVENT_TCPIP_UDP_GLOBAL_EPHEMERAL_PORT_SPACE_EXHAUSTED: i32 = -2147479382i32; +pub const EVENT_TCPIP_UDP_LIMIT_REACHED: i32 = -2147479383i32; +pub const EVENT_TRANSACT_INVALID: i32 = -1073734812i32; +pub const EVENT_TRANSACT_TIMEOUT: i32 = -1073734813i32; +pub const EVENT_TRANSPORT_ADAPTER_NOT_FOUND: i32 = -1073732818i32; +pub const EVENT_TRANSPORT_BAD_PROTOCOL: i32 = 1073750835i32; +pub const EVENT_TRANSPORT_BINDING_FAILED: i32 = -1073732819i32; +pub const EVENT_TRANSPORT_QUERY_OID_FAILED: i32 = -1073732816i32; +pub const EVENT_TRANSPORT_REGISTER_FAILED: i32 = -1073732820i32; +pub const EVENT_TRANSPORT_RESOURCE_LIMIT: i32 = -2147474646i32; +pub const EVENT_TRANSPORT_RESOURCE_POOL: i32 = -2147474647i32; +pub const EVENT_TRANSPORT_RESOURCE_SPECIFIC: i32 = -2147474645i32; +pub const EVENT_TRANSPORT_SET_OID_FAILED: i32 = -1073732817i32; +pub const EVENT_TRANSPORT_TOO_MANY_LINKS: i32 = 1073750834i32; +pub const EVENT_TRANSPORT_TRANSFER_DATA: i32 = 1073750833i32; +pub const EVENT_TRK_INTERNAL_ERROR: i32 = -1073729324i32; +pub const EVENT_TRK_SERVICE_CORRUPT_LOG: i32 = -1073729321i32; +pub const EVENT_TRK_SERVICE_DUPLICATE_VOLIDS: i32 = 1073754331i32; +pub const EVENT_TRK_SERVICE_MOVE_QUOTA_EXCEEDED: i32 = -2147471140i32; +pub const EVENT_TRK_SERVICE_START_FAILURE: i32 = -1073729322i32; +pub const EVENT_TRK_SERVICE_START_SUCCESS: i32 = 1073754325i32; +pub const EVENT_TRK_SERVICE_VOLUME_CLAIM: i32 = 1073754330i32; +pub const EVENT_TRK_SERVICE_VOLUME_CREATE: i32 = 1073754329i32; +pub const EVENT_TRK_SERVICE_VOL_QUOTA_EXCEEDED: i32 = -2147471144i32; +pub const EVENT_UP_DRIVER_ON_MP: i32 = -1073735724i32; +pub const EVENT_WEBCLIENT_CLOSE_DELETE_FAILED: i32 = -2147468746i32; +pub const EVENT_WEBCLIENT_CLOSE_PROPPATCH_FAILED: i32 = -2147468745i32; +pub const EVENT_WEBCLIENT_CLOSE_PUT_FAILED: i32 = -2147468747i32; +pub const EVENT_WEBCLIENT_SETINFO_PROPPATCH_FAILED: i32 = -2147468744i32; +pub const EVENT_WINNAT_SESSION_LIMIT_REACHED: i32 = -2147466648i32; +pub const EVENT_WINSOCK_CLOSESOCKET_STUCK: i32 = -2147467646i32; +pub const EVENT_WINSOCK_TDI_FILTER_DETECTED: i32 = -2147467647i32; +pub const EVENT_WSK_OWNINGTHREAD_PARAMETER_IGNORED: i32 = -1073725824i32; +pub const EVLEN: u32 = 16u32; +pub const EXTRA_EXIT_POINT: i32 = -1073727524i32; +pub const EXTRA_EXIT_POINT_DELETED: i32 = -1073727520i32; +pub const EXTRA_EXIT_POINT_NOT_DELETED: i32 = -1073727519i32; +pub const EXTRA_VOLUME: i32 = -1073727521i32; +pub const EXTRA_VOLUME_DELETED: i32 = -1073727514i32; +pub const EXTRA_VOLUME_NOT_DELETED: i32 = -1073727513i32; +pub const FILTER_INTERDOMAIN_TRUST_ACCOUNT: NET_USER_ENUM_FILTER_FLAGS = 8u32; +pub const FILTER_NORMAL_ACCOUNT: NET_USER_ENUM_FILTER_FLAGS = 2u32; +pub const FILTER_SERVER_TRUST_ACCOUNT: NET_USER_ENUM_FILTER_FLAGS = 32u32; +pub const FILTER_TEMP_DUPLICATE_ACCOUNT: NET_USER_ENUM_FILTER_FLAGS = 1u32; +pub const FILTER_WORKSTATION_TRUST_ACCOUNT: NET_USER_ENUM_FILTER_FLAGS = 16u32; +pub const GNLEN: u32 = 256u32; +pub const GROUPIDMASK: u32 = 32768u32; +pub const GROUP_ALL_PARMNUM: u32 = 0u32; +pub const GROUP_ATTRIBUTES_PARMNUM: u32 = 3u32; +pub const GROUP_COMMENT_PARMNUM: u32 = 2u32; +pub const GROUP_NAME_PARMNUM: u32 = 1u32; +pub const GROUP_SPECIALGRP_ADMINS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ADMINS"); +pub const GROUP_SPECIALGRP_GUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("GUESTS"); +pub const GROUP_SPECIALGRP_LOCAL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LOCAL"); +pub const GROUP_SPECIALGRP_USERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("USERS"); +pub const HARDWARE_ADDRESS_LENGTH: u32 = 6u32; +pub const HELP_MSG_FILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NETH"); +pub const INTERFACE_INFO_REVISION_1: u32 = 1u32; +pub const INVALID_TRACEID: u32 = 4294967295u32; +pub const IPX_PROTOCOL_BASE: u32 = 131071u32; +pub const IPX_PROTOCOL_RIP: u32 = 131072u32; +pub const IR_PROMISCUOUS: u32 = 0u32; +pub const IR_PROMISCUOUS_MULTICAST: u32 = 1u32; +pub const JOB_ADD_CURRENT_DATE: u32 = 8u32; +pub const JOB_EXEC_ERROR: u32 = 2u32; +pub const JOB_NONINTERACTIVE: u32 = 16u32; +pub const JOB_RUNS_TODAY: u32 = 4u32; +pub const JOB_RUN_PERIODICALLY: u32 = 1u32; +pub const KNOWLEDGE_INCONSISTENCY_DETECTED: i32 = -1073727511i32; +pub const LG_INCLUDE_INDIRECT: u32 = 1u32; +pub const LM20_CNLEN: u32 = 15u32; +pub const LM20_DEVLEN: u32 = 8u32; +pub const LM20_DNLEN: u32 = 15u32; +pub const LM20_GNLEN: u32 = 20u32; +pub const LM20_MAXCOMMENTSZ: u32 = 48u32; +pub const LM20_NNLEN: u32 = 12u32; +pub const LM20_PATHLEN: u32 = 256u32; +pub const LM20_PWLEN: u32 = 14u32; +pub const LM20_QNLEN: u32 = 12u32; +pub const LM20_SERVICE_ACTIVE: u32 = 0u32; +pub const LM20_SERVICE_CONTINUE_PENDING: u32 = 4u32; +pub const LM20_SERVICE_PAUSED: u32 = 12u32; +pub const LM20_SERVICE_PAUSE_PENDING: u32 = 8u32; +pub const LM20_SNLEN: u32 = 15u32; +pub const LM20_STXTLEN: u32 = 63u32; +pub const LM20_UNCLEN: u32 = 17u32; +pub const LM20_UNLEN: u32 = 20u32; +pub const LM_REDIR_FAILURE: i32 = 1073756225i32; +pub const LOCALGROUP_COMMENT_PARMNUM: u32 = 2u32; +pub const LOCALGROUP_NAME_PARMNUM: u32 = 1u32; +pub const LOGFLAGS_BACKWARD: u32 = 1u32; +pub const LOGFLAGS_FORWARD: u32 = 0u32; +pub const LOGFLAGS_SEEK: u32 = 2u32; +pub const LOWER_GET_HINT_MASK: u32 = 65280u32; +pub const LOWER_HINT_MASK: u32 = 255u32; +pub const MACHINE_UNJOINED: i32 = -1073727507i32; +pub const MAJOR_VERSION_MASK: u32 = 15u32; +pub const MAXCOMMENTSZ: u32 = 256u32; +pub const MAXPERMENTRIES: u32 = 64u32; +pub const MAX_LANMAN_MESSAGE_ID: u32 = 5899u32; +pub const MAX_NERR: u32 = 2999u32; +pub const MAX_PASSWD_LEN: u32 = 256u32; +pub const MAX_PREFERRED_LENGTH: u32 = 4294967295u32; +pub const MAX_PROTOCOL_DLL_LEN: u32 = 48u32; +pub const MAX_PROTOCOL_NAME_LEN: u32 = 40u32; +pub const MESSAGE_FILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NETMSG"); +pub const MFE_BOUNDARY_REACHED: u32 = 6u32; +pub const MFE_IIF: u32 = 8u32; +pub const MFE_NOT_FORWARDING: u32 = 2u32; +pub const MFE_NOT_LAST_HOP: u32 = 10u32; +pub const MFE_NO_ERROR: u32 = 0u32; +pub const MFE_NO_MULTICAST: u32 = 7u32; +pub const MFE_NO_ROUTE: u32 = 9u32; +pub const MFE_NO_SPACE: u32 = 13u32; +pub const MFE_OIF_PRUNED: u32 = 5u32; +pub const MFE_OLD_ROUTER: u32 = 11u32; +pub const MFE_PROHIBITED: u32 = 12u32; +pub const MFE_PRUNED_UPSTREAM: u32 = 4u32; +pub const MFE_REACHED_CORE: u32 = 1u32; +pub const MFE_WRONG_IF: u32 = 3u32; +pub const MIN_LANMAN_MESSAGE_ID: u32 = 2100u32; +pub const MISSING_EXIT_POINT: i32 = -1073727523i32; +pub const MISSING_EXIT_POINT_CREATED: i32 = -1073727518i32; +pub const MISSING_EXIT_POINT_NOT_CREATED: i32 = -1073727517i32; +pub const MISSING_VOLUME: i32 = -1073727522i32; +pub const MISSING_VOLUME_CREATED: i32 = -1073727516i32; +pub const MISSING_VOLUME_NOT_CREATED: i32 = -1073727515i32; +pub const MODALS_DOMAIN_ID_PARMNUM: u32 = 9u32; +pub const MODALS_DOMAIN_NAME_PARMNUM: u32 = 8u32; +pub const MODALS_FORCE_LOGOFF_PARMNUM: u32 = 4u32; +pub const MODALS_LOCKOUT_DURATION_PARMNUM: u32 = 10u32; +pub const MODALS_LOCKOUT_OBSERVATION_WINDOW_PARMNUM: u32 = 11u32; +pub const MODALS_LOCKOUT_THRESHOLD_PARMNUM: u32 = 12u32; +pub const MODALS_MAX_PASSWD_AGE_PARMNUM: u32 = 2u32; +pub const MODALS_MIN_PASSWD_AGE_PARMNUM: u32 = 3u32; +pub const MODALS_MIN_PASSWD_LEN_PARMNUM: u32 = 1u32; +pub const MODALS_PASSWD_HIST_LEN_PARMNUM: u32 = 5u32; +pub const MODALS_PRIMARY_PARMNUM: u32 = 7u32; +pub const MODALS_ROLE_PARMNUM: u32 = 6u32; +pub const MRINFO_DISABLED_FLAG: u32 = 32u32; +pub const MRINFO_DOWN_FLAG: u32 = 16u32; +pub const MRINFO_LEAF_FLAG: u32 = 128u32; +pub const MRINFO_PIM_FLAG: u32 = 4u32; +pub const MRINFO_QUERIER_FLAG: u32 = 64u32; +pub const MRINFO_TUNNEL_FLAG: u32 = 1u32; +pub const MSGNAME_FORWARDED_FROM: u32 = 16u32; +pub const MSGNAME_FORWARDED_TO: u32 = 4u32; +pub const MSGNAME_NOT_FORWARDED: u32 = 0u32; +pub const MS_ROUTER_VERSION: u32 = 1536u32; +pub const MsaInfoCanInstall: MSA_INFO_STATE = 4i32; +pub const MsaInfoCannotInstall: MSA_INFO_STATE = 3i32; +pub const MsaInfoInstalled: MSA_INFO_STATE = 5i32; +pub const MsaInfoLevel0: MSA_INFO_LEVEL = 0i32; +pub const MsaInfoLevelMax: MSA_INFO_LEVEL = 1i32; +pub const MsaInfoNotExist: MSA_INFO_STATE = 1i32; +pub const MsaInfoNotService: MSA_INFO_STATE = 2i32; +pub const NCF_DONTEXPOSELOWER: COMPONENT_CHARACTERISTICS = 4096i32; +pub const NCF_FILTER: COMPONENT_CHARACTERISTICS = 1024i32; +pub const NCF_FIXED_BINDING: COMPONENT_CHARACTERISTICS = 131072i32; +pub const NCF_HAS_UI: COMPONENT_CHARACTERISTICS = 128i32; +pub const NCF_HIDDEN: COMPONENT_CHARACTERISTICS = 8i32; +pub const NCF_HIDE_BINDING: COMPONENT_CHARACTERISTICS = 8192i32; +pub const NCF_LOWER: SUPPORTS_BINDING_INTERFACE_FLAGS = 1i32; +pub const NCF_LW_FILTER: COMPONENT_CHARACTERISTICS = 262144i32; +pub const NCF_MULTIPORT_INSTANCED_ADAPTER: COMPONENT_CHARACTERISTICS = 64i32; +pub const NCF_NDIS_PROTOCOL: COMPONENT_CHARACTERISTICS = 16384i32; +pub const NCF_NOT_USER_REMOVABLE: COMPONENT_CHARACTERISTICS = 32i32; +pub const NCF_NO_SERVICE: COMPONENT_CHARACTERISTICS = 16i32; +pub const NCF_PHYSICAL: COMPONENT_CHARACTERISTICS = 4i32; +pub const NCF_SINGLE_INSTANCE: COMPONENT_CHARACTERISTICS = 256i32; +pub const NCF_SOFTWARE_ENUMERATED: COMPONENT_CHARACTERISTICS = 2i32; +pub const NCF_UPPER: SUPPORTS_BINDING_INTERFACE_FLAGS = 2i32; +pub const NCF_VIRTUAL: COMPONENT_CHARACTERISTICS = 1i32; +pub const NCN_ADD: BIND_FLAGS1 = 1i32; +pub const NCN_BINDING_PATH: BIND_FLAGS1 = 256i32; +pub const NCN_DISABLE: BIND_FLAGS1 = 32i32; +pub const NCN_ENABLE: BIND_FLAGS1 = 16i32; +pub const NCN_NET: BIND_FLAGS1 = 65536i32; +pub const NCN_NETCLIENT: BIND_FLAGS1 = 262144i32; +pub const NCN_NETSERVICE: BIND_FLAGS1 = 524288i32; +pub const NCN_NETTRANS: BIND_FLAGS1 = 131072i32; +pub const NCN_PROPERTYCHANGE: BIND_FLAGS1 = 512i32; +pub const NCN_REMOVE: BIND_FLAGS1 = 2i32; +pub const NCN_UPDATE: BIND_FLAGS1 = 4i32; +pub const NCRL_NDIS: NCPNP_RECONFIG_LAYER = 1i32; +pub const NCRL_TDI: NCPNP_RECONFIG_LAYER = 2i32; +pub const NCRP_QUERY_PROPERTY_UI: NCRP_FLAGS = 1i32; +pub const NCRP_SHOW_PROPERTY_UI: NCRP_FLAGS = 2i32; +pub const NELOG_AT_Exec_Err: u32 = 3178u32; +pub const NELOG_AT_cannot_read: u32 = 3174u32; +pub const NELOG_AT_cannot_write: u32 = 3129u32; +pub const NELOG_AT_sched_err: u32 = 3175u32; +pub const NELOG_AT_schedule_file_created: u32 = 3176u32; +pub const NELOG_Access_File_Bad: u32 = 3122u32; +pub const NELOG_Build_Name: u32 = 3170u32; +pub const NELOG_Cant_Make_Msg_File: u32 = 3130u32; +pub const NELOG_DiskFT: u32 = 3221u32; +pub const NELOG_DriverNotLoaded: u32 = 5727u32; +pub const NELOG_Entries_Lost: u32 = 3114u32; +pub const NELOG_Error_in_DLL: u32 = 3256u32; +pub const NELOG_Exec_Netservr_NoMem: u32 = 3131u32; +pub const NELOG_FT_ErrLog_Too_Large: u32 = 3258u32; +pub const NELOG_FT_Update_In_Progress: u32 = 3259u32; +pub const NELOG_FailedToGetComputerName: u32 = 5726u32; +pub const NELOG_FailedToRegisterSC: u32 = 5724u32; +pub const NELOG_FailedToSetServiceStatus: u32 = 5725u32; +pub const NELOG_File_Changed: u32 = 3253u32; +pub const NELOG_Files_Dont_Fit: u32 = 3254u32; +pub const NELOG_HardErr_From_Server: u32 = 3182u32; +pub const NELOG_HotFix: u32 = 3181u32; +pub const NELOG_Init_Chardev_Err: u32 = 3124u32; +pub const NELOG_Init_Exec_Fail: u32 = 3105u32; +pub const NELOG_Init_OpenCreate_Err: u32 = 3110u32; +pub const NELOG_Init_Seg_Overflow: u32 = 3120u32; +pub const NELOG_Internal_Error: u32 = 3100u32; +pub const NELOG_Invalid_Config_File: u32 = 3252u32; +pub const NELOG_Invalid_Config_Line: u32 = 3251u32; +pub const NELOG_Ioctl_Error: u32 = 3108u32; +pub const NELOG_Joined_Domain: u32 = 3260u32; +pub const NELOG_Joined_Workgroup: u32 = 3261u32; +pub const NELOG_Lazy_Write_Err: u32 = 3180u32; +pub const NELOG_LocalSecFail1: u32 = 3183u32; +pub const NELOG_LocalSecFail2: u32 = 3184u32; +pub const NELOG_LocalSecFail3: u32 = 3185u32; +pub const NELOG_LocalSecGeneralFail: u32 = 3186u32; +pub const NELOG_Mail_Slt_Err: u32 = 3173u32; +pub const NELOG_Mailslot_err: u32 = 3127u32; +pub const NELOG_Message_Send: u32 = 3172u32; +pub const NELOG_Missing_Parameter: u32 = 3250u32; +pub const NELOG_Msg_Log_Err: u32 = 3150u32; +pub const NELOG_Msg_Sem_Shutdown: u32 = 3141u32; +pub const NELOG_Msg_Shutdown: u32 = 3140u32; +pub const NELOG_Msg_Unexpected_SMB_Type: u32 = 3152u32; +pub const NELOG_Name_Expansion: u32 = 3171u32; +pub const NELOG_Ncb_Error: u32 = 3106u32; +pub const NELOG_Ncb_TooManyErr: u32 = 3126u32; +pub const NELOG_NetBios: u32 = 3111u32; +pub const NELOG_NetLogonFailedToInitializeAuthzRm: u32 = 5821u32; +pub const NELOG_NetLogonFailedToInitializeRPCSD: u32 = 5822u32; +pub const NELOG_NetWkSta_Internal_Error: u32 = 3190u32; +pub const NELOG_NetWkSta_NCB_Err: u32 = 3195u32; +pub const NELOG_NetWkSta_No_Resource: u32 = 3191u32; +pub const NELOG_NetWkSta_Reset_Err: u32 = 3197u32; +pub const NELOG_NetWkSta_SMB_Err: u32 = 3192u32; +pub const NELOG_NetWkSta_Stuck_VC_Err: u32 = 3194u32; +pub const NELOG_NetWkSta_Too_Many: u32 = 3198u32; +pub const NELOG_NetWkSta_VC_Err: u32 = 3193u32; +pub const NELOG_NetWkSta_Write_Behind_Err: u32 = 3196u32; +pub const NELOG_Net_Not_Started: u32 = 3107u32; +pub const NELOG_NetlogonAddNameFailure: u32 = 5741u32; +pub const NELOG_NetlogonAuthDCFail: u32 = 3210u32; +pub const NELOG_NetlogonAuthDomainDowngraded: u32 = 5791u32; +pub const NELOG_NetlogonAuthNoDomainController: u32 = 5719u32; +pub const NELOG_NetlogonAuthNoTrustLsaSecret: u32 = 5720u32; +pub const NELOG_NetlogonAuthNoTrustSamAccount: u32 = 5721u32; +pub const NELOG_NetlogonAuthNoUplevelDomainController: u32 = 5790u32; +pub const NELOG_NetlogonBadSiteName: u32 = 5779u32; +pub const NELOG_NetlogonBadSubnetName: u32 = 5780u32; +pub const NELOG_NetlogonBrowserDriver: u32 = 5740u32; +pub const NELOG_NetlogonChangeLogCorrupt: u32 = 5705u32; +pub const NELOG_NetlogonDcOldSiteCovered: u32 = 5794u32; +pub const NELOG_NetlogonDcSiteCovered: u32 = 5784u32; +pub const NELOG_NetlogonDcSiteNotCovered: u32 = 5785u32; +pub const NELOG_NetlogonDcSiteNotCoveredAuto: u32 = 5795u32; +pub const NELOG_NetlogonDnsDeregAborted: u32 = 5808u32; +pub const NELOG_NetlogonDnsHostNameLowerCasingFailed: u32 = 5825u32; +pub const NELOG_NetlogonDownLevelLogoffFailed: u32 = 5708u32; +pub const NELOG_NetlogonDownLevelLogonFailed: u32 = 5707u32; +pub const NELOG_NetlogonDuplicateMachineAccounts: u32 = 5738u32; +pub const NELOG_NetlogonDynamicDnsDeregisterFailure: u32 = 5775u32; +pub const NELOG_NetlogonDynamicDnsFailure: u32 = 5782u32; +pub const NELOG_NetlogonDynamicDnsRegisterFailure: u32 = 5774u32; +pub const NELOG_NetlogonDynamicDnsServerFailure: u32 = 5781u32; +pub const NELOG_NetlogonFailedAccountDelta: u32 = 5735u32; +pub const NELOG_NetlogonFailedDnsHostNameUpdate: u32 = 5789u32; +pub const NELOG_NetlogonFailedDomainDelta: u32 = 5729u32; +pub const NELOG_NetlogonFailedFileCreate: u32 = 5776u32; +pub const NELOG_NetlogonFailedGlobalGroupDelta: u32 = 5730u32; +pub const NELOG_NetlogonFailedLocalGroupDelta: u32 = 5731u32; +pub const NELOG_NetlogonFailedPolicyDelta: u32 = 5733u32; +pub const NELOG_NetlogonFailedPrimary: u32 = 3223u32; +pub const NELOG_NetlogonFailedSecretDelta: u32 = 5736u32; +pub const NELOG_NetlogonFailedSpnUpdate: u32 = 5788u32; +pub const NELOG_NetlogonFailedToAddAuthzRpcInterface: u32 = 5820u32; +pub const NELOG_NetlogonFailedToAddRpcInterface: u32 = 5702u32; +pub const NELOG_NetlogonFailedToCreateShare: u32 = 5706u32; +pub const NELOG_NetlogonFailedToReadMailslot: u32 = 5703u32; +pub const NELOG_NetlogonFailedToRegisterSC: u32 = 5704u32; +pub const NELOG_NetlogonFailedToUpdateTrustList: u32 = 5701u32; +pub const NELOG_NetlogonFailedTrustedDomainDelta: u32 = 5734u32; +pub const NELOG_NetlogonFailedUserDelta: u32 = 5732u32; +pub const NELOG_NetlogonFullSyncCallFailed: u32 = 5714u32; +pub const NELOG_NetlogonFullSyncCallSuccess: u32 = 5713u32; +pub const NELOG_NetlogonFullSyncFailed: u32 = 5718u32; +pub const NELOG_NetlogonFullSyncSuccess: u32 = 5717u32; +pub const NELOG_NetlogonGcOldSiteCovered: u32 = 5796u32; +pub const NELOG_NetlogonGcSiteCovered: u32 = 5786u32; +pub const NELOG_NetlogonGcSiteNotCovered: u32 = 5787u32; +pub const NELOG_NetlogonGcSiteNotCoveredAuto: u32 = 5797u32; +pub const NELOG_NetlogonGetSubnetToSite: u32 = 5777u32; +pub const NELOG_NetlogonInvalidDwordParameterValue: u32 = 5804u32; +pub const NELOG_NetlogonInvalidGenericParameterValue: u32 = 5803u32; +pub const NELOG_NetlogonLanmanBdcsNotAllowed: u32 = 5772u32; +pub const NELOG_NetlogonMachinePasswdSetSucceeded: u32 = 5823u32; +pub const NELOG_NetlogonMsaPasswdSetSucceeded: u32 = 5824u32; +pub const NELOG_NetlogonNTLogoffFailed: u32 = 5710u32; +pub const NELOG_NetlogonNTLogonFailed: u32 = 5709u32; +pub const NELOG_NetlogonNdncOldSiteCovered: u32 = 5798u32; +pub const NELOG_NetlogonNdncSiteCovered: u32 = 5792u32; +pub const NELOG_NetlogonNdncSiteNotCovered: u32 = 5793u32; +pub const NELOG_NetlogonNdncSiteNotCoveredAuto: u32 = 5799u32; +pub const NELOG_NetlogonNoAddressToSiteMapping: u32 = 5802u32; +pub const NELOG_NetlogonNoDynamicDns: u32 = 5773u32; +pub const NELOG_NetlogonNoDynamicDnsManual: u32 = 5806u32; +pub const NELOG_NetlogonNoSiteForClient: u32 = 5778u32; +pub const NELOG_NetlogonNoSiteForClients: u32 = 5807u32; +pub const NELOG_NetlogonPartialSiteMappingForClients: u32 = 5810u32; +pub const NELOG_NetlogonPartialSyncCallFailed: u32 = 5712u32; +pub const NELOG_NetlogonPartialSyncCallSuccess: u32 = 5711u32; +pub const NELOG_NetlogonPartialSyncFailed: u32 = 5716u32; +pub const NELOG_NetlogonPartialSyncSuccess: u32 = 5715u32; +pub const NELOG_NetlogonPasswdSetFailed: u32 = 3224u32; +pub const NELOG_NetlogonRejectedRemoteDynamicDnsDeregister: u32 = 5814u32; +pub const NELOG_NetlogonRejectedRemoteDynamicDnsRegister: u32 = 5813u32; +pub const NELOG_NetlogonRemoteDynamicDnsDeregisterFailure: u32 = 5812u32; +pub const NELOG_NetlogonRemoteDynamicDnsRegisterFailure: u32 = 5811u32; +pub const NELOG_NetlogonRemoteDynamicDnsUpdateRequestFailure: u32 = 5815u32; +pub const NELOG_NetlogonRequireSignOrSealError: u32 = 3227u32; +pub const NELOG_NetlogonRpcCallCancelled: u32 = 5783u32; +pub const NELOG_NetlogonRpcPortRequestFailure: u32 = 5809u32; +pub const NELOG_NetlogonSSIInitError: u32 = 5700u32; +pub const NELOG_NetlogonServerAuthFailed: u32 = 5722u32; +pub const NELOG_NetlogonServerAuthFailedNoAccount: u32 = 5805u32; +pub const NELOG_NetlogonServerAuthNoTrustSamAccount: u32 = 5723u32; +pub const NELOG_NetlogonSessionTypeWrong: u32 = 5770u32; +pub const NELOG_NetlogonSpnCrackNamesFailure: u32 = 5801u32; +pub const NELOG_NetlogonSpnMultipleSamAccountNames: u32 = 5800u32; +pub const NELOG_NetlogonSyncError: u32 = 3226u32; +pub const NELOG_NetlogonSystemError: u32 = 5737u32; +pub const NELOG_NetlogonTooManyGlobalGroups: u32 = 5739u32; +pub const NELOG_NetlogonTrackingError: u32 = 3225u32; +pub const NELOG_NetlogonUserValidationReqInitialTimeOut: u32 = 5816u32; +pub const NELOG_NetlogonUserValidationReqRecurringTimeOut: u32 = 5817u32; +pub const NELOG_NetlogonUserValidationReqWaitInitialWarning: u32 = 5818u32; +pub const NELOG_NetlogonUserValidationReqWaitRecurringWarning: u32 = 5819u32; +pub const NELOG_NoTranportLoaded: u32 = 5728u32; +pub const NELOG_OEM_Code: u32 = 3299u32; +pub const NELOG_ReleaseMem_Alert: u32 = 3128u32; +pub const NELOG_Remote_API: u32 = 3125u32; +pub const NELOG_ReplAccessDenied: u32 = 3222u32; +pub const NELOG_ReplBadExport: u32 = 3219u32; +pub const NELOG_ReplBadImport: u32 = 3218u32; +pub const NELOG_ReplBadMsg: u32 = 3215u32; +pub const NELOG_ReplCannotMasterDir: u32 = 3207u32; +pub const NELOG_ReplLogonFailed: u32 = 3211u32; +pub const NELOG_ReplLostMaster: u32 = 3209u32; +pub const NELOG_ReplMaxFiles: u32 = 3213u32; +pub const NELOG_ReplMaxTreeDepth: u32 = 3214u32; +pub const NELOG_ReplNetErr: u32 = 3212u32; +pub const NELOG_ReplSignalFileErr: u32 = 3220u32; +pub const NELOG_ReplSysErr: u32 = 3216u32; +pub const NELOG_ReplUpdateError: u32 = 3208u32; +pub const NELOG_ReplUserCurDir: u32 = 3206u32; +pub const NELOG_ReplUserLoged: u32 = 3217u32; +pub const NELOG_Resource_Shortage: u32 = 3101u32; +pub const NELOG_RplAdapterResource: u32 = 5756u32; +pub const NELOG_RplBackupDatabase: u32 = 5765u32; +pub const NELOG_RplCheckConfigs: u32 = 5760u32; +pub const NELOG_RplCheckSecurity: u32 = 5764u32; +pub const NELOG_RplCreateProfiles: u32 = 5761u32; +pub const NELOG_RplFileCopy: u32 = 5757u32; +pub const NELOG_RplFileDelete: u32 = 5758u32; +pub const NELOG_RplFilePerms: u32 = 5759u32; +pub const NELOG_RplInitDatabase: u32 = 5766u32; +pub const NELOG_RplInitRestoredDatabase: u32 = 5769u32; +pub const NELOG_RplMessages: u32 = 5742u32; +pub const NELOG_RplRegistry: u32 = 5762u32; +pub const NELOG_RplReplaceRPLDISK: u32 = 5763u32; +pub const NELOG_RplRestoreDatabaseFailure: u32 = 5767u32; +pub const NELOG_RplRestoreDatabaseSuccess: u32 = 5768u32; +pub const NELOG_RplSystem: u32 = 5744u32; +pub const NELOG_RplUpgradeDBTo40: u32 = 5771u32; +pub const NELOG_RplWkstaBbcFile: u32 = 5751u32; +pub const NELOG_RplWkstaFileChecksum: u32 = 5749u32; +pub const NELOG_RplWkstaFileLineCount: u32 = 5750u32; +pub const NELOG_RplWkstaFileOpen: u32 = 5746u32; +pub const NELOG_RplWkstaFileRead: u32 = 5747u32; +pub const NELOG_RplWkstaFileSize: u32 = 5752u32; +pub const NELOG_RplWkstaInternal: u32 = 5753u32; +pub const NELOG_RplWkstaMemory: u32 = 5748u32; +pub const NELOG_RplWkstaNetwork: u32 = 5755u32; +pub const NELOG_RplWkstaTimeout: u32 = 5745u32; +pub const NELOG_RplWkstaWrongVersion: u32 = 5754u32; +pub const NELOG_RplXnsBoot: u32 = 5743u32; +pub const NELOG_SMB_Illegal: u32 = 3112u32; +pub const NELOG_Server_Lock_Failure: u32 = 3132u32; +pub const NELOG_Service_Fail: u32 = 3113u32; +pub const NELOG_Srv_Close_Failure: u32 = 3205u32; +pub const NELOG_Srv_No_Mem_Grow: u32 = 3121u32; +pub const NELOG_Srv_Thread_Failure: u32 = 3204u32; +pub const NELOG_Srvnet_NB_Open: u32 = 3177u32; +pub const NELOG_Srvnet_Not_Started: u32 = 3123u32; +pub const NELOG_System_Error: u32 = 3257u32; +pub const NELOG_System_Semaphore: u32 = 3109u32; +pub const NELOG_UPS_CannotOpenDriver: u32 = 3233u32; +pub const NELOG_UPS_CmdFileConfig: u32 = 3235u32; +pub const NELOG_UPS_CmdFileError: u32 = 3232u32; +pub const NELOG_UPS_CmdFileExec: u32 = 3236u32; +pub const NELOG_UPS_PowerBack: u32 = 3234u32; +pub const NELOG_UPS_PowerOut: u32 = 3230u32; +pub const NELOG_UPS_Shutdown: u32 = 3231u32; +pub const NELOG_Unable_To_Lock_Segment: u32 = 3102u32; +pub const NELOG_Unable_To_Unlock_Segment: u32 = 3103u32; +pub const NELOG_Uninstall_Service: u32 = 3104u32; +pub const NELOG_VIO_POPUP_ERR: u32 = 3151u32; +pub const NELOG_Wksta_Bad_Mailslot_SMB: u32 = 3165u32; +pub const NELOG_Wksta_BiosThreadFailure: u32 = 3162u32; +pub const NELOG_Wksta_Compname: u32 = 3161u32; +pub const NELOG_Wksta_HostTab_Full: u32 = 3164u32; +pub const NELOG_Wksta_Infoseg: u32 = 3160u32; +pub const NELOG_Wksta_IniSeg: u32 = 3163u32; +pub const NELOG_Wksta_SSIRelogon: u32 = 3167u32; +pub const NELOG_Wksta_UASInit: u32 = 3166u32; +pub const NELOG_Wrong_DLL_Version: u32 = 3255u32; +pub const NERR_ACFFileIOFail: u32 = 2229u32; +pub const NERR_ACFNoParent: u32 = 2232u32; +pub const NERR_ACFNoRoom: u32 = 2228u32; +pub const NERR_ACFNotFound: u32 = 2219u32; +pub const NERR_ACFNotLoaded: u32 = 2227u32; +pub const NERR_ACFTooManyLists: u32 = 2230u32; +pub const NERR_AccountExpired: u32 = 2239u32; +pub const NERR_AccountLockedOut: u32 = 2702u32; +pub const NERR_AccountReuseBlockedByPolicy: u32 = 2732u32; +pub const NERR_AccountUndefined: u32 = 2238u32; +pub const NERR_AcctLimitExceeded: u32 = 2434u32; +pub const NERR_ActiveConns: u32 = 2402u32; +pub const NERR_AddForwarded: u32 = 2275u32; +pub const NERR_AlertExists: u32 = 2430u32; +pub const NERR_AlreadyCloudDomainJoined: u32 = 2700u32; +pub const NERR_AlreadyExists: u32 = 2276u32; +pub const NERR_AlreadyForwarded: u32 = 2274u32; +pub const NERR_AlreadyLoggedOn: u32 = 2200u32; +pub const NERR_BASE: u32 = 2100u32; +pub const NERR_BadAsgType: u32 = 2251u32; +pub const NERR_BadComponent: u32 = 2356u32; +pub const NERR_BadControlRecv: u32 = 2193u32; +pub const NERR_BadDest: u32 = 2382u32; +pub const NERR_BadDev: u32 = 2341u32; +pub const NERR_BadDevString: u32 = 2340u32; +pub const NERR_BadDomainJoinInfo: u32 = 2712u32; +pub const NERR_BadDosFunction: u32 = 2502u32; +pub const NERR_BadDosRetCode: u32 = 2500u32; +pub const NERR_BadEventName: u32 = 2143u32; +pub const NERR_BadFileCheckSum: u32 = 2504u32; +pub const NERR_BadOfflineJoinInfo: u32 = 2710u32; +pub const NERR_BadPassword: u32 = 2203u32; +pub const NERR_BadPasswordCore: u32 = 2403u32; +pub const NERR_BadQueueDevString: u32 = 2334u32; +pub const NERR_BadQueuePriority: u32 = 2335u32; +pub const NERR_BadReceive: u32 = 2282u32; +pub const NERR_BadRecipient: u32 = 2433u32; +pub const NERR_BadServiceName: u32 = 2185u32; +pub const NERR_BadServiceProgName: u32 = 2188u32; +pub const NERR_BadSource: u32 = 2381u32; +pub const NERR_BadTransactConfig: u32 = 2141u32; +pub const NERR_BadUasConfig: u32 = 2450u32; +pub const NERR_BadUsername: u32 = 2202u32; +pub const NERR_BrowserConfiguredToNotRun: u32 = 2550u32; +pub const NERR_BrowserNotStarted: u32 = 2139u32; +pub const NERR_BrowserTableIncomplete: u32 = 2319u32; +pub const NERR_BufTooSmall: u32 = 2123u32; +pub const NERR_CallingRplSrvr: u32 = 2515u32; +pub const NERR_CanNotGrowSegment: u32 = 2233u32; +pub const NERR_CanNotGrowUASFile: u32 = 2456u32; +pub const NERR_CannotUnjoinAadDomain: u32 = 2727u32; +pub const NERR_CannotUpdateAadHostName: u32 = 2728u32; +pub const NERR_CantConnectRplSrvr: u32 = 2513u32; +pub const NERR_CantCreateJoinInfo: u32 = 2711u32; +pub const NERR_CantLoadOfflineHive: u32 = 2717u32; +pub const NERR_CantOpenImageFile: u32 = 2514u32; +pub const NERR_CantType: u32 = 2357u32; +pub const NERR_CantVerifyHostname: u32 = 2716u32; +pub const NERR_CfgCompNotFound: u32 = 2146u32; +pub const NERR_CfgParamNotFound: u32 = 2147u32; +pub const NERR_ClientNameNotFound: u32 = 2312u32; +pub const NERR_CommDevInUse: u32 = 2343u32; +pub const NERR_ComputerAccountNotFound: u32 = 2697u32; +pub const NERR_ConnectionInsecure: u32 = 2718u32; +pub const NERR_DCNotFound: u32 = 2453u32; +pub const NERR_DS8DCNotFound: u32 = 2722u32; +pub const NERR_DS8DCRequired: u32 = 2720u32; +pub const NERR_DS9DCNotFound: u32 = 2725u32; +pub const NERR_DataTypeInvalid: u32 = 2167u32; +pub const NERR_DatabaseUpToDate: u32 = 2248u32; +pub const NERR_DefaultJoinRequired: u32 = 2694u32; +pub const NERR_DelComputerName: u32 = 2278u32; +pub const NERR_DeleteLater: u32 = 2298u32; +pub const NERR_DestExists: u32 = 2153u32; +pub const NERR_DestIdle: u32 = 2158u32; +pub const NERR_DestInvalidOp: u32 = 2159u32; +pub const NERR_DestInvalidState: u32 = 2162u32; +pub const NERR_DestNoRoom: u32 = 2157u32; +pub const NERR_DestNotFound: u32 = 2152u32; +pub const NERR_DevInUse: u32 = 2404u32; +pub const NERR_DevInvalidOpCode: u32 = 2331u32; +pub const NERR_DevNotFound: u32 = 2332u32; +pub const NERR_DevNotOpen: u32 = 2333u32; +pub const NERR_DevNotRedirected: u32 = 2107u32; +pub const NERR_DeviceIsShared: u32 = 2252u32; +pub const NERR_DeviceNotShared: u32 = 2311u32; +pub const NERR_DeviceShareConflict: u32 = 2318u32; +pub const NERR_DfsAlreadyShared: u32 = 2664u32; +pub const NERR_DfsBadRenamePath: u32 = 2671u32; +pub const NERR_DfsCantCreateJunctionPoint: u32 = 2669u32; +pub const NERR_DfsCantRemoveDfsRoot: u32 = 2682u32; +pub const NERR_DfsCantRemoveLastServerShare: u32 = 2677u32; +pub const NERR_DfsChildOrParentInDfs: u32 = 2683u32; +pub const NERR_DfsCyclicalName: u32 = 2674u32; +pub const NERR_DfsDataIsIdentical: u32 = 2681u32; +pub const NERR_DfsDuplicateService: u32 = 2676u32; +pub const NERR_DfsInconsistent: u32 = 2679u32; +pub const NERR_DfsInternalCorruption: u32 = 2660u32; +pub const NERR_DfsInternalError: u32 = 2690u32; +pub const NERR_DfsLeafVolume: u32 = 2667u32; +pub const NERR_DfsNoSuchServer: u32 = 2673u32; +pub const NERR_DfsNoSuchShare: u32 = 2665u32; +pub const NERR_DfsNoSuchVolume: u32 = 2662u32; +pub const NERR_DfsNotALeafVolume: u32 = 2666u32; +pub const NERR_DfsNotSupportedInServerDfs: u32 = 2675u32; +pub const NERR_DfsServerNotDfsAware: u32 = 2670u32; +pub const NERR_DfsServerUpgraded: u32 = 2680u32; +pub const NERR_DfsVolumeAlreadyExists: u32 = 2663u32; +pub const NERR_DfsVolumeDataCorrupt: u32 = 2661u32; +pub const NERR_DfsVolumeHasMultipleServers: u32 = 2668u32; +pub const NERR_DfsVolumeIsInterDfs: u32 = 2678u32; +pub const NERR_DfsVolumeIsOffline: u32 = 2672u32; +pub const NERR_DifferentServers: u32 = 2383u32; +pub const NERR_DriverNotFound: u32 = 2166u32; +pub const NERR_DupNameReboot: u32 = 2144u32; +pub const NERR_DuplicateHostName: u32 = 2729u32; +pub const NERR_DuplicateName: u32 = 2297u32; +pub const NERR_DuplicateShare: u32 = 2118u32; +pub const NERR_ErrCommRunSrv: u32 = 2389u32; +pub const NERR_ErrorExecingGhost: u32 = 2391u32; +pub const NERR_ExecFailure: u32 = 2315u32; +pub const NERR_FileIdNotFound: u32 = 2314u32; +pub const NERR_GroupExists: u32 = 2223u32; +pub const NERR_GroupNotFound: u32 = 2220u32; +pub const NERR_GrpMsgProcessor: u32 = 2280u32; +pub const NERR_HostNameTooLong: u32 = 2730u32; +pub const NERR_ImageParamErr: u32 = 2508u32; +pub const NERR_InUseBySpooler: u32 = 2342u32; +pub const NERR_IncompleteDel: u32 = 2299u32; +pub const NERR_InternalError: u32 = 2140u32; +pub const NERR_InvalidAPI: u32 = 2142u32; +pub const NERR_InvalidComputer: u32 = 2351u32; +pub const NERR_InvalidDatabase: u32 = 2247u32; +pub const NERR_InvalidDevice: u32 = 2294u32; +pub const NERR_InvalidLana: u32 = 2400u32; +pub const NERR_InvalidLogSeek: u32 = 2440u32; +pub const NERR_InvalidLogonHours: u32 = 2241u32; +pub const NERR_InvalidMachineNameForJoin: u32 = 2724u32; +pub const NERR_InvalidMaxUsers: u32 = 2122u32; +pub const NERR_InvalidUASOp: u32 = 2451u32; +pub const NERR_InvalidWorkgroupName: u32 = 2695u32; +pub const NERR_InvalidWorkstation: u32 = 2240u32; +pub const NERR_IsDfsShare: u32 = 2321u32; +pub const NERR_ItemNotFound: u32 = 2115u32; +pub const NERR_JobInvalidState: u32 = 2164u32; +pub const NERR_JobNoRoom: u32 = 2156u32; +pub const NERR_JobNotFound: u32 = 2151u32; +pub const NERR_JoinPerformedMustRestart: u32 = 2713u32; +pub const NERR_LDAPCapableDCRequired: u32 = 2721u32; +pub const NERR_LanmanIniError: u32 = 2131u32; +pub const NERR_LastAdmin: u32 = 2452u32; +pub const NERR_LineTooLong: u32 = 2149u32; +pub const NERR_LocalDrive: u32 = 2405u32; +pub const NERR_LocalForward: u32 = 2279u32; +pub const NERR_LogFileChanged: u32 = 2378u32; +pub const NERR_LogFileCorrupt: u32 = 2379u32; +pub const NERR_LogOverflow: u32 = 2377u32; +pub const NERR_LogonDomainExists: u32 = 2216u32; +pub const NERR_LogonNoUserPath: u32 = 2211u32; +pub const NERR_LogonScriptError: u32 = 2212u32; +pub const NERR_LogonServerConflict: u32 = 2210u32; +pub const NERR_LogonServerNotFound: u32 = 2215u32; +pub const NERR_LogonTrackingError: u32 = 2454u32; +pub const NERR_LogonsPaused: u32 = 2209u32; +pub const NERR_MaxLenExceeded: u32 = 2354u32; +pub const NERR_MsgAlreadyStarted: u32 = 2271u32; +pub const NERR_MsgInitFailed: u32 = 2272u32; +pub const NERR_MsgNotStarted: u32 = 2284u32; +pub const NERR_MultipleNets: u32 = 2300u32; +pub const NERR_NameInUse: u32 = 2283u32; +pub const NERR_NameNotForwarded: u32 = 2288u32; +pub const NERR_NameNotFound: u32 = 2273u32; +pub const NERR_NameUsesIncompatibleCodePage: u32 = 2696u32; +pub const NERR_NetNameNotFound: u32 = 2310u32; +pub const NERR_NetNotStarted: u32 = 2102u32; +pub const NERR_NetlogonNotStarted: u32 = 2455u32; +pub const NERR_NetworkError: u32 = 2136u32; +pub const NERR_NoAlternateServers: u32 = 2467u32; +pub const NERR_NoCommDevs: u32 = 2337u32; +pub const NERR_NoComputerName: u32 = 2270u32; +pub const NERR_NoForwardName: u32 = 2286u32; +pub const NERR_NoJoinPending: u32 = 2714u32; +pub const NERR_NoNetworkResource: u32 = 2105u32; +pub const NERR_NoOfflineJoinInfo: u32 = 2709u32; +pub const NERR_NoRoom: u32 = 2119u32; +pub const NERR_NoRplBootSystem: u32 = 2505u32; +pub const NERR_NoSuchAlert: u32 = 2432u32; +pub const NERR_NoSuchConnection: u32 = 2462u32; +pub const NERR_NoSuchServer: u32 = 2460u32; +pub const NERR_NoSuchSession: u32 = 2461u32; +pub const NERR_NonDosFloppyUsed: u32 = 2510u32; +pub const NERR_NonValidatedLogon: u32 = 2217u32; +pub const NERR_NotInCache: u32 = 2235u32; +pub const NERR_NotInDispatchTbl: u32 = 2192u32; +pub const NERR_NotLocalDomain: u32 = 2320u32; +pub const NERR_NotLocalName: u32 = 2285u32; +pub const NERR_NotLoggedOn: u32 = 2201u32; +pub const NERR_NotPrimary: u32 = 2226u32; +pub const NERR_OpenFiles: u32 = 2401u32; +pub const NERR_PasswordCantChange: u32 = 2243u32; +pub const NERR_PasswordExpired: u32 = 2242u32; +pub const NERR_PasswordFilterError: u32 = 2705u32; +pub const NERR_PasswordHistConflict: u32 = 2244u32; +pub const NERR_PasswordMismatch: u32 = 2458u32; +pub const NERR_PasswordMustChange: u32 = 2701u32; +pub const NERR_PasswordNotComplexEnough: u32 = 2704u32; +pub const NERR_PasswordTooLong: u32 = 2703u32; +pub const NERR_PasswordTooRecent: u32 = 2246u32; +pub const NERR_PasswordTooShort: u32 = 2245u32; +pub const NERR_PausedRemote: u32 = 2281u32; +pub const NERR_PersonalSku: u32 = 2698u32; +pub const NERR_PlainTextSecretsRequired: u32 = 2726u32; +pub const NERR_ProcNoRespond: u32 = 2160u32; +pub const NERR_ProcNotFound: u32 = 2168u32; +pub const NERR_ProfileCleanup: u32 = 2372u32; +pub const NERR_ProfileFileTooBig: u32 = 2370u32; +pub const NERR_ProfileLoadErr: u32 = 2374u32; +pub const NERR_ProfileOffset: u32 = 2371u32; +pub const NERR_ProfileSaveErr: u32 = 2375u32; +pub const NERR_ProfileUnknownCmd: u32 = 2373u32; +pub const NERR_ProgNeedsExtraMem: u32 = 2501u32; +pub const NERR_ProvisioningBlobUnsupported: u32 = 2719u32; +pub const NERR_QExists: u32 = 2154u32; +pub const NERR_QInvalidState: u32 = 2163u32; +pub const NERR_QNoRoom: u32 = 2155u32; +pub const NERR_QNotFound: u32 = 2150u32; +pub const NERR_QueueNotFound: u32 = 2338u32; +pub const NERR_RPL_CONNECTED: u32 = 2519u32; +pub const NERR_RedirectedPath: u32 = 2117u32; +pub const NERR_RemoteBootFailed: u32 = 2503u32; +pub const NERR_RemoteErr: u32 = 2127u32; +pub const NERR_RemoteFull: u32 = 2287u32; +pub const NERR_RemoteOnly: u32 = 2106u32; +pub const NERR_ResourceExists: u32 = 2225u32; +pub const NERR_ResourceNotFound: u32 = 2222u32; +pub const NERR_RplAdapterInfoCorrupted: u32 = 2625u32; +pub const NERR_RplAdapterNameUnavailable: u32 = 2633u32; +pub const NERR_RplAdapterNotFound: u32 = 2637u32; +pub const NERR_RplBackupDatabase: u32 = 2636u32; +pub const NERR_RplBadDatabase: u32 = 2612u32; +pub const NERR_RplBadRegistry: u32 = 2611u32; +pub const NERR_RplBootInUse: u32 = 2635u32; +pub const NERR_RplBootInfoCorrupted: u32 = 2628u32; +pub const NERR_RplBootNameUnavailable: u32 = 2640u32; +pub const NERR_RplBootNotFound: u32 = 2631u32; +pub const NERR_RplBootRestart: u32 = 2511u32; +pub const NERR_RplBootServiceTerm: u32 = 2517u32; +pub const NERR_RplBootStartFailed: u32 = 2518u32; +pub const NERR_RplCannotEnum: u32 = 2615u32; +pub const NERR_RplConfigInfoCorrupted: u32 = 2623u32; +pub const NERR_RplConfigNameUnavailable: u32 = 2641u32; +pub const NERR_RplConfigNotEmpty: u32 = 2634u32; +pub const NERR_RplConfigNotFound: u32 = 2624u32; +pub const NERR_RplIncompatibleProfile: u32 = 2632u32; +pub const NERR_RplInternal: u32 = 2626u32; +pub const NERR_RplLoadrDiskErr: u32 = 2507u32; +pub const NERR_RplLoadrNetBiosErr: u32 = 2506u32; +pub const NERR_RplNeedsRPLUSERAcct: u32 = 2630u32; +pub const NERR_RplNoAdaptersStarted: u32 = 2610u32; +pub const NERR_RplNotRplServer: u32 = 2614u32; +pub const NERR_RplProfileInfoCorrupted: u32 = 2619u32; +pub const NERR_RplProfileNameUnavailable: u32 = 2621u32; +pub const NERR_RplProfileNotEmpty: u32 = 2622u32; +pub const NERR_RplProfileNotFound: u32 = 2620u32; +pub const NERR_RplRplfilesShare: u32 = 2613u32; +pub const NERR_RplSrvrCallFailed: u32 = 2512u32; +pub const NERR_RplVendorInfoCorrupted: u32 = 2627u32; +pub const NERR_RplVendorNameUnavailable: u32 = 2639u32; +pub const NERR_RplVendorNotFound: u32 = 2638u32; +pub const NERR_RplWkstaInfoCorrupted: u32 = 2616u32; +pub const NERR_RplWkstaNameUnavailable: u32 = 2618u32; +pub const NERR_RplWkstaNeedsUserAcct: u32 = 2629u32; +pub const NERR_RplWkstaNotFound: u32 = 2617u32; +pub const NERR_RunSrvPaused: u32 = 2385u32; +pub const NERR_SameAsComputerName: u32 = 2253u32; +pub const NERR_ServerNotStarted: u32 = 2114u32; +pub const NERR_ServiceCtlBusy: u32 = 2187u32; +pub const NERR_ServiceCtlNotValid: u32 = 2191u32; +pub const NERR_ServiceCtlTimeout: u32 = 2186u32; +pub const NERR_ServiceEntryLocked: u32 = 2183u32; +pub const NERR_ServiceInstalled: u32 = 2182u32; +pub const NERR_ServiceKillProc: u32 = 2190u32; +pub const NERR_ServiceNotCtrl: u32 = 2189u32; +pub const NERR_ServiceNotInstalled: u32 = 2184u32; +pub const NERR_ServiceNotStarting: u32 = 2194u32; +pub const NERR_ServiceTableFull: u32 = 2181u32; +pub const NERR_ServiceTableLocked: u32 = 2180u32; +pub const NERR_SetupAlreadyJoined: u32 = 2691u32; +pub const NERR_SetupCheckDNSConfig: u32 = 2699u32; +pub const NERR_SetupDomainController: u32 = 2693u32; +pub const NERR_SetupNotJoined: u32 = 2692u32; +pub const NERR_ShareMem: u32 = 2104u32; +pub const NERR_ShareNotFound: u32 = 2392u32; +pub const NERR_SourceIsDir: u32 = 2380u32; +pub const NERR_SpeGroupOp: u32 = 2234u32; +pub const NERR_SpoolNoMemory: u32 = 2165u32; +pub const NERR_SpoolerNotLoaded: u32 = 2161u32; +pub const NERR_StandaloneLogon: u32 = 2214u32; +pub const NERR_StartingRplBoot: u32 = 2516u32; +pub const NERR_Success: u32 = 0u32; +pub const NERR_SyncRequired: u32 = 2249u32; +pub const NERR_TargetVersionUnsupported: u32 = 2723u32; +pub const NERR_TimeDiffAtDC: u32 = 2457u32; +pub const NERR_TmpFile: u32 = 2316u32; +pub const NERR_TooManyAlerts: u32 = 2431u32; +pub const NERR_TooManyConnections: u32 = 2465u32; +pub const NERR_TooManyEntries: u32 = 2362u32; +pub const NERR_TooManyFiles: u32 = 2466u32; +pub const NERR_TooManyHostNames: u32 = 2731u32; +pub const NERR_TooManyImageParams: u32 = 2509u32; +pub const NERR_TooManyItems: u32 = 2121u32; +pub const NERR_TooManyNames: u32 = 2277u32; +pub const NERR_TooManyServers: u32 = 2463u32; +pub const NERR_TooManySessions: u32 = 2464u32; +pub const NERR_TooMuchData: u32 = 2317u32; +pub const NERR_TruncatedBroadcast: u32 = 2289u32; +pub const NERR_TryDownLevel: u32 = 2470u32; +pub const NERR_UPSDriverNotStarted: u32 = 2480u32; +pub const NERR_UPSInvalidCommPort: u32 = 2482u32; +pub const NERR_UPSInvalidConfig: u32 = 2481u32; +pub const NERR_UPSShutdownFailed: u32 = 2484u32; +pub const NERR_UPSSignalAsserted: u32 = 2483u32; +pub const NERR_UnableToAddName_F: u32 = 2205u32; +pub const NERR_UnableToAddName_W: u32 = 2204u32; +pub const NERR_UnableToDelName_F: u32 = 2207u32; +pub const NERR_UnableToDelName_W: u32 = 2206u32; +pub const NERR_UnknownDevDir: u32 = 2116u32; +pub const NERR_UnknownServer: u32 = 2103u32; +pub const NERR_UseNotFound: u32 = 2250u32; +pub const NERR_UserExists: u32 = 2224u32; +pub const NERR_UserInGroup: u32 = 2236u32; +pub const NERR_UserLogon: u32 = 2231u32; +pub const NERR_UserNotFound: u32 = 2221u32; +pub const NERR_UserNotInGroup: u32 = 2237u32; +pub const NERR_ValuesNotSet: u32 = 2715u32; +pub const NERR_WkstaInconsistentState: u32 = 2137u32; +pub const NERR_WkstaNotStarted: u32 = 2138u32; +pub const NERR_WriteFault: u32 = 2295u32; +pub const NETBIOS_NAME_LEN: u32 = 16u32; +pub const NETCFG_CLIENT_CID_MS_MSClient: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ms_msclient"); +pub const NETCFG_E_ACTIVE_RAS_CONNECTIONS: ::windows_sys::core::HRESULT = -2147180506i32; +pub const NETCFG_E_ADAPTER_NOT_FOUND: ::windows_sys::core::HRESULT = -2147180505i32; +pub const NETCFG_E_ALREADY_INITIALIZED: ::windows_sys::core::HRESULT = -2147180512i32; +pub const NETCFG_E_COMPONENT_REMOVED_PENDING_REBOOT: ::windows_sys::core::HRESULT = -2147180504i32; +pub const NETCFG_E_DUPLICATE_INSTANCEID: ::windows_sys::core::HRESULT = -2147180501i32; +pub const NETCFG_E_IN_USE: ::windows_sys::core::HRESULT = -2147180510i32; +pub const NETCFG_E_MAX_FILTER_LIMIT: ::windows_sys::core::HRESULT = -2147180503i32; +pub const NETCFG_E_NEED_REBOOT: ::windows_sys::core::HRESULT = -2147180507i32; +pub const NETCFG_E_NOT_INITIALIZED: ::windows_sys::core::HRESULT = -2147180511i32; +pub const NETCFG_E_NO_WRITE_LOCK: ::windows_sys::core::HRESULT = -2147180508i32; +pub const NETCFG_E_VMSWITCH_ACTIVE_OVER_ADAPTER: ::windows_sys::core::HRESULT = -2147180502i32; +pub const NETCFG_SERVICE_CID_MS_NETBIOS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ms_netbios"); +pub const NETCFG_SERVICE_CID_MS_PSCHED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ms_pschedpc"); +pub const NETCFG_SERVICE_CID_MS_SERVER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ms_server"); +pub const NETCFG_SERVICE_CID_MS_WLBS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ms_wlbs"); +pub const NETCFG_S_CAUSED_SETUP_CHANGE: ::windows_sys::core::HRESULT = 303140i32; +pub const NETCFG_S_COMMIT_NOW: ::windows_sys::core::HRESULT = 303141i32; +pub const NETCFG_S_DISABLE_QUERY: ::windows_sys::core::HRESULT = 303138i32; +pub const NETCFG_S_REBOOT: ::windows_sys::core::HRESULT = 303136i32; +pub const NETCFG_S_STILL_REFERENCED: ::windows_sys::core::HRESULT = 303139i32; +pub const NETCFG_TRANS_CID_MS_APPLETALK: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ms_appletalk"); +pub const NETCFG_TRANS_CID_MS_NETBEUI: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ms_netbeui"); +pub const NETCFG_TRANS_CID_MS_NETMON: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ms_netmon"); +pub const NETCFG_TRANS_CID_MS_NWIPX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ms_nwipx"); +pub const NETCFG_TRANS_CID_MS_NWSPX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ms_nwspx"); +pub const NETCFG_TRANS_CID_MS_TCPIP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ms_tcpip"); +pub const NETLOGON_CONTROL_BACKUP_CHANGE_LOG: u32 = 65532u32; +pub const NETLOGON_CONTROL_BREAKPOINT: u32 = 65535u32; +pub const NETLOGON_CONTROL_CHANGE_PASSWORD: u32 = 9u32; +pub const NETLOGON_CONTROL_FIND_USER: u32 = 8u32; +pub const NETLOGON_CONTROL_FORCE_DNS_REG: u32 = 11u32; +pub const NETLOGON_CONTROL_PDC_REPLICATE: u32 = 4u32; +pub const NETLOGON_CONTROL_QUERY: u32 = 1u32; +pub const NETLOGON_CONTROL_QUERY_DNS_REG: u32 = 12u32; +pub const NETLOGON_CONTROL_QUERY_ENC_TYPES: u32 = 13u32; +pub const NETLOGON_CONTROL_REDISCOVER: u32 = 5u32; +pub const NETLOGON_CONTROL_REPLICATE: u32 = 2u32; +pub const NETLOGON_CONTROL_SET_DBFLAG: u32 = 65534u32; +pub const NETLOGON_CONTROL_SYNCHRONIZE: u32 = 3u32; +pub const NETLOGON_CONTROL_TC_QUERY: u32 = 6u32; +pub const NETLOGON_CONTROL_TC_VERIFY: u32 = 10u32; +pub const NETLOGON_CONTROL_TRANSPORT_NOTIFY: u32 = 7u32; +pub const NETLOGON_CONTROL_TRUNCATE_LOG: u32 = 65533u32; +pub const NETLOGON_CONTROL_UNLOAD_NETLOGON_DLL: u32 = 65531u32; +pub const NETLOGON_DNS_UPDATE_FAILURE: u32 = 64u32; +pub const NETLOGON_FULL_SYNC_REPLICATION: u32 = 4u32; +pub const NETLOGON_HAS_IP: u32 = 16u32; +pub const NETLOGON_HAS_TIMESERV: u32 = 32u32; +pub const NETLOGON_REDO_NEEDED: u32 = 8u32; +pub const NETLOGON_REPLICATION_IN_PROGRESS: u32 = 2u32; +pub const NETLOGON_REPLICATION_NEEDED: u32 = 1u32; +pub const NETLOGON_VERIFY_STATUS_RETURNED: u32 = 128u32; +pub const NETLOG_NetlogonNonWindowsSupportsSecureRpc: u32 = 5826u32; +pub const NETLOG_NetlogonRpcBacklogLimitFailure: u32 = 5837u32; +pub const NETLOG_NetlogonRpcBacklogLimitSet: u32 = 5836u32; +pub const NETLOG_NetlogonUnsecureRpcClient: u32 = 5827u32; +pub const NETLOG_NetlogonUnsecureRpcMachineAllowedBySsdl: u32 = 5830u32; +pub const NETLOG_NetlogonUnsecureRpcTrust: u32 = 5828u32; +pub const NETLOG_NetlogonUnsecureRpcTrustAllowedBySsdl: u32 = 5831u32; +pub const NETLOG_NetlogonUnsecuredRpcMachineTemporarilyAllowed: u32 = 5829u32; +pub const NETLOG_PassThruFilterError_Request_AdminOverride: u32 = 5834u32; +pub const NETLOG_PassThruFilterError_Request_Blocked: u32 = 5835u32; +pub const NETLOG_PassThruFilterError_Summary_AdminOverride: u32 = 5832u32; +pub const NETLOG_PassThruFilterError_Summary_Blocked: u32 = 5833u32; +pub const NETMAN_VARTYPE_HARDWARE_ADDRESS: u32 = 1u32; +pub const NETMAN_VARTYPE_STRING: u32 = 2u32; +pub const NETMAN_VARTYPE_ULONG: u32 = 0u32; +pub const NETSETUP_ACCT_CREATE: NET_JOIN_DOMAIN_JOIN_OPTIONS = 2u32; +pub const NETSETUP_ACCT_DELETE: u32 = 4u32; +pub const NETSETUP_ALT_SAMACCOUNTNAME: u32 = 131072u32; +pub const NETSETUP_AMBIGUOUS_DC: NET_JOIN_DOMAIN_JOIN_OPTIONS = 4096u32; +pub const NETSETUP_DEFER_SPN_SET: NET_JOIN_DOMAIN_JOIN_OPTIONS = 256u32; +pub const NETSETUP_DNS_NAME_CHANGES_ONLY: u32 = 4096u32; +pub const NETSETUP_DOMAIN_JOIN_IF_JOINED: NET_JOIN_DOMAIN_JOIN_OPTIONS = 32u32; +pub const NETSETUP_DONT_CONTROL_SERVICES: NET_JOIN_DOMAIN_JOIN_OPTIONS = 16384u32; +pub const NETSETUP_FORCE_SPN_SET: NET_JOIN_DOMAIN_JOIN_OPTIONS = 65536u32; +pub const NETSETUP_IGNORE_UNSUPPORTED_FLAGS: NET_JOIN_DOMAIN_JOIN_OPTIONS = 268435456u32; +pub const NETSETUP_INSTALL_INVOCATION: u32 = 262144u32; +pub const NETSETUP_JOIN_DC_ACCOUNT: NET_JOIN_DOMAIN_JOIN_OPTIONS = 512u32; +pub const NETSETUP_JOIN_DOMAIN: NET_JOIN_DOMAIN_JOIN_OPTIONS = 1u32; +pub const NETSETUP_JOIN_READONLY: NET_JOIN_DOMAIN_JOIN_OPTIONS = 2048u32; +pub const NETSETUP_JOIN_UNSECURE: NET_JOIN_DOMAIN_JOIN_OPTIONS = 64u32; +pub const NETSETUP_JOIN_WITH_NEW_NAME: NET_JOIN_DOMAIN_JOIN_OPTIONS = 1024u32; +pub const NETSETUP_MACHINE_PWD_PASSED: NET_JOIN_DOMAIN_JOIN_OPTIONS = 128u32; +pub const NETSETUP_NO_ACCT_REUSE: NET_JOIN_DOMAIN_JOIN_OPTIONS = 131072u32; +pub const NETSETUP_NO_NETLOGON_CACHE: NET_JOIN_DOMAIN_JOIN_OPTIONS = 8192u32; +pub const NETSETUP_PROVISIONING_PARAMS_CURRENT_VERSION: u32 = 2u32; +pub const NETSETUP_PROVISIONING_PARAMS_WIN8_VERSION: u32 = 1u32; +pub const NETSETUP_PROVISION_CHECK_PWD_ONLY: u32 = 2147483648u32; +pub const NETSETUP_PROVISION_DOWNLEVEL_PRIV_SUPPORT: NETSETUP_PROVISION = 1u32; +pub const NETSETUP_PROVISION_ONLINE_CALLER: NET_REQUEST_PROVISION_OPTIONS = 1073741824u32; +pub const NETSETUP_PROVISION_PERSISTENTSITE: u32 = 32u32; +pub const NETSETUP_PROVISION_REUSE_ACCOUNT: NETSETUP_PROVISION = 2u32; +pub const NETSETUP_PROVISION_ROOT_CA_CERTS: NETSETUP_PROVISION = 16u32; +pub const NETSETUP_PROVISION_SKIP_ACCOUNT_SEARCH: NETSETUP_PROVISION = 8u32; +pub const NETSETUP_PROVISION_USE_DEFAULT_PASSWORD: NETSETUP_PROVISION = 4u32; +pub const NETSETUP_SET_MACHINE_NAME: NET_JOIN_DOMAIN_JOIN_OPTIONS = 32768u32; +pub const NETSETUP_WIN9X_UPGRADE: NET_JOIN_DOMAIN_JOIN_OPTIONS = 16u32; +pub const NET_DFS_ENUM: i32 = 1073756324i32; +pub const NET_DFS_ENUMEX: i32 = 1073756325i32; +pub const NET_IGNORE_UNSUPPORTED_FLAGS: u32 = 1u32; +pub const NET_VALIDATE_BAD_PASSWORD_COUNT: u32 = 8u32; +pub const NET_VALIDATE_BAD_PASSWORD_TIME: u32 = 2u32; +pub const NET_VALIDATE_LOCKOUT_TIME: u32 = 4u32; +pub const NET_VALIDATE_PASSWORD_HISTORY: u32 = 32u32; +pub const NET_VALIDATE_PASSWORD_HISTORY_LENGTH: u32 = 16u32; +pub const NET_VALIDATE_PASSWORD_LAST_SET: u32 = 1u32; +pub const NON_VALIDATED_LOGON: u32 = 3u32; +pub const NOT_A_DFS_PATH: i32 = 1073756224i32; +pub const NO_PERMISSION_REQUIRED: u32 = 1u32; +pub const NSF_COMPONENT_UPDATE: NETWORK_UPGRADE_TYPE = 512i32; +pub const NSF_POSTSYSINSTALL: NETWORK_INSTALL_TIME = 2i32; +pub const NSF_PRIMARYINSTALL: NETWORK_INSTALL_TIME = 1i32; +pub const NSF_WIN16_UPGRADE: NETWORK_UPGRADE_TYPE = 16i32; +pub const NSF_WIN95_UPGRADE: NETWORK_UPGRADE_TYPE = 32i32; +pub const NSF_WINNT_SBS_UPGRADE: NETWORK_UPGRADE_TYPE = 256i32; +pub const NSF_WINNT_SVR_UPGRADE: NETWORK_UPGRADE_TYPE = 128i32; +pub const NSF_WINNT_WKS_UPGRADE: NETWORK_UPGRADE_TYPE = 64i32; +pub const NTFRSPRF_COLLECT_RPC_BINDING_ERROR_CONN: i32 = -1073728292i32; +pub const NTFRSPRF_COLLECT_RPC_BINDING_ERROR_SET: i32 = -1073728293i32; +pub const NTFRSPRF_COLLECT_RPC_CALL_ERROR_CONN: i32 = -1073728290i32; +pub const NTFRSPRF_COLLECT_RPC_CALL_ERROR_SET: i32 = -1073728291i32; +pub const NTFRSPRF_OPEN_RPC_BINDING_ERROR_CONN: i32 = -1073728296i32; +pub const NTFRSPRF_OPEN_RPC_BINDING_ERROR_SET: i32 = -1073728297i32; +pub const NTFRSPRF_OPEN_RPC_CALL_ERROR_CONN: i32 = -1073728294i32; +pub const NTFRSPRF_OPEN_RPC_CALL_ERROR_SET: i32 = -1073728295i32; +pub const NTFRSPRF_REGISTRY_ERROR_CONN: i32 = -1073728286i32; +pub const NTFRSPRF_REGISTRY_ERROR_SET: i32 = -1073728287i32; +pub const NTFRSPRF_VIRTUALALLOC_ERROR_CONN: i32 = -1073728288i32; +pub const NTFRSPRF_VIRTUALALLOC_ERROR_SET: i32 = -1073728289i32; +pub const NULL_USERSETINFO_PASSWD: ::windows_sys::core::PCSTR = ::windows_sys::core::s!(" "); +pub const NWSAP_DISPLAY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NW Sap Agent"); +pub const NWSAP_EVENT_BADWANFILTER_VALUE: i32 = -1073733302i32; +pub const NWSAP_EVENT_BIND_FAILED: i32 = -1073733320i32; +pub const NWSAP_EVENT_CARDLISTEVENT_FAIL: i32 = -1073733301i32; +pub const NWSAP_EVENT_CARDMALLOC_FAILED: i32 = -1073733316i32; +pub const NWSAP_EVENT_CREATELPCEVENT_ERROR: i32 = -1073733305i32; +pub const NWSAP_EVENT_CREATELPCPORT_ERROR: i32 = -1073733306i32; +pub const NWSAP_EVENT_GETSOCKNAME_FAILED: i32 = -1073733319i32; +pub const NWSAP_EVENT_HASHTABLE_MALLOC_FAILED: i32 = -1073733308i32; +pub const NWSAP_EVENT_INVALID_FILTERNAME: i32 = -2147475123i32; +pub const NWSAP_EVENT_KEY_NOT_FOUND: i32 = -1073733324i32; +pub const NWSAP_EVENT_LPCHANDLEMEMORY_ERROR: i32 = -1073733303i32; +pub const NWSAP_EVENT_LPCLISTENMEMORY_ERROR: i32 = -1073733304i32; +pub const NWSAP_EVENT_NOCARDS: i32 = -1073733315i32; +pub const NWSAP_EVENT_OPTBCASTINADDR_FAILED: i32 = -1073733317i32; +pub const NWSAP_EVENT_OPTEXTENDEDADDR_FAILED: i32 = -1073733318i32; +pub const NWSAP_EVENT_OPTMAXADAPTERNUM_ERROR: i32 = -1073733293i32; +pub const NWSAP_EVENT_RECVSEM_FAIL: i32 = -1073733313i32; +pub const NWSAP_EVENT_SDMDEVENT_FAIL: i32 = -1073733300i32; +pub const NWSAP_EVENT_SENDEVENT_FAIL: i32 = -1073733312i32; +pub const NWSAP_EVENT_SETOPTBCAST_FAILED: i32 = -1073733321i32; +pub const NWSAP_EVENT_SOCKET_FAILED: i32 = -1073733322i32; +pub const NWSAP_EVENT_STARTLPCWORKER_ERROR: i32 = -1073733307i32; +pub const NWSAP_EVENT_STARTRECEIVE_ERROR: i32 = -1073733311i32; +pub const NWSAP_EVENT_STARTWANCHECK_ERROR: i32 = -1073733294i32; +pub const NWSAP_EVENT_STARTWANWORKER_ERROR: i32 = -1073733295i32; +pub const NWSAP_EVENT_STARTWORKER_ERROR: i32 = -1073733310i32; +pub const NWSAP_EVENT_TABLE_MALLOC_FAILED: i32 = -1073733309i32; +pub const NWSAP_EVENT_THREADEVENT_FAIL: i32 = -1073733314i32; +pub const NWSAP_EVENT_WANBIND_FAILED: i32 = -1073733296i32; +pub const NWSAP_EVENT_WANEVENT_ERROR: i32 = -1073733291i32; +pub const NWSAP_EVENT_WANHANDLEMEMORY_ERROR: i32 = -1073733292i32; +pub const NWSAP_EVENT_WANSEM_FAIL: i32 = -1073733298i32; +pub const NWSAP_EVENT_WANSOCKET_FAILED: i32 = -1073733297i32; +pub const NWSAP_EVENT_WSASTARTUP_FAILED: i32 = -1073733323i32; +pub const NetAllComputerNames: NET_COMPUTER_NAME_TYPE = 2i32; +pub const NetAlternateComputerNames: NET_COMPUTER_NAME_TYPE = 1i32; +pub const NetComputerNameTypeMax: NET_COMPUTER_NAME_TYPE = 3i32; +pub const NetPrimaryComputerName: NET_COMPUTER_NAME_TYPE = 0i32; +pub const NetProvisioning: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2aa2b5fe_b846_4d07_810c_b21ee45320e3); +pub const NetSetupDnsMachine: NETSETUP_NAME_TYPE = 5i32; +pub const NetSetupDomain: NETSETUP_NAME_TYPE = 3i32; +pub const NetSetupDomainName: NETSETUP_JOIN_STATUS = 3i32; +pub const NetSetupMachine: NETSETUP_NAME_TYPE = 1i32; +pub const NetSetupNonExistentDomain: NETSETUP_NAME_TYPE = 4i32; +pub const NetSetupUnjoined: NETSETUP_JOIN_STATUS = 1i32; +pub const NetSetupUnknown: NETSETUP_NAME_TYPE = 0i32; +pub const NetSetupUnknownStatus: NETSETUP_JOIN_STATUS = 0i32; +pub const NetSetupWorkgroup: NETSETUP_NAME_TYPE = 2i32; +pub const NetSetupWorkgroupName: NETSETUP_JOIN_STATUS = 2i32; +pub const NetValidateAuthentication: NET_VALIDATE_PASSWORD_TYPE = 1i32; +pub const NetValidatePasswordChange: NET_VALIDATE_PASSWORD_TYPE = 2i32; +pub const NetValidatePasswordReset: NET_VALIDATE_PASSWORD_TYPE = 3i32; +pub const OBO_COMPONENT: OBO_TOKEN_TYPE = 2i32; +pub const OBO_SOFTWARE: OBO_TOKEN_TYPE = 3i32; +pub const OBO_USER: OBO_TOKEN_TYPE = 1i32; +pub const OS2MSG_FILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BASE"); +pub const PARMNUM_ALL: u32 = 0u32; +pub const PARMNUM_BASE_INFOLEVEL: u32 = 1000u32; +pub const PARM_ERROR_NONE: u32 = 0u32; +pub const PARM_ERROR_UNKNOWN: u32 = 4294967295u32; +pub const PASSWORD_EXPIRED: u32 = 2u32; +pub const PATHLEN: u32 = 256u32; +pub const PLATFORM_ID_DOS: u32 = 300u32; +pub const PLATFORM_ID_NT: u32 = 500u32; +pub const PLATFORM_ID_OS2: u32 = 400u32; +pub const PLATFORM_ID_OSF: u32 = 600u32; +pub const PLATFORM_ID_VMS: u32 = 700u32; +pub const PREFIX_MISMATCH: i32 = -1073727510i32; +pub const PREFIX_MISMATCH_FIXED: i32 = -1073727509i32; +pub const PREFIX_MISMATCH_NOT_FIXED: i32 = -1073727508i32; +pub const PRJOB_COMPLETE: u32 = 4u32; +pub const PRJOB_DELETED: u32 = 32768u32; +pub const PRJOB_DESTNOPAPER: u32 = 256u32; +pub const PRJOB_DESTOFFLINE: u32 = 32u32; +pub const PRJOB_DESTPAUSED: u32 = 64u32; +pub const PRJOB_DEVSTATUS: u32 = 508u32; +pub const PRJOB_ERROR: u32 = 16u32; +pub const PRJOB_INTERV: u32 = 8u32; +pub const PRJOB_NOTIFY: u32 = 128u32; +pub const PRJOB_QSTATUS: u32 = 3u32; +pub const PRJOB_QS_PAUSED: u32 = 1u32; +pub const PRJOB_QS_PRINTING: u32 = 3u32; +pub const PRJOB_QS_QUEUED: u32 = 0u32; +pub const PRJOB_QS_SPOOLING: u32 = 2u32; +pub const PROTO_IPV6_DHCP: u32 = 999u32; +pub const PROTO_IP_ALG: u32 = 10010u32; +pub const PROTO_IP_BGMP: u32 = 11u32; +pub const PROTO_IP_BOOTP: u32 = 9999u32; +pub const PROTO_IP_DHCP_ALLOCATOR: u32 = 10004u32; +pub const PROTO_IP_DIFFSERV: u32 = 10008u32; +pub const PROTO_IP_DNS_PROXY: u32 = 10003u32; +pub const PROTO_IP_DTP: u32 = 10013u32; +pub const PROTO_IP_FTP: u32 = 10012u32; +pub const PROTO_IP_H323: u32 = 10011u32; +pub const PROTO_IP_IGMP: u32 = 10u32; +pub const PROTO_IP_MGM: u32 = 10009u32; +pub const PROTO_IP_MSDP: u32 = 9u32; +pub const PROTO_IP_NAT: u32 = 10005u32; +pub const PROTO_IP_VRRP: u32 = 112u32; +pub const PROTO_TYPE_MCAST: u32 = 1u32; +pub const PROTO_TYPE_MS0: u32 = 2u32; +pub const PROTO_TYPE_MS1: u32 = 3u32; +pub const PROTO_TYPE_UCAST: u32 = 0u32; +pub const PROTO_VENDOR_MS0: u32 = 0u32; +pub const PROTO_VENDOR_MS1: u32 = 311u32; +pub const PROTO_VENDOR_MS2: u32 = 16383u32; +pub const PWLEN: u32 = 256u32; +pub const QNLEN: u32 = 80u32; +pub const RCUIF_DEMAND_DIAL: RASCON_UIINFO_FLAGS = 2i32; +pub const RCUIF_DISABLE_CLASS_BASED_ROUTE: RASCON_UIINFO_FLAGS = 32768i32; +pub const RCUIF_ENABLE_NBT: RASCON_UIINFO_FLAGS = 1024i32; +pub const RCUIF_NOT_ADMIN: RASCON_UIINFO_FLAGS = 4i32; +pub const RCUIF_USE_DISABLE_REGISTER_DNS: RASCON_UIINFO_FLAGS = 256i32; +pub const RCUIF_USE_HEADER_COMPRESSION: RASCON_UIINFO_FLAGS = 128i32; +pub const RCUIF_USE_IPv4_EXPLICIT_METRIC: RASCON_UIINFO_FLAGS = 64i32; +pub const RCUIF_USE_IPv4_NAME_SERVERS: RASCON_UIINFO_FLAGS = 16i32; +pub const RCUIF_USE_IPv4_REMOTE_GATEWAY: RASCON_UIINFO_FLAGS = 32i32; +pub const RCUIF_USE_IPv4_STATICADDRESS: RASCON_UIINFO_FLAGS = 8i32; +pub const RCUIF_USE_IPv6_EXPLICIT_METRIC: RASCON_UIINFO_FLAGS = 16384i32; +pub const RCUIF_USE_IPv6_NAME_SERVERS: RASCON_UIINFO_FLAGS = 4096i32; +pub const RCUIF_USE_IPv6_REMOTE_GATEWAY: RASCON_UIINFO_FLAGS = 8192i32; +pub const RCUIF_USE_IPv6_STATICADDRESS: RASCON_UIINFO_FLAGS = 2048i32; +pub const RCUIF_USE_PRIVATE_DNS_SUFFIX: RASCON_UIINFO_FLAGS = 512i32; +pub const RCUIF_VPN: RASCON_UIINFO_FLAGS = 1i32; +pub const REGISTER_PROTOCOL_ENTRY_POINT_STRING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("RegisterProtocol"); +pub const REPL_EXPORT_EXTENT_INFOLEVEL: u32 = 1001u32; +pub const REPL_EXPORT_INTEGRITY_INFOLEVEL: u32 = 1000u32; +pub const REPL_EXTENT_FILE: u32 = 1u32; +pub const REPL_EXTENT_TREE: u32 = 2u32; +pub const REPL_GUARDTIME_INFOLEVEL: u32 = 1002u32; +pub const REPL_INTEGRITY_FILE: u32 = 1u32; +pub const REPL_INTEGRITY_TREE: u32 = 2u32; +pub const REPL_INTERVAL_INFOLEVEL: u32 = 1000u32; +pub const REPL_PULSE_INFOLEVEL: u32 = 1001u32; +pub const REPL_RANDOM_INFOLEVEL: u32 = 1003u32; +pub const REPL_ROLE_BOTH: u32 = 3u32; +pub const REPL_ROLE_EXPORT: u32 = 1u32; +pub const REPL_ROLE_IMPORT: u32 = 2u32; +pub const REPL_STATE_NEVER_REPLICATED: u32 = 3u32; +pub const REPL_STATE_NO_MASTER: u32 = 1u32; +pub const REPL_STATE_NO_SYNC: u32 = 2u32; +pub const REPL_STATE_OK: u32 = 0u32; +pub const REPL_UNLOCK_FORCE: u32 = 1u32; +pub const REPL_UNLOCK_NOFORCE: u32 = 0u32; +pub const RF_ADD_ALL_INTERFACES: u32 = 16u32; +pub const RF_DEMAND_UPDATE_ROUTES: u32 = 4u32; +pub const RF_MULTICAST: u32 = 32u32; +pub const RF_POWER: u32 = 64u32; +pub const RF_ROUTING: u32 = 1u32; +pub const RF_ROUTINGV6: u32 = 2u32; +pub const RIS_INTERFACE_ADDRESS_CHANGE: u32 = 0u32; +pub const RIS_INTERFACE_DISABLED: u32 = 2u32; +pub const RIS_INTERFACE_ENABLED: u32 = 1u32; +pub const RIS_INTERFACE_MEDIA_ABSENT: u32 = 4u32; +pub const RIS_INTERFACE_MEDIA_PRESENT: u32 = 3u32; +pub const ROUTING_DOMAIN_INFO_REVISION_1: u32 = 1u32; +pub const RTR_INFO_BLOCK_VERSION: u32 = 1u32; +pub const RTUTILS_MAX_PROTOCOL_DLL_LEN: u32 = 48u32; +pub const RTUTILS_MAX_PROTOCOL_NAME_LEN: u32 = 40u32; +pub const SERVCE_LM20_W32TIME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("w32time"); +pub const SERVER_DISPLAY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Server"); +pub const SERVICE2_BASE: u32 = 5600u32; +pub const SERVICE_ACCOUNT_FLAG_ADD_AGAINST_RODC: i32 = 2i32; +pub const SERVICE_ACCOUNT_FLAG_LINK_TO_HOST_ONLY: i32 = 1i32; +pub const SERVICE_ACCOUNT_FLAG_REMOVE_OFFLINE: i32 = 2i32; +pub const SERVICE_ACCOUNT_FLAG_UNLINK_FROM_HOST_ONLY: i32 = 1i32; +pub const SERVICE_ACCOUNT_PASSWORD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("_SA_{262E99C9-6160-4871-ACEC-4E61736B6F21}"); +pub const SERVICE_ACCOUNT_SECRET_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("_SC_{262E99C9-6160-4871-ACEC-4E61736B6F21}_"); +pub const SERVICE_ADWS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ADWS"); +pub const SERVICE_AFP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AFP"); +pub const SERVICE_ALERTER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ALERTER"); +pub const SERVICE_BASE: u32 = 3050u32; +pub const SERVICE_BROWSER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BROWSER"); +pub const SERVICE_CCP_CHKPT_NUM: u32 = 255u32; +pub const SERVICE_CCP_NO_HINT: u32 = 0u32; +pub const SERVICE_CCP_QUERY_HINT: u32 = 65536u32; +pub const SERVICE_CCP_WAIT_TIME: u32 = 65280u32; +pub const SERVICE_CTRL_CONTINUE: u32 = 2u32; +pub const SERVICE_CTRL_INTERROGATE: u32 = 0u32; +pub const SERVICE_CTRL_PAUSE: u32 = 1u32; +pub const SERVICE_CTRL_REDIR_COMM: u32 = 4u32; +pub const SERVICE_CTRL_REDIR_DISK: u32 = 1u32; +pub const SERVICE_CTRL_REDIR_PRINT: u32 = 2u32; +pub const SERVICE_CTRL_UNINSTALL: u32 = 3u32; +pub const SERVICE_DHCP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DHCP"); +pub const SERVICE_DNS_CACHE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DnsCache"); +pub const SERVICE_DOS_ENCRYPTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ENCRYPT"); +pub const SERVICE_DSROLE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DsRoleSvc"); +pub const SERVICE_INSTALLED: u32 = 3u32; +pub const SERVICE_INSTALL_PENDING: u32 = 1u32; +pub const SERVICE_INSTALL_STATE: u32 = 3u32; +pub const SERVICE_IP_CHKPT_NUM: u32 = 255u32; +pub const SERVICE_IP_NO_HINT: u32 = 0u32; +pub const SERVICE_IP_QUERY_HINT: u32 = 65536u32; +pub const SERVICE_IP_WAITTIME_SHIFT: u32 = 8u32; +pub const SERVICE_IP_WAIT_TIME: u32 = 65280u32; +pub const SERVICE_ISMSERV: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IsmServ"); +pub const SERVICE_KDC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("kdc"); +pub const SERVICE_LM20_AFP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AFP"); +pub const SERVICE_LM20_ALERTER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ALERTER"); +pub const SERVICE_LM20_BROWSER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BROWSER"); +pub const SERVICE_LM20_DHCP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DHCP"); +pub const SERVICE_LM20_DSROLE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DsRoleSvc"); +pub const SERVICE_LM20_ISMSERV: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IsmServ"); +pub const SERVICE_LM20_KDC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("kdc"); +pub const SERVICE_LM20_LMHOSTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LMHOSTS"); +pub const SERVICE_LM20_MESSENGER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MESSENGER"); +pub const SERVICE_LM20_NBT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NBT"); +pub const SERVICE_LM20_NETLOGON: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NETLOGON"); +pub const SERVICE_LM20_NETPOPUP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NETPOPUP"); +pub const SERVICE_LM20_NETRUN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NETRUN"); +pub const SERVICE_LM20_NTDS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NTDS"); +pub const SERVICE_LM20_NTFRS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NtFrs"); +pub const SERVICE_LM20_NWSAP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NwSapAgent"); +pub const SERVICE_LM20_REPL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("REPLICATOR"); +pub const SERVICE_LM20_RIPL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("REMOTEBOOT"); +pub const SERVICE_LM20_RPCLOCATOR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RPCLOCATOR"); +pub const SERVICE_LM20_SCHEDULE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Schedule"); +pub const SERVICE_LM20_SERVER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SERVER"); +pub const SERVICE_LM20_SPOOLER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SPOOLER"); +pub const SERVICE_LM20_SQLSERVER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SQLSERVER"); +pub const SERVICE_LM20_TCPIP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TCPIP"); +pub const SERVICE_LM20_TELNET: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Telnet"); +pub const SERVICE_LM20_TIMESOURCE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TIMESOURCE"); +pub const SERVICE_LM20_TRKSVR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TrkSvr"); +pub const SERVICE_LM20_TRKWKS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TrkWks"); +pub const SERVICE_LM20_UPS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UPS"); +pub const SERVICE_LM20_WORKSTATION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WORKSTATION"); +pub const SERVICE_LM20_XACTSRV: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("XACTSRV"); +pub const SERVICE_LMHOSTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LMHOSTS"); +pub const SERVICE_MAXTIME: u32 = 255u32; +pub const SERVICE_MESSENGER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MESSENGER"); +pub const SERVICE_NBT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NBT"); +pub const SERVICE_NETLOGON: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NETLOGON"); +pub const SERVICE_NETPOPUP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NETPOPUP"); +pub const SERVICE_NETRUN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NETRUN"); +pub const SERVICE_NOT_PAUSABLE: u32 = 0u32; +pub const SERVICE_NOT_UNINSTALLABLE: u32 = 0u32; +pub const SERVICE_NTDS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NTDS"); +pub const SERVICE_NTFRS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NtFrs"); +pub const SERVICE_NTIP_WAITTIME_SHIFT: u32 = 12u32; +pub const SERVICE_NTLMSSP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NtLmSsp"); +pub const SERVICE_NT_MAXTIME: u32 = 65535u32; +pub const SERVICE_NWCS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NWCWorkstation"); +pub const SERVICE_NWSAP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NwSapAgent"); +pub const SERVICE_PAUSABLE: u32 = 32u32; +pub const SERVICE_PAUSE_STATE: u32 = 12u32; +pub const SERVICE_REDIR_COMM_PAUSED: u32 = 1024u32; +pub const SERVICE_REDIR_DISK_PAUSED: u32 = 256u32; +pub const SERVICE_REDIR_PAUSED: u32 = 1792u32; +pub const SERVICE_REDIR_PRINT_PAUSED: u32 = 512u32; +pub const SERVICE_REPL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("REPLICATOR"); +pub const SERVICE_RESRV_MASK: u32 = 131071u32; +pub const SERVICE_RIPL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("REMOTEBOOT"); +pub const SERVICE_RPCLOCATOR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RPCLOCATOR"); +pub const SERVICE_SCHEDULE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Schedule"); +pub const SERVICE_SERVER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LanmanServer"); +pub const SERVICE_SPOOLER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SPOOLER"); +pub const SERVICE_SQLSERVER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SQLSERVER"); +pub const SERVICE_TCPIP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TCPIP"); +pub const SERVICE_TELNET: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Telnet"); +pub const SERVICE_TIMESOURCE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TIMESOURCE"); +pub const SERVICE_TRKSVR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TrkSvr"); +pub const SERVICE_TRKWKS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TrkWks"); +pub const SERVICE_UIC_AMBIGPARM: u32 = 3058u32; +pub const SERVICE_UIC_BADPARMVAL: u32 = 3051u32; +pub const SERVICE_UIC_CONFIG: u32 = 3055u32; +pub const SERVICE_UIC_CONFLPARM: u32 = 3063u32; +pub const SERVICE_UIC_DUPPARM: u32 = 3059u32; +pub const SERVICE_UIC_EXEC: u32 = 3061u32; +pub const SERVICE_UIC_FILE: u32 = 3064u32; +pub const SERVICE_UIC_INTERNAL: u32 = 3057u32; +pub const SERVICE_UIC_KILL: u32 = 3060u32; +pub const SERVICE_UIC_MISSPARM: u32 = 3052u32; +pub const SERVICE_UIC_M_ADDPAK: u32 = 3090u32; +pub const SERVICE_UIC_M_ANNOUNCE: u32 = 3083u32; +pub const SERVICE_UIC_M_DATABASE_ERROR: u32 = 5602u32; +pub const SERVICE_UIC_M_DISK: u32 = 3071u32; +pub const SERVICE_UIC_M_ERRLOG: u32 = 3088u32; +pub const SERVICE_UIC_M_FILES: u32 = 3079u32; +pub const SERVICE_UIC_M_FILE_UW: u32 = 3089u32; +pub const SERVICE_UIC_M_LANGROUP: u32 = 3081u32; +pub const SERVICE_UIC_M_LANROOT: u32 = 3075u32; +pub const SERVICE_UIC_M_LAZY: u32 = 3091u32; +pub const SERVICE_UIC_M_LOGS: u32 = 3080u32; +pub const SERVICE_UIC_M_LSA_MACHINE_ACCT: u32 = 5601u32; +pub const SERVICE_UIC_M_MEMORY: u32 = 3070u32; +pub const SERVICE_UIC_M_MSGNAME: u32 = 3082u32; +pub const SERVICE_UIC_M_NETLOGON_AUTH: u32 = 3098u32; +pub const SERVICE_UIC_M_NETLOGON_DC_CFLCT: u32 = 3097u32; +pub const SERVICE_UIC_M_NETLOGON_MPATH: u32 = 5600u32; +pub const SERVICE_UIC_M_NETLOGON_NO_DC: u32 = 3096u32; +pub const SERVICE_UIC_M_NULL: u32 = 0u32; +pub const SERVICE_UIC_M_PROCESSES: u32 = 3073u32; +pub const SERVICE_UIC_M_REDIR: u32 = 3076u32; +pub const SERVICE_UIC_M_SECURITY: u32 = 3074u32; +pub const SERVICE_UIC_M_SEC_FILE_ERR: u32 = 3078u32; +pub const SERVICE_UIC_M_SERVER: u32 = 3077u32; +pub const SERVICE_UIC_M_SERVER_SEC_ERR: u32 = 3085u32; +pub const SERVICE_UIC_M_THREADS: u32 = 3072u32; +pub const SERVICE_UIC_M_UAS: u32 = 3084u32; +pub const SERVICE_UIC_M_UAS_INVALID_ROLE: u32 = 3095u32; +pub const SERVICE_UIC_M_UAS_MACHINE_ACCT: u32 = 3092u32; +pub const SERVICE_UIC_M_UAS_PROLOG: u32 = 3099u32; +pub const SERVICE_UIC_M_UAS_SERVERS_NMEMB: u32 = 3093u32; +pub const SERVICE_UIC_M_UAS_SERVERS_NOGRP: u32 = 3094u32; +pub const SERVICE_UIC_M_WKSTA: u32 = 3087u32; +pub const SERVICE_UIC_NORMAL: u32 = 0u32; +pub const SERVICE_UIC_RESOURCE: u32 = 3054u32; +pub const SERVICE_UIC_SUBSERV: u32 = 3062u32; +pub const SERVICE_UIC_SYSTEM: u32 = 3056u32; +pub const SERVICE_UIC_UNKPARM: u32 = 3053u32; +pub const SERVICE_UNINSTALLABLE: u32 = 16u32; +pub const SERVICE_UNINSTALLED: u32 = 0u32; +pub const SERVICE_UNINSTALL_PENDING: u32 = 2u32; +pub const SERVICE_UPS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UPS"); +pub const SERVICE_W32TIME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("w32time"); +pub const SERVICE_WORKSTATION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LanmanWorkstation"); +pub const SERVICE_XACTSRV: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("XACTSRV"); +pub const SESSION_CRYPT_KLEN: u32 = 21u32; +pub const SESSION_PWLEN: u32 = 24u32; +pub const SHPWLEN: u32 = 8u32; +pub const SNLEN: u32 = 80u32; +pub const SRV_HASH_GENERATION_ACTIVE: u32 = 2u32; +pub const SRV_SUPPORT_HASH_GENERATION: u32 = 1u32; +pub const STXTLEN: u32 = 256u32; +pub const SUPPORTS_ANY: i32 = -1i32; +pub const SUPPORTS_LOCAL: NET_REMOTE_COMPUTER_SUPPORTS_OPTIONS = 32u32; +pub const SUPPORTS_REMOTE_ADMIN_PROTOCOL: NET_REMOTE_COMPUTER_SUPPORTS_OPTIONS = 2u32; +pub const SUPPORTS_RPC: NET_REMOTE_COMPUTER_SUPPORTS_OPTIONS = 4u32; +pub const SUPPORTS_SAM_PROTOCOL: NET_REMOTE_COMPUTER_SUPPORTS_OPTIONS = 8u32; +pub const SUPPORTS_UNICODE: NET_REMOTE_COMPUTER_SUPPORTS_OPTIONS = 16u32; +pub const SVAUD_BADNETLOGON: u32 = 384u32; +pub const SVAUD_BADSESSLOGON: u32 = 24u32; +pub const SVAUD_BADUSE: u32 = 6144u32; +pub const SVAUD_GOODNETLOGON: u32 = 96u32; +pub const SVAUD_GOODSESSLOGON: u32 = 6u32; +pub const SVAUD_GOODUSE: u32 = 1536u32; +pub const SVAUD_LOGONLIM: u32 = 65536u32; +pub const SVAUD_PERMISSIONS: u32 = 16384u32; +pub const SVAUD_RESOURCE: u32 = 32768u32; +pub const SVAUD_SERVICE: u32 = 1u32; +pub const SVAUD_USERLIST: u32 = 8192u32; +pub const SVI1_NUM_ELEMENTS: u32 = 5u32; +pub const SVI2_NUM_ELEMENTS: u32 = 40u32; +pub const SVI3_NUM_ELEMENTS: u32 = 44u32; +pub const SVTI2_CLUSTER_DNN_NAME: u32 = 16u32; +pub const SVTI2_CLUSTER_NAME: u32 = 8u32; +pub const SVTI2_REMAP_PIPE_NAMES: u32 = 2u32; +pub const SVTI2_RESERVED1: u32 = 4096u32; +pub const SVTI2_RESERVED2: u32 = 8192u32; +pub const SVTI2_RESERVED3: u32 = 16384u32; +pub const SVTI2_SCOPED_NAME: u32 = 4u32; +pub const SVTI2_UNICODE_TRANSPORT_ADDRESS: u32 = 32u32; +pub const SV_ACCEPTDOWNLEVELAPIS_PARMNUM: u32 = 517u32; +pub const SV_ACCESSALERT_PARMNUM: u32 = 40u32; +pub const SV_ACTIVELOCKS_PARMNUM: u32 = 419u32; +pub const SV_ALERTSCHEDULE_PARMNUM: u32 = 547u32; +pub const SV_ALERTSCHED_PARMNUM: u32 = 37u32; +pub const SV_ALERTS_PARMNUM: u32 = 11u32; +pub const SV_ALIST_MTIME_PARMNUM: u32 = 403u32; +pub const SV_ANNDELTA_PARMNUM: u32 = 18u32; +pub const SV_ANNOUNCE_PARMNUM: u32 = 17u32; +pub const SV_AUTOSHARESERVER_PARMNUM: u32 = 592u32; +pub const SV_AUTOSHAREWKS_PARMNUM: u32 = 591u32; +pub const SV_BALANCECOUNT_PARMNUM: u32 = 577u32; +pub const SV_CACHEDDIRECTORYLIMIT_PARMNUM: u32 = 587u32; +pub const SV_CACHEDOPENLIMIT_PARMNUM: u32 = 571u32; +pub const SV_CHDEVJOBS_PARMNUM: u32 = 411u32; +pub const SV_CHDEVQ_PARMNUM: u32 = 410u32; +pub const SV_COMMENT_PARMNUM: u32 = 5u32; +pub const SV_CONNECTIONLESSAUTODISC_PARMNUM: u32 = 562u32; +pub const SV_CONNECTIONNOSESSIONSTIMEOUT_PARMNUM: u32 = 596u32; +pub const SV_CONNECTIONS_PARMNUM: u32 = 412u32; +pub const SV_CRITICALTHREADS_PARMNUM: u32 = 572u32; +pub const SV_DISABLEDOS_PARMNUM: u32 = 600u32; +pub const SV_DISABLESTRICTNAMECHECKING_PARMNUM: u32 = 602u32; +pub const SV_DISC_PARMNUM: u32 = 10u32; +pub const SV_DISKALERT_PARMNUM: u32 = 41u32; +pub const SV_DISKSPACETHRESHOLD_PARMNUM: u32 = 550u32; +pub const SV_DOMAIN_PARMNUM: u32 = 519u32; +pub const SV_ENABLEAUTHENTICATEUSERSHARING_PARMNUM: u32 = 603u32; +pub const SV_ENABLECOMPRESSION_PARMNUM: u32 = 590u32; +pub const SV_ENABLEFCBOPENS_PARMNUM: u32 = 538u32; +pub const SV_ENABLEFORCEDLOGOFF_PARMNUM: u32 = 515u32; +pub const SV_ENABLEOPLOCKFORCECLOSE_PARMNUM: u32 = 537u32; +pub const SV_ENABLEOPLOCKS_PARMNUM: u32 = 536u32; +pub const SV_ENABLERAW_PARMNUM: u32 = 539u32; +pub const SV_ENABLESECURITYSIGNATURE_PARMNUM: u32 = 593u32; +pub const SV_ENABLESHAREDNETDRIVES_PARMNUM: u32 = 540u32; +pub const SV_ENABLESOFTCOMPAT_PARMNUM: u32 = 514u32; +pub const SV_ENABLEW9XSECURITYSIGNATURE_PARMNUM: u32 = 598u32; +pub const SV_ENABLEWFW311DIRECTIPX_PARMNUM: u32 = 574u32; +pub const SV_ENFORCEKERBEROSREAUTHENTICATION_PARMNUM: u32 = 599u32; +pub const SV_ERRORALERT_PARMNUM: u32 = 38u32; +pub const SV_ERRORTHRESHOLD_PARMNUM: u32 = 548u32; +pub const SV_GLIST_MTIME_PARMNUM: u32 = 402u32; +pub const SV_GUESTACC_PARMNUM: u32 = 408u32; +pub const SV_HIDDEN: SERVER_INFO_HIDDEN = 1i32; +pub const SV_HIDDEN_PARMNUM: u32 = 16u32; +pub const SV_IDLETHREADTIMEOUT_PARMNUM: u32 = 597u32; +pub const SV_INITCONNTABLE_PARMNUM: u32 = 544u32; +pub const SV_INITFILETABLE_PARMNUM: u32 = 545u32; +pub const SV_INITSEARCHTABLE_PARMNUM: u32 = 546u32; +pub const SV_INITSESSTABLE_PARMNUM: u32 = 543u32; +pub const SV_INITWORKITEMS_PARMNUM: u32 = 505u32; +pub const SV_IRPSTACKSIZE_PARMNUM: u32 = 508u32; +pub const SV_LANMASK_PARMNUM: u32 = 407u32; +pub const SV_LINKINFOVALIDTIME_PARMNUM: u32 = 554u32; +pub const SV_LMANNOUNCE_PARMNUM: u32 = 518u32; +pub const SV_LOCKVIOLATIONDELAY_PARMNUM: u32 = 569u32; +pub const SV_LOCKVIOLATIONOFFSET_PARMNUM: u32 = 568u32; +pub const SV_LOCKVIOLATIONRETRIES_PARMNUM: u32 = 567u32; +pub const SV_LOGONALERT_PARMNUM: u32 = 39u32; +pub const SV_LOWDISKSPACEMINIMUM_PARMNUM: u32 = 601u32; +pub const SV_MAXAUDITSZ_PARMNUM: u32 = 43u32; +pub const SV_MAXCOPYLENGTH_PARMNUM: u32 = 588u32; +pub const SV_MAXCOPYREADLEN_PARMNUM: u32 = 520u32; +pub const SV_MAXCOPYWRITELEN_PARMNUM: u32 = 521u32; +pub const SV_MAXFREECONNECTIONS_PARMNUM: u32 = 542u32; +pub const SV_MAXFREELFCBS_PARMNUM: u32 = 581u32; +pub const SV_MAXFREEMFCBS_PARMNUM: u32 = 580u32; +pub const SV_MAXFREEPAGEDPOOLCHUNKS_PARMNUM: u32 = 582u32; +pub const SV_MAXFREERFCBS_PARMNUM: u32 = 579u32; +pub const SV_MAXGLOBALOPENSEARCH_PARMNUM: u32 = 565u32; +pub const SV_MAXKEEPCOMPLSEARCH_PARMNUM: u32 = 525u32; +pub const SV_MAXKEEPSEARCH_PARMNUM: u32 = 523u32; +pub const SV_MAXLINKDELAY_PARMNUM: u32 = 552u32; +pub const SV_MAXMPXCT_PARMNUM: u32 = 533u32; +pub const SV_MAXNONPAGEDMEMORYUSAGE_PARMNUM: u32 = 512u32; +pub const SV_MAXPAGEDMEMORYUSAGE_PARMNUM: u32 = 513u32; +pub const SV_MAXPAGEDPOOLCHUNKSIZE_PARMNUM: u32 = 584u32; +pub const SV_MAXRAWBUFLEN_PARMNUM: u32 = 509u32; +pub const SV_MAXRAWWORKITEMS_PARMNUM: u32 = 557u32; +pub const SV_MAXTHREADSPERQUEUE_PARMNUM: u32 = 586u32; +pub const SV_MAXWORKITEMIDLETIME_PARMNUM: u32 = 556u32; +pub const SV_MAXWORKITEMS_PARMNUM: u32 = 506u32; +pub const SV_MAX_CMD_LEN: u32 = 256u32; +pub const SV_MAX_SRV_HEUR_LEN: u32 = 32u32; +pub const SV_MDLREADSWITCHOVER_PARMNUM: u32 = 570u32; +pub const SV_MINCLIENTBUFFERSIZE_PARMNUM: u32 = 595u32; +pub const SV_MINFREECONNECTIONS_PARMNUM: u32 = 541u32; +pub const SV_MINFREEWORKITEMS_PARMNUM: u32 = 530u32; +pub const SV_MINKEEPCOMPLSEARCH_PARMNUM: u32 = 524u32; +pub const SV_MINKEEPSEARCH_PARMNUM: u32 = 522u32; +pub const SV_MINLINKTHROUGHPUT_PARMNUM: u32 = 553u32; +pub const SV_MINPAGEDPOOLCHUNKSIZE_PARMNUM: u32 = 583u32; +pub const SV_MINRCVQUEUE_PARMNUM: u32 = 529u32; +pub const SV_NAME_PARMNUM: u32 = 102u32; +pub const SV_NETIOALERT_PARMNUM: u32 = 42u32; +pub const SV_NETWORKERRORTHRESHOLD_PARMNUM: u32 = 549u32; +pub const SV_NODISC: i32 = -1i32; +pub const SV_NUMADMIN_PARMNUM: u32 = 406u32; +pub const SV_NUMBIGBUF_PARMNUM: u32 = 422u32; +pub const SV_NUMBLOCKTHREADS_PARMNUM: u32 = 527u32; +pub const SV_NUMFILETASKS_PARMNUM: u32 = 423u32; +pub const SV_NUMREQBUF_PARMNUM: u32 = 420u32; +pub const SV_OPENFILES_PARMNUM: u32 = 414u32; +pub const SV_OPENSEARCH_PARMNUM: u32 = 503u32; +pub const SV_OPLOCKBREAKRESPONSEWAIT_PARMNUM: u32 = 535u32; +pub const SV_OPLOCKBREAKWAIT_PARMNUM: u32 = 534u32; +pub const SV_OTHERQUEUEAFFINITY_PARMNUM: u32 = 575u32; +pub const SV_PLATFORM_ID_NT: u32 = 500u32; +pub const SV_PLATFORM_ID_OS2: u32 = 400u32; +pub const SV_PLATFORM_ID_PARMNUM: u32 = 101u32; +pub const SV_PREFERREDAFFINITY_PARMNUM: u32 = 578u32; +pub const SV_PRODUCTTYPE_PARMNUM: u32 = 560u32; +pub const SV_QUEUESAMPLESECS_PARMNUM: u32 = 576u32; +pub const SV_RAWWORKITEMS_PARMNUM: u32 = 507u32; +pub const SV_REMOVEDUPLICATESEARCHES_PARMNUM: u32 = 566u32; +pub const SV_REQUIRESECURITYSIGNATURE_PARMNUM: u32 = 594u32; +pub const SV_RESTRICTNULLSESSACCESS_PARMNUM: u32 = 573u32; +pub const SV_SCAVQOSINFOUPDATETIME_PARMNUM: u32 = 555u32; +pub const SV_SCAVTIMEOUT_PARMNUM: u32 = 528u32; +pub const SV_SECURITY_PARMNUM: u32 = 405u32; +pub const SV_SENDSFROMPREFERREDPROCESSOR_PARMNUM: u32 = 585u32; +pub const SV_SERVERSIZE_PARMNUM: u32 = 561u32; +pub const SV_SESSCONNS_PARMNUM: u32 = 511u32; +pub const SV_SESSOPENS_PARMNUM: u32 = 501u32; +pub const SV_SESSREQS_PARMNUM: u32 = 417u32; +pub const SV_SESSUSERS_PARMNUM: u32 = 510u32; +pub const SV_SESSVCS_PARMNUM: u32 = 502u32; +pub const SV_SHARESECURITY: SERVER_INFO_SECURITY = 0u32; +pub const SV_SHARES_PARMNUM: u32 = 413u32; +pub const SV_SHARINGVIOLATIONDELAY_PARMNUM: u32 = 564u32; +pub const SV_SHARINGVIOLATIONRETRIES_PARMNUM: u32 = 563u32; +pub const SV_SIZREQBUF_PARMNUM: u32 = 504u32; +pub const SV_SRVHEURISTICS_PARMNUM: u32 = 431u32; +pub const SV_THREADCOUNTADD_PARMNUM: u32 = 526u32; +pub const SV_THREADPRIORITY_PARMNUM: u32 = 532u32; +pub const SV_TIMESOURCE_PARMNUM: u32 = 516u32; +pub const SV_TYPE_AFP: NET_SERVER_TYPE = 64u32; +pub const SV_TYPE_ALL: NET_SERVER_TYPE = 4294967295u32; +pub const SV_TYPE_ALTERNATE_XPORT: NET_SERVER_TYPE = 536870912u32; +pub const SV_TYPE_BACKUP_BROWSER: NET_SERVER_TYPE = 131072u32; +pub const SV_TYPE_CLUSTER_NT: NET_SERVER_TYPE = 16777216u32; +pub const SV_TYPE_CLUSTER_VS_NT: NET_SERVER_TYPE = 67108864u32; +pub const SV_TYPE_DCE: NET_SERVER_TYPE = 268435456u32; +pub const SV_TYPE_DFS: NET_SERVER_TYPE = 8388608u32; +pub const SV_TYPE_DIALIN_SERVER: NET_SERVER_TYPE = 1024u32; +pub const SV_TYPE_DOMAIN_BAKCTRL: NET_SERVER_TYPE = 16u32; +pub const SV_TYPE_DOMAIN_CTRL: NET_SERVER_TYPE = 8u32; +pub const SV_TYPE_DOMAIN_ENUM: NET_SERVER_TYPE = 2147483648u32; +pub const SV_TYPE_DOMAIN_MASTER: NET_SERVER_TYPE = 524288u32; +pub const SV_TYPE_DOMAIN_MEMBER: NET_SERVER_TYPE = 256u32; +pub const SV_TYPE_LOCAL_LIST_ONLY: NET_SERVER_TYPE = 1073741824u32; +pub const SV_TYPE_MASTER_BROWSER: NET_SERVER_TYPE = 262144u32; +pub const SV_TYPE_NOVELL: NET_SERVER_TYPE = 128u32; +pub const SV_TYPE_NT: NET_SERVER_TYPE = 4096u32; +pub const SV_TYPE_PARMNUM: u32 = 105u32; +pub const SV_TYPE_POTENTIAL_BROWSER: NET_SERVER_TYPE = 65536u32; +pub const SV_TYPE_PRINTQ_SERVER: NET_SERVER_TYPE = 512u32; +pub const SV_TYPE_SERVER: NET_SERVER_TYPE = 2u32; +pub const SV_TYPE_SERVER_MFPN: NET_SERVER_TYPE = 16384u32; +pub const SV_TYPE_SERVER_NT: NET_SERVER_TYPE = 32768u32; +pub const SV_TYPE_SERVER_OSF: NET_SERVER_TYPE = 1048576u32; +pub const SV_TYPE_SERVER_UNIX: NET_SERVER_TYPE = 2048u32; +pub const SV_TYPE_SERVER_VMS: NET_SERVER_TYPE = 2097152u32; +pub const SV_TYPE_SQLSERVER: NET_SERVER_TYPE = 4u32; +pub const SV_TYPE_TERMINALSERVER: NET_SERVER_TYPE = 33554432u32; +pub const SV_TYPE_TIME_SOURCE: NET_SERVER_TYPE = 32u32; +pub const SV_TYPE_WFW: NET_SERVER_TYPE = 8192u32; +pub const SV_TYPE_WINDOWS: NET_SERVER_TYPE = 4194304u32; +pub const SV_TYPE_WORKSTATION: NET_SERVER_TYPE = 1u32; +pub const SV_TYPE_XENIX_SERVER: NET_SERVER_TYPE = 2048u32; +pub const SV_ULIST_MTIME_PARMNUM: u32 = 401u32; +pub const SV_USERPATH_PARMNUM: u32 = 112u32; +pub const SV_USERSECURITY: SERVER_INFO_SECURITY = 1u32; +pub const SV_USERS_PARMNUM: u32 = 107u32; +pub const SV_USERS_PER_LICENSE: u32 = 5u32; +pub const SV_VERSION_MAJOR_PARMNUM: u32 = 103u32; +pub const SV_VERSION_MINOR_PARMNUM: u32 = 104u32; +pub const SV_VISIBLE: SERVER_INFO_HIDDEN = 0i32; +pub const SV_XACTMEMSIZE_PARMNUM: u32 = 531u32; +pub const SW_AUTOPROF_LOAD_MASK: u32 = 1u32; +pub const SW_AUTOPROF_SAVE_MASK: u32 = 2u32; +pub const ServiceAccountPasswordGUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x262e99c9_6160_4871_acec_4e61736b6f21); +pub const TITLE_SC_MESSAGE_BOX: i32 = -1073734795i32; +pub const TRACE_NO_STDINFO: u32 = 1u32; +pub const TRACE_NO_SYNCH: u32 = 4u32; +pub const TRACE_USE_CONSOLE: u32 = 2u32; +pub const TRACE_USE_DATE: u32 = 8u32; +pub const TRACE_USE_FILE: u32 = 1u32; +pub const TRACE_USE_MASK: u32 = 2u32; +pub const TRACE_USE_MSEC: u32 = 4u32; +pub const TRANSPORT_NAME_PARMNUM: u32 = 202u32; +pub const TRANSPORT_QUALITYOFSERVICE_PARMNUM: u32 = 201u32; +pub const UAS_ROLE_BACKUP: USER_MODALS_ROLES = 2u32; +pub const UAS_ROLE_MEMBER: USER_MODALS_ROLES = 1u32; +pub const UAS_ROLE_PRIMARY: USER_MODALS_ROLES = 3u32; +pub const UAS_ROLE_STANDALONE: USER_MODALS_ROLES = 0u32; +pub const UF_ACCOUNTDISABLE: USER_ACCOUNT_FLAGS = 2u32; +pub const UF_DONT_EXPIRE_PASSWD: USER_ACCOUNT_FLAGS = 65536u32; +pub const UF_DONT_REQUIRE_PREAUTH: USER_ACCOUNT_FLAGS = 4194304u32; +pub const UF_ENCRYPTED_TEXT_PASSWORD_ALLOWED: USER_ACCOUNT_FLAGS = 128u32; +pub const UF_HOMEDIR_REQUIRED: USER_ACCOUNT_FLAGS = 8u32; +pub const UF_INTERDOMAIN_TRUST_ACCOUNT: u32 = 2048u32; +pub const UF_LOCKOUT: USER_ACCOUNT_FLAGS = 16u32; +pub const UF_MNS_LOGON_ACCOUNT: u32 = 131072u32; +pub const UF_NORMAL_ACCOUNT: u32 = 512u32; +pub const UF_NOT_DELEGATED: USER_ACCOUNT_FLAGS = 1048576u32; +pub const UF_NO_AUTH_DATA_REQUIRED: u32 = 33554432u32; +pub const UF_PARTIAL_SECRETS_ACCOUNT: u32 = 67108864u32; +pub const UF_PASSWD_CANT_CHANGE: USER_ACCOUNT_FLAGS = 64u32; +pub const UF_PASSWD_NOTREQD: USER_ACCOUNT_FLAGS = 32u32; +pub const UF_PASSWORD_EXPIRED: USER_ACCOUNT_FLAGS = 8388608u32; +pub const UF_SCRIPT: USER_ACCOUNT_FLAGS = 1u32; +pub const UF_SERVER_TRUST_ACCOUNT: u32 = 8192u32; +pub const UF_SMARTCARD_REQUIRED: USER_ACCOUNT_FLAGS = 262144u32; +pub const UF_TEMP_DUPLICATE_ACCOUNT: u32 = 256u32; +pub const UF_TRUSTED_FOR_DELEGATION: USER_ACCOUNT_FLAGS = 524288u32; +pub const UF_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION: USER_ACCOUNT_FLAGS = 16777216u32; +pub const UF_USE_AES_KEYS: u32 = 134217728u32; +pub const UF_USE_DES_KEY_ONLY: USER_ACCOUNT_FLAGS = 2097152u32; +pub const UF_WORKSTATION_TRUST_ACCOUNT: u32 = 4096u32; +pub const UNCLEN: u32 = 17u32; +pub const UNITS_PER_DAY: u32 = 24u32; +pub const UNLEN: u32 = 256u32; +pub const UPPER_GET_HINT_MASK: u32 = 267386880u32; +pub const UPPER_HINT_MASK: u32 = 65280u32; +pub const USER_ACCT_EXPIRES_PARMNUM: u32 = 17u32; +pub const USER_AUTH_FLAGS_PARMNUM: u32 = 10u32; +pub const USER_CODE_PAGE_PARMNUM: u32 = 25u32; +pub const USER_COMMENT_PARMNUM: u32 = 7u32; +pub const USER_COUNTRY_CODE_PARMNUM: u32 = 24u32; +pub const USER_FLAGS_PARMNUM: u32 = 8u32; +pub const USER_FULL_NAME_PARMNUM: u32 = 11u32; +pub const USER_HOME_DIR_DRIVE_PARMNUM: u32 = 53u32; +pub const USER_HOME_DIR_PARMNUM: u32 = 6u32; +pub const USER_LAST_LOGOFF_PARMNUM: u32 = 16u32; +pub const USER_LAST_LOGON_PARMNUM: u32 = 15u32; +pub const USER_LOGON_HOURS_PARMNUM: u32 = 20u32; +pub const USER_LOGON_SERVER_PARMNUM: u32 = 23u32; +pub const USER_MAX_STORAGE_PARMNUM: u32 = 18u32; +pub const USER_NAME_PARMNUM: u32 = 1u32; +pub const USER_NUM_LOGONS_PARMNUM: u32 = 22u32; +pub const USER_PAD_PW_COUNT_PARMNUM: u32 = 21u32; +pub const USER_PARMS_PARMNUM: u32 = 13u32; +pub const USER_PASSWORD_AGE_PARMNUM: u32 = 4u32; +pub const USER_PASSWORD_PARMNUM: u32 = 3u32; +pub const USER_PRIMARY_GROUP_PARMNUM: u32 = 51u32; +pub const USER_PRIV_ADMIN: USER_PRIV = 2u32; +pub const USER_PRIV_GUEST: USER_PRIV = 0u32; +pub const USER_PRIV_MASK: u32 = 3u32; +pub const USER_PRIV_PARMNUM: u32 = 5u32; +pub const USER_PRIV_USER: USER_PRIV = 1u32; +pub const USER_PROFILE: u32 = 52u32; +pub const USER_PROFILE_PARMNUM: u32 = 52u32; +pub const USER_SCRIPT_PATH_PARMNUM: u32 = 9u32; +pub const USER_UNITS_PER_WEEK_PARMNUM: u32 = 19u32; +pub const USER_USR_COMMENT_PARMNUM: u32 = 12u32; +pub const USER_WORKSTATIONS_PARMNUM: u32 = 14u32; +pub const USE_ASGTYPE_PARMNUM: u32 = 4u32; +pub const USE_AUTHIDENTITY_PARMNUM: u32 = 8u32; +pub const USE_CHARDEV: u32 = 2u32; +pub const USE_CONN: u32 = 4u32; +pub const USE_DEFAULT_CREDENTIALS: u32 = 4u32; +pub const USE_DISCONN: u32 = 2u32; +pub const USE_DISKDEV: USE_INFO_ASG_TYPE = 0u32; +pub const USE_DOMAINNAME_PARMNUM: u32 = 6u32; +pub const USE_FLAGS_PARMNUM: u32 = 7u32; +pub const USE_FLAG_GLOBAL_MAPPING: u32 = 65536u32; +pub const USE_FORCE: FORCE_LEVEL_FLAGS = 1u32; +pub const USE_IPC: USE_INFO_ASG_TYPE = 3u32; +pub const USE_LOCAL_PARMNUM: u32 = 1u32; +pub const USE_LOTS_OF_FORCE: FORCE_LEVEL_FLAGS = 2u32; +pub const USE_NETERR: u32 = 3u32; +pub const USE_NOFORCE: FORCE_LEVEL_FLAGS = 0u32; +pub const USE_OK: u32 = 0u32; +pub const USE_OPTIONS_PARMNUM: u32 = 10u32; +pub const USE_PASSWORD_PARMNUM: u32 = 3u32; +pub const USE_PAUSED: u32 = 1u32; +pub const USE_RECONN: u32 = 5u32; +pub const USE_REMOTE_PARMNUM: u32 = 2u32; +pub const USE_SD_PARMNUM: u32 = 9u32; +pub const USE_SESSLOST: u32 = 2u32; +pub const USE_SPECIFIC_TRANSPORT: u32 = 2147483648u32; +pub const USE_SPOOLDEV: USE_INFO_ASG_TYPE = 1u32; +pub const USE_USERNAME_PARMNUM: u32 = 5u32; +pub const USE_WILDCARD: USE_INFO_ASG_TYPE = 4294967295u32; +pub const UseTransportType_None: TRANSPORT_TYPE = 0i32; +pub const UseTransportType_Quic: TRANSPORT_TYPE = 2i32; +pub const UseTransportType_Wsk: TRANSPORT_TYPE = 1i32; +pub const VALIDATED_LOGON: u32 = 0u32; +pub const VALID_LOGOFF: u32 = 1u32; +pub const WKSTA_BUFFERNAMEDPIPES_PARMNUM: u32 = 51u32; +pub const WKSTA_BUFFERREADONLYFILES_PARMNUM: u32 = 59u32; +pub const WKSTA_BUFFILESWITHDENYWRITE_PARMNUM: u32 = 58u32; +pub const WKSTA_CACHEFILETIMEOUT_PARMNUM: u32 = 47u32; +pub const WKSTA_CHARCOUNT_PARMNUM: u32 = 12u32; +pub const WKSTA_CHARTIME_PARMNUM: u32 = 11u32; +pub const WKSTA_CHARWAIT_PARMNUM: u32 = 10u32; +pub const WKSTA_COMPUTERNAME_PARMNUM: u32 = 1u32; +pub const WKSTA_DORMANTFILELIMIT_PARMNUM: u32 = 46u32; +pub const WKSTA_ERRLOGSZ_PARMNUM: u32 = 27u32; +pub const WKSTA_FORCECORECREATEMODE_PARMNUM: u32 = 60u32; +pub const WKSTA_KEEPCONN_PARMNUM: u32 = 13u32; +pub const WKSTA_KEEPSEARCH_PARMNUM: u32 = 14u32; +pub const WKSTA_LANGROUP_PARMNUM: u32 = 2u32; +pub const WKSTA_LANROOT_PARMNUM: u32 = 7u32; +pub const WKSTA_LOCKINCREMENT_PARMNUM: u32 = 42u32; +pub const WKSTA_LOCKMAXIMUM_PARMNUM: u32 = 43u32; +pub const WKSTA_LOCKQUOTA_PARMNUM: u32 = 41u32; +pub const WKSTA_LOGGED_ON_USERS_PARMNUM: u32 = 6u32; +pub const WKSTA_LOGON_DOMAIN_PARMNUM: u32 = 8u32; +pub const WKSTA_LOGON_SERVER_PARMNUM: u32 = 9u32; +pub const WKSTA_MAILSLOTS_PARMNUM: u32 = 30u32; +pub const WKSTA_MAXCMDS_PARMNUM: u32 = 15u32; +pub const WKSTA_MAXTHREADS_PARMNUM: u32 = 33u32; +pub const WKSTA_MAXWRKCACHE_PARMNUM: u32 = 17u32; +pub const WKSTA_NUMALERTS_PARMNUM: u32 = 20u32; +pub const WKSTA_NUMCHARBUF_PARMNUM: u32 = 22u32; +pub const WKSTA_NUMDGRAMBUF_PARMNUM: u32 = 31u32; +pub const WKSTA_NUMSERVICES_PARMNUM: u32 = 21u32; +pub const WKSTA_NUMWORKBUF_PARMNUM: u32 = 16u32; +pub const WKSTA_OTH_DOMAINS_PARMNUM: u32 = 101u32; +pub const WKSTA_PIPEINCREMENT_PARMNUM: u32 = 44u32; +pub const WKSTA_PIPEMAXIMUM_PARMNUM: u32 = 45u32; +pub const WKSTA_PLATFORM_ID_PARMNUM: u32 = 100u32; +pub const WKSTA_PRINTBUFTIME_PARMNUM: u32 = 28u32; +pub const WKSTA_READAHEADTHRUPUT_PARMNUM: u32 = 62u32; +pub const WKSTA_SESSTIMEOUT_PARMNUM: u32 = 18u32; +pub const WKSTA_SIZCHARBUF_PARMNUM: u32 = 23u32; +pub const WKSTA_SIZERROR_PARMNUM: u32 = 19u32; +pub const WKSTA_SIZWORKBUF_PARMNUM: u32 = 29u32; +pub const WKSTA_USE512BYTESMAXTRANSFER_PARMNUM: u32 = 61u32; +pub const WKSTA_USECLOSEBEHIND_PARMNUM: u32 = 50u32; +pub const WKSTA_USEENCRYPTION_PARMNUM: u32 = 57u32; +pub const WKSTA_USELOCKANDREADANDUNLOCK_PARMNUM: u32 = 52u32; +pub const WKSTA_USEOPPORTUNISTICLOCKING_PARMNUM: u32 = 48u32; +pub const WKSTA_USERAWREAD_PARMNUM: u32 = 54u32; +pub const WKSTA_USERAWWRITE_PARMNUM: u32 = 55u32; +pub const WKSTA_USEUNLOCKBEHIND_PARMNUM: u32 = 49u32; +pub const WKSTA_USEWRITERAWWITHDATA_PARMNUM: u32 = 56u32; +pub const WKSTA_UTILIZENTCACHING_PARMNUM: u32 = 53u32; +pub const WKSTA_VER_MAJOR_PARMNUM: u32 = 4u32; +pub const WKSTA_VER_MINOR_PARMNUM: u32 = 5u32; +pub const WKSTA_WRKHEURISTICS_PARMNUM: u32 = 32u32; +pub const WORKSTATION_DISPLAY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Workstation"); +pub const WZC_PROFILE_API_ERROR_FAILED_TO_LOAD_SCHEMA: u32 = 34u32; +pub const WZC_PROFILE_API_ERROR_FAILED_TO_LOAD_XML: u32 = 33u32; +pub const WZC_PROFILE_API_ERROR_INTERNAL: u32 = 36u32; +pub const WZC_PROFILE_API_ERROR_NOT_SUPPORTED: u32 = 32u32; +pub const WZC_PROFILE_API_ERROR_XML_VALIDATION_FAILED: u32 = 35u32; +pub const WZC_PROFILE_CONFIG_ERROR_1X_NOT_ALLOWED: u32 = 20u32; +pub const WZC_PROFILE_CONFIG_ERROR_1X_NOT_ALLOWED_KEY_REQUIRED: u32 = 21u32; +pub const WZC_PROFILE_CONFIG_ERROR_1X_NOT_ENABLED_KEY_PROVIDED: u32 = 22u32; +pub const WZC_PROFILE_CONFIG_ERROR_EAP_METHOD_NOT_APPLICABLE: u32 = 24u32; +pub const WZC_PROFILE_CONFIG_ERROR_EAP_METHOD_REQUIRED: u32 = 23u32; +pub const WZC_PROFILE_CONFIG_ERROR_INVALID_AUTH_FOR_CONNECTION_TYPE: u32 = 15u32; +pub const WZC_PROFILE_CONFIG_ERROR_INVALID_ENCRYPTION_FOR_AUTHMODE: u32 = 16u32; +pub const WZC_PROFILE_CONFIG_ERROR_KEY_INDEX_NOT_APPLICABLE: u32 = 19u32; +pub const WZC_PROFILE_CONFIG_ERROR_KEY_INDEX_REQUIRED: u32 = 18u32; +pub const WZC_PROFILE_CONFIG_ERROR_KEY_REQUIRED: u32 = 17u32; +pub const WZC_PROFILE_CONFIG_ERROR_WPA_ENCRYPTION_NOT_SUPPORTED: u32 = 26u32; +pub const WZC_PROFILE_CONFIG_ERROR_WPA_NOT_SUPPORTED: u32 = 25u32; +pub const WZC_PROFILE_SET_ERROR_DUPLICATE_NETWORK: u32 = 27u32; +pub const WZC_PROFILE_SET_ERROR_MEMORY_ALLOCATION: u32 = 28u32; +pub const WZC_PROFILE_SET_ERROR_READING_1X_CONFIG: u32 = 29u32; +pub const WZC_PROFILE_SET_ERROR_WRITING_1X_CONFIG: u32 = 30u32; +pub const WZC_PROFILE_SET_ERROR_WRITING_WZC_CFG: u32 = 31u32; +pub const WZC_PROFILE_SUCCESS: u32 = 0u32; +pub const WZC_PROFILE_XML_ERROR_1X_ENABLED: u32 = 10u32; +pub const WZC_PROFILE_XML_ERROR_AUTHENTICATION: u32 = 7u32; +pub const WZC_PROFILE_XML_ERROR_BAD_KEY_INDEX: u32 = 12u32; +pub const WZC_PROFILE_XML_ERROR_BAD_NETWORK_KEY: u32 = 14u32; +pub const WZC_PROFILE_XML_ERROR_BAD_SSID: u32 = 5u32; +pub const WZC_PROFILE_XML_ERROR_BAD_VERSION: u32 = 2u32; +pub const WZC_PROFILE_XML_ERROR_CONNECTION_TYPE: u32 = 6u32; +pub const WZC_PROFILE_XML_ERROR_EAP_METHOD: u32 = 11u32; +pub const WZC_PROFILE_XML_ERROR_ENCRYPTION: u32 = 8u32; +pub const WZC_PROFILE_XML_ERROR_KEY_INDEX_RANGE: u32 = 13u32; +pub const WZC_PROFILE_XML_ERROR_KEY_PROVIDED_AUTOMATICALLY: u32 = 9u32; +pub const WZC_PROFILE_XML_ERROR_NO_VERSION: u32 = 1u32; +pub const WZC_PROFILE_XML_ERROR_SSID_NOT_FOUND: u32 = 4u32; +pub const WZC_PROFILE_XML_ERROR_UNSUPPORTED_VERSION: u32 = 3u32; +pub type AF_OP = u32; +pub type BIND_FLAGS1 = i32; +pub type COMPONENT_CHARACTERISTICS = i32; +pub type DEFAULT_PAGES = i32; +pub type DSREG_JOIN_TYPE = i32; +pub type ENUM_BINDING_PATHS_FLAGS = i32; +pub type FORCE_LEVEL_FLAGS = u32; +pub type MSA_INFO_LEVEL = i32; +pub type MSA_INFO_STATE = i32; +pub type NCPNP_RECONFIG_LAYER = i32; +pub type NCRP_FLAGS = i32; +pub type NETSETUP_JOIN_STATUS = i32; +pub type NETSETUP_NAME_TYPE = i32; +pub type NETSETUP_PROVISION = u32; +pub type NETWORK_INSTALL_TIME = i32; +pub type NETWORK_UPGRADE_TYPE = i32; +pub type NET_COMPUTER_NAME_TYPE = i32; +pub type NET_JOIN_DOMAIN_JOIN_OPTIONS = u32; +pub type NET_REMOTE_COMPUTER_SUPPORTS_OPTIONS = u32; +pub type NET_REQUEST_PROVISION_OPTIONS = u32; +pub type NET_SERVER_TYPE = u32; +pub type NET_USER_ENUM_FILTER_FLAGS = u32; +pub type NET_VALIDATE_PASSWORD_TYPE = i32; +pub type OBO_TOKEN_TYPE = i32; +pub type RASCON_UIINFO_FLAGS = i32; +pub type SERVER_INFO_HIDDEN = i32; +pub type SERVER_INFO_SECURITY = u32; +pub type SUPPORTS_BINDING_INTERFACE_FLAGS = i32; +pub type TRANSPORT_TYPE = i32; +pub type USER_ACCOUNT_FLAGS = u32; +pub type USER_MODALS_ROLES = u32; +pub type USER_PRIV = u32; +pub type USE_INFO_ASG_TYPE = u32; +#[repr(C)] +pub struct ACCESS_INFO_0 { + pub acc0_resource_name: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for ACCESS_INFO_0 {} +impl ::core::clone::Clone for ACCESS_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct ACCESS_INFO_1 { + pub acc1_resource_name: ::windows_sys::core::PWSTR, + pub acc1_attr: u32, + pub acc1_count: u32, +} +impl ::core::marker::Copy for ACCESS_INFO_1 {} +impl ::core::clone::Clone for ACCESS_INFO_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct ACCESS_INFO_1002 { + pub acc1002_attr: u32, +} +impl ::core::marker::Copy for ACCESS_INFO_1002 {} +impl ::core::clone::Clone for ACCESS_INFO_1002 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct ACCESS_LIST { + pub acl_ugname: ::windows_sys::core::PWSTR, + pub acl_access: u32, +} +impl ::core::marker::Copy for ACCESS_LIST {} +impl ::core::clone::Clone for ACCESS_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct ADMIN_OTHER_INFO { + pub alrtad_errcode: u32, + pub alrtad_numstrings: u32, +} +impl ::core::marker::Copy for ADMIN_OTHER_INFO {} +impl ::core::clone::Clone for ADMIN_OTHER_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct AE_ACCLIM { + pub ae_al_compname: u32, + pub ae_al_username: u32, + pub ae_al_resname: u32, + pub ae_al_limit: u32, +} +impl ::core::marker::Copy for AE_ACCLIM {} +impl ::core::clone::Clone for AE_ACCLIM { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct AE_ACLMOD { + pub ae_am_compname: u32, + pub ae_am_username: u32, + pub ae_am_resname: u32, + pub ae_am_action: u32, + pub ae_am_datalen: u32, +} +impl ::core::marker::Copy for AE_ACLMOD {} +impl ::core::clone::Clone for AE_ACLMOD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct AE_CLOSEFILE { + pub ae_cf_compname: u32, + pub ae_cf_username: u32, + pub ae_cf_resname: u32, + pub ae_cf_fileid: u32, + pub ae_cf_duration: u32, + pub ae_cf_reason: u32, +} +impl ::core::marker::Copy for AE_CLOSEFILE {} +impl ::core::clone::Clone for AE_CLOSEFILE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct AE_CONNREJ { + pub ae_cr_compname: u32, + pub ae_cr_username: u32, + pub ae_cr_netname: u32, + pub ae_cr_reason: u32, +} +impl ::core::marker::Copy for AE_CONNREJ {} +impl ::core::clone::Clone for AE_CONNREJ { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct AE_CONNSTART { + pub ae_ct_compname: u32, + pub ae_ct_username: u32, + pub ae_ct_netname: u32, + pub ae_ct_connid: u32, +} +impl ::core::marker::Copy for AE_CONNSTART {} +impl ::core::clone::Clone for AE_CONNSTART { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct AE_CONNSTOP { + pub ae_cp_compname: u32, + pub ae_cp_username: u32, + pub ae_cp_netname: u32, + pub ae_cp_connid: u32, + pub ae_cp_reason: u32, +} +impl ::core::marker::Copy for AE_CONNSTOP {} +impl ::core::clone::Clone for AE_CONNSTOP { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct AE_GENERIC { + pub ae_ge_msgfile: u32, + pub ae_ge_msgnum: u32, + pub ae_ge_params: u32, + pub ae_ge_param1: u32, + pub ae_ge_param2: u32, + pub ae_ge_param3: u32, + pub ae_ge_param4: u32, + pub ae_ge_param5: u32, + pub ae_ge_param6: u32, + pub ae_ge_param7: u32, + pub ae_ge_param8: u32, + pub ae_ge_param9: u32, +} +impl ::core::marker::Copy for AE_GENERIC {} +impl ::core::clone::Clone for AE_GENERIC { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct AE_LOCKOUT { + pub ae_lk_compname: u32, + pub ae_lk_username: u32, + pub ae_lk_action: u32, + pub ae_lk_bad_pw_count: u32, +} +impl ::core::marker::Copy for AE_LOCKOUT {} +impl ::core::clone::Clone for AE_LOCKOUT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct AE_NETLOGOFF { + pub ae_nf_compname: u32, + pub ae_nf_username: u32, + pub ae_nf_reserved1: u32, + pub ae_nf_reserved2: u32, +} +impl ::core::marker::Copy for AE_NETLOGOFF {} +impl ::core::clone::Clone for AE_NETLOGOFF { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct AE_NETLOGON { + pub ae_no_compname: u32, + pub ae_no_username: u32, + pub ae_no_privilege: u32, + pub ae_no_authflags: u32, +} +impl ::core::marker::Copy for AE_NETLOGON {} +impl ::core::clone::Clone for AE_NETLOGON { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct AE_RESACCESS { + pub ae_ra_compname: u32, + pub ae_ra_username: u32, + pub ae_ra_resname: u32, + pub ae_ra_operation: u32, + pub ae_ra_returncode: u32, + pub ae_ra_restype: u32, + pub ae_ra_fileid: u32, +} +impl ::core::marker::Copy for AE_RESACCESS {} +impl ::core::clone::Clone for AE_RESACCESS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct AE_RESACCESSREJ { + pub ae_rr_compname: u32, + pub ae_rr_username: u32, + pub ae_rr_resname: u32, + pub ae_rr_operation: u32, +} +impl ::core::marker::Copy for AE_RESACCESSREJ {} +impl ::core::clone::Clone for AE_RESACCESSREJ { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct AE_SERVICESTAT { + pub ae_ss_compname: u32, + pub ae_ss_username: u32, + pub ae_ss_svcname: u32, + pub ae_ss_status: u32, + pub ae_ss_code: u32, + pub ae_ss_text: u32, + pub ae_ss_returnval: u32, +} +impl ::core::marker::Copy for AE_SERVICESTAT {} +impl ::core::clone::Clone for AE_SERVICESTAT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct AE_SESSLOGOFF { + pub ae_sf_compname: u32, + pub ae_sf_username: u32, + pub ae_sf_reason: u32, +} +impl ::core::marker::Copy for AE_SESSLOGOFF {} +impl ::core::clone::Clone for AE_SESSLOGOFF { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct AE_SESSLOGON { + pub ae_so_compname: u32, + pub ae_so_username: u32, + pub ae_so_privilege: u32, +} +impl ::core::marker::Copy for AE_SESSLOGON {} +impl ::core::clone::Clone for AE_SESSLOGON { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct AE_SESSPWERR { + pub ae_sp_compname: u32, + pub ae_sp_username: u32, +} +impl ::core::marker::Copy for AE_SESSPWERR {} +impl ::core::clone::Clone for AE_SESSPWERR { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct AE_SRVSTATUS { + pub ae_sv_status: u32, +} +impl ::core::marker::Copy for AE_SRVSTATUS {} +impl ::core::clone::Clone for AE_SRVSTATUS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct AE_UASMOD { + pub ae_um_compname: u32, + pub ae_um_username: u32, + pub ae_um_resname: u32, + pub ae_um_rectype: u32, + pub ae_um_action: u32, + pub ae_um_datalen: u32, +} +impl ::core::marker::Copy for AE_UASMOD {} +impl ::core::clone::Clone for AE_UASMOD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct AT_ENUM { + pub JobId: u32, + pub JobTime: usize, + pub DaysOfMonth: u32, + pub DaysOfWeek: u8, + pub Flags: u8, + pub Command: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for AT_ENUM {} +impl ::core::clone::Clone for AT_ENUM { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct AT_INFO { + pub JobTime: usize, + pub DaysOfMonth: u32, + pub DaysOfWeek: u8, + pub Flags: u8, + pub Command: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for AT_INFO {} +impl ::core::clone::Clone for AT_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct AUDIT_ENTRY { + pub ae_len: u32, + pub ae_reserved: u32, + pub ae_time: u32, + pub ae_type: u32, + pub ae_data_offset: u32, + pub ae_data_size: u32, +} +impl ::core::marker::Copy for AUDIT_ENTRY {} +impl ::core::clone::Clone for AUDIT_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct CONFIG_INFO_0 { + pub cfgi0_key: ::windows_sys::core::PWSTR, + pub cfgi0_data: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for CONFIG_INFO_0 {} +impl ::core::clone::Clone for CONFIG_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +pub struct DSREG_JOIN_INFO { + pub joinType: DSREG_JOIN_TYPE, + pub pJoinCertificate: *const super::super::Security::Cryptography::CERT_CONTEXT, + pub pszDeviceId: ::windows_sys::core::PWSTR, + pub pszIdpDomain: ::windows_sys::core::PWSTR, + pub pszTenantId: ::windows_sys::core::PWSTR, + pub pszJoinUserEmail: ::windows_sys::core::PWSTR, + pub pszTenantDisplayName: ::windows_sys::core::PWSTR, + pub pszMdmEnrollmentUrl: ::windows_sys::core::PWSTR, + pub pszMdmTermsOfUseUrl: ::windows_sys::core::PWSTR, + pub pszMdmComplianceUrl: ::windows_sys::core::PWSTR, + pub pszUserSettingSyncUrl: ::windows_sys::core::PWSTR, + pub pUserInfo: *mut DSREG_USER_INFO, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::marker::Copy for DSREG_JOIN_INFO {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::clone::Clone for DSREG_JOIN_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DSREG_USER_INFO { + pub pszUserEmail: ::windows_sys::core::PWSTR, + pub pszUserKeyId: ::windows_sys::core::PWSTR, + pub pszUserKeyName: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for DSREG_USER_INFO {} +impl ::core::clone::Clone for DSREG_USER_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct ERRLOG_OTHER_INFO { + pub alrter_errcode: u32, + pub alrter_offset: u32, +} +impl ::core::marker::Copy for ERRLOG_OTHER_INFO {} +impl ::core::clone::Clone for ERRLOG_OTHER_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct ERROR_LOG { + pub el_len: u32, + pub el_reserved: u32, + pub el_time: u32, + pub el_error: u32, + pub el_name: ::windows_sys::core::PWSTR, + pub el_text: ::windows_sys::core::PWSTR, + pub el_data: *mut u8, + pub el_data_size: u32, + pub el_nstrings: u32, +} +impl ::core::marker::Copy for ERROR_LOG {} +impl ::core::clone::Clone for ERROR_LOG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FLAT_STRING { + pub MaximumLength: i16, + pub Length: i16, + pub Buffer: [u8; 1], +} +impl ::core::marker::Copy for FLAT_STRING {} +impl ::core::clone::Clone for FLAT_STRING { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct GROUP_INFO_0 { + pub grpi0_name: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for GROUP_INFO_0 {} +impl ::core::clone::Clone for GROUP_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct GROUP_INFO_1 { + pub grpi1_name: ::windows_sys::core::PWSTR, + pub grpi1_comment: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for GROUP_INFO_1 {} +impl ::core::clone::Clone for GROUP_INFO_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct GROUP_INFO_1002 { + pub grpi1002_comment: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for GROUP_INFO_1002 {} +impl ::core::clone::Clone for GROUP_INFO_1002 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct GROUP_INFO_1005 { + pub grpi1005_attributes: u32, +} +impl ::core::marker::Copy for GROUP_INFO_1005 {} +impl ::core::clone::Clone for GROUP_INFO_1005 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct GROUP_INFO_2 { + pub grpi2_name: ::windows_sys::core::PWSTR, + pub grpi2_comment: ::windows_sys::core::PWSTR, + pub grpi2_group_id: u32, + pub grpi2_attributes: u32, +} +impl ::core::marker::Copy for GROUP_INFO_2 {} +impl ::core::clone::Clone for GROUP_INFO_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct GROUP_INFO_3 { + pub grpi3_name: ::windows_sys::core::PWSTR, + pub grpi3_comment: ::windows_sys::core::PWSTR, + pub grpi3_group_sid: super::super::Foundation::PSID, + pub grpi3_attributes: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for GROUP_INFO_3 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for GROUP_INFO_3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct GROUP_USERS_INFO_0 { + pub grui0_name: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for GROUP_USERS_INFO_0 {} +impl ::core::clone::Clone for GROUP_USERS_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct GROUP_USERS_INFO_1 { + pub grui1_name: ::windows_sys::core::PWSTR, + pub grui1_attributes: u32, +} +impl ::core::marker::Copy for GROUP_USERS_INFO_1 {} +impl ::core::clone::Clone for GROUP_USERS_INFO_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct HARDWARE_ADDRESS { + pub Address: [u8; 6], +} +impl ::core::marker::Copy for HARDWARE_ADDRESS {} +impl ::core::clone::Clone for HARDWARE_ADDRESS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct HLOG { + pub time: u32, + pub last_flags: u32, + pub offset: u32, + pub rec_offset: u32, +} +impl ::core::marker::Copy for HLOG {} +impl ::core::clone::Clone for HLOG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct LOCALGROUP_INFO_0 { + pub lgrpi0_name: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for LOCALGROUP_INFO_0 {} +impl ::core::clone::Clone for LOCALGROUP_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct LOCALGROUP_INFO_1 { + pub lgrpi1_name: ::windows_sys::core::PWSTR, + pub lgrpi1_comment: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for LOCALGROUP_INFO_1 {} +impl ::core::clone::Clone for LOCALGROUP_INFO_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct LOCALGROUP_INFO_1002 { + pub lgrpi1002_comment: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for LOCALGROUP_INFO_1002 {} +impl ::core::clone::Clone for LOCALGROUP_INFO_1002 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct LOCALGROUP_MEMBERS_INFO_0 { + pub lgrmi0_sid: super::super::Foundation::PSID, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for LOCALGROUP_MEMBERS_INFO_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for LOCALGROUP_MEMBERS_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct LOCALGROUP_MEMBERS_INFO_1 { + pub lgrmi1_sid: super::super::Foundation::PSID, + pub lgrmi1_sidusage: super::super::Security::SID_NAME_USE, + pub lgrmi1_name: ::windows_sys::core::PWSTR, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for LOCALGROUP_MEMBERS_INFO_1 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for LOCALGROUP_MEMBERS_INFO_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct LOCALGROUP_MEMBERS_INFO_2 { + pub lgrmi2_sid: super::super::Foundation::PSID, + pub lgrmi2_sidusage: super::super::Security::SID_NAME_USE, + pub lgrmi2_domainandname: ::windows_sys::core::PWSTR, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for LOCALGROUP_MEMBERS_INFO_2 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for LOCALGROUP_MEMBERS_INFO_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct LOCALGROUP_MEMBERS_INFO_3 { + pub lgrmi3_domainandname: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for LOCALGROUP_MEMBERS_INFO_3 {} +impl ::core::clone::Clone for LOCALGROUP_MEMBERS_INFO_3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct LOCALGROUP_USERS_INFO_0 { + pub lgrui0_name: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for LOCALGROUP_USERS_INFO_0 {} +impl ::core::clone::Clone for LOCALGROUP_USERS_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct MPR_PROTOCOL_0 { + pub dwProtocolId: u32, + pub wszProtocol: [u16; 41], + pub wszDLLName: [u16; 49], +} +impl ::core::marker::Copy for MPR_PROTOCOL_0 {} +impl ::core::clone::Clone for MPR_PROTOCOL_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct MSA_INFO_0 { + pub State: MSA_INFO_STATE, +} +impl ::core::marker::Copy for MSA_INFO_0 {} +impl ::core::clone::Clone for MSA_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct MSG_INFO_0 { + pub msgi0_name: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for MSG_INFO_0 {} +impl ::core::clone::Clone for MSG_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct MSG_INFO_1 { + pub msgi1_name: ::windows_sys::core::PWSTR, + pub msgi1_forward_flag: u32, + pub msgi1_forward: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for MSG_INFO_1 {} +impl ::core::clone::Clone for MSG_INFO_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NETLOGON_INFO_1 { + pub netlog1_flags: u32, + pub netlog1_pdc_connection_status: u32, +} +impl ::core::marker::Copy for NETLOGON_INFO_1 {} +impl ::core::clone::Clone for NETLOGON_INFO_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NETLOGON_INFO_2 { + pub netlog2_flags: u32, + pub netlog2_pdc_connection_status: u32, + pub netlog2_trusted_dc_name: ::windows_sys::core::PWSTR, + pub netlog2_tc_connection_status: u32, +} +impl ::core::marker::Copy for NETLOGON_INFO_2 {} +impl ::core::clone::Clone for NETLOGON_INFO_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NETLOGON_INFO_3 { + pub netlog3_flags: u32, + pub netlog3_logon_attempts: u32, + pub netlog3_reserved1: u32, + pub netlog3_reserved2: u32, + pub netlog3_reserved3: u32, + pub netlog3_reserved4: u32, + pub netlog3_reserved5: u32, +} +impl ::core::marker::Copy for NETLOGON_INFO_3 {} +impl ::core::clone::Clone for NETLOGON_INFO_3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NETLOGON_INFO_4 { + pub netlog4_trusted_dc_name: ::windows_sys::core::PWSTR, + pub netlog4_trusted_domain_name: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for NETLOGON_INFO_4 {} +impl ::core::clone::Clone for NETLOGON_INFO_4 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NETSETUP_PROVISIONING_PARAMS { + pub dwVersion: u32, + pub lpDomain: ::windows_sys::core::PCWSTR, + pub lpHostName: ::windows_sys::core::PCWSTR, + pub lpMachineAccountOU: ::windows_sys::core::PCWSTR, + pub lpDcName: ::windows_sys::core::PCWSTR, + pub dwProvisionOptions: NETSETUP_PROVISION, + pub aCertTemplateNames: *const ::windows_sys::core::PCWSTR, + pub cCertTemplateNames: u32, + pub aMachinePolicyNames: *const ::windows_sys::core::PCWSTR, + pub cMachinePolicyNames: u32, + pub aMachinePolicyPaths: *const ::windows_sys::core::PCWSTR, + pub cMachinePolicyPaths: u32, + pub lpNetbiosName: ::windows_sys::core::PWSTR, + pub lpSiteName: ::windows_sys::core::PWSTR, + pub lpPrimaryDNSDomain: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for NETSETUP_PROVISIONING_PARAMS {} +impl ::core::clone::Clone for NETSETUP_PROVISIONING_PARAMS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NETWORK_NAME { + pub Name: FLAT_STRING, +} +impl ::core::marker::Copy for NETWORK_NAME {} +impl ::core::clone::Clone for NETWORK_NAME { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NET_DISPLAY_GROUP { + pub grpi3_name: ::windows_sys::core::PWSTR, + pub grpi3_comment: ::windows_sys::core::PWSTR, + pub grpi3_group_id: u32, + pub grpi3_attributes: u32, + pub grpi3_next_index: u32, +} +impl ::core::marker::Copy for NET_DISPLAY_GROUP {} +impl ::core::clone::Clone for NET_DISPLAY_GROUP { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NET_DISPLAY_MACHINE { + pub usri2_name: ::windows_sys::core::PWSTR, + pub usri2_comment: ::windows_sys::core::PWSTR, + pub usri2_flags: USER_ACCOUNT_FLAGS, + pub usri2_user_id: u32, + pub usri2_next_index: u32, +} +impl ::core::marker::Copy for NET_DISPLAY_MACHINE {} +impl ::core::clone::Clone for NET_DISPLAY_MACHINE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NET_DISPLAY_USER { + pub usri1_name: ::windows_sys::core::PWSTR, + pub usri1_comment: ::windows_sys::core::PWSTR, + pub usri1_flags: USER_ACCOUNT_FLAGS, + pub usri1_full_name: ::windows_sys::core::PWSTR, + pub usri1_user_id: u32, + pub usri1_next_index: u32, +} +impl ::core::marker::Copy for NET_DISPLAY_USER {} +impl ::core::clone::Clone for NET_DISPLAY_USER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct NET_VALIDATE_AUTHENTICATION_INPUT_ARG { + pub InputPersistedFields: NET_VALIDATE_PERSISTED_FIELDS, + pub PasswordMatched: super::super::Foundation::BOOLEAN, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NET_VALIDATE_AUTHENTICATION_INPUT_ARG {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NET_VALIDATE_AUTHENTICATION_INPUT_ARG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct NET_VALIDATE_OUTPUT_ARG { + pub ChangedPersistedFields: NET_VALIDATE_PERSISTED_FIELDS, + pub ValidationStatus: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NET_VALIDATE_OUTPUT_ARG {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NET_VALIDATE_OUTPUT_ARG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct NET_VALIDATE_PASSWORD_CHANGE_INPUT_ARG { + pub InputPersistedFields: NET_VALIDATE_PERSISTED_FIELDS, + pub ClearPassword: ::windows_sys::core::PWSTR, + pub UserAccountName: ::windows_sys::core::PWSTR, + pub HashedPassword: NET_VALIDATE_PASSWORD_HASH, + pub PasswordMatch: super::super::Foundation::BOOLEAN, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NET_VALIDATE_PASSWORD_CHANGE_INPUT_ARG {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NET_VALIDATE_PASSWORD_CHANGE_INPUT_ARG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NET_VALIDATE_PASSWORD_HASH { + pub Length: u32, + pub Hash: *mut u8, +} +impl ::core::marker::Copy for NET_VALIDATE_PASSWORD_HASH {} +impl ::core::clone::Clone for NET_VALIDATE_PASSWORD_HASH { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct NET_VALIDATE_PASSWORD_RESET_INPUT_ARG { + pub InputPersistedFields: NET_VALIDATE_PERSISTED_FIELDS, + pub ClearPassword: ::windows_sys::core::PWSTR, + pub UserAccountName: ::windows_sys::core::PWSTR, + pub HashedPassword: NET_VALIDATE_PASSWORD_HASH, + pub PasswordMustChangeAtNextLogon: super::super::Foundation::BOOLEAN, + pub ClearLockout: super::super::Foundation::BOOLEAN, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NET_VALIDATE_PASSWORD_RESET_INPUT_ARG {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NET_VALIDATE_PASSWORD_RESET_INPUT_ARG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct NET_VALIDATE_PERSISTED_FIELDS { + pub PresentFields: u32, + pub PasswordLastSet: super::super::Foundation::FILETIME, + pub BadPasswordTime: super::super::Foundation::FILETIME, + pub LockoutTime: super::super::Foundation::FILETIME, + pub BadPasswordCount: u32, + pub PasswordHistoryLength: u32, + pub PasswordHistory: *mut NET_VALIDATE_PASSWORD_HASH, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NET_VALIDATE_PERSISTED_FIELDS {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NET_VALIDATE_PERSISTED_FIELDS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct OBO_TOKEN { + pub Type: OBO_TOKEN_TYPE, + pub pncc: INetCfgComponent, + pub pszwManufacturer: ::windows_sys::core::PCWSTR, + pub pszwProduct: ::windows_sys::core::PCWSTR, + pub pszwDisplayName: ::windows_sys::core::PCWSTR, + pub fRegistered: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OBO_TOKEN {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OBO_TOKEN { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PRINT_OTHER_INFO { + pub alrtpr_jobid: u32, + pub alrtpr_status: u32, + pub alrtpr_submitted: u32, + pub alrtpr_size: u32, +} +impl ::core::marker::Copy for PRINT_OTHER_INFO {} +impl ::core::clone::Clone for PRINT_OTHER_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct RASCON_IPUI { + pub guidConnection: ::windows_sys::core::GUID, + pub fIPv6Cfg: super::super::Foundation::BOOL, + pub dwFlags: u32, + pub pszwIpAddr: [u16; 16], + pub pszwDnsAddr: [u16; 16], + pub pszwDns2Addr: [u16; 16], + pub pszwWinsAddr: [u16; 16], + pub pszwWins2Addr: [u16; 16], + pub pszwDnsSuffix: [u16; 256], + pub pszwIpv6Addr: [u16; 65], + pub dwIpv6PrefixLength: u32, + pub pszwIpv6DnsAddr: [u16; 65], + pub pszwIpv6Dns2Addr: [u16; 65], + pub dwIPv4InfMetric: u32, + pub dwIPv6InfMetric: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RASCON_IPUI {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RASCON_IPUI { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct REPL_EDIR_INFO_0 { + pub rped0_dirname: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for REPL_EDIR_INFO_0 {} +impl ::core::clone::Clone for REPL_EDIR_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct REPL_EDIR_INFO_1 { + pub rped1_dirname: ::windows_sys::core::PWSTR, + pub rped1_integrity: u32, + pub rped1_extent: u32, +} +impl ::core::marker::Copy for REPL_EDIR_INFO_1 {} +impl ::core::clone::Clone for REPL_EDIR_INFO_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct REPL_EDIR_INFO_1000 { + pub rped1000_integrity: u32, +} +impl ::core::marker::Copy for REPL_EDIR_INFO_1000 {} +impl ::core::clone::Clone for REPL_EDIR_INFO_1000 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct REPL_EDIR_INFO_1001 { + pub rped1001_extent: u32, +} +impl ::core::marker::Copy for REPL_EDIR_INFO_1001 {} +impl ::core::clone::Clone for REPL_EDIR_INFO_1001 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct REPL_EDIR_INFO_2 { + pub rped2_dirname: ::windows_sys::core::PWSTR, + pub rped2_integrity: u32, + pub rped2_extent: u32, + pub rped2_lockcount: u32, + pub rped2_locktime: u32, +} +impl ::core::marker::Copy for REPL_EDIR_INFO_2 {} +impl ::core::clone::Clone for REPL_EDIR_INFO_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct REPL_IDIR_INFO_0 { + pub rpid0_dirname: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for REPL_IDIR_INFO_0 {} +impl ::core::clone::Clone for REPL_IDIR_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct REPL_IDIR_INFO_1 { + pub rpid1_dirname: ::windows_sys::core::PWSTR, + pub rpid1_state: u32, + pub rpid1_mastername: ::windows_sys::core::PWSTR, + pub rpid1_last_update_time: u32, + pub rpid1_lockcount: u32, + pub rpid1_locktime: u32, +} +impl ::core::marker::Copy for REPL_IDIR_INFO_1 {} +impl ::core::clone::Clone for REPL_IDIR_INFO_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct REPL_INFO_0 { + pub rp0_role: u32, + pub rp0_exportpath: ::windows_sys::core::PWSTR, + pub rp0_exportlist: ::windows_sys::core::PWSTR, + pub rp0_importpath: ::windows_sys::core::PWSTR, + pub rp0_importlist: ::windows_sys::core::PWSTR, + pub rp0_logonusername: ::windows_sys::core::PWSTR, + pub rp0_interval: u32, + pub rp0_pulse: u32, + pub rp0_guardtime: u32, + pub rp0_random: u32, +} +impl ::core::marker::Copy for REPL_INFO_0 {} +impl ::core::clone::Clone for REPL_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct REPL_INFO_1000 { + pub rp1000_interval: u32, +} +impl ::core::marker::Copy for REPL_INFO_1000 {} +impl ::core::clone::Clone for REPL_INFO_1000 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct REPL_INFO_1001 { + pub rp1001_pulse: u32, +} +impl ::core::marker::Copy for REPL_INFO_1001 {} +impl ::core::clone::Clone for REPL_INFO_1001 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct REPL_INFO_1002 { + pub rp1002_guardtime: u32, +} +impl ::core::marker::Copy for REPL_INFO_1002 {} +impl ::core::clone::Clone for REPL_INFO_1002 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct REPL_INFO_1003 { + pub rp1003_random: u32, +} +impl ::core::marker::Copy for REPL_INFO_1003 {} +impl ::core::clone::Clone for REPL_INFO_1003 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RTR_INFO_BLOCK_HEADER { + pub Version: u32, + pub Size: u32, + pub TocEntriesCount: u32, + pub TocEntry: [RTR_TOC_ENTRY; 1], +} +impl ::core::marker::Copy for RTR_INFO_BLOCK_HEADER {} +impl ::core::clone::Clone for RTR_INFO_BLOCK_HEADER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RTR_TOC_ENTRY { + pub InfoType: u32, + pub InfoSize: u32, + pub Count: u32, + pub Offset: u32, +} +impl ::core::marker::Copy for RTR_TOC_ENTRY {} +impl ::core::clone::Clone for RTR_TOC_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_100 { + pub sv100_platform_id: u32, + pub sv100_name: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for SERVER_INFO_100 {} +impl ::core::clone::Clone for SERVER_INFO_100 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1005 { + pub sv1005_comment: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for SERVER_INFO_1005 {} +impl ::core::clone::Clone for SERVER_INFO_1005 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_101 { + pub sv101_platform_id: u32, + pub sv101_name: ::windows_sys::core::PWSTR, + pub sv101_version_major: u32, + pub sv101_version_minor: u32, + pub sv101_type: NET_SERVER_TYPE, + pub sv101_comment: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for SERVER_INFO_101 {} +impl ::core::clone::Clone for SERVER_INFO_101 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1010 { + pub sv1010_disc: i32, +} +impl ::core::marker::Copy for SERVER_INFO_1010 {} +impl ::core::clone::Clone for SERVER_INFO_1010 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1016 { + pub sv1016_hidden: SERVER_INFO_HIDDEN, +} +impl ::core::marker::Copy for SERVER_INFO_1016 {} +impl ::core::clone::Clone for SERVER_INFO_1016 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1017 { + pub sv1017_announce: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1017 {} +impl ::core::clone::Clone for SERVER_INFO_1017 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1018 { + pub sv1018_anndelta: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1018 {} +impl ::core::clone::Clone for SERVER_INFO_1018 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_102 { + pub sv102_platform_id: u32, + pub sv102_name: ::windows_sys::core::PWSTR, + pub sv102_version_major: u32, + pub sv102_version_minor: u32, + pub sv102_type: NET_SERVER_TYPE, + pub sv102_comment: ::windows_sys::core::PWSTR, + pub sv102_users: u32, + pub sv102_disc: i32, + pub sv102_hidden: SERVER_INFO_HIDDEN, + pub sv102_announce: u32, + pub sv102_anndelta: u32, + pub sv102_licenses: u32, + pub sv102_userpath: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for SERVER_INFO_102 {} +impl ::core::clone::Clone for SERVER_INFO_102 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SERVER_INFO_103 { + pub sv103_platform_id: u32, + pub sv103_name: ::windows_sys::core::PWSTR, + pub sv103_version_major: u32, + pub sv103_version_minor: u32, + pub sv103_type: u32, + pub sv103_comment: ::windows_sys::core::PWSTR, + pub sv103_users: u32, + pub sv103_disc: i32, + pub sv103_hidden: super::super::Foundation::BOOL, + pub sv103_announce: u32, + pub sv103_anndelta: u32, + pub sv103_licenses: u32, + pub sv103_userpath: ::windows_sys::core::PWSTR, + pub sv103_capabilities: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SERVER_INFO_103 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SERVER_INFO_103 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1107 { + pub sv1107_users: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1107 {} +impl ::core::clone::Clone for SERVER_INFO_1107 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1501 { + pub sv1501_sessopens: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1501 {} +impl ::core::clone::Clone for SERVER_INFO_1501 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1502 { + pub sv1502_sessvcs: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1502 {} +impl ::core::clone::Clone for SERVER_INFO_1502 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1503 { + pub sv1503_opensearch: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1503 {} +impl ::core::clone::Clone for SERVER_INFO_1503 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1506 { + pub sv1506_maxworkitems: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1506 {} +impl ::core::clone::Clone for SERVER_INFO_1506 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1509 { + pub sv1509_maxrawbuflen: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1509 {} +impl ::core::clone::Clone for SERVER_INFO_1509 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1510 { + pub sv1510_sessusers: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1510 {} +impl ::core::clone::Clone for SERVER_INFO_1510 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1511 { + pub sv1511_sessconns: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1511 {} +impl ::core::clone::Clone for SERVER_INFO_1511 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1512 { + pub sv1512_maxnonpagedmemoryusage: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1512 {} +impl ::core::clone::Clone for SERVER_INFO_1512 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1513 { + pub sv1513_maxpagedmemoryusage: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1513 {} +impl ::core::clone::Clone for SERVER_INFO_1513 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SERVER_INFO_1514 { + pub sv1514_enablesoftcompat: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SERVER_INFO_1514 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SERVER_INFO_1514 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SERVER_INFO_1515 { + pub sv1515_enableforcedlogoff: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SERVER_INFO_1515 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SERVER_INFO_1515 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SERVER_INFO_1516 { + pub sv1516_timesource: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SERVER_INFO_1516 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SERVER_INFO_1516 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SERVER_INFO_1518 { + pub sv1518_lmannounce: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SERVER_INFO_1518 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SERVER_INFO_1518 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1520 { + pub sv1520_maxcopyreadlen: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1520 {} +impl ::core::clone::Clone for SERVER_INFO_1520 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1521 { + pub sv1521_maxcopywritelen: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1521 {} +impl ::core::clone::Clone for SERVER_INFO_1521 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1522 { + pub sv1522_minkeepsearch: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1522 {} +impl ::core::clone::Clone for SERVER_INFO_1522 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1523 { + pub sv1523_maxkeepsearch: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1523 {} +impl ::core::clone::Clone for SERVER_INFO_1523 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1524 { + pub sv1524_minkeepcomplsearch: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1524 {} +impl ::core::clone::Clone for SERVER_INFO_1524 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1525 { + pub sv1525_maxkeepcomplsearch: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1525 {} +impl ::core::clone::Clone for SERVER_INFO_1525 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1528 { + pub sv1528_scavtimeout: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1528 {} +impl ::core::clone::Clone for SERVER_INFO_1528 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1529 { + pub sv1529_minrcvqueue: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1529 {} +impl ::core::clone::Clone for SERVER_INFO_1529 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1530 { + pub sv1530_minfreeworkitems: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1530 {} +impl ::core::clone::Clone for SERVER_INFO_1530 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1533 { + pub sv1533_maxmpxct: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1533 {} +impl ::core::clone::Clone for SERVER_INFO_1533 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1534 { + pub sv1534_oplockbreakwait: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1534 {} +impl ::core::clone::Clone for SERVER_INFO_1534 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1535 { + pub sv1535_oplockbreakresponsewait: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1535 {} +impl ::core::clone::Clone for SERVER_INFO_1535 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SERVER_INFO_1536 { + pub sv1536_enableoplocks: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SERVER_INFO_1536 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SERVER_INFO_1536 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SERVER_INFO_1537 { + pub sv1537_enableoplockforceclose: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SERVER_INFO_1537 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SERVER_INFO_1537 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SERVER_INFO_1538 { + pub sv1538_enablefcbopens: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SERVER_INFO_1538 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SERVER_INFO_1538 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SERVER_INFO_1539 { + pub sv1539_enableraw: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SERVER_INFO_1539 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SERVER_INFO_1539 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SERVER_INFO_1540 { + pub sv1540_enablesharednetdrives: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SERVER_INFO_1540 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SERVER_INFO_1540 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SERVER_INFO_1541 { + pub sv1541_minfreeconnections: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SERVER_INFO_1541 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SERVER_INFO_1541 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SERVER_INFO_1542 { + pub sv1542_maxfreeconnections: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SERVER_INFO_1542 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SERVER_INFO_1542 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1543 { + pub sv1543_initsesstable: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1543 {} +impl ::core::clone::Clone for SERVER_INFO_1543 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1544 { + pub sv1544_initconntable: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1544 {} +impl ::core::clone::Clone for SERVER_INFO_1544 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1545 { + pub sv1545_initfiletable: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1545 {} +impl ::core::clone::Clone for SERVER_INFO_1545 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1546 { + pub sv1546_initsearchtable: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1546 {} +impl ::core::clone::Clone for SERVER_INFO_1546 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1547 { + pub sv1547_alertschedule: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1547 {} +impl ::core::clone::Clone for SERVER_INFO_1547 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1548 { + pub sv1548_errorthreshold: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1548 {} +impl ::core::clone::Clone for SERVER_INFO_1548 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1549 { + pub sv1549_networkerrorthreshold: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1549 {} +impl ::core::clone::Clone for SERVER_INFO_1549 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1550 { + pub sv1550_diskspacethreshold: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1550 {} +impl ::core::clone::Clone for SERVER_INFO_1550 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1552 { + pub sv1552_maxlinkdelay: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1552 {} +impl ::core::clone::Clone for SERVER_INFO_1552 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1553 { + pub sv1553_minlinkthroughput: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1553 {} +impl ::core::clone::Clone for SERVER_INFO_1553 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1554 { + pub sv1554_linkinfovalidtime: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1554 {} +impl ::core::clone::Clone for SERVER_INFO_1554 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1555 { + pub sv1555_scavqosinfoupdatetime: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1555 {} +impl ::core::clone::Clone for SERVER_INFO_1555 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1556 { + pub sv1556_maxworkitemidletime: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1556 {} +impl ::core::clone::Clone for SERVER_INFO_1556 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1557 { + pub sv1557_maxrawworkitems: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1557 {} +impl ::core::clone::Clone for SERVER_INFO_1557 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1560 { + pub sv1560_producttype: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1560 {} +impl ::core::clone::Clone for SERVER_INFO_1560 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1561 { + pub sv1561_serversize: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1561 {} +impl ::core::clone::Clone for SERVER_INFO_1561 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1562 { + pub sv1562_connectionlessautodisc: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1562 {} +impl ::core::clone::Clone for SERVER_INFO_1562 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1563 { + pub sv1563_sharingviolationretries: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1563 {} +impl ::core::clone::Clone for SERVER_INFO_1563 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1564 { + pub sv1564_sharingviolationdelay: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1564 {} +impl ::core::clone::Clone for SERVER_INFO_1564 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1565 { + pub sv1565_maxglobalopensearch: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1565 {} +impl ::core::clone::Clone for SERVER_INFO_1565 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SERVER_INFO_1566 { + pub sv1566_removeduplicatesearches: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SERVER_INFO_1566 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SERVER_INFO_1566 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1567 { + pub sv1567_lockviolationretries: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1567 {} +impl ::core::clone::Clone for SERVER_INFO_1567 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1568 { + pub sv1568_lockviolationoffset: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1568 {} +impl ::core::clone::Clone for SERVER_INFO_1568 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1569 { + pub sv1569_lockviolationdelay: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1569 {} +impl ::core::clone::Clone for SERVER_INFO_1569 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1570 { + pub sv1570_mdlreadswitchover: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1570 {} +impl ::core::clone::Clone for SERVER_INFO_1570 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1571 { + pub sv1571_cachedopenlimit: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1571 {} +impl ::core::clone::Clone for SERVER_INFO_1571 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1572 { + pub sv1572_criticalthreads: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1572 {} +impl ::core::clone::Clone for SERVER_INFO_1572 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1573 { + pub sv1573_restrictnullsessaccess: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1573 {} +impl ::core::clone::Clone for SERVER_INFO_1573 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1574 { + pub sv1574_enablewfw311directipx: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1574 {} +impl ::core::clone::Clone for SERVER_INFO_1574 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1575 { + pub sv1575_otherqueueaffinity: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1575 {} +impl ::core::clone::Clone for SERVER_INFO_1575 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1576 { + pub sv1576_queuesamplesecs: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1576 {} +impl ::core::clone::Clone for SERVER_INFO_1576 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1577 { + pub sv1577_balancecount: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1577 {} +impl ::core::clone::Clone for SERVER_INFO_1577 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1578 { + pub sv1578_preferredaffinity: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1578 {} +impl ::core::clone::Clone for SERVER_INFO_1578 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1579 { + pub sv1579_maxfreerfcbs: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1579 {} +impl ::core::clone::Clone for SERVER_INFO_1579 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1580 { + pub sv1580_maxfreemfcbs: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1580 {} +impl ::core::clone::Clone for SERVER_INFO_1580 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1581 { + pub sv1581_maxfreemlcbs: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1581 {} +impl ::core::clone::Clone for SERVER_INFO_1581 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1582 { + pub sv1582_maxfreepagedpoolchunks: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1582 {} +impl ::core::clone::Clone for SERVER_INFO_1582 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1583 { + pub sv1583_minpagedpoolchunksize: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1583 {} +impl ::core::clone::Clone for SERVER_INFO_1583 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1584 { + pub sv1584_maxpagedpoolchunksize: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1584 {} +impl ::core::clone::Clone for SERVER_INFO_1584 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SERVER_INFO_1585 { + pub sv1585_sendsfrompreferredprocessor: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SERVER_INFO_1585 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SERVER_INFO_1585 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1586 { + pub sv1586_maxthreadsperqueue: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1586 {} +impl ::core::clone::Clone for SERVER_INFO_1586 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1587 { + pub sv1587_cacheddirectorylimit: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1587 {} +impl ::core::clone::Clone for SERVER_INFO_1587 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1588 { + pub sv1588_maxcopylength: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1588 {} +impl ::core::clone::Clone for SERVER_INFO_1588 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1590 { + pub sv1590_enablecompression: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1590 {} +impl ::core::clone::Clone for SERVER_INFO_1590 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1591 { + pub sv1591_autosharewks: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1591 {} +impl ::core::clone::Clone for SERVER_INFO_1591 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1592 { + pub sv1592_autosharewks: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1592 {} +impl ::core::clone::Clone for SERVER_INFO_1592 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1593 { + pub sv1593_enablesecuritysignature: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1593 {} +impl ::core::clone::Clone for SERVER_INFO_1593 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1594 { + pub sv1594_requiresecuritysignature: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1594 {} +impl ::core::clone::Clone for SERVER_INFO_1594 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1595 { + pub sv1595_minclientbuffersize: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1595 {} +impl ::core::clone::Clone for SERVER_INFO_1595 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1596 { + pub sv1596_ConnectionNoSessionsTimeout: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1596 {} +impl ::core::clone::Clone for SERVER_INFO_1596 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1597 { + pub sv1597_IdleThreadTimeOut: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1597 {} +impl ::core::clone::Clone for SERVER_INFO_1597 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1598 { + pub sv1598_enableW9xsecuritysignature: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1598 {} +impl ::core::clone::Clone for SERVER_INFO_1598 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SERVER_INFO_1599 { + pub sv1598_enforcekerberosreauthentication: super::super::Foundation::BOOLEAN, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SERVER_INFO_1599 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SERVER_INFO_1599 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SERVER_INFO_1600 { + pub sv1598_disabledos: super::super::Foundation::BOOLEAN, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SERVER_INFO_1600 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SERVER_INFO_1600 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_1601 { + pub sv1598_lowdiskspaceminimum: u32, +} +impl ::core::marker::Copy for SERVER_INFO_1601 {} +impl ::core::clone::Clone for SERVER_INFO_1601 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SERVER_INFO_1602 { + pub sv_1598_disablestrictnamechecking: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SERVER_INFO_1602 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SERVER_INFO_1602 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_402 { + pub sv402_ulist_mtime: u32, + pub sv402_glist_mtime: u32, + pub sv402_alist_mtime: u32, + pub sv402_alerts: ::windows_sys::core::PWSTR, + pub sv402_security: SERVER_INFO_SECURITY, + pub sv402_numadmin: u32, + pub sv402_lanmask: u32, + pub sv402_guestacct: ::windows_sys::core::PWSTR, + pub sv402_chdevs: u32, + pub sv402_chdevq: u32, + pub sv402_chdevjobs: u32, + pub sv402_connections: u32, + pub sv402_shares: u32, + pub sv402_openfiles: u32, + pub sv402_sessopens: u32, + pub sv402_sessvcs: u32, + pub sv402_sessreqs: u32, + pub sv402_opensearch: u32, + pub sv402_activelocks: u32, + pub sv402_numreqbuf: u32, + pub sv402_sizreqbuf: u32, + pub sv402_numbigbuf: u32, + pub sv402_numfiletasks: u32, + pub sv402_alertsched: u32, + pub sv402_erroralert: u32, + pub sv402_logonalert: u32, + pub sv402_accessalert: u32, + pub sv402_diskalert: u32, + pub sv402_netioalert: u32, + pub sv402_maxauditsz: u32, + pub sv402_srvheuristics: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for SERVER_INFO_402 {} +impl ::core::clone::Clone for SERVER_INFO_402 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_INFO_403 { + pub sv403_ulist_mtime: u32, + pub sv403_glist_mtime: u32, + pub sv403_alist_mtime: u32, + pub sv403_alerts: ::windows_sys::core::PWSTR, + pub sv403_security: SERVER_INFO_SECURITY, + pub sv403_numadmin: u32, + pub sv403_lanmask: u32, + pub sv403_guestacct: ::windows_sys::core::PWSTR, + pub sv403_chdevs: u32, + pub sv403_chdevq: u32, + pub sv403_chdevjobs: u32, + pub sv403_connections: u32, + pub sv403_shares: u32, + pub sv403_openfiles: u32, + pub sv403_sessopens: u32, + pub sv403_sessvcs: u32, + pub sv403_sessreqs: u32, + pub sv403_opensearch: u32, + pub sv403_activelocks: u32, + pub sv403_numreqbuf: u32, + pub sv403_sizreqbuf: u32, + pub sv403_numbigbuf: u32, + pub sv403_numfiletasks: u32, + pub sv403_alertsched: u32, + pub sv403_erroralert: u32, + pub sv403_logonalert: u32, + pub sv403_accessalert: u32, + pub sv403_diskalert: u32, + pub sv403_netioalert: u32, + pub sv403_maxauditsz: u32, + pub sv403_srvheuristics: ::windows_sys::core::PWSTR, + pub sv403_auditedevents: u32, + pub sv403_autoprofile: u32, + pub sv403_autopath: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for SERVER_INFO_403 {} +impl ::core::clone::Clone for SERVER_INFO_403 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SERVER_INFO_502 { + pub sv502_sessopens: u32, + pub sv502_sessvcs: u32, + pub sv502_opensearch: u32, + pub sv502_sizreqbuf: u32, + pub sv502_initworkitems: u32, + pub sv502_maxworkitems: u32, + pub sv502_rawworkitems: u32, + pub sv502_irpstacksize: u32, + pub sv502_maxrawbuflen: u32, + pub sv502_sessusers: u32, + pub sv502_sessconns: u32, + pub sv502_maxpagedmemoryusage: u32, + pub sv502_maxnonpagedmemoryusage: u32, + pub sv502_enablesoftcompat: super::super::Foundation::BOOL, + pub sv502_enableforcedlogoff: super::super::Foundation::BOOL, + pub sv502_timesource: super::super::Foundation::BOOL, + pub sv502_acceptdownlevelapis: super::super::Foundation::BOOL, + pub sv502_lmannounce: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SERVER_INFO_502 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SERVER_INFO_502 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SERVER_INFO_503 { + pub sv503_sessopens: u32, + pub sv503_sessvcs: u32, + pub sv503_opensearch: u32, + pub sv503_sizreqbuf: u32, + pub sv503_initworkitems: u32, + pub sv503_maxworkitems: u32, + pub sv503_rawworkitems: u32, + pub sv503_irpstacksize: u32, + pub sv503_maxrawbuflen: u32, + pub sv503_sessusers: u32, + pub sv503_sessconns: u32, + pub sv503_maxpagedmemoryusage: u32, + pub sv503_maxnonpagedmemoryusage: u32, + pub sv503_enablesoftcompat: super::super::Foundation::BOOL, + pub sv503_enableforcedlogoff: super::super::Foundation::BOOL, + pub sv503_timesource: super::super::Foundation::BOOL, + pub sv503_acceptdownlevelapis: super::super::Foundation::BOOL, + pub sv503_lmannounce: super::super::Foundation::BOOL, + pub sv503_domain: ::windows_sys::core::PWSTR, + pub sv503_maxcopyreadlen: u32, + pub sv503_maxcopywritelen: u32, + pub sv503_minkeepsearch: u32, + pub sv503_maxkeepsearch: u32, + pub sv503_minkeepcomplsearch: u32, + pub sv503_maxkeepcomplsearch: u32, + pub sv503_threadcountadd: u32, + pub sv503_numblockthreads: u32, + pub sv503_scavtimeout: u32, + pub sv503_minrcvqueue: u32, + pub sv503_minfreeworkitems: u32, + pub sv503_xactmemsize: u32, + pub sv503_threadpriority: u32, + pub sv503_maxmpxct: u32, + pub sv503_oplockbreakwait: u32, + pub sv503_oplockbreakresponsewait: u32, + pub sv503_enableoplocks: super::super::Foundation::BOOL, + pub sv503_enableoplockforceclose: super::super::Foundation::BOOL, + pub sv503_enablefcbopens: super::super::Foundation::BOOL, + pub sv503_enableraw: super::super::Foundation::BOOL, + pub sv503_enablesharednetdrives: super::super::Foundation::BOOL, + pub sv503_minfreeconnections: u32, + pub sv503_maxfreeconnections: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SERVER_INFO_503 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SERVER_INFO_503 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SERVER_INFO_598 { + pub sv598_maxrawworkitems: u32, + pub sv598_maxthreadsperqueue: u32, + pub sv598_producttype: u32, + pub sv598_serversize: u32, + pub sv598_connectionlessautodisc: u32, + pub sv598_sharingviolationretries: u32, + pub sv598_sharingviolationdelay: u32, + pub sv598_maxglobalopensearch: u32, + pub sv598_removeduplicatesearches: u32, + pub sv598_lockviolationoffset: u32, + pub sv598_lockviolationdelay: u32, + pub sv598_mdlreadswitchover: u32, + pub sv598_cachedopenlimit: u32, + pub sv598_otherqueueaffinity: u32, + pub sv598_restrictnullsessaccess: super::super::Foundation::BOOL, + pub sv598_enablewfw311directipx: super::super::Foundation::BOOL, + pub sv598_queuesamplesecs: u32, + pub sv598_balancecount: u32, + pub sv598_preferredaffinity: u32, + pub sv598_maxfreerfcbs: u32, + pub sv598_maxfreemfcbs: u32, + pub sv598_maxfreelfcbs: u32, + pub sv598_maxfreepagedpoolchunks: u32, + pub sv598_minpagedpoolchunksize: u32, + pub sv598_maxpagedpoolchunksize: u32, + pub sv598_sendsfrompreferredprocessor: super::super::Foundation::BOOL, + pub sv598_cacheddirectorylimit: u32, + pub sv598_maxcopylength: u32, + pub sv598_enablecompression: super::super::Foundation::BOOL, + pub sv598_autosharewks: super::super::Foundation::BOOL, + pub sv598_autoshareserver: super::super::Foundation::BOOL, + pub sv598_enablesecuritysignature: super::super::Foundation::BOOL, + pub sv598_requiresecuritysignature: super::super::Foundation::BOOL, + pub sv598_minclientbuffersize: u32, + pub sv598_serverguid: ::windows_sys::core::GUID, + pub sv598_ConnectionNoSessionsTimeout: u32, + pub sv598_IdleThreadTimeOut: u32, + pub sv598_enableW9xsecuritysignature: super::super::Foundation::BOOL, + pub sv598_enforcekerberosreauthentication: super::super::Foundation::BOOL, + pub sv598_disabledos: super::super::Foundation::BOOL, + pub sv598_lowdiskspaceminimum: u32, + pub sv598_disablestrictnamechecking: super::super::Foundation::BOOL, + pub sv598_enableauthenticateusersharing: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SERVER_INFO_598 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SERVER_INFO_598 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SERVER_INFO_599 { + pub sv599_sessopens: u32, + pub sv599_sessvcs: u32, + pub sv599_opensearch: u32, + pub sv599_sizreqbuf: u32, + pub sv599_initworkitems: u32, + pub sv599_maxworkitems: u32, + pub sv599_rawworkitems: u32, + pub sv599_irpstacksize: u32, + pub sv599_maxrawbuflen: u32, + pub sv599_sessusers: u32, + pub sv599_sessconns: u32, + pub sv599_maxpagedmemoryusage: u32, + pub sv599_maxnonpagedmemoryusage: u32, + pub sv599_enablesoftcompat: super::super::Foundation::BOOL, + pub sv599_enableforcedlogoff: super::super::Foundation::BOOL, + pub sv599_timesource: super::super::Foundation::BOOL, + pub sv599_acceptdownlevelapis: super::super::Foundation::BOOL, + pub sv599_lmannounce: super::super::Foundation::BOOL, + pub sv599_domain: ::windows_sys::core::PWSTR, + pub sv599_maxcopyreadlen: u32, + pub sv599_maxcopywritelen: u32, + pub sv599_minkeepsearch: u32, + pub sv599_maxkeepsearch: u32, + pub sv599_minkeepcomplsearch: u32, + pub sv599_maxkeepcomplsearch: u32, + pub sv599_threadcountadd: u32, + pub sv599_numblockthreads: u32, + pub sv599_scavtimeout: u32, + pub sv599_minrcvqueue: u32, + pub sv599_minfreeworkitems: u32, + pub sv599_xactmemsize: u32, + pub sv599_threadpriority: u32, + pub sv599_maxmpxct: u32, + pub sv599_oplockbreakwait: u32, + pub sv599_oplockbreakresponsewait: u32, + pub sv599_enableoplocks: super::super::Foundation::BOOL, + pub sv599_enableoplockforceclose: super::super::Foundation::BOOL, + pub sv599_enablefcbopens: super::super::Foundation::BOOL, + pub sv599_enableraw: super::super::Foundation::BOOL, + pub sv599_enablesharednetdrives: super::super::Foundation::BOOL, + pub sv599_minfreeconnections: u32, + pub sv599_maxfreeconnections: u32, + pub sv599_initsesstable: u32, + pub sv599_initconntable: u32, + pub sv599_initfiletable: u32, + pub sv599_initsearchtable: u32, + pub sv599_alertschedule: u32, + pub sv599_errorthreshold: u32, + pub sv599_networkerrorthreshold: u32, + pub sv599_diskspacethreshold: u32, + pub sv599_reserved: u32, + pub sv599_maxlinkdelay: u32, + pub sv599_minlinkthroughput: u32, + pub sv599_linkinfovalidtime: u32, + pub sv599_scavqosinfoupdatetime: u32, + pub sv599_maxworkitemidletime: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SERVER_INFO_599 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SERVER_INFO_599 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_TRANSPORT_INFO_0 { + pub svti0_numberofvcs: u32, + pub svti0_transportname: ::windows_sys::core::PWSTR, + pub svti0_transportaddress: *mut u8, + pub svti0_transportaddresslength: u32, + pub svti0_networkaddress: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for SERVER_TRANSPORT_INFO_0 {} +impl ::core::clone::Clone for SERVER_TRANSPORT_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_TRANSPORT_INFO_1 { + pub svti1_numberofvcs: u32, + pub svti1_transportname: ::windows_sys::core::PWSTR, + pub svti1_transportaddress: *mut u8, + pub svti1_transportaddresslength: u32, + pub svti1_networkaddress: ::windows_sys::core::PWSTR, + pub svti1_domain: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for SERVER_TRANSPORT_INFO_1 {} +impl ::core::clone::Clone for SERVER_TRANSPORT_INFO_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_TRANSPORT_INFO_2 { + pub svti2_numberofvcs: u32, + pub svti2_transportname: ::windows_sys::core::PWSTR, + pub svti2_transportaddress: *mut u8, + pub svti2_transportaddresslength: u32, + pub svti2_networkaddress: ::windows_sys::core::PWSTR, + pub svti2_domain: ::windows_sys::core::PWSTR, + pub svti2_flags: u32, +} +impl ::core::marker::Copy for SERVER_TRANSPORT_INFO_2 {} +impl ::core::clone::Clone for SERVER_TRANSPORT_INFO_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVER_TRANSPORT_INFO_3 { + pub svti3_numberofvcs: u32, + pub svti3_transportname: ::windows_sys::core::PWSTR, + pub svti3_transportaddress: *mut u8, + pub svti3_transportaddresslength: u32, + pub svti3_networkaddress: ::windows_sys::core::PWSTR, + pub svti3_domain: ::windows_sys::core::PWSTR, + pub svti3_flags: u32, + pub svti3_passwordlength: u32, + pub svti3_password: [u8; 256], +} +impl ::core::marker::Copy for SERVER_TRANSPORT_INFO_3 {} +impl ::core::clone::Clone for SERVER_TRANSPORT_INFO_3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVICE_INFO_0 { + pub svci0_name: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for SERVICE_INFO_0 {} +impl ::core::clone::Clone for SERVICE_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVICE_INFO_1 { + pub svci1_name: ::windows_sys::core::PWSTR, + pub svci1_status: u32, + pub svci1_code: u32, + pub svci1_pid: u32, +} +impl ::core::marker::Copy for SERVICE_INFO_1 {} +impl ::core::clone::Clone for SERVICE_INFO_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SERVICE_INFO_2 { + pub svci2_name: ::windows_sys::core::PWSTR, + pub svci2_status: u32, + pub svci2_code: u32, + pub svci2_pid: u32, + pub svci2_text: ::windows_sys::core::PWSTR, + pub svci2_specific_error: u32, + pub svci2_display_name: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for SERVICE_INFO_2 {} +impl ::core::clone::Clone for SERVICE_INFO_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SMB_COMPRESSION_INFO { + pub Switch: super::super::Foundation::BOOLEAN, + pub Reserved1: u8, + pub Reserved2: u16, + pub Reserved3: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SMB_COMPRESSION_INFO {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SMB_COMPRESSION_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SMB_TREE_CONNECT_PARAMETERS { + pub EABufferOffset: u32, + pub EABufferLen: u32, + pub CreateOptions: u32, + pub TreeConnectAttributes: u32, +} +impl ::core::marker::Copy for SMB_TREE_CONNECT_PARAMETERS {} +impl ::core::clone::Clone for SMB_TREE_CONNECT_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SMB_USE_OPTION_COMPRESSION_PARAMETERS { + pub Tag: u32, + pub Length: u16, + pub Reserved: u16, +} +impl ::core::marker::Copy for SMB_USE_OPTION_COMPRESSION_PARAMETERS {} +impl ::core::clone::Clone for SMB_USE_OPTION_COMPRESSION_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct STD_ALERT { + pub alrt_timestamp: u32, + pub alrt_eventname: [u16; 17], + pub alrt_servicename: [u16; 81], +} +impl ::core::marker::Copy for STD_ALERT {} +impl ::core::clone::Clone for STD_ALERT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct TIME_OF_DAY_INFO { + pub tod_elapsedt: u32, + pub tod_msecs: u32, + pub tod_hours: u32, + pub tod_mins: u32, + pub tod_secs: u32, + pub tod_hunds: u32, + pub tod_timezone: i32, + pub tod_tinterval: u32, + pub tod_day: u32, + pub tod_month: u32, + pub tod_year: u32, + pub tod_weekday: u32, +} +impl ::core::marker::Copy for TIME_OF_DAY_INFO {} +impl ::core::clone::Clone for TIME_OF_DAY_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct TRANSPORT_INFO { + pub Type: TRANSPORT_TYPE, + pub SkipCertificateCheck: super::super::Foundation::BOOLEAN, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for TRANSPORT_INFO {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for TRANSPORT_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_0 { + pub usri0_name: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for USER_INFO_0 {} +impl ::core::clone::Clone for USER_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_1 { + pub usri1_name: ::windows_sys::core::PWSTR, + pub usri1_password: ::windows_sys::core::PWSTR, + pub usri1_password_age: u32, + pub usri1_priv: USER_PRIV, + pub usri1_home_dir: ::windows_sys::core::PWSTR, + pub usri1_comment: ::windows_sys::core::PWSTR, + pub usri1_flags: USER_ACCOUNT_FLAGS, + pub usri1_script_path: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for USER_INFO_1 {} +impl ::core::clone::Clone for USER_INFO_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_10 { + pub usri10_name: ::windows_sys::core::PWSTR, + pub usri10_comment: ::windows_sys::core::PWSTR, + pub usri10_usr_comment: ::windows_sys::core::PWSTR, + pub usri10_full_name: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for USER_INFO_10 {} +impl ::core::clone::Clone for USER_INFO_10 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_1003 { + pub usri1003_password: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for USER_INFO_1003 {} +impl ::core::clone::Clone for USER_INFO_1003 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_1005 { + pub usri1005_priv: USER_PRIV, +} +impl ::core::marker::Copy for USER_INFO_1005 {} +impl ::core::clone::Clone for USER_INFO_1005 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_1006 { + pub usri1006_home_dir: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for USER_INFO_1006 {} +impl ::core::clone::Clone for USER_INFO_1006 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_1007 { + pub usri1007_comment: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for USER_INFO_1007 {} +impl ::core::clone::Clone for USER_INFO_1007 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_1008 { + pub usri1008_flags: USER_ACCOUNT_FLAGS, +} +impl ::core::marker::Copy for USER_INFO_1008 {} +impl ::core::clone::Clone for USER_INFO_1008 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_1009 { + pub usri1009_script_path: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for USER_INFO_1009 {} +impl ::core::clone::Clone for USER_INFO_1009 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_1010 { + pub usri1010_auth_flags: AF_OP, +} +impl ::core::marker::Copy for USER_INFO_1010 {} +impl ::core::clone::Clone for USER_INFO_1010 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_1011 { + pub usri1011_full_name: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for USER_INFO_1011 {} +impl ::core::clone::Clone for USER_INFO_1011 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_1012 { + pub usri1012_usr_comment: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for USER_INFO_1012 {} +impl ::core::clone::Clone for USER_INFO_1012 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_1013 { + pub usri1013_parms: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for USER_INFO_1013 {} +impl ::core::clone::Clone for USER_INFO_1013 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_1014 { + pub usri1014_workstations: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for USER_INFO_1014 {} +impl ::core::clone::Clone for USER_INFO_1014 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_1017 { + pub usri1017_acct_expires: u32, +} +impl ::core::marker::Copy for USER_INFO_1017 {} +impl ::core::clone::Clone for USER_INFO_1017 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_1018 { + pub usri1018_max_storage: u32, +} +impl ::core::marker::Copy for USER_INFO_1018 {} +impl ::core::clone::Clone for USER_INFO_1018 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_1020 { + pub usri1020_units_per_week: u32, + pub usri1020_logon_hours: *mut u8, +} +impl ::core::marker::Copy for USER_INFO_1020 {} +impl ::core::clone::Clone for USER_INFO_1020 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_1023 { + pub usri1023_logon_server: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for USER_INFO_1023 {} +impl ::core::clone::Clone for USER_INFO_1023 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_1024 { + pub usri1024_country_code: u32, +} +impl ::core::marker::Copy for USER_INFO_1024 {} +impl ::core::clone::Clone for USER_INFO_1024 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_1025 { + pub usri1025_code_page: u32, +} +impl ::core::marker::Copy for USER_INFO_1025 {} +impl ::core::clone::Clone for USER_INFO_1025 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_1051 { + pub usri1051_primary_group_id: u32, +} +impl ::core::marker::Copy for USER_INFO_1051 {} +impl ::core::clone::Clone for USER_INFO_1051 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_1052 { + pub usri1052_profile: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for USER_INFO_1052 {} +impl ::core::clone::Clone for USER_INFO_1052 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_1053 { + pub usri1053_home_dir_drive: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for USER_INFO_1053 {} +impl ::core::clone::Clone for USER_INFO_1053 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_11 { + pub usri11_name: ::windows_sys::core::PWSTR, + pub usri11_comment: ::windows_sys::core::PWSTR, + pub usri11_usr_comment: ::windows_sys::core::PWSTR, + pub usri11_full_name: ::windows_sys::core::PWSTR, + pub usri11_priv: USER_PRIV, + pub usri11_auth_flags: AF_OP, + pub usri11_password_age: u32, + pub usri11_home_dir: ::windows_sys::core::PWSTR, + pub usri11_parms: ::windows_sys::core::PWSTR, + pub usri11_last_logon: u32, + pub usri11_last_logoff: u32, + pub usri11_bad_pw_count: u32, + pub usri11_num_logons: u32, + pub usri11_logon_server: ::windows_sys::core::PWSTR, + pub usri11_country_code: u32, + pub usri11_workstations: ::windows_sys::core::PWSTR, + pub usri11_max_storage: u32, + pub usri11_units_per_week: u32, + pub usri11_logon_hours: *mut u8, + pub usri11_code_page: u32, +} +impl ::core::marker::Copy for USER_INFO_11 {} +impl ::core::clone::Clone for USER_INFO_11 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_2 { + pub usri2_name: ::windows_sys::core::PWSTR, + pub usri2_password: ::windows_sys::core::PWSTR, + pub usri2_password_age: u32, + pub usri2_priv: USER_PRIV, + pub usri2_home_dir: ::windows_sys::core::PWSTR, + pub usri2_comment: ::windows_sys::core::PWSTR, + pub usri2_flags: USER_ACCOUNT_FLAGS, + pub usri2_script_path: ::windows_sys::core::PWSTR, + pub usri2_auth_flags: AF_OP, + pub usri2_full_name: ::windows_sys::core::PWSTR, + pub usri2_usr_comment: ::windows_sys::core::PWSTR, + pub usri2_parms: ::windows_sys::core::PWSTR, + pub usri2_workstations: ::windows_sys::core::PWSTR, + pub usri2_last_logon: u32, + pub usri2_last_logoff: u32, + pub usri2_acct_expires: u32, + pub usri2_max_storage: u32, + pub usri2_units_per_week: u32, + pub usri2_logon_hours: *mut u8, + pub usri2_bad_pw_count: u32, + pub usri2_num_logons: u32, + pub usri2_logon_server: ::windows_sys::core::PWSTR, + pub usri2_country_code: u32, + pub usri2_code_page: u32, +} +impl ::core::marker::Copy for USER_INFO_2 {} +impl ::core::clone::Clone for USER_INFO_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_20 { + pub usri20_name: ::windows_sys::core::PWSTR, + pub usri20_full_name: ::windows_sys::core::PWSTR, + pub usri20_comment: ::windows_sys::core::PWSTR, + pub usri20_flags: USER_ACCOUNT_FLAGS, + pub usri20_user_id: u32, +} +impl ::core::marker::Copy for USER_INFO_20 {} +impl ::core::clone::Clone for USER_INFO_20 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_21 { + pub usri21_password: [u8; 16], +} +impl ::core::marker::Copy for USER_INFO_21 {} +impl ::core::clone::Clone for USER_INFO_21 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_22 { + pub usri22_name: ::windows_sys::core::PWSTR, + pub usri22_password: [u8; 16], + pub usri22_password_age: u32, + pub usri22_priv: USER_PRIV, + pub usri22_home_dir: ::windows_sys::core::PWSTR, + pub usri22_comment: ::windows_sys::core::PWSTR, + pub usri22_flags: USER_ACCOUNT_FLAGS, + pub usri22_script_path: ::windows_sys::core::PWSTR, + pub usri22_auth_flags: AF_OP, + pub usri22_full_name: ::windows_sys::core::PWSTR, + pub usri22_usr_comment: ::windows_sys::core::PWSTR, + pub usri22_parms: ::windows_sys::core::PWSTR, + pub usri22_workstations: ::windows_sys::core::PWSTR, + pub usri22_last_logon: u32, + pub usri22_last_logoff: u32, + pub usri22_acct_expires: u32, + pub usri22_max_storage: u32, + pub usri22_units_per_week: u32, + pub usri22_logon_hours: *mut u8, + pub usri22_bad_pw_count: u32, + pub usri22_num_logons: u32, + pub usri22_logon_server: ::windows_sys::core::PWSTR, + pub usri22_country_code: u32, + pub usri22_code_page: u32, +} +impl ::core::marker::Copy for USER_INFO_22 {} +impl ::core::clone::Clone for USER_INFO_22 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct USER_INFO_23 { + pub usri23_name: ::windows_sys::core::PWSTR, + pub usri23_full_name: ::windows_sys::core::PWSTR, + pub usri23_comment: ::windows_sys::core::PWSTR, + pub usri23_flags: USER_ACCOUNT_FLAGS, + pub usri23_user_sid: super::super::Foundation::PSID, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for USER_INFO_23 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for USER_INFO_23 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct USER_INFO_24 { + pub usri24_internet_identity: super::super::Foundation::BOOL, + pub usri24_flags: u32, + pub usri24_internet_provider_name: ::windows_sys::core::PWSTR, + pub usri24_internet_principal_name: ::windows_sys::core::PWSTR, + pub usri24_user_sid: super::super::Foundation::PSID, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for USER_INFO_24 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for USER_INFO_24 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_INFO_3 { + pub usri3_name: ::windows_sys::core::PWSTR, + pub usri3_password: ::windows_sys::core::PWSTR, + pub usri3_password_age: u32, + pub usri3_priv: USER_PRIV, + pub usri3_home_dir: ::windows_sys::core::PWSTR, + pub usri3_comment: ::windows_sys::core::PWSTR, + pub usri3_flags: USER_ACCOUNT_FLAGS, + pub usri3_script_path: ::windows_sys::core::PWSTR, + pub usri3_auth_flags: AF_OP, + pub usri3_full_name: ::windows_sys::core::PWSTR, + pub usri3_usr_comment: ::windows_sys::core::PWSTR, + pub usri3_parms: ::windows_sys::core::PWSTR, + pub usri3_workstations: ::windows_sys::core::PWSTR, + pub usri3_last_logon: u32, + pub usri3_last_logoff: u32, + pub usri3_acct_expires: u32, + pub usri3_max_storage: u32, + pub usri3_units_per_week: u32, + pub usri3_logon_hours: *mut u8, + pub usri3_bad_pw_count: u32, + pub usri3_num_logons: u32, + pub usri3_logon_server: ::windows_sys::core::PWSTR, + pub usri3_country_code: u32, + pub usri3_code_page: u32, + pub usri3_user_id: u32, + pub usri3_primary_group_id: u32, + pub usri3_profile: ::windows_sys::core::PWSTR, + pub usri3_home_dir_drive: ::windows_sys::core::PWSTR, + pub usri3_password_expired: u32, +} +impl ::core::marker::Copy for USER_INFO_3 {} +impl ::core::clone::Clone for USER_INFO_3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct USER_INFO_4 { + pub usri4_name: ::windows_sys::core::PWSTR, + pub usri4_password: ::windows_sys::core::PWSTR, + pub usri4_password_age: u32, + pub usri4_priv: USER_PRIV, + pub usri4_home_dir: ::windows_sys::core::PWSTR, + pub usri4_comment: ::windows_sys::core::PWSTR, + pub usri4_flags: USER_ACCOUNT_FLAGS, + pub usri4_script_path: ::windows_sys::core::PWSTR, + pub usri4_auth_flags: AF_OP, + pub usri4_full_name: ::windows_sys::core::PWSTR, + pub usri4_usr_comment: ::windows_sys::core::PWSTR, + pub usri4_parms: ::windows_sys::core::PWSTR, + pub usri4_workstations: ::windows_sys::core::PWSTR, + pub usri4_last_logon: u32, + pub usri4_last_logoff: u32, + pub usri4_acct_expires: u32, + pub usri4_max_storage: u32, + pub usri4_units_per_week: u32, + pub usri4_logon_hours: *mut u8, + pub usri4_bad_pw_count: u32, + pub usri4_num_logons: u32, + pub usri4_logon_server: ::windows_sys::core::PWSTR, + pub usri4_country_code: u32, + pub usri4_code_page: u32, + pub usri4_user_sid: super::super::Foundation::PSID, + pub usri4_primary_group_id: u32, + pub usri4_profile: ::windows_sys::core::PWSTR, + pub usri4_home_dir_drive: ::windows_sys::core::PWSTR, + pub usri4_password_expired: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for USER_INFO_4 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for USER_INFO_4 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_MODALS_INFO_0 { + pub usrmod0_min_passwd_len: u32, + pub usrmod0_max_passwd_age: u32, + pub usrmod0_min_passwd_age: u32, + pub usrmod0_force_logoff: u32, + pub usrmod0_password_hist_len: u32, +} +impl ::core::marker::Copy for USER_MODALS_INFO_0 {} +impl ::core::clone::Clone for USER_MODALS_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_MODALS_INFO_1 { + pub usrmod1_role: u32, + pub usrmod1_primary: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for USER_MODALS_INFO_1 {} +impl ::core::clone::Clone for USER_MODALS_INFO_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_MODALS_INFO_1001 { + pub usrmod1001_min_passwd_len: u32, +} +impl ::core::marker::Copy for USER_MODALS_INFO_1001 {} +impl ::core::clone::Clone for USER_MODALS_INFO_1001 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_MODALS_INFO_1002 { + pub usrmod1002_max_passwd_age: u32, +} +impl ::core::marker::Copy for USER_MODALS_INFO_1002 {} +impl ::core::clone::Clone for USER_MODALS_INFO_1002 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_MODALS_INFO_1003 { + pub usrmod1003_min_passwd_age: u32, +} +impl ::core::marker::Copy for USER_MODALS_INFO_1003 {} +impl ::core::clone::Clone for USER_MODALS_INFO_1003 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_MODALS_INFO_1004 { + pub usrmod1004_force_logoff: u32, +} +impl ::core::marker::Copy for USER_MODALS_INFO_1004 {} +impl ::core::clone::Clone for USER_MODALS_INFO_1004 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_MODALS_INFO_1005 { + pub usrmod1005_password_hist_len: u32, +} +impl ::core::marker::Copy for USER_MODALS_INFO_1005 {} +impl ::core::clone::Clone for USER_MODALS_INFO_1005 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_MODALS_INFO_1006 { + pub usrmod1006_role: USER_MODALS_ROLES, +} +impl ::core::marker::Copy for USER_MODALS_INFO_1006 {} +impl ::core::clone::Clone for USER_MODALS_INFO_1006 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_MODALS_INFO_1007 { + pub usrmod1007_primary: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for USER_MODALS_INFO_1007 {} +impl ::core::clone::Clone for USER_MODALS_INFO_1007 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct USER_MODALS_INFO_2 { + pub usrmod2_domain_name: ::windows_sys::core::PWSTR, + pub usrmod2_domain_id: super::super::Foundation::PSID, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for USER_MODALS_INFO_2 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for USER_MODALS_INFO_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_MODALS_INFO_3 { + pub usrmod3_lockout_duration: u32, + pub usrmod3_lockout_observation_window: u32, + pub usrmod3_lockout_threshold: u32, +} +impl ::core::marker::Copy for USER_MODALS_INFO_3 {} +impl ::core::clone::Clone for USER_MODALS_INFO_3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USER_OTHER_INFO { + pub alrtus_errcode: u32, + pub alrtus_numstrings: u32, +} +impl ::core::marker::Copy for USER_OTHER_INFO {} +impl ::core::clone::Clone for USER_OTHER_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USE_INFO_0 { + pub ui0_local: ::windows_sys::core::PWSTR, + pub ui0_remote: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for USE_INFO_0 {} +impl ::core::clone::Clone for USE_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USE_INFO_1 { + pub ui1_local: ::windows_sys::core::PWSTR, + pub ui1_remote: ::windows_sys::core::PWSTR, + pub ui1_password: ::windows_sys::core::PWSTR, + pub ui1_status: u32, + pub ui1_asg_type: USE_INFO_ASG_TYPE, + pub ui1_refcount: u32, + pub ui1_usecount: u32, +} +impl ::core::marker::Copy for USE_INFO_1 {} +impl ::core::clone::Clone for USE_INFO_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USE_INFO_2 { + pub ui2_local: ::windows_sys::core::PWSTR, + pub ui2_remote: ::windows_sys::core::PWSTR, + pub ui2_password: ::windows_sys::core::PWSTR, + pub ui2_status: u32, + pub ui2_asg_type: USE_INFO_ASG_TYPE, + pub ui2_refcount: u32, + pub ui2_usecount: u32, + pub ui2_username: ::windows_sys::core::PWSTR, + pub ui2_domainname: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for USE_INFO_2 {} +impl ::core::clone::Clone for USE_INFO_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USE_INFO_3 { + pub ui3_ui2: USE_INFO_2, + pub ui3_flags: u32, +} +impl ::core::marker::Copy for USE_INFO_3 {} +impl ::core::clone::Clone for USE_INFO_3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USE_INFO_4 { + pub ui4_ui3: USE_INFO_3, + pub ui4_auth_identity_length: u32, + pub ui4_auth_identity: *mut u8, +} +impl ::core::marker::Copy for USE_INFO_4 {} +impl ::core::clone::Clone for USE_INFO_4 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USE_INFO_5 { + pub ui4_ui3: USE_INFO_3, + pub ui4_auth_identity_length: u32, + pub ui4_auth_identity: *mut u8, + pub ui5_security_descriptor_length: u32, + pub ui5_security_descriptor: *mut u8, + pub ui5_use_options_length: u32, + pub ui5_use_options: *mut u8, +} +impl ::core::marker::Copy for USE_INFO_5 {} +impl ::core::clone::Clone for USE_INFO_5 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USE_OPTION_DEFERRED_CONNECTION_PARAMETERS { + pub Tag: u32, + pub Length: u16, + pub Reserved: u16, +} +impl ::core::marker::Copy for USE_OPTION_DEFERRED_CONNECTION_PARAMETERS {} +impl ::core::clone::Clone for USE_OPTION_DEFERRED_CONNECTION_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USE_OPTION_GENERIC { + pub Tag: u32, + pub Length: u16, + pub Reserved: u16, +} +impl ::core::marker::Copy for USE_OPTION_GENERIC {} +impl ::core::clone::Clone for USE_OPTION_GENERIC { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USE_OPTION_PROPERTIES { + pub Tag: u32, + pub pInfo: *mut ::core::ffi::c_void, + pub Length: usize, +} +impl ::core::marker::Copy for USE_OPTION_PROPERTIES {} +impl ::core::clone::Clone for USE_OPTION_PROPERTIES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct USE_OPTION_TRANSPORT_PARAMETERS { + pub Tag: u32, + pub Length: u16, + pub Reserved: u16, +} +impl ::core::marker::Copy for USE_OPTION_TRANSPORT_PARAMETERS {} +impl ::core::clone::Clone for USE_OPTION_TRANSPORT_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WKSTA_INFO_100 { + pub wki100_platform_id: u32, + pub wki100_computername: ::windows_sys::core::PWSTR, + pub wki100_langroup: ::windows_sys::core::PWSTR, + pub wki100_ver_major: u32, + pub wki100_ver_minor: u32, +} +impl ::core::marker::Copy for WKSTA_INFO_100 {} +impl ::core::clone::Clone for WKSTA_INFO_100 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WKSTA_INFO_101 { + pub wki101_platform_id: u32, + pub wki101_computername: ::windows_sys::core::PWSTR, + pub wki101_langroup: ::windows_sys::core::PWSTR, + pub wki101_ver_major: u32, + pub wki101_ver_minor: u32, + pub wki101_lanroot: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for WKSTA_INFO_101 {} +impl ::core::clone::Clone for WKSTA_INFO_101 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WKSTA_INFO_1010 { + pub wki1010_char_wait: u32, +} +impl ::core::marker::Copy for WKSTA_INFO_1010 {} +impl ::core::clone::Clone for WKSTA_INFO_1010 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WKSTA_INFO_1011 { + pub wki1011_collection_time: u32, +} +impl ::core::marker::Copy for WKSTA_INFO_1011 {} +impl ::core::clone::Clone for WKSTA_INFO_1011 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WKSTA_INFO_1012 { + pub wki1012_maximum_collection_count: u32, +} +impl ::core::marker::Copy for WKSTA_INFO_1012 {} +impl ::core::clone::Clone for WKSTA_INFO_1012 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WKSTA_INFO_1013 { + pub wki1013_keep_conn: u32, +} +impl ::core::marker::Copy for WKSTA_INFO_1013 {} +impl ::core::clone::Clone for WKSTA_INFO_1013 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WKSTA_INFO_1018 { + pub wki1018_sess_timeout: u32, +} +impl ::core::marker::Copy for WKSTA_INFO_1018 {} +impl ::core::clone::Clone for WKSTA_INFO_1018 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WKSTA_INFO_102 { + pub wki102_platform_id: u32, + pub wki102_computername: ::windows_sys::core::PWSTR, + pub wki102_langroup: ::windows_sys::core::PWSTR, + pub wki102_ver_major: u32, + pub wki102_ver_minor: u32, + pub wki102_lanroot: ::windows_sys::core::PWSTR, + pub wki102_logged_on_users: u32, +} +impl ::core::marker::Copy for WKSTA_INFO_102 {} +impl ::core::clone::Clone for WKSTA_INFO_102 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WKSTA_INFO_1023 { + pub wki1023_siz_char_buf: u32, +} +impl ::core::marker::Copy for WKSTA_INFO_1023 {} +impl ::core::clone::Clone for WKSTA_INFO_1023 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WKSTA_INFO_1027 { + pub wki1027_errlog_sz: u32, +} +impl ::core::marker::Copy for WKSTA_INFO_1027 {} +impl ::core::clone::Clone for WKSTA_INFO_1027 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WKSTA_INFO_1028 { + pub wki1028_print_buf_time: u32, +} +impl ::core::marker::Copy for WKSTA_INFO_1028 {} +impl ::core::clone::Clone for WKSTA_INFO_1028 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WKSTA_INFO_1032 { + pub wki1032_wrk_heuristics: u32, +} +impl ::core::marker::Copy for WKSTA_INFO_1032 {} +impl ::core::clone::Clone for WKSTA_INFO_1032 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WKSTA_INFO_1033 { + pub wki1033_max_threads: u32, +} +impl ::core::marker::Copy for WKSTA_INFO_1033 {} +impl ::core::clone::Clone for WKSTA_INFO_1033 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WKSTA_INFO_1041 { + pub wki1041_lock_quota: u32, +} +impl ::core::marker::Copy for WKSTA_INFO_1041 {} +impl ::core::clone::Clone for WKSTA_INFO_1041 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WKSTA_INFO_1042 { + pub wki1042_lock_increment: u32, +} +impl ::core::marker::Copy for WKSTA_INFO_1042 {} +impl ::core::clone::Clone for WKSTA_INFO_1042 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WKSTA_INFO_1043 { + pub wki1043_lock_maximum: u32, +} +impl ::core::marker::Copy for WKSTA_INFO_1043 {} +impl ::core::clone::Clone for WKSTA_INFO_1043 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WKSTA_INFO_1044 { + pub wki1044_pipe_increment: u32, +} +impl ::core::marker::Copy for WKSTA_INFO_1044 {} +impl ::core::clone::Clone for WKSTA_INFO_1044 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WKSTA_INFO_1045 { + pub wki1045_pipe_maximum: u32, +} +impl ::core::marker::Copy for WKSTA_INFO_1045 {} +impl ::core::clone::Clone for WKSTA_INFO_1045 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WKSTA_INFO_1046 { + pub wki1046_dormant_file_limit: u32, +} +impl ::core::marker::Copy for WKSTA_INFO_1046 {} +impl ::core::clone::Clone for WKSTA_INFO_1046 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WKSTA_INFO_1047 { + pub wki1047_cache_file_timeout: u32, +} +impl ::core::marker::Copy for WKSTA_INFO_1047 {} +impl ::core::clone::Clone for WKSTA_INFO_1047 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WKSTA_INFO_1048 { + pub wki1048_use_opportunistic_locking: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WKSTA_INFO_1048 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WKSTA_INFO_1048 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WKSTA_INFO_1049 { + pub wki1049_use_unlock_behind: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WKSTA_INFO_1049 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WKSTA_INFO_1049 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WKSTA_INFO_1050 { + pub wki1050_use_close_behind: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WKSTA_INFO_1050 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WKSTA_INFO_1050 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WKSTA_INFO_1051 { + pub wki1051_buf_named_pipes: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WKSTA_INFO_1051 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WKSTA_INFO_1051 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WKSTA_INFO_1052 { + pub wki1052_use_lock_read_unlock: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WKSTA_INFO_1052 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WKSTA_INFO_1052 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WKSTA_INFO_1053 { + pub wki1053_utilize_nt_caching: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WKSTA_INFO_1053 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WKSTA_INFO_1053 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WKSTA_INFO_1054 { + pub wki1054_use_raw_read: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WKSTA_INFO_1054 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WKSTA_INFO_1054 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WKSTA_INFO_1055 { + pub wki1055_use_raw_write: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WKSTA_INFO_1055 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WKSTA_INFO_1055 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WKSTA_INFO_1056 { + pub wki1056_use_write_raw_data: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WKSTA_INFO_1056 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WKSTA_INFO_1056 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WKSTA_INFO_1057 { + pub wki1057_use_encryption: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WKSTA_INFO_1057 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WKSTA_INFO_1057 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WKSTA_INFO_1058 { + pub wki1058_buf_files_deny_write: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WKSTA_INFO_1058 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WKSTA_INFO_1058 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WKSTA_INFO_1059 { + pub wki1059_buf_read_only_files: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WKSTA_INFO_1059 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WKSTA_INFO_1059 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WKSTA_INFO_1060 { + pub wki1060_force_core_create_mode: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WKSTA_INFO_1060 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WKSTA_INFO_1060 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WKSTA_INFO_1061 { + pub wki1061_use_512_byte_max_transfer: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WKSTA_INFO_1061 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WKSTA_INFO_1061 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WKSTA_INFO_1062 { + pub wki1062_read_ahead_throughput: u32, +} +impl ::core::marker::Copy for WKSTA_INFO_1062 {} +impl ::core::clone::Clone for WKSTA_INFO_1062 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WKSTA_INFO_302 { + pub wki302_char_wait: u32, + pub wki302_collection_time: u32, + pub wki302_maximum_collection_count: u32, + pub wki302_keep_conn: u32, + pub wki302_keep_search: u32, + pub wki302_max_cmds: u32, + pub wki302_num_work_buf: u32, + pub wki302_siz_work_buf: u32, + pub wki302_max_wrk_cache: u32, + pub wki302_sess_timeout: u32, + pub wki302_siz_error: u32, + pub wki302_num_alerts: u32, + pub wki302_num_services: u32, + pub wki302_errlog_sz: u32, + pub wki302_print_buf_time: u32, + pub wki302_num_char_buf: u32, + pub wki302_siz_char_buf: u32, + pub wki302_wrk_heuristics: ::windows_sys::core::PWSTR, + pub wki302_mailslots: u32, + pub wki302_num_dgram_buf: u32, +} +impl ::core::marker::Copy for WKSTA_INFO_302 {} +impl ::core::clone::Clone for WKSTA_INFO_302 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WKSTA_INFO_402 { + pub wki402_char_wait: u32, + pub wki402_collection_time: u32, + pub wki402_maximum_collection_count: u32, + pub wki402_keep_conn: u32, + pub wki402_keep_search: u32, + pub wki402_max_cmds: u32, + pub wki402_num_work_buf: u32, + pub wki402_siz_work_buf: u32, + pub wki402_max_wrk_cache: u32, + pub wki402_sess_timeout: u32, + pub wki402_siz_error: u32, + pub wki402_num_alerts: u32, + pub wki402_num_services: u32, + pub wki402_errlog_sz: u32, + pub wki402_print_buf_time: u32, + pub wki402_num_char_buf: u32, + pub wki402_siz_char_buf: u32, + pub wki402_wrk_heuristics: ::windows_sys::core::PWSTR, + pub wki402_mailslots: u32, + pub wki402_num_dgram_buf: u32, + pub wki402_max_threads: u32, +} +impl ::core::marker::Copy for WKSTA_INFO_402 {} +impl ::core::clone::Clone for WKSTA_INFO_402 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WKSTA_INFO_502 { + pub wki502_char_wait: u32, + pub wki502_collection_time: u32, + pub wki502_maximum_collection_count: u32, + pub wki502_keep_conn: u32, + pub wki502_max_cmds: u32, + pub wki502_sess_timeout: u32, + pub wki502_siz_char_buf: u32, + pub wki502_max_threads: u32, + pub wki502_lock_quota: u32, + pub wki502_lock_increment: u32, + pub wki502_lock_maximum: u32, + pub wki502_pipe_increment: u32, + pub wki502_pipe_maximum: u32, + pub wki502_cache_file_timeout: u32, + pub wki502_dormant_file_limit: u32, + pub wki502_read_ahead_throughput: u32, + pub wki502_num_mailslot_buffers: u32, + pub wki502_num_srv_announce_buffers: u32, + pub wki502_max_illegal_datagram_events: u32, + pub wki502_illegal_datagram_event_reset_frequency: u32, + pub wki502_log_election_packets: super::super::Foundation::BOOL, + pub wki502_use_opportunistic_locking: super::super::Foundation::BOOL, + pub wki502_use_unlock_behind: super::super::Foundation::BOOL, + pub wki502_use_close_behind: super::super::Foundation::BOOL, + pub wki502_buf_named_pipes: super::super::Foundation::BOOL, + pub wki502_use_lock_read_unlock: super::super::Foundation::BOOL, + pub wki502_utilize_nt_caching: super::super::Foundation::BOOL, + pub wki502_use_raw_read: super::super::Foundation::BOOL, + pub wki502_use_raw_write: super::super::Foundation::BOOL, + pub wki502_use_write_raw_data: super::super::Foundation::BOOL, + pub wki502_use_encryption: super::super::Foundation::BOOL, + pub wki502_buf_files_deny_write: super::super::Foundation::BOOL, + pub wki502_buf_read_only_files: super::super::Foundation::BOOL, + pub wki502_force_core_create_mode: super::super::Foundation::BOOL, + pub wki502_use_512_byte_max_transfer: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WKSTA_INFO_502 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WKSTA_INFO_502 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WKSTA_TRANSPORT_INFO_0 { + pub wkti0_quality_of_service: u32, + pub wkti0_number_of_vcs: u32, + pub wkti0_transport_name: ::windows_sys::core::PWSTR, + pub wkti0_transport_address: ::windows_sys::core::PWSTR, + pub wkti0_wan_ish: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WKSTA_TRANSPORT_INFO_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WKSTA_TRANSPORT_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WKSTA_USER_INFO_0 { + pub wkui0_username: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for WKSTA_USER_INFO_0 {} +impl ::core::clone::Clone for WKSTA_USER_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WKSTA_USER_INFO_1 { + pub wkui1_username: ::windows_sys::core::PWSTR, + pub wkui1_logon_domain: ::windows_sys::core::PWSTR, + pub wkui1_oth_domains: ::windows_sys::core::PWSTR, + pub wkui1_logon_server: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for WKSTA_USER_INFO_1 {} +impl ::core::clone::Clone for WKSTA_USER_INFO_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WKSTA_USER_INFO_1101 { + pub wkui1101_oth_domains: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for WKSTA_USER_INFO_1101 {} +impl ::core::clone::Clone for WKSTA_USER_INFO_1101 { + fn clone(&self) -> Self { + *self + } +} +pub type WORKERFUNCTION = ::core::option::Option<unsafe extern "system" fn(param0: *mut ::core::ffi::c_void) -> ()>; diff --git a/vendor/windows-sys/src/Windows/Win32/NetworkManagement/NetShell/mod.rs b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/NetShell/mod.rs new file mode 100644 index 0000000..e83ec6b --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/NetShell/mod.rs @@ -0,0 +1,246 @@ +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("netsh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MatchEnumTag(hmodule : super::super::Foundation:: HANDLE, pwcarg : ::windows_sys::core::PCWSTR, dwnumarg : u32, penumtable : *const TOKEN_VALUE, pdwvalue : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("netsh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MatchToken(pwszusertoken : ::windows_sys::core::PCWSTR, pwszcmdtoken : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("netsh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PreprocessCommand(hmodule : super::super::Foundation:: HANDLE, ppwcarguments : *mut ::windows_sys::core::PWSTR, dwcurrentindex : u32, dwargcount : u32, ptttags : *mut TAG_TYPE, dwtagcount : u32, dwminargs : u32, dwmaxargs : u32, pdwtagtype : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("netsh.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PrintError(hmodule : super::super::Foundation:: HANDLE, dwerrid : u32, ...) -> u32); +::windows_targets::link!("netsh.dll" "cdecl" fn PrintMessage(pwszformat : ::windows_sys::core::PCWSTR, ...) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("netsh.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PrintMessageFromModule(hmodule : super::super::Foundation:: HANDLE, dwmsgid : u32, ...) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("netsh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RegisterContext(pchildcontext : *const NS_CONTEXT_ATTRIBUTES) -> u32); +::windows_targets::link!("netsh.dll" "system" fn RegisterHelper(pguidparentcontext : *const ::windows_sys::core::GUID, pfnregistersubcontext : *const NS_HELPER_ATTRIBUTES) -> u32); +pub const CMD_FLAG_HIDDEN: NS_CMD_FLAGS = 32i32; +pub const CMD_FLAG_INTERACTIVE: NS_CMD_FLAGS = 2i32; +pub const CMD_FLAG_LIMIT_MASK: NS_CMD_FLAGS = 65535i32; +pub const CMD_FLAG_LOCAL: NS_CMD_FLAGS = 8i32; +pub const CMD_FLAG_ONLINE: NS_CMD_FLAGS = 16i32; +pub const CMD_FLAG_PRIORITY: NS_CMD_FLAGS = -2147483648i32; +pub const CMD_FLAG_PRIVATE: NS_CMD_FLAGS = 1i32; +pub const DEFAULT_CONTEXT_PRIORITY: u32 = 100u32; +pub const ERROR_CMD_NOT_FOUND: u32 = 15004u32; +pub const ERROR_CONTEXT_ALREADY_REGISTERED: u32 = 15019u32; +pub const ERROR_CONTINUE_IN_PARENT_CONTEXT: u32 = 15016u32; +pub const ERROR_DLL_LOAD_FAILED: u32 = 15006u32; +pub const ERROR_ENTRY_PT_NOT_FOUND: u32 = 15005u32; +pub const ERROR_HELPER_ALREADY_REGISTERED: u32 = 15018u32; +pub const ERROR_INIT_DISPLAY: u32 = 15007u32; +pub const ERROR_INVALID_OPTION_TAG: u32 = 15009u32; +pub const ERROR_INVALID_OPTION_VALUE: u32 = 15014u32; +pub const ERROR_INVALID_SYNTAX: u32 = 15001u32; +pub const ERROR_MISSING_OPTION: u32 = 15011u32; +pub const ERROR_NO_CHANGE: u32 = 15003u32; +pub const ERROR_NO_ENTRIES: u32 = 15000u32; +pub const ERROR_NO_TAG: u32 = 15010u32; +pub const ERROR_OKAY: u32 = 15015u32; +pub const ERROR_PARSING_FAILURE: u32 = 15020u32; +pub const ERROR_PROTOCOL_NOT_IN_TRANSPORT: u32 = 15002u32; +pub const ERROR_SHOW_USAGE: u32 = 15013u32; +pub const ERROR_SUPPRESS_OUTPUT: u32 = 15017u32; +pub const ERROR_TAG_ALREADY_PRESENT: u32 = 15008u32; +pub const ERROR_TRANSPORT_NOT_PRESENT: u32 = 15012u32; +pub const GET_RESOURCE_STRING_FN_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("GetResourceString"); +pub const MAX_NAME_LEN: u32 = 48u32; +pub const NETSH_ARG_DELIMITER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("="); +pub const NETSH_CMD_DELIMITER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(" "); +pub const NETSH_COMMIT: NS_MODE_CHANGE = 0i32; +pub const NETSH_COMMIT_STATE: NS_MODE_CHANGE = 3i32; +pub const NETSH_ERROR_BASE: u32 = 15000u32; +pub const NETSH_ERROR_END: u32 = 15019u32; +pub const NETSH_FLUSH: NS_MODE_CHANGE = 2i32; +pub const NETSH_MAX_CMD_TOKEN_LENGTH: u32 = 128u32; +pub const NETSH_MAX_TOKEN_LENGTH: u32 = 64u32; +pub const NETSH_SAVE: NS_MODE_CHANGE = 4i32; +pub const NETSH_UNCOMMIT: NS_MODE_CHANGE = 1i32; +pub const NETSH_VERSION_50: u32 = 20480u32; +pub const NS_EVENT_FROM_N: NS_EVENTS = 4i32; +pub const NS_EVENT_FROM_START: NS_EVENTS = 8i32; +pub const NS_EVENT_LAST_N: NS_EVENTS = 1i32; +pub const NS_EVENT_LAST_SECS: NS_EVENTS = 2i32; +pub const NS_EVENT_LOOP: NS_EVENTS = 65536i32; +pub const NS_GET_EVENT_IDS_FN_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("GetEventIds"); +pub const NS_REQ_ALLOW_MULTIPLE: NS_REQS = 2i32; +pub const NS_REQ_ONE_OR_MORE: NS_REQS = 3i32; +pub const NS_REQ_PRESENT: NS_REQS = 1i32; +pub const NS_REQ_ZERO: NS_REQS = 0i32; +pub type NS_CMD_FLAGS = i32; +pub type NS_EVENTS = i32; +pub type NS_MODE_CHANGE = i32; +pub type NS_REQS = i32; +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct CMD_ENTRY { + pub pwszCmdToken: ::windows_sys::core::PCWSTR, + pub pfnCmdHandler: PFN_HANDLE_CMD, + pub dwShortCmdHelpToken: u32, + pub dwCmdHlpToken: u32, + pub dwFlags: u32, + pub pOsVersionCheck: PNS_OSVERSIONCHECK, + pub pfnCustomHelpFn: PFN_CUSTOM_HELP, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for CMD_ENTRY {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for CMD_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct CMD_GROUP_ENTRY { + pub pwszCmdGroupToken: ::windows_sys::core::PCWSTR, + pub dwShortCmdHelpToken: u32, + pub ulCmdGroupSize: u32, + pub dwFlags: u32, + pub pCmdGroup: *mut CMD_ENTRY, + pub pOsVersionCheck: PNS_OSVERSIONCHECK, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for CMD_GROUP_ENTRY {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for CMD_GROUP_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct NS_CONTEXT_ATTRIBUTES { + pub Anonymous: NS_CONTEXT_ATTRIBUTES_0, + pub pwszContext: ::windows_sys::core::PWSTR, + pub guidHelper: ::windows_sys::core::GUID, + pub dwFlags: u32, + pub ulPriority: u32, + pub ulNumTopCmds: u32, + pub pTopCmds: *mut CMD_ENTRY, + pub ulNumGroups: u32, + pub pCmdGroups: *mut CMD_GROUP_ENTRY, + pub pfnCommitFn: PNS_CONTEXT_COMMIT_FN, + pub pfnDumpFn: PNS_CONTEXT_DUMP_FN, + pub pfnConnectFn: PNS_CONTEXT_CONNECT_FN, + pub pReserved: *mut ::core::ffi::c_void, + pub pfnOsVersionCheck: PNS_OSVERSIONCHECK, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NS_CONTEXT_ATTRIBUTES {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NS_CONTEXT_ATTRIBUTES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union NS_CONTEXT_ATTRIBUTES_0 { + pub Anonymous: NS_CONTEXT_ATTRIBUTES_0_0, + pub _ullAlign: u64, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NS_CONTEXT_ATTRIBUTES_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NS_CONTEXT_ATTRIBUTES_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct NS_CONTEXT_ATTRIBUTES_0_0 { + pub dwVersion: u32, + pub dwReserved: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NS_CONTEXT_ATTRIBUTES_0_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NS_CONTEXT_ATTRIBUTES_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NS_HELPER_ATTRIBUTES { + pub Anonymous: NS_HELPER_ATTRIBUTES_0, + pub guidHelper: ::windows_sys::core::GUID, + pub pfnStart: PNS_HELPER_START_FN, + pub pfnStop: PNS_HELPER_STOP_FN, +} +impl ::core::marker::Copy for NS_HELPER_ATTRIBUTES {} +impl ::core::clone::Clone for NS_HELPER_ATTRIBUTES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union NS_HELPER_ATTRIBUTES_0 { + pub Anonymous: NS_HELPER_ATTRIBUTES_0_0, + pub _ullAlign: u64, +} +impl ::core::marker::Copy for NS_HELPER_ATTRIBUTES_0 {} +impl ::core::clone::Clone for NS_HELPER_ATTRIBUTES_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NS_HELPER_ATTRIBUTES_0_0 { + pub dwVersion: u32, + pub dwReserved: u32, +} +impl ::core::marker::Copy for NS_HELPER_ATTRIBUTES_0_0 {} +impl ::core::clone::Clone for NS_HELPER_ATTRIBUTES_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct TAG_TYPE { + pub pwszTag: ::windows_sys::core::PCWSTR, + pub dwRequired: u32, + pub bPresent: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for TAG_TYPE {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for TAG_TYPE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct TOKEN_VALUE { + pub pwszToken: ::windows_sys::core::PCWSTR, + pub dwValue: u32, +} +impl ::core::marker::Copy for TOKEN_VALUE {} +impl ::core::clone::Clone for TOKEN_VALUE { + fn clone(&self) -> Self { + *self + } +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PFN_CUSTOM_HELP = ::core::option::Option<unsafe extern "system" fn(hmodule: super::super::Foundation::HANDLE, pwszcmdtoken: ::windows_sys::core::PCWSTR) -> ()>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PFN_HANDLE_CMD = ::core::option::Option<unsafe extern "system" fn(pwszmachine: ::windows_sys::core::PCWSTR, ppwcarguments: *mut ::windows_sys::core::PWSTR, dwcurrentindex: u32, dwargcount: u32, dwflags: u32, pvdata: *const ::core::ffi::c_void, pbdone: *mut super::super::Foundation::BOOL) -> u32>; +pub type PGET_RESOURCE_STRING_FN = ::core::option::Option<unsafe extern "system" fn(dwmsgid: u32, lpbuffer: ::windows_sys::core::PCWSTR, nbuffermax: u32) -> u32>; +pub type PNS_CONTEXT_COMMIT_FN = ::core::option::Option<unsafe extern "system" fn(dwaction: u32) -> u32>; +pub type PNS_CONTEXT_CONNECT_FN = ::core::option::Option<unsafe extern "system" fn(pwszmachine: ::windows_sys::core::PCWSTR) -> u32>; +pub type PNS_CONTEXT_DUMP_FN = ::core::option::Option<unsafe extern "system" fn(pwszrouter: ::windows_sys::core::PCWSTR, ppwcarguments: *const ::windows_sys::core::PCWSTR, dwargcount: u32, pvdata: *const ::core::ffi::c_void) -> u32>; +pub type PNS_DLL_INIT_FN = ::core::option::Option<unsafe extern "system" fn(dwnetshversion: u32, preserved: *mut ::core::ffi::c_void) -> u32>; +pub type PNS_DLL_STOP_FN = ::core::option::Option<unsafe extern "system" fn(dwreserved: u32) -> u32>; +pub type PNS_HELPER_START_FN = ::core::option::Option<unsafe extern "system" fn(pguidparent: *const ::windows_sys::core::GUID, dwversion: u32) -> u32>; +pub type PNS_HELPER_STOP_FN = ::core::option::Option<unsafe extern "system" fn(dwreserved: u32) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PNS_OSVERSIONCHECK = ::core::option::Option<unsafe extern "system" fn(cimostype: u32, cimosproductsuite: u32, cimosversion: ::windows_sys::core::PCWSTR, cimosbuildnumber: ::windows_sys::core::PCWSTR, cimservicepackmajorversion: ::windows_sys::core::PCWSTR, cimservicepackminorversion: ::windows_sys::core::PCWSTR, uireserved: u32, dwreserved: u32) -> super::super::Foundation::BOOL>; diff --git a/vendor/windows-sys/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs new file mode 100644 index 0000000..6357f11 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs @@ -0,0 +1,326 @@ +::windows_targets::link!("ndfapi.dll" "system" fn NdfCancelIncident(handle : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ndfapi.dll" "system" fn NdfCloseIncident(handle : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ndfapi.dll" "system" fn NdfCreateConnectivityIncident(handle : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ndfapi.dll" "system" fn NdfCreateDNSIncident(hostname : ::windows_sys::core::PCWSTR, querytype : u16, handle : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("ndfapi.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn NdfCreateGroupingIncident(cloudname : ::windows_sys::core::PCWSTR, groupname : ::windows_sys::core::PCWSTR, identity : ::windows_sys::core::PCWSTR, invitation : ::windows_sys::core::PCWSTR, addresses : *const super::super::Networking::WinSock:: SOCKET_ADDRESS_LIST, appid : ::windows_sys::core::PCWSTR, handle : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ndfapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdfCreateIncident(helperclassname : ::windows_sys::core::PCWSTR, celt : u32, attributes : *const HELPER_ATTRIBUTE, handle : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ndfapi.dll" "system" fn NdfCreateNetConnectionIncident(handle : *mut *mut ::core::ffi::c_void, id : ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ndfapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdfCreatePnrpIncident(cloudname : ::windows_sys::core::PCWSTR, peername : ::windows_sys::core::PCWSTR, diagnosepublish : super::super::Foundation:: BOOL, appid : ::windows_sys::core::PCWSTR, handle : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ndfapi.dll" "system" fn NdfCreateSharingIncident(uncpath : ::windows_sys::core::PCWSTR, handle : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ndfapi.dll" "system" fn NdfCreateWebIncident(url : ::windows_sys::core::PCWSTR, handle : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ndfapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdfCreateWebIncidentEx(url : ::windows_sys::core::PCWSTR, usewinhttp : super::super::Foundation:: BOOL, modulename : ::windows_sys::core::PCWSTR, handle : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_Security"))] +::windows_targets::link!("ndfapi.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Security\"`"] fn NdfCreateWinSockIncident(sock : super::super::Networking::WinSock:: SOCKET, host : ::windows_sys::core::PCWSTR, port : u16, appid : ::windows_sys::core::PCWSTR, userid : *const super::super::Security:: SID, handle : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ndfapi.dll" "system" fn NdfDiagnoseIncident(handle : *const ::core::ffi::c_void, rootcausecount : *mut u32, rootcauses : *mut *mut RootCauseInfo, dwwait : u32, dwflags : u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ndfapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdfExecuteDiagnosis(handle : *const ::core::ffi::c_void, hwnd : super::super::Foundation:: HWND) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ndfapi.dll" "system" fn NdfGetTraceFile(handle : *const ::core::ffi::c_void, tracefilelocation : *mut ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ndfapi.dll" "system" fn NdfRepairIncident(handle : *const ::core::ffi::c_void, repairex : *const RepairInfoEx, dwwait : u32) -> ::windows_sys::core::HRESULT); +pub type INetDiagExtensibleHelper = *mut ::core::ffi::c_void; +pub type INetDiagHelper = *mut ::core::ffi::c_void; +pub type INetDiagHelperEx = *mut ::core::ffi::c_void; +pub type INetDiagHelperInfo = *mut ::core::ffi::c_void; +pub type INetDiagHelperUtilFactory = *mut ::core::ffi::c_void; +pub const AT_BOOLEAN: ATTRIBUTE_TYPE = 1i32; +pub const AT_GUID: ATTRIBUTE_TYPE = 11i32; +pub const AT_INT16: ATTRIBUTE_TYPE = 4i32; +pub const AT_INT32: ATTRIBUTE_TYPE = 6i32; +pub const AT_INT64: ATTRIBUTE_TYPE = 8i32; +pub const AT_INT8: ATTRIBUTE_TYPE = 2i32; +pub const AT_INVALID: ATTRIBUTE_TYPE = 0i32; +pub const AT_LIFE_TIME: ATTRIBUTE_TYPE = 12i32; +pub const AT_OCTET_STRING: ATTRIBUTE_TYPE = 14i32; +pub const AT_SOCKADDR: ATTRIBUTE_TYPE = 13i32; +pub const AT_STRING: ATTRIBUTE_TYPE = 10i32; +pub const AT_UINT16: ATTRIBUTE_TYPE = 5i32; +pub const AT_UINT32: ATTRIBUTE_TYPE = 7i32; +pub const AT_UINT64: ATTRIBUTE_TYPE = 9i32; +pub const AT_UINT8: ATTRIBUTE_TYPE = 3i32; +pub const DF_IMPERSONATION: u32 = 2147483648u32; +pub const DF_TRACELESS: u32 = 1073741824u32; +pub const DS_CONFIRMED: DIAGNOSIS_STATUS = 1i32; +pub const DS_DEFERRED: DIAGNOSIS_STATUS = 4i32; +pub const DS_INDETERMINATE: DIAGNOSIS_STATUS = 3i32; +pub const DS_NOT_IMPLEMENTED: DIAGNOSIS_STATUS = 0i32; +pub const DS_PASSTHROUGH: DIAGNOSIS_STATUS = 5i32; +pub const DS_REJECTED: DIAGNOSIS_STATUS = 2i32; +pub const NDF_ADD_CAPTURE_TRACE: u32 = 1u32; +pub const NDF_APPLY_INCLUSION_LIST_FILTER: u32 = 2u32; +pub const NDF_ERROR_START: u32 = 63744u32; +pub const NDF_E_BAD_PARAM: ::windows_sys::core::HRESULT = -2146895611i32; +pub const NDF_E_CANCELLED: ::windows_sys::core::HRESULT = -2146895614i32; +pub const NDF_E_DISABLED: ::windows_sys::core::HRESULT = -2146895612i32; +pub const NDF_E_LENGTH_EXCEEDED: ::windows_sys::core::HRESULT = -2146895616i32; +pub const NDF_E_NOHELPERCLASS: ::windows_sys::core::HRESULT = -2146895615i32; +pub const NDF_E_PROBLEM_PRESENT: ::windows_sys::core::HRESULT = -2146895608i32; +pub const NDF_E_UNKNOWN: ::windows_sys::core::HRESULT = -2146895609i32; +pub const NDF_E_VALIDATION: ::windows_sys::core::HRESULT = -2146895610i32; +pub const NDF_INBOUND_FLAG_EDGETRAVERSAL: u32 = 1u32; +pub const NDF_INBOUND_FLAG_HEALTHCHECK: u32 = 2u32; +pub const PT_DOWN_STREAM_HEALTH: PROBLEM_TYPE = 4i32; +pub const PT_HIGHER_UTILIZATION: PROBLEM_TYPE = 16i32; +pub const PT_HIGH_UTILIZATION: PROBLEM_TYPE = 8i32; +pub const PT_INVALID: PROBLEM_TYPE = 0i32; +pub const PT_LOWER_HEALTH: PROBLEM_TYPE = 2i32; +pub const PT_LOW_HEALTH: PROBLEM_TYPE = 1i32; +pub const PT_UP_STREAM_UTILIZATION: PROBLEM_TYPE = 32i32; +pub const RCF_ISCONFIRMED: u32 = 2u32; +pub const RCF_ISLEAF: u32 = 1u32; +pub const RCF_ISTHIRDPARTY: u32 = 4u32; +pub const RF_CONTACT_ADMIN: u32 = 131072u32; +pub const RF_INFORMATION_ONLY: u32 = 33554432u32; +pub const RF_REPRO: u32 = 2097152u32; +pub const RF_RESERVED: u32 = 1073741824u32; +pub const RF_RESERVED_CA: u32 = 2147483648u32; +pub const RF_RESERVED_LNI: u32 = 65536u32; +pub const RF_SHOW_EVENTS: u32 = 8388608u32; +pub const RF_UI_ONLY: u32 = 16777216u32; +pub const RF_USER_ACTION: u32 = 268435456u32; +pub const RF_USER_CONFIRMATION: u32 = 134217728u32; +pub const RF_VALIDATE_HELPTOPIC: u32 = 4194304u32; +pub const RF_WORKAROUND: u32 = 536870912u32; +pub const RR_NORISK: REPAIR_RISK = 2i32; +pub const RR_NOROLLBACK: REPAIR_RISK = 0i32; +pub const RR_ROLLBACK: REPAIR_RISK = 1i32; +pub const RS_APPLICATION: REPAIR_SCOPE = 2i32; +pub const RS_DEFERRED: REPAIR_STATUS = 3i32; +pub const RS_NOT_IMPLEMENTED: REPAIR_STATUS = 0i32; +pub const RS_PROCESS: REPAIR_SCOPE = 3i32; +pub const RS_REPAIRED: REPAIR_STATUS = 1i32; +pub const RS_SYSTEM: REPAIR_SCOPE = 0i32; +pub const RS_UNREPAIRED: REPAIR_STATUS = 2i32; +pub const RS_USER: REPAIR_SCOPE = 1i32; +pub const RS_USER_ACTION: REPAIR_STATUS = 4i32; +pub const UIT_DUI: UI_INFO_TYPE = 4i32; +pub const UIT_HELP_PANE: UI_INFO_TYPE = 3i32; +pub const UIT_INVALID: UI_INFO_TYPE = 0i32; +pub const UIT_NONE: UI_INFO_TYPE = 1i32; +pub const UIT_SHELL_COMMAND: UI_INFO_TYPE = 2i32; +pub type ATTRIBUTE_TYPE = i32; +pub type DIAGNOSIS_STATUS = i32; +pub type PROBLEM_TYPE = i32; +pub type REPAIR_RISK = i32; +pub type REPAIR_SCOPE = i32; +pub type REPAIR_STATUS = i32; +pub type UI_INFO_TYPE = i32; +#[repr(C)] +pub struct DIAG_SOCKADDR { + pub family: u16, + pub data: [u8; 126], +} +impl ::core::marker::Copy for DIAG_SOCKADDR {} +impl ::core::clone::Clone for DIAG_SOCKADDR { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DiagnosticsInfo { + pub cost: i32, + pub flags: u32, +} +impl ::core::marker::Copy for DiagnosticsInfo {} +impl ::core::clone::Clone for DiagnosticsInfo { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct HELPER_ATTRIBUTE { + pub pwszName: ::windows_sys::core::PWSTR, + pub r#type: ATTRIBUTE_TYPE, + pub Anonymous: HELPER_ATTRIBUTE_0, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for HELPER_ATTRIBUTE {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for HELPER_ATTRIBUTE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union HELPER_ATTRIBUTE_0 { + pub Boolean: super::super::Foundation::BOOL, + pub Char: u8, + pub Byte: u8, + pub Short: i16, + pub Word: u16, + pub Int: i32, + pub DWord: u32, + pub Int64: i64, + pub UInt64: u64, + pub PWStr: ::windows_sys::core::PWSTR, + pub Guid: ::windows_sys::core::GUID, + pub LifeTime: LIFE_TIME, + pub Address: DIAG_SOCKADDR, + pub OctetString: OCTET_STRING, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for HELPER_ATTRIBUTE_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for HELPER_ATTRIBUTE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct HYPOTHESIS { + pub pwszClassName: ::windows_sys::core::PWSTR, + pub pwszDescription: ::windows_sys::core::PWSTR, + pub celt: u32, + pub rgAttributes: *mut HELPER_ATTRIBUTE, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for HYPOTHESIS {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for HYPOTHESIS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct HelperAttributeInfo { + pub pwszName: ::windows_sys::core::PWSTR, + pub r#type: ATTRIBUTE_TYPE, +} +impl ::core::marker::Copy for HelperAttributeInfo {} +impl ::core::clone::Clone for HelperAttributeInfo { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct HypothesisResult { + pub hypothesis: HYPOTHESIS, + pub pathStatus: DIAGNOSIS_STATUS, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for HypothesisResult {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for HypothesisResult { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct LIFE_TIME { + pub startTime: super::super::Foundation::FILETIME, + pub endTime: super::super::Foundation::FILETIME, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for LIFE_TIME {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for LIFE_TIME { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct OCTET_STRING { + pub dwLength: u32, + pub lpValue: *mut u8, +} +impl ::core::marker::Copy for OCTET_STRING {} +impl ::core::clone::Clone for OCTET_STRING { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RepairInfo { + pub guid: ::windows_sys::core::GUID, + pub pwszClassName: ::windows_sys::core::PWSTR, + pub pwszDescription: ::windows_sys::core::PWSTR, + pub sidType: u32, + pub cost: i32, + pub flags: u32, + pub scope: REPAIR_SCOPE, + pub risk: REPAIR_RISK, + pub UiInfo: UiInfo, + pub rootCauseIndex: i32, +} +impl ::core::marker::Copy for RepairInfo {} +impl ::core::clone::Clone for RepairInfo { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RepairInfoEx { + pub repair: RepairInfo, + pub repairRank: u16, +} +impl ::core::marker::Copy for RepairInfoEx {} +impl ::core::clone::Clone for RepairInfoEx { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RootCauseInfo { + pub pwszDescription: ::windows_sys::core::PWSTR, + pub rootCauseID: ::windows_sys::core::GUID, + pub rootCauseFlags: u32, + pub networkInterfaceID: ::windows_sys::core::GUID, + pub pRepairs: *mut RepairInfoEx, + pub repairCount: u16, +} +impl ::core::marker::Copy for RootCauseInfo {} +impl ::core::clone::Clone for RootCauseInfo { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct ShellCommandInfo { + pub pwszOperation: ::windows_sys::core::PWSTR, + pub pwszFile: ::windows_sys::core::PWSTR, + pub pwszParameters: ::windows_sys::core::PWSTR, + pub pwszDirectory: ::windows_sys::core::PWSTR, + pub nShowCmd: u32, +} +impl ::core::marker::Copy for ShellCommandInfo {} +impl ::core::clone::Clone for ShellCommandInfo { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct UiInfo { + pub r#type: UI_INFO_TYPE, + pub Anonymous: UiInfo_0, +} +impl ::core::marker::Copy for UiInfo {} +impl ::core::clone::Clone for UiInfo { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union UiInfo_0 { + pub pwzNull: ::windows_sys::core::PWSTR, + pub ShellInfo: ShellCommandInfo, + pub pwzHelpUrl: ::windows_sys::core::PWSTR, + pub pwzDui: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for UiInfo_0 {} +impl ::core::clone::Clone for UiInfo_0 { + fn clone(&self) -> Self { + *self + } +} diff --git a/vendor/windows-sys/src/Windows/Win32/NetworkManagement/P2P/mod.rs b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/P2P/mod.rs new file mode 100644 index 0000000..0118bc4 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/P2P/mod.rs @@ -0,0 +1,1716 @@ +::windows_targets::link!("drt.dll" "system" fn DrtClose(hdrt : *const ::core::ffi::c_void) -> ()); +::windows_targets::link!("drt.dll" "system" fn DrtContinueSearch(hsearchcontext : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("drtprov.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] fn DrtCreateDerivedKey(plocalcert : *const super::super::Security::Cryptography:: CERT_CONTEXT, pkey : *mut DRT_DATA) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("drtprov.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] fn DrtCreateDerivedKeySecurityProvider(prootcert : *const super::super::Security::Cryptography:: CERT_CONTEXT, plocalcert : *const super::super::Security::Cryptography:: CERT_CONTEXT, ppsecurityprovider : *mut *mut DRT_SECURITY_PROVIDER) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("drtprov.dll" "system" fn DrtCreateDnsBootstrapResolver(port : u16, pwszaddress : ::windows_sys::core::PCWSTR, ppmodule : *mut *mut DRT_BOOTSTRAP_PROVIDER) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("drttransport.dll" "system" fn DrtCreateIpv6UdpTransport(scope : DRT_SCOPE, dwscopeid : u32, dwlocalitythreshold : u32, pwport : *mut u16, phtransport : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("drtprov.dll" "system" fn DrtCreateNullSecurityProvider(ppsecurityprovider : *mut *mut DRT_SECURITY_PROVIDER) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("drtprov.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DrtCreatePnrpBootstrapResolver(fpublish : super::super::Foundation:: BOOL, pwzpeername : ::windows_sys::core::PCWSTR, pwzcloudname : ::windows_sys::core::PCWSTR, pwzpublishingidentity : ::windows_sys::core::PCWSTR, ppresolver : *mut *mut DRT_BOOTSTRAP_PROVIDER) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("drtprov.dll" "system" fn DrtDeleteDerivedKeySecurityProvider(psecurityprovider : *const DRT_SECURITY_PROVIDER) -> ()); +::windows_targets::link!("drtprov.dll" "system" fn DrtDeleteDnsBootstrapResolver(presolver : *const DRT_BOOTSTRAP_PROVIDER) -> ()); +::windows_targets::link!("drttransport.dll" "system" fn DrtDeleteIpv6UdpTransport(htransport : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("drtprov.dll" "system" fn DrtDeleteNullSecurityProvider(psecurityprovider : *const DRT_SECURITY_PROVIDER) -> ()); +::windows_targets::link!("drtprov.dll" "system" fn DrtDeletePnrpBootstrapResolver(presolver : *const DRT_BOOTSTRAP_PROVIDER) -> ()); +::windows_targets::link!("drt.dll" "system" fn DrtEndSearch(hsearchcontext : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("drt.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn DrtGetEventData(hdrt : *const ::core::ffi::c_void, uleventdatalen : u32, peventdata : *mut DRT_EVENT_DATA) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("drt.dll" "system" fn DrtGetEventDataSize(hdrt : *const ::core::ffi::c_void, puleventdatalen : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("drt.dll" "system" fn DrtGetInstanceName(hdrt : *const ::core::ffi::c_void, ulcbinstancenamesize : u32, pwzdrtinstancename : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("drt.dll" "system" fn DrtGetInstanceNameSize(hdrt : *const ::core::ffi::c_void, pulcbinstancenamesize : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("drt.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn DrtGetSearchPath(hsearchcontext : *const ::core::ffi::c_void, ulsearchpathsize : u32, psearchpath : *mut DRT_ADDRESS_LIST) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("drt.dll" "system" fn DrtGetSearchPathSize(hsearchcontext : *const ::core::ffi::c_void, pulsearchpathsize : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("drt.dll" "system" fn DrtGetSearchResult(hsearchcontext : *const ::core::ffi::c_void, ulsearchresultsize : u32, psearchresult : *mut DRT_SEARCH_RESULT) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("drt.dll" "system" fn DrtGetSearchResultSize(hsearchcontext : *const ::core::ffi::c_void, pulsearchresultsize : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("drt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DrtOpen(psettings : *const DRT_SETTINGS, hevent : super::super::Foundation:: HANDLE, pvcontext : *const ::core::ffi::c_void, phdrt : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("drt.dll" "system" fn DrtRegisterKey(hdrt : *const ::core::ffi::c_void, pregistration : *const DRT_REGISTRATION, pvkeycontext : *const ::core::ffi::c_void, phkeyregistration : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("drt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DrtStartSearch(hdrt : *const ::core::ffi::c_void, pkey : *const DRT_DATA, pinfo : *const DRT_SEARCH_INFO, timeout : u32, hevent : super::super::Foundation:: HANDLE, pvcontext : *const ::core::ffi::c_void, hsearchcontext : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("drt.dll" "system" fn DrtUnregisterKey(hkeyregistration : *const ::core::ffi::c_void) -> ()); +::windows_targets::link!("drt.dll" "system" fn DrtUpdateKey(hkeyregistration : *const ::core::ffi::c_void, pappdata : *const DRT_DATA) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerCollabAddContact(pwzcontactdata : ::windows_sys::core::PCWSTR, ppcontact : *mut *mut PEER_CONTACT) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn PeerCollabAsyncInviteContact(pccontact : *const PEER_CONTACT, pcendpoint : *const PEER_ENDPOINT, pcinvitation : *const PEER_INVITATION, hevent : super::super::Foundation:: HANDLE, phinvitation : *mut super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn PeerCollabAsyncInviteEndpoint(pcendpoint : *const PEER_ENDPOINT, pcinvitation : *const PEER_INVITATION, hevent : super::super::Foundation:: HANDLE, phinvitation : *mut super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerCollabCancelInvitation(hinvitation : super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerCollabCloseHandle(hinvitation : super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerCollabDeleteContact(pwzpeername : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerCollabDeleteEndpointData(pcendpoint : *const PEER_ENDPOINT) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerCollabDeleteObject(pobjectid : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerCollabEnumApplicationRegistrationInfo(registrationtype : PEER_APPLICATION_REGISTRATION_TYPE, phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerCollabEnumApplications(pcendpoint : *const PEER_ENDPOINT, papplicationid : *const ::windows_sys::core::GUID, phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerCollabEnumContacts(phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerCollabEnumEndpoints(pccontact : *const PEER_CONTACT, phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerCollabEnumObjects(pcendpoint : *const PEER_ENDPOINT, pobjectid : *const ::windows_sys::core::GUID, phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerCollabEnumPeopleNearMe(phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerCollabExportContact(pwzpeername : ::windows_sys::core::PCWSTR, ppwzcontactdata : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn PeerCollabGetAppLaunchInfo(pplaunchinfo : *mut *mut PEER_APP_LAUNCH_INFO) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerCollabGetApplicationRegistrationInfo(papplicationid : *const ::windows_sys::core::GUID, registrationtype : PEER_APPLICATION_REGISTRATION_TYPE, ppapplication : *mut *mut PEER_APPLICATION_REGISTRATION_INFO) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerCollabGetContact(pwzpeername : ::windows_sys::core::PCWSTR, ppcontact : *mut *mut PEER_CONTACT) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerCollabGetEndpointName(ppwzendpointname : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn PeerCollabGetEventData(hpeerevent : *const ::core::ffi::c_void, ppeventdata : *mut *mut PEER_COLLAB_EVENT_DATA) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerCollabGetInvitationResponse(hinvitation : super::super::Foundation:: HANDLE, ppinvitationresponse : *mut *mut PEER_INVITATION_RESPONSE) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerCollabGetPresenceInfo(pcendpoint : *const PEER_ENDPOINT, pppresenceinfo : *mut *mut PEER_PRESENCE_INFO) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerCollabGetSigninOptions(pdwsigninoptions : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn PeerCollabInviteContact(pccontact : *const PEER_CONTACT, pcendpoint : *const PEER_ENDPOINT, pcinvitation : *const PEER_INVITATION, ppresponse : *mut *mut PEER_INVITATION_RESPONSE) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerCollabInviteEndpoint(pcendpoint : *const PEER_ENDPOINT, pcinvitation : *const PEER_INVITATION, ppresponse : *mut *mut PEER_INVITATION_RESPONSE) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerCollabParseContact(pwzcontactdata : ::windows_sys::core::PCWSTR, ppcontact : *mut *mut PEER_CONTACT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerCollabQueryContactData(pcendpoint : *const PEER_ENDPOINT, ppwzcontactdata : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerCollabRefreshEndpointData(pcendpoint : *const PEER_ENDPOINT) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerCollabRegisterApplication(pcapplication : *const PEER_APPLICATION_REGISTRATION_INFO, registrationtype : PEER_APPLICATION_REGISTRATION_TYPE) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerCollabRegisterEvent(hevent : super::super::Foundation:: HANDLE, ceventregistration : u32, peventregistrations : *const PEER_COLLAB_EVENT_REGISTRATION, phpeerevent : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerCollabSetEndpointName(pwzendpointname : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerCollabSetObject(pcobject : *const PEER_OBJECT) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerCollabSetPresenceInfo(pcpresenceinfo : *const PEER_PRESENCE_INFO) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerCollabShutdown() -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerCollabSignin(hwndparent : super::super::Foundation:: HWND, dwsigninoptions : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerCollabSignout(dwsigninoptions : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerCollabStartup(wversionrequested : u16) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerCollabSubscribeEndpointData(pcendpoint : *const PEER_ENDPOINT) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerCollabUnregisterApplication(papplicationid : *const ::windows_sys::core::GUID, registrationtype : PEER_APPLICATION_REGISTRATION_TYPE) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerCollabUnregisterEvent(hpeerevent : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerCollabUnsubscribeEndpointData(pcendpoint : *const PEER_ENDPOINT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerCollabUpdateContact(pcontact : *const PEER_CONTACT) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerCreatePeerName(pwzidentity : ::windows_sys::core::PCWSTR, pwzclassifier : ::windows_sys::core::PCWSTR, ppwzpeername : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn PeerDistClientAddContentInformation(hpeerdist : isize, hcontenthandle : isize, cbnumberofbytes : u32, pbuffer : *const u8, lpoverlapped : *const super::super::System::IO:: OVERLAPPED) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn PeerDistClientAddData(hpeerdist : isize, hcontenthandle : isize, cbnumberofbytes : u32, pbuffer : *const u8, lpoverlapped : *const super::super::System::IO:: OVERLAPPED) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn PeerDistClientBlockRead(hpeerdist : isize, hcontenthandle : isize, cbmaxnumberofbytes : u32, pbuffer : *mut u8, dwtimeoutinmilliseconds : u32, lpoverlapped : *const super::super::System::IO:: OVERLAPPED) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn PeerDistClientCancelAsyncOperation(hpeerdist : isize, hcontenthandle : isize, poverlapped : *const super::super::System::IO:: OVERLAPPED) -> u32); +::windows_targets::link!("peerdist.dll" "system" fn PeerDistClientCloseContent(hpeerdist : isize, hcontenthandle : isize) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn PeerDistClientCompleteContentInformation(hpeerdist : isize, hcontenthandle : isize, lpoverlapped : *const super::super::System::IO:: OVERLAPPED) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn PeerDistClientFlushContent(hpeerdist : isize, pcontenttag : *const PEERDIST_CONTENT_TAG, hcompletionport : super::super::Foundation:: HANDLE, ulcompletionkey : usize, lpoverlapped : *const super::super::System::IO:: OVERLAPPED) -> u32); +::windows_targets::link!("peerdist.dll" "system" fn PeerDistClientGetInformationByHandle(hpeerdist : isize, hcontenthandle : isize, peerdistclientinfoclass : PEERDIST_CLIENT_INFO_BY_HANDLE_CLASS, dwbuffersize : u32, lpinformation : *mut ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerDistClientOpenContent(hpeerdist : isize, pcontenttag : *const PEERDIST_CONTENT_TAG, hcompletionport : super::super::Foundation:: HANDLE, ulcompletionkey : usize, phcontenthandle : *mut isize) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn PeerDistClientStreamRead(hpeerdist : isize, hcontenthandle : isize, cbmaxnumberofbytes : u32, pbuffer : *mut u8, dwtimeoutinmilliseconds : u32, lpoverlapped : *const super::super::System::IO:: OVERLAPPED) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn PeerDistGetOverlappedResult(lpoverlapped : *const super::super::System::IO:: OVERLAPPED, lpnumberofbytestransferred : *mut u32, bwait : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); +::windows_targets::link!("peerdist.dll" "system" fn PeerDistGetStatus(hpeerdist : isize, ppeerdiststatus : *mut PEERDIST_STATUS) -> u32); +::windows_targets::link!("peerdist.dll" "system" fn PeerDistGetStatusEx(hpeerdist : isize, ppeerdiststatus : *mut PEERDIST_STATUS_INFO) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn PeerDistRegisterForStatusChangeNotification(hpeerdist : isize, hcompletionport : super::super::Foundation:: HANDLE, ulcompletionkey : usize, lpoverlapped : *const super::super::System::IO:: OVERLAPPED, ppeerdiststatus : *mut PEERDIST_STATUS) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn PeerDistRegisterForStatusChangeNotificationEx(hpeerdist : isize, hcompletionport : super::super::Foundation:: HANDLE, ulcompletionkey : usize, lpoverlapped : *const super::super::System::IO:: OVERLAPPED, ppeerdiststatus : *mut PEERDIST_STATUS_INFO) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn PeerDistServerCancelAsyncOperation(hpeerdist : isize, cbcontentidentifier : u32, pcontentidentifier : *const u8, poverlapped : *const super::super::System::IO:: OVERLAPPED) -> u32); +::windows_targets::link!("peerdist.dll" "system" fn PeerDistServerCloseContentInformation(hpeerdist : isize, hcontentinfo : isize) -> u32); +::windows_targets::link!("peerdist.dll" "system" fn PeerDistServerCloseStreamHandle(hpeerdist : isize, hstream : isize) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerDistServerOpenContentInformation(hpeerdist : isize, cbcontentidentifier : u32, pcontentidentifier : *const u8, ullcontentoffset : u64, cbcontentlength : u64, hcompletionport : super::super::Foundation:: HANDLE, ulcompletionkey : usize, phcontentinfo : *mut isize) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerDistServerOpenContentInformationEx(hpeerdist : isize, cbcontentidentifier : u32, pcontentidentifier : *const u8, ullcontentoffset : u64, cbcontentlength : u64, pretrievaloptions : *const PEERDIST_RETRIEVAL_OPTIONS, hcompletionport : super::super::Foundation:: HANDLE, ulcompletionkey : usize, phcontentinfo : *mut isize) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn PeerDistServerPublishAddToStream(hpeerdist : isize, hstream : isize, cbnumberofbytes : u32, pbuffer : *const u8, lpoverlapped : *const super::super::System::IO:: OVERLAPPED) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn PeerDistServerPublishCompleteStream(hpeerdist : isize, hstream : isize, lpoverlapped : *const super::super::System::IO:: OVERLAPPED) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerDistServerPublishStream(hpeerdist : isize, cbcontentidentifier : u32, pcontentidentifier : *const u8, cbcontentlength : u64, ppublishoptions : *const PEERDIST_PUBLICATION_OPTIONS, hcompletionport : super::super::Foundation:: HANDLE, ulcompletionkey : usize, phstream : *mut isize) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn PeerDistServerRetrieveContentInformation(hpeerdist : isize, hcontentinfo : isize, cbmaxnumberofbytes : u32, pbuffer : *mut u8, lpoverlapped : *const super::super::System::IO:: OVERLAPPED) -> u32); +::windows_targets::link!("peerdist.dll" "system" fn PeerDistServerUnpublish(hpeerdist : isize, cbcontentidentifier : u32, pcontentidentifier : *const u8) -> u32); +::windows_targets::link!("peerdist.dll" "system" fn PeerDistShutdown(hpeerdist : isize) -> u32); +::windows_targets::link!("peerdist.dll" "system" fn PeerDistStartup(dwversionrequested : u32, phpeerdist : *mut isize, pdwsupportedversion : *mut u32) -> u32); +::windows_targets::link!("peerdist.dll" "system" fn PeerDistUnregisterForStatusChangeNotification(hpeerdist : isize) -> u32); +::windows_targets::link!("p2p.dll" "system" fn PeerEndEnumeration(hpeerenum : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerEnumGroups(pwzidentity : ::windows_sys::core::PCWSTR, phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerEnumIdentities(phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerFreeData(pvdata : *const ::core::ffi::c_void) -> ()); +::windows_targets::link!("p2p.dll" "system" fn PeerGetItemCount(hpeerenum : *const ::core::ffi::c_void, pcount : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerGetNextItem(hpeerenum : *const ::core::ffi::c_void, pcount : *mut u32, pppvitems : *mut *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2pgraph.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGraphAddRecord(hgraph : *const ::core::ffi::c_void, precord : *const PEER_RECORD, precordid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphClose(hgraph : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphCloseDirectConnection(hgraph : *const ::core::ffi::c_void, ullconnectionid : u64) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("p2pgraph.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerGraphConnect(hgraph : *const ::core::ffi::c_void, pwzpeerid : ::windows_sys::core::PCWSTR, paddress : *const PEER_ADDRESS, pullconnectionid : *mut u64) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2pgraph.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGraphCreate(pgraphproperties : *const PEER_GRAPH_PROPERTIES, pwzdatabasename : ::windows_sys::core::PCWSTR, psecurityinterface : *const PEER_SECURITY_INTERFACE, phgraph : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphDelete(pwzgraphid : ::windows_sys::core::PCWSTR, pwzpeerid : ::windows_sys::core::PCWSTR, pwzdatabasename : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2pgraph.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGraphDeleteRecord(hgraph : *const ::core::ffi::c_void, precordid : *const ::windows_sys::core::GUID, flocal : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphEndEnumeration(hpeerenum : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphEnumConnections(hgraph : *const ::core::ffi::c_void, dwflags : u32, phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphEnumNodes(hgraph : *const ::core::ffi::c_void, pwzpeerid : ::windows_sys::core::PCWSTR, phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphEnumRecords(hgraph : *const ::core::ffi::c_void, precordtype : *const ::windows_sys::core::GUID, pwzpeerid : ::windows_sys::core::PCWSTR, phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphExportDatabase(hgraph : *const ::core::ffi::c_void, pwzfilepath : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphFreeData(pvdata : *const ::core::ffi::c_void) -> ()); +::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphGetEventData(hpeerevent : *const ::core::ffi::c_void, ppeventdata : *mut *mut PEER_GRAPH_EVENT_DATA) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphGetItemCount(hpeerenum : *const ::core::ffi::c_void, pcount : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphGetNextItem(hpeerenum : *const ::core::ffi::c_void, pcount : *mut u32, pppvitems : *mut *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("p2pgraph.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerGraphGetNodeInfo(hgraph : *const ::core::ffi::c_void, ullnodeid : u64, ppnodeinfo : *mut *mut PEER_NODE_INFO) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphGetProperties(hgraph : *const ::core::ffi::c_void, ppgraphproperties : *mut *mut PEER_GRAPH_PROPERTIES) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2pgraph.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGraphGetRecord(hgraph : *const ::core::ffi::c_void, precordid : *const ::windows_sys::core::GUID, pprecord : *mut *mut PEER_RECORD) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphGetStatus(hgraph : *const ::core::ffi::c_void, pdwstatus : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphImportDatabase(hgraph : *const ::core::ffi::c_void, pwzfilepath : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphListen(hgraph : *const ::core::ffi::c_void, dwscope : u32, dwscopeid : u32, wport : u16) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2pgraph.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGraphOpen(pwzgraphid : ::windows_sys::core::PCWSTR, pwzpeerid : ::windows_sys::core::PCWSTR, pwzdatabasename : ::windows_sys::core::PCWSTR, psecurityinterface : *const PEER_SECURITY_INTERFACE, crecordtypesyncprecedence : u32, precordtypesyncprecedence : *const ::windows_sys::core::GUID, phgraph : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("p2pgraph.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerGraphOpenDirectConnection(hgraph : *const ::core::ffi::c_void, pwzpeerid : ::windows_sys::core::PCWSTR, paddress : *const PEER_ADDRESS, pullconnectionid : *mut u64) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2pgraph.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGraphPeerTimeToUniversalTime(hgraph : *const ::core::ffi::c_void, pftpeertime : *const super::super::Foundation:: FILETIME, pftuniversaltime : *mut super::super::Foundation:: FILETIME) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2pgraph.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGraphRegisterEvent(hgraph : *const ::core::ffi::c_void, hevent : super::super::Foundation:: HANDLE, ceventregistrations : u32, peventregistrations : *const PEER_GRAPH_EVENT_REGISTRATION, phpeerevent : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphSearchRecords(hgraph : *const ::core::ffi::c_void, pwzcriteria : ::windows_sys::core::PCWSTR, phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphSendData(hgraph : *const ::core::ffi::c_void, ullconnectionid : u64, ptype : *const ::windows_sys::core::GUID, cbdata : u32, pvdata : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphSetNodeAttributes(hgraph : *const ::core::ffi::c_void, pwzattributes : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2pgraph.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGraphSetPresence(hgraph : *const ::core::ffi::c_void, fpresent : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphSetProperties(hgraph : *const ::core::ffi::c_void, pgraphproperties : *const PEER_GRAPH_PROPERTIES) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphShutdown() -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphStartup(wversionrequested : u16, pversiondata : *mut PEER_VERSION_DATA) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2pgraph.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGraphUniversalTimeToPeerTime(hgraph : *const ::core::ffi::c_void, pftuniversaltime : *const super::super::Foundation:: FILETIME, pftpeertime : *mut super::super::Foundation:: FILETIME) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphUnregisterEvent(hpeerevent : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2pgraph.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGraphUpdateRecord(hgraph : *const ::core::ffi::c_void, precord : *const PEER_RECORD) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphValidateDeferredRecords(hgraph : *const ::core::ffi::c_void, crecordids : u32, precordids : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGroupAddRecord(hgroup : *const ::core::ffi::c_void, precord : *const PEER_RECORD, precordid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerGroupClose(hgroup : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerGroupCloseDirectConnection(hgroup : *const ::core::ffi::c_void, ullconnectionid : u64) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerGroupConnect(hgroup : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerGroupConnectByAddress(hgroup : *const ::core::ffi::c_void, caddresses : u32, paddresses : *const PEER_ADDRESS) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerGroupCreate(pproperties : *const PEER_GROUP_PROPERTIES, phgroup : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGroupCreateInvitation(hgroup : *const ::core::ffi::c_void, pwzidentityinfo : ::windows_sys::core::PCWSTR, pftexpiration : *const super::super::Foundation:: FILETIME, croles : u32, proles : *const ::windows_sys::core::GUID, ppwzinvitation : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerGroupCreatePasswordInvitation(hgroup : *const ::core::ffi::c_void, ppwzinvitation : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerGroupDelete(pwzidentity : ::windows_sys::core::PCWSTR, pwzgrouppeername : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerGroupDeleteRecord(hgroup : *const ::core::ffi::c_void, precordid : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerGroupEnumConnections(hgroup : *const ::core::ffi::c_void, dwflags : u32, phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerGroupEnumMembers(hgroup : *const ::core::ffi::c_void, dwflags : u32, pwzidentity : ::windows_sys::core::PCWSTR, phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerGroupEnumRecords(hgroup : *const ::core::ffi::c_void, precordtype : *const ::windows_sys::core::GUID, phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerGroupExportConfig(hgroup : *const ::core::ffi::c_void, pwzpassword : ::windows_sys::core::PCWSTR, ppwzxml : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerGroupExportDatabase(hgroup : *const ::core::ffi::c_void, pwzfilepath : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerGroupGetEventData(hpeerevent : *const ::core::ffi::c_void, ppeventdata : *mut *mut PEER_GROUP_EVENT_DATA) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerGroupGetProperties(hgroup : *const ::core::ffi::c_void, ppproperties : *mut *mut PEER_GROUP_PROPERTIES) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGroupGetRecord(hgroup : *const ::core::ffi::c_void, precordid : *const ::windows_sys::core::GUID, pprecord : *mut *mut PEER_RECORD) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerGroupGetStatus(hgroup : *const ::core::ffi::c_void, pdwstatus : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGroupImportConfig(pwzxml : ::windows_sys::core::PCWSTR, pwzpassword : ::windows_sys::core::PCWSTR, foverwrite : super::super::Foundation:: BOOL, ppwzidentity : *mut ::windows_sys::core::PWSTR, ppwzgroup : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerGroupImportDatabase(hgroup : *const ::core::ffi::c_void, pwzfilepath : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] fn PeerGroupIssueCredentials(hgroup : *const ::core::ffi::c_void, pwzsubjectidentity : ::windows_sys::core::PCWSTR, pcredentialinfo : *const PEER_CREDENTIAL_INFO, dwflags : u32, ppwzinvitation : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerGroupJoin(pwzidentity : ::windows_sys::core::PCWSTR, pwzinvitation : ::windows_sys::core::PCWSTR, pwzcloud : ::windows_sys::core::PCWSTR, phgroup : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerGroupOpen(pwzidentity : ::windows_sys::core::PCWSTR, pwzgrouppeername : ::windows_sys::core::PCWSTR, pwzcloud : ::windows_sys::core::PCWSTR, phgroup : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerGroupOpenDirectConnection(hgroup : *const ::core::ffi::c_void, pwzidentity : ::windows_sys::core::PCWSTR, paddress : *const PEER_ADDRESS, pullconnectionid : *mut u64) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] fn PeerGroupParseInvitation(pwzinvitation : ::windows_sys::core::PCWSTR, ppinvitationinfo : *mut *mut PEER_INVITATION_INFO) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerGroupPasswordJoin(pwzidentity : ::windows_sys::core::PCWSTR, pwzinvitation : ::windows_sys::core::PCWSTR, pwzpassword : ::windows_sys::core::PCWSTR, pwzcloud : ::windows_sys::core::PCWSTR, phgroup : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGroupPeerTimeToUniversalTime(hgroup : *const ::core::ffi::c_void, pftpeertime : *const super::super::Foundation:: FILETIME, pftuniversaltime : *mut super::super::Foundation:: FILETIME) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGroupRegisterEvent(hgroup : *const ::core::ffi::c_void, hevent : super::super::Foundation:: HANDLE, ceventregistration : u32, peventregistrations : *const PEER_GROUP_EVENT_REGISTRATION, phpeerevent : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerGroupResumePasswordAuthentication(hgroup : *const ::core::ffi::c_void, hpeereventhandle : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerGroupSearchRecords(hgroup : *const ::core::ffi::c_void, pwzcriteria : ::windows_sys::core::PCWSTR, phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerGroupSendData(hgroup : *const ::core::ffi::c_void, ullconnectionid : u64, ptype : *const ::windows_sys::core::GUID, cbdata : u32, pvdata : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerGroupSetProperties(hgroup : *const ::core::ffi::c_void, pproperties : *const PEER_GROUP_PROPERTIES) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerGroupShutdown() -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerGroupStartup(wversionrequested : u16, pversiondata : *mut PEER_VERSION_DATA) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGroupUniversalTimeToPeerTime(hgroup : *const ::core::ffi::c_void, pftuniversaltime : *const super::super::Foundation:: FILETIME, pftpeertime : *mut super::super::Foundation:: FILETIME) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerGroupUnregisterEvent(hpeerevent : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGroupUpdateRecord(hgroup : *const ::core::ffi::c_void, precord : *const PEER_RECORD) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerHostNameToPeerName(pwzhostname : ::windows_sys::core::PCWSTR, ppwzpeername : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerIdentityCreate(pwzclassifier : ::windows_sys::core::PCWSTR, pwzfriendlyname : ::windows_sys::core::PCWSTR, hcryptprov : usize, ppwzidentity : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerIdentityDelete(pwzidentity : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerIdentityExport(pwzidentity : ::windows_sys::core::PCWSTR, pwzpassword : ::windows_sys::core::PCWSTR, ppwzexportxml : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerIdentityGetCryptKey(pwzidentity : ::windows_sys::core::PCWSTR, phcryptprov : *mut usize) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerIdentityGetDefault(ppwzpeername : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerIdentityGetFriendlyName(pwzidentity : ::windows_sys::core::PCWSTR, ppwzfriendlyname : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerIdentityGetXML(pwzidentity : ::windows_sys::core::PCWSTR, ppwzidentityxml : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerIdentityImport(pwzimportxml : ::windows_sys::core::PCWSTR, pwzpassword : ::windows_sys::core::PCWSTR, ppwzidentity : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerIdentitySetFriendlyName(pwzidentity : ::windows_sys::core::PCWSTR, pwzfriendlyname : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerNameToPeerHostName(pwzpeername : ::windows_sys::core::PCWSTR, ppwzhostname : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerPnrpEndResolve(hresolve : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerPnrpGetCloudInfo(pcnumclouds : *mut u32, ppcloudinfo : *mut *mut PEER_PNRP_CLOUD_INFO) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerPnrpGetEndpoint(hresolve : *const ::core::ffi::c_void, ppendpoint : *mut *mut PEER_PNRP_ENDPOINT_INFO) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerPnrpRegister(pcwzpeername : ::windows_sys::core::PCWSTR, pregistrationinfo : *const PEER_PNRP_REGISTRATION_INFO, phregistration : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerPnrpResolve(pcwzpeername : ::windows_sys::core::PCWSTR, pcwzcloudname : ::windows_sys::core::PCWSTR, pcendpoints : *mut u32, ppendpoints : *mut *mut PEER_PNRP_ENDPOINT_INFO) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerPnrpShutdown() -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerPnrpStartResolve(pcwzpeername : ::windows_sys::core::PCWSTR, pcwzcloudname : ::windows_sys::core::PCWSTR, cmaxendpoints : u32, hevent : super::super::Foundation:: HANDLE, phresolve : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerPnrpStartup(wversionrequested : u16) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("p2p.dll" "system" fn PeerPnrpUnregister(hregistration : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerPnrpUpdateRegistration(hregistration : *const ::core::ffi::c_void, pregistrationinfo : *const PEER_PNRP_REGISTRATION_INFO) -> ::windows_sys::core::HRESULT); +pub const DRT_ACTIVE: DRT_STATUS = 0i32; +pub const DRT_ADDRESS_FLAG_ACCEPTED: DRT_ADDRESS_FLAGS = 1i32; +pub const DRT_ADDRESS_FLAG_BAD_VALIDATE_ID: DRT_ADDRESS_FLAGS = 32i32; +pub const DRT_ADDRESS_FLAG_INQUIRE: DRT_ADDRESS_FLAGS = 128i32; +pub const DRT_ADDRESS_FLAG_LOOP: DRT_ADDRESS_FLAGS = 8i32; +pub const DRT_ADDRESS_FLAG_REJECTED: DRT_ADDRESS_FLAGS = 2i32; +pub const DRT_ADDRESS_FLAG_SUSPECT_UNREGISTERED_ID: DRT_ADDRESS_FLAGS = 64i32; +pub const DRT_ADDRESS_FLAG_TOO_BUSY: DRT_ADDRESS_FLAGS = 16i32; +pub const DRT_ADDRESS_FLAG_UNREACHABLE: DRT_ADDRESS_FLAGS = 4i32; +pub const DRT_ALONE: DRT_STATUS = 1i32; +pub const DRT_EVENT_LEAFSET_KEY_CHANGED: DRT_EVENT_TYPE = 1i32; +pub const DRT_EVENT_REGISTRATION_STATE_CHANGED: DRT_EVENT_TYPE = 2i32; +pub const DRT_EVENT_STATUS_CHANGED: DRT_EVENT_TYPE = 0i32; +pub const DRT_E_BOOTSTRAPPROVIDER_IN_USE: ::windows_sys::core::HRESULT = -2141052914i32; +pub const DRT_E_BOOTSTRAPPROVIDER_NOT_ATTACHED: ::windows_sys::core::HRESULT = -2141052913i32; +pub const DRT_E_CAPABILITY_MISMATCH: ::windows_sys::core::HRESULT = -2141052657i32; +pub const DRT_E_DUPLICATE_KEY: ::windows_sys::core::HRESULT = -2141052919i32; +pub const DRT_E_FAULTED: ::windows_sys::core::HRESULT = -2141052662i32; +pub const DRT_E_INSUFFICIENT_BUFFER: ::windows_sys::core::HRESULT = -2141052660i32; +pub const DRT_E_INVALID_ADDRESS: ::windows_sys::core::HRESULT = -2141052923i32; +pub const DRT_E_INVALID_BOOTSTRAP_PROVIDER: ::windows_sys::core::HRESULT = -2141052924i32; +pub const DRT_E_INVALID_CERT_CHAIN: ::windows_sys::core::HRESULT = -2141057020i32; +pub const DRT_E_INVALID_INSTANCE_PREFIX: ::windows_sys::core::HRESULT = -2141052659i32; +pub const DRT_E_INVALID_KEY: ::windows_sys::core::HRESULT = -2141057015i32; +pub const DRT_E_INVALID_KEY_SIZE: ::windows_sys::core::HRESULT = -2141057022i32; +pub const DRT_E_INVALID_MAX_ADDRESSES: ::windows_sys::core::HRESULT = -2141057017i32; +pub const DRT_E_INVALID_MAX_ENDPOINTS: ::windows_sys::core::HRESULT = -2141057007i32; +pub const DRT_E_INVALID_MESSAGE: ::windows_sys::core::HRESULT = -2141057019i32; +pub const DRT_E_INVALID_PORT: ::windows_sys::core::HRESULT = -2141052928i32; +pub const DRT_E_INVALID_SCOPE: ::windows_sys::core::HRESULT = -2141052922i32; +pub const DRT_E_INVALID_SEARCH_INFO: ::windows_sys::core::HRESULT = -2141052663i32; +pub const DRT_E_INVALID_SEARCH_RANGE: ::windows_sys::core::HRESULT = -2141057006i32; +pub const DRT_E_INVALID_SECURITY_MODE: ::windows_sys::core::HRESULT = -2141052658i32; +pub const DRT_E_INVALID_SECURITY_PROVIDER: ::windows_sys::core::HRESULT = -2141052926i32; +pub const DRT_E_INVALID_SETTINGS: ::windows_sys::core::HRESULT = -2141052664i32; +pub const DRT_E_INVALID_TRANSPORT_PROVIDER: ::windows_sys::core::HRESULT = -2141052927i32; +pub const DRT_E_NO_ADDRESSES_AVAILABLE: ::windows_sys::core::HRESULT = -2141052920i32; +pub const DRT_E_NO_MORE: ::windows_sys::core::HRESULT = -2141057018i32; +pub const DRT_E_SEARCH_IN_PROGRESS: ::windows_sys::core::HRESULT = -2141057016i32; +pub const DRT_E_SECURITYPROVIDER_IN_USE: ::windows_sys::core::HRESULT = -2141052916i32; +pub const DRT_E_SECURITYPROVIDER_NOT_ATTACHED: ::windows_sys::core::HRESULT = -2141052915i32; +pub const DRT_E_STILL_IN_USE: ::windows_sys::core::HRESULT = -2141052925i32; +pub const DRT_E_TIMEOUT: ::windows_sys::core::HRESULT = -2141057023i32; +pub const DRT_E_TRANSPORTPROVIDER_IN_USE: ::windows_sys::core::HRESULT = -2141052918i32; +pub const DRT_E_TRANSPORTPROVIDER_NOT_ATTACHED: ::windows_sys::core::HRESULT = -2141052917i32; +pub const DRT_E_TRANSPORT_ALREADY_BOUND: ::windows_sys::core::HRESULT = -2141052671i32; +pub const DRT_E_TRANSPORT_ALREADY_EXISTS_FOR_SCOPE: ::windows_sys::core::HRESULT = -2141052665i32; +pub const DRT_E_TRANSPORT_EXECUTING_CALLBACK: ::windows_sys::core::HRESULT = -2141052666i32; +pub const DRT_E_TRANSPORT_INVALID_ARGUMENT: ::windows_sys::core::HRESULT = -2141052668i32; +pub const DRT_E_TRANSPORT_NOT_BOUND: ::windows_sys::core::HRESULT = -2141052670i32; +pub const DRT_E_TRANSPORT_NO_DEST_ADDRESSES: ::windows_sys::core::HRESULT = -2141052667i32; +pub const DRT_E_TRANSPORT_SHUTTING_DOWN: ::windows_sys::core::HRESULT = -2141052921i32; +pub const DRT_E_TRANSPORT_STILL_BOUND: ::windows_sys::core::HRESULT = -2141052661i32; +pub const DRT_E_TRANSPORT_UNEXPECTED: ::windows_sys::core::HRESULT = -2141052669i32; +pub const DRT_FAULTED: DRT_STATUS = 20i32; +pub const DRT_GLOBAL_SCOPE: DRT_SCOPE = 1i32; +pub const DRT_LEAFSET_KEY_ADDED: DRT_LEAFSET_KEY_CHANGE_TYPE = 0i32; +pub const DRT_LEAFSET_KEY_DELETED: DRT_LEAFSET_KEY_CHANGE_TYPE = 1i32; +pub const DRT_LINK_LOCAL_ISATAP_SCOPEID: u32 = 4294967295u32; +pub const DRT_LINK_LOCAL_SCOPE: DRT_SCOPE = 3i32; +pub const DRT_MATCH_EXACT: DRT_MATCH_TYPE = 0i32; +pub const DRT_MATCH_INTERMEDIATE: DRT_MATCH_TYPE = 2i32; +pub const DRT_MATCH_NEAR: DRT_MATCH_TYPE = 1i32; +pub const DRT_MAX_INSTANCE_PREFIX_LEN: u32 = 128u32; +pub const DRT_MAX_PAYLOAD_SIZE: u32 = 5120u32; +pub const DRT_MAX_ROUTING_ADDRESSES: u32 = 20u32; +pub const DRT_MIN_ROUTING_ADDRESSES: u32 = 1u32; +pub const DRT_NO_NETWORK: DRT_STATUS = 10i32; +pub const DRT_PAYLOAD_REVOKED: u32 = 1u32; +pub const DRT_REGISTRATION_STATE_UNRESOLVEABLE: DRT_REGISTRATION_STATE = 1i32; +pub const DRT_SECURE_CONFIDENTIALPAYLOAD: DRT_SECURITY_MODE = 2i32; +pub const DRT_SECURE_MEMBERSHIP: DRT_SECURITY_MODE = 1i32; +pub const DRT_SECURE_RESOLVE: DRT_SECURITY_MODE = 0i32; +pub const DRT_SITE_LOCAL_SCOPE: DRT_SCOPE = 2i32; +pub const DRT_S_RETRY: ::windows_sys::core::HRESULT = 6426640i32; +pub const FACILITY_DRT: u32 = 98u32; +pub const MaximumPeerDistClientInfoByHandlesClass: PEERDIST_CLIENT_INFO_BY_HANDLE_CLASS = 1i32; +pub const NS_PNRPCLOUD: u32 = 39u32; +pub const NS_PNRPNAME: u32 = 38u32; +pub const NS_PROVIDER_PNRPCLOUD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x03fe89ce_766d_4976_b9c1_bb9bc42c7b4d); +pub const NS_PROVIDER_PNRPNAME: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x03fe89cd_766d_4976_b9c1_bb9bc42c7b4d); +pub const PEERDIST_PUBLICATION_OPTIONS_VERSION: i32 = 2i32; +pub const PEERDIST_PUBLICATION_OPTIONS_VERSION_1: i32 = 1i32; +pub const PEERDIST_PUBLICATION_OPTIONS_VERSION_2: i32 = 2i32; +pub const PEERDIST_READ_TIMEOUT_DEFAULT: u32 = 4294967294u32; +pub const PEERDIST_READ_TIMEOUT_LOCAL_CACHE_ONLY: u32 = 0u32; +pub const PEERDIST_RETRIEVAL_OPTIONS_CONTENTINFO_VERSION: PEERDIST_RETRIEVAL_OPTIONS_CONTENTINFO_VERSION_VALUE = 2u32; +pub const PEERDIST_RETRIEVAL_OPTIONS_CONTENTINFO_VERSION_1: PEERDIST_RETRIEVAL_OPTIONS_CONTENTINFO_VERSION_VALUE = 1u32; +pub const PEERDIST_RETRIEVAL_OPTIONS_CONTENTINFO_VERSION_2: PEERDIST_RETRIEVAL_OPTIONS_CONTENTINFO_VERSION_VALUE = 2u32; +pub const PEERDIST_STATUS_AVAILABLE: PEERDIST_STATUS = 2i32; +pub const PEERDIST_STATUS_DISABLED: PEERDIST_STATUS = 0i32; +pub const PEERDIST_STATUS_UNAVAILABLE: PEERDIST_STATUS = 1i32; +pub const PEER_APPLICATION_ALL_USERS: PEER_APPLICATION_REGISTRATION_TYPE = 1i32; +pub const PEER_APPLICATION_CURRENT_USER: PEER_APPLICATION_REGISTRATION_TYPE = 0i32; +pub const PEER_CHANGE_ADDED: PEER_CHANGE_TYPE = 0i32; +pub const PEER_CHANGE_DELETED: PEER_CHANGE_TYPE = 1i32; +pub const PEER_CHANGE_UPDATED: PEER_CHANGE_TYPE = 2i32; +pub const PEER_COLLAB_OBJECTID_USER_PICTURE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xdd15f41f_fc4e_4922_b035_4c06a754d01d); +pub const PEER_CONNECTED: PEER_CONNECTION_STATUS = 1i32; +pub const PEER_CONNECTION_DIRECT: PEER_CONNECTION_FLAGS = 2i32; +pub const PEER_CONNECTION_FAILED: PEER_CONNECTION_STATUS = 3i32; +pub const PEER_CONNECTION_NEIGHBOR: PEER_CONNECTION_FLAGS = 1i32; +pub const PEER_DEFER_EXPIRATION: PEER_GROUP_PROPERTY_FLAGS = 4i32; +pub const PEER_DISABLE_PRESENCE: PEER_GROUP_PROPERTY_FLAGS = 2i32; +pub const PEER_DISCONNECTED: PEER_CONNECTION_STATUS = 2i32; +pub const PEER_EVENT_ENDPOINT_APPLICATION_CHANGED: PEER_COLLAB_EVENT_TYPE = 4i32; +pub const PEER_EVENT_ENDPOINT_CHANGED: PEER_COLLAB_EVENT_TYPE = 2i32; +pub const PEER_EVENT_ENDPOINT_OBJECT_CHANGED: PEER_COLLAB_EVENT_TYPE = 5i32; +pub const PEER_EVENT_ENDPOINT_PRESENCE_CHANGED: PEER_COLLAB_EVENT_TYPE = 3i32; +pub const PEER_EVENT_MY_APPLICATION_CHANGED: PEER_COLLAB_EVENT_TYPE = 8i32; +pub const PEER_EVENT_MY_ENDPOINT_CHANGED: PEER_COLLAB_EVENT_TYPE = 6i32; +pub const PEER_EVENT_MY_OBJECT_CHANGED: PEER_COLLAB_EVENT_TYPE = 9i32; +pub const PEER_EVENT_MY_PRESENCE_CHANGED: PEER_COLLAB_EVENT_TYPE = 7i32; +pub const PEER_EVENT_PEOPLE_NEAR_ME_CHANGED: PEER_COLLAB_EVENT_TYPE = 10i32; +pub const PEER_EVENT_REQUEST_STATUS_CHANGED: PEER_COLLAB_EVENT_TYPE = 11i32; +pub const PEER_EVENT_WATCHLIST_CHANGED: PEER_COLLAB_EVENT_TYPE = 1i32; +pub const PEER_E_ALREADY_EXISTS: ::windows_sys::core::HRESULT = -2147024713i32; +pub const PEER_E_CLIENT_INVALID_COMPARTMENT_ID: ::windows_sys::core::HRESULT = -2147013390i32; +pub const PEER_E_CLOUD_DISABLED: ::windows_sys::core::HRESULT = -2147013394i32; +pub const PEER_E_CLOUD_IS_DEAD: ::windows_sys::core::HRESULT = -2147013387i32; +pub const PEER_E_CLOUD_IS_SEARCH_ONLY: ::windows_sys::core::HRESULT = -2147013391i32; +pub const PEER_E_CLOUD_NOT_FOUND: ::windows_sys::core::HRESULT = -2147013395i32; +pub const PEER_E_DISK_FULL: ::windows_sys::core::HRESULT = -2147024784i32; +pub const PEER_E_DUPLICATE_PEER_NAME: ::windows_sys::core::HRESULT = -2147013388i32; +pub const PEER_E_INVALID_IDENTITY: ::windows_sys::core::HRESULT = -2147013393i32; +pub const PEER_E_NOT_FOUND: ::windows_sys::core::HRESULT = -2147023728i32; +pub const PEER_E_TOO_MUCH_LOAD: ::windows_sys::core::HRESULT = -2147013392i32; +pub const PEER_GRAPH_EVENT_CONNECTION_REQUIRED: PEER_GRAPH_EVENT_TYPE = 7i32; +pub const PEER_GRAPH_EVENT_DIRECT_CONNECTION: PEER_GRAPH_EVENT_TYPE = 4i32; +pub const PEER_GRAPH_EVENT_INCOMING_DATA: PEER_GRAPH_EVENT_TYPE = 6i32; +pub const PEER_GRAPH_EVENT_NEIGHBOR_CONNECTION: PEER_GRAPH_EVENT_TYPE = 5i32; +pub const PEER_GRAPH_EVENT_NODE_CHANGED: PEER_GRAPH_EVENT_TYPE = 8i32; +pub const PEER_GRAPH_EVENT_PROPERTY_CHANGED: PEER_GRAPH_EVENT_TYPE = 2i32; +pub const PEER_GRAPH_EVENT_RECORD_CHANGED: PEER_GRAPH_EVENT_TYPE = 3i32; +pub const PEER_GRAPH_EVENT_STATUS_CHANGED: PEER_GRAPH_EVENT_TYPE = 1i32; +pub const PEER_GRAPH_EVENT_SYNCHRONIZED: PEER_GRAPH_EVENT_TYPE = 9i32; +pub const PEER_GRAPH_PROPERTY_DEFER_EXPIRATION: PEER_GRAPH_PROPERTY_FLAGS = 2i32; +pub const PEER_GRAPH_PROPERTY_HEARTBEATS: PEER_GRAPH_PROPERTY_FLAGS = 1i32; +pub const PEER_GRAPH_SCOPE_ANY: PEER_GRAPH_SCOPE = 0i32; +pub const PEER_GRAPH_SCOPE_GLOBAL: PEER_GRAPH_SCOPE = 1i32; +pub const PEER_GRAPH_SCOPE_LINKLOCAL: PEER_GRAPH_SCOPE = 3i32; +pub const PEER_GRAPH_SCOPE_LOOPBACK: PEER_GRAPH_SCOPE = 4i32; +pub const PEER_GRAPH_SCOPE_SITELOCAL: PEER_GRAPH_SCOPE = 2i32; +pub const PEER_GRAPH_STATUS_HAS_CONNECTIONS: PEER_GRAPH_STATUS_FLAGS = 2i32; +pub const PEER_GRAPH_STATUS_LISTENING: PEER_GRAPH_STATUS_FLAGS = 1i32; +pub const PEER_GRAPH_STATUS_SYNCHRONIZED: PEER_GRAPH_STATUS_FLAGS = 4i32; +pub const PEER_GROUP_EVENT_AUTHENTICATION_FAILED: PEER_GROUP_EVENT_TYPE = 11i32; +pub const PEER_GROUP_EVENT_CONNECTION_FAILED: PEER_GROUP_EVENT_TYPE = 10i32; +pub const PEER_GROUP_EVENT_DIRECT_CONNECTION: PEER_GROUP_EVENT_TYPE = 4i32; +pub const PEER_GROUP_EVENT_INCOMING_DATA: PEER_GROUP_EVENT_TYPE = 6i32; +pub const PEER_GROUP_EVENT_MEMBER_CHANGED: PEER_GROUP_EVENT_TYPE = 8i32; +pub const PEER_GROUP_EVENT_NEIGHBOR_CONNECTION: PEER_GROUP_EVENT_TYPE = 5i32; +pub const PEER_GROUP_EVENT_PROPERTY_CHANGED: PEER_GROUP_EVENT_TYPE = 2i32; +pub const PEER_GROUP_EVENT_RECORD_CHANGED: PEER_GROUP_EVENT_TYPE = 3i32; +pub const PEER_GROUP_EVENT_STATUS_CHANGED: PEER_GROUP_EVENT_TYPE = 1i32; +pub const PEER_GROUP_GMC_AUTHENTICATION: PEER_GROUP_AUTHENTICATION_SCHEME = 1i32; +pub const PEER_GROUP_PASSWORD_AUTHENTICATION: PEER_GROUP_AUTHENTICATION_SCHEME = 2i32; +pub const PEER_GROUP_ROLE_ADMIN: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x04387127_aa56_450a_8ce5_4f565c6790f4); +pub const PEER_GROUP_ROLE_INVITING_MEMBER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4370fd89_dc18_4cfb_8dbf_9853a8a9f905); +pub const PEER_GROUP_ROLE_MEMBER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf12dc4c7_0857_4ca0_93fc_b1bb19a3d8c2); +pub const PEER_GROUP_STATUS_HAS_CONNECTIONS: PEER_GROUP_STATUS = 2i32; +pub const PEER_GROUP_STATUS_LISTENING: PEER_GROUP_STATUS = 1i32; +pub const PEER_GROUP_STORE_CREDENTIALS: PEER_GROUP_ISSUE_CREDENTIAL_FLAGS = 1i32; +pub const PEER_INVITATION_RESPONSE_ACCEPTED: PEER_INVITATION_RESPONSE_TYPE = 1i32; +pub const PEER_INVITATION_RESPONSE_DECLINED: PEER_INVITATION_RESPONSE_TYPE = 0i32; +pub const PEER_INVITATION_RESPONSE_ERROR: PEER_INVITATION_RESPONSE_TYPE = 3i32; +pub const PEER_INVITATION_RESPONSE_EXPIRED: PEER_INVITATION_RESPONSE_TYPE = 2i32; +pub const PEER_MEMBER_CONNECTED: PEER_MEMBER_CHANGE_TYPE = 1i32; +pub const PEER_MEMBER_DATA_OPTIONAL: PEER_GROUP_PROPERTY_FLAGS = 1i32; +pub const PEER_MEMBER_DISCONNECTED: PEER_MEMBER_CHANGE_TYPE = 2i32; +pub const PEER_MEMBER_JOINED: PEER_MEMBER_CHANGE_TYPE = 4i32; +pub const PEER_MEMBER_LEFT: PEER_MEMBER_CHANGE_TYPE = 5i32; +pub const PEER_MEMBER_PRESENT: PEER_MEMBER_FLAGS = 1i32; +pub const PEER_MEMBER_UPDATED: PEER_MEMBER_CHANGE_TYPE = 3i32; +pub const PEER_NODE_CHANGE_CONNECTED: PEER_NODE_CHANGE_TYPE = 1i32; +pub const PEER_NODE_CHANGE_DISCONNECTED: PEER_NODE_CHANGE_TYPE = 2i32; +pub const PEER_NODE_CHANGE_UPDATED: PEER_NODE_CHANGE_TYPE = 3i32; +pub const PEER_PNRP_ALL_LINK_CLOUDS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PEER_PNRP_ALL_LINKS"); +pub const PEER_PRESENCE_AWAY: PEER_PRESENCE_STATUS = 2i32; +pub const PEER_PRESENCE_BE_RIGHT_BACK: PEER_PRESENCE_STATUS = 3i32; +pub const PEER_PRESENCE_BUSY: PEER_PRESENCE_STATUS = 5i32; +pub const PEER_PRESENCE_IDLE: PEER_PRESENCE_STATUS = 4i32; +pub const PEER_PRESENCE_OFFLINE: PEER_PRESENCE_STATUS = 0i32; +pub const PEER_PRESENCE_ONLINE: PEER_PRESENCE_STATUS = 7i32; +pub const PEER_PRESENCE_ON_THE_PHONE: PEER_PRESENCE_STATUS = 6i32; +pub const PEER_PRESENCE_OUT_TO_LUNCH: PEER_PRESENCE_STATUS = 1i32; +pub const PEER_PUBLICATION_SCOPE_ALL: PEER_PUBLICATION_SCOPE = 3i32; +pub const PEER_PUBLICATION_SCOPE_INTERNET: PEER_PUBLICATION_SCOPE = 2i32; +pub const PEER_PUBLICATION_SCOPE_NEAR_ME: PEER_PUBLICATION_SCOPE = 1i32; +pub const PEER_PUBLICATION_SCOPE_NONE: PEER_PUBLICATION_SCOPE = 0i32; +pub const PEER_RECORD_ADDED: PEER_RECORD_CHANGE_TYPE = 1i32; +pub const PEER_RECORD_DELETED: PEER_RECORD_CHANGE_TYPE = 3i32; +pub const PEER_RECORD_EXPIRED: PEER_RECORD_CHANGE_TYPE = 4i32; +pub const PEER_RECORD_FLAG_AUTOREFRESH: PEER_RECORD_FLAGS = 1i32; +pub const PEER_RECORD_FLAG_DELETED: PEER_RECORD_FLAGS = 2i32; +pub const PEER_RECORD_UPDATED: PEER_RECORD_CHANGE_TYPE = 2i32; +pub const PEER_SIGNIN_ALL: PEER_SIGNIN_FLAGS = 3i32; +pub const PEER_SIGNIN_INTERNET: PEER_SIGNIN_FLAGS = 2i32; +pub const PEER_SIGNIN_NEAR_ME: PEER_SIGNIN_FLAGS = 1i32; +pub const PEER_SIGNIN_NONE: PEER_SIGNIN_FLAGS = 0i32; +pub const PEER_WATCH_ALLOWED: PEER_WATCH_PERMISSION = 1i32; +pub const PEER_WATCH_BLOCKED: PEER_WATCH_PERMISSION = 0i32; +pub const PNRPINFO_HINT: u32 = 1u32; +pub const PNRP_CLOUD_FULL_PARTICIPANT: PNRP_CLOUD_FLAGS = 4i32; +pub const PNRP_CLOUD_NAME_LOCAL: PNRP_CLOUD_FLAGS = 1i32; +pub const PNRP_CLOUD_NO_FLAGS: PNRP_CLOUD_FLAGS = 0i32; +pub const PNRP_CLOUD_RESOLVE_ONLY: PNRP_CLOUD_FLAGS = 2i32; +pub const PNRP_CLOUD_STATE_ACTIVE: PNRP_CLOUD_STATE = 2i32; +pub const PNRP_CLOUD_STATE_ALONE: PNRP_CLOUD_STATE = 6i32; +pub const PNRP_CLOUD_STATE_DEAD: PNRP_CLOUD_STATE = 3i32; +pub const PNRP_CLOUD_STATE_DISABLED: PNRP_CLOUD_STATE = 4i32; +pub const PNRP_CLOUD_STATE_NO_NET: PNRP_CLOUD_STATE = 5i32; +pub const PNRP_CLOUD_STATE_SYNCHRONISING: PNRP_CLOUD_STATE = 1i32; +pub const PNRP_CLOUD_STATE_VIRTUAL: PNRP_CLOUD_STATE = 0i32; +pub const PNRP_EXTENDED_PAYLOAD_TYPE_BINARY: PNRP_EXTENDED_PAYLOAD_TYPE = 1i32; +pub const PNRP_EXTENDED_PAYLOAD_TYPE_NONE: PNRP_EXTENDED_PAYLOAD_TYPE = 0i32; +pub const PNRP_EXTENDED_PAYLOAD_TYPE_STRING: PNRP_EXTENDED_PAYLOAD_TYPE = 2i32; +pub const PNRP_GLOBAL_SCOPE: PNRP_SCOPE = 1i32; +pub const PNRP_LINK_LOCAL_SCOPE: PNRP_SCOPE = 3i32; +pub const PNRP_MAX_ENDPOINT_ADDRESSES: u32 = 10u32; +pub const PNRP_MAX_EXTENDED_PAYLOAD_BYTES: u32 = 4096u32; +pub const PNRP_REGISTERED_ID_STATE_OK: PNRP_REGISTERED_ID_STATE = 1i32; +pub const PNRP_REGISTERED_ID_STATE_PROBLEM: PNRP_REGISTERED_ID_STATE = 2i32; +pub const PNRP_RESOLVE_CRITERIA_ANY_PEER_NAME: PNRP_RESOLVE_CRITERIA = 5i32; +pub const PNRP_RESOLVE_CRITERIA_DEFAULT: PNRP_RESOLVE_CRITERIA = 0i32; +pub const PNRP_RESOLVE_CRITERIA_NEAREST_NON_CURRENT_PROCESS_PEER_NAME: PNRP_RESOLVE_CRITERIA = 4i32; +pub const PNRP_RESOLVE_CRITERIA_NEAREST_PEER_NAME: PNRP_RESOLVE_CRITERIA = 6i32; +pub const PNRP_RESOLVE_CRITERIA_NEAREST_REMOTE_PEER_NAME: PNRP_RESOLVE_CRITERIA = 2i32; +pub const PNRP_RESOLVE_CRITERIA_NON_CURRENT_PROCESS_PEER_NAME: PNRP_RESOLVE_CRITERIA = 3i32; +pub const PNRP_RESOLVE_CRITERIA_REMOTE_PEER_NAME: PNRP_RESOLVE_CRITERIA = 1i32; +pub const PNRP_SCOPE_ANY: PNRP_SCOPE = 0i32; +pub const PNRP_SITE_LOCAL_SCOPE: PNRP_SCOPE = 2i32; +pub const PeerDistClientBasicInfo: PEERDIST_CLIENT_INFO_BY_HANDLE_CLASS = 0i32; +pub const SVCID_PNRPCLOUD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc2239ce6_00c0_4fbf_bad6_18139385a49a); +pub const SVCID_PNRPNAME_V1: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc2239ce5_00c0_4fbf_bad6_18139385a49a); +pub const SVCID_PNRPNAME_V2: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc2239ce7_00c0_4fbf_bad6_18139385a49a); +pub const WSA_PNRP_CLIENT_INVALID_COMPARTMENT_ID: u32 = 11506u32; +pub const WSA_PNRP_CLOUD_DISABLED: u32 = 11502u32; +pub const WSA_PNRP_CLOUD_IS_DEAD: u32 = 11509u32; +pub const WSA_PNRP_CLOUD_IS_SEARCH_ONLY: u32 = 11505u32; +pub const WSA_PNRP_CLOUD_NOT_FOUND: u32 = 11501u32; +pub const WSA_PNRP_DUPLICATE_PEER_NAME: u32 = 11508u32; +pub const WSA_PNRP_ERROR_BASE: u32 = 11500u32; +pub const WSA_PNRP_INVALID_IDENTITY: u32 = 11503u32; +pub const WSA_PNRP_TOO_MUCH_LOAD: u32 = 11504u32; +pub const WSZ_SCOPE_GLOBAL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("GLOBAL"); +pub const WSZ_SCOPE_LINKLOCAL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LINKLOCAL"); +pub const WSZ_SCOPE_SITELOCAL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SITELOCAL"); +pub type DRT_ADDRESS_FLAGS = i32; +pub type DRT_EVENT_TYPE = i32; +pub type DRT_LEAFSET_KEY_CHANGE_TYPE = i32; +pub type DRT_MATCH_TYPE = i32; +pub type DRT_REGISTRATION_STATE = i32; +pub type DRT_SCOPE = i32; +pub type DRT_SECURITY_MODE = i32; +pub type DRT_STATUS = i32; +pub type PEERDIST_CLIENT_INFO_BY_HANDLE_CLASS = i32; +pub type PEERDIST_RETRIEVAL_OPTIONS_CONTENTINFO_VERSION_VALUE = u32; +pub type PEERDIST_STATUS = i32; +pub type PEER_APPLICATION_REGISTRATION_TYPE = i32; +pub type PEER_CHANGE_TYPE = i32; +pub type PEER_COLLAB_EVENT_TYPE = i32; +pub type PEER_CONNECTION_FLAGS = i32; +pub type PEER_CONNECTION_STATUS = i32; +pub type PEER_GRAPH_EVENT_TYPE = i32; +pub type PEER_GRAPH_PROPERTY_FLAGS = i32; +pub type PEER_GRAPH_SCOPE = i32; +pub type PEER_GRAPH_STATUS_FLAGS = i32; +pub type PEER_GROUP_AUTHENTICATION_SCHEME = i32; +pub type PEER_GROUP_EVENT_TYPE = i32; +pub type PEER_GROUP_ISSUE_CREDENTIAL_FLAGS = i32; +pub type PEER_GROUP_PROPERTY_FLAGS = i32; +pub type PEER_GROUP_STATUS = i32; +pub type PEER_INVITATION_RESPONSE_TYPE = i32; +pub type PEER_MEMBER_CHANGE_TYPE = i32; +pub type PEER_MEMBER_FLAGS = i32; +pub type PEER_NODE_CHANGE_TYPE = i32; +pub type PEER_PRESENCE_STATUS = i32; +pub type PEER_PUBLICATION_SCOPE = i32; +pub type PEER_RECORD_CHANGE_TYPE = i32; +pub type PEER_RECORD_FLAGS = i32; +pub type PEER_SIGNIN_FLAGS = i32; +pub type PEER_WATCH_PERMISSION = i32; +pub type PNRP_CLOUD_FLAGS = i32; +pub type PNRP_CLOUD_STATE = i32; +pub type PNRP_EXTENDED_PAYLOAD_TYPE = i32; +pub type PNRP_REGISTERED_ID_STATE = i32; +pub type PNRP_RESOLVE_CRITERIA = i32; +pub type PNRP_SCOPE = i32; +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct DRT_ADDRESS { + pub socketAddress: super::super::Networking::WinSock::SOCKADDR_STORAGE, + pub flags: u32, + pub nearness: i32, + pub latency: u32, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for DRT_ADDRESS {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for DRT_ADDRESS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct DRT_ADDRESS_LIST { + pub AddressCount: u32, + pub AddressList: [DRT_ADDRESS; 1], +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for DRT_ADDRESS_LIST {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for DRT_ADDRESS_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DRT_BOOTSTRAP_PROVIDER { + pub pvContext: *mut ::core::ffi::c_void, + pub Attach: isize, + pub Detach: isize, + pub InitResolve: isize, + pub IssueResolve: isize, + pub EndResolve: isize, + pub Register: isize, + pub Unregister: isize, +} +impl ::core::marker::Copy for DRT_BOOTSTRAP_PROVIDER {} +impl ::core::clone::Clone for DRT_BOOTSTRAP_PROVIDER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DRT_DATA { + pub cb: u32, + pub pb: *mut u8, +} +impl ::core::marker::Copy for DRT_DATA {} +impl ::core::clone::Clone for DRT_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct DRT_EVENT_DATA { + pub r#type: DRT_EVENT_TYPE, + pub hr: ::windows_sys::core::HRESULT, + pub pvContext: *mut ::core::ffi::c_void, + pub Anonymous: DRT_EVENT_DATA_0, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for DRT_EVENT_DATA {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for DRT_EVENT_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub union DRT_EVENT_DATA_0 { + pub leafsetKeyChange: DRT_EVENT_DATA_0_0, + pub registrationStateChange: DRT_EVENT_DATA_0_1, + pub statusChange: DRT_EVENT_DATA_0_2, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for DRT_EVENT_DATA_0 {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for DRT_EVENT_DATA_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct DRT_EVENT_DATA_0_0 { + pub change: DRT_LEAFSET_KEY_CHANGE_TYPE, + pub localKey: DRT_DATA, + pub remoteKey: DRT_DATA, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for DRT_EVENT_DATA_0_0 {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for DRT_EVENT_DATA_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct DRT_EVENT_DATA_0_1 { + pub state: DRT_REGISTRATION_STATE, + pub localKey: DRT_DATA, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for DRT_EVENT_DATA_0_1 {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for DRT_EVENT_DATA_0_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct DRT_EVENT_DATA_0_2 { + pub status: DRT_STATUS, + pub bootstrapAddresses: DRT_EVENT_DATA_0_2_0, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for DRT_EVENT_DATA_0_2 {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for DRT_EVENT_DATA_0_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct DRT_EVENT_DATA_0_2_0 { + pub cntAddress: u32, + pub pAddresses: *mut super::super::Networking::WinSock::SOCKADDR_STORAGE, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for DRT_EVENT_DATA_0_2_0 {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for DRT_EVENT_DATA_0_2_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DRT_REGISTRATION { + pub key: DRT_DATA, + pub appData: DRT_DATA, +} +impl ::core::marker::Copy for DRT_REGISTRATION {} +impl ::core::clone::Clone for DRT_REGISTRATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DRT_SEARCH_INFO { + pub dwSize: u32, + pub fIterative: super::super::Foundation::BOOL, + pub fAllowCurrentInstanceMatch: super::super::Foundation::BOOL, + pub fAnyMatchInRange: super::super::Foundation::BOOL, + pub cMaxEndpoints: u32, + pub pMaximumKey: *mut DRT_DATA, + pub pMinimumKey: *mut DRT_DATA, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DRT_SEARCH_INFO {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DRT_SEARCH_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DRT_SEARCH_RESULT { + pub dwSize: u32, + pub r#type: DRT_MATCH_TYPE, + pub pvContext: *mut ::core::ffi::c_void, + pub registration: DRT_REGISTRATION, +} +impl ::core::marker::Copy for DRT_SEARCH_RESULT {} +impl ::core::clone::Clone for DRT_SEARCH_RESULT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DRT_SECURITY_PROVIDER { + pub pvContext: *mut ::core::ffi::c_void, + pub Attach: isize, + pub Detach: isize, + pub RegisterKey: isize, + pub UnregisterKey: isize, + pub ValidateAndUnpackPayload: isize, + pub SecureAndPackPayload: isize, + pub FreeData: isize, + pub EncryptData: isize, + pub DecryptData: isize, + pub GetSerializedCredential: isize, + pub ValidateRemoteCredential: isize, + pub SignData: isize, + pub VerifyData: isize, +} +impl ::core::marker::Copy for DRT_SECURITY_PROVIDER {} +impl ::core::clone::Clone for DRT_SECURITY_PROVIDER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DRT_SETTINGS { + pub dwSize: u32, + pub cbKey: u32, + pub bProtocolMajorVersion: u8, + pub bProtocolMinorVersion: u8, + pub ulMaxRoutingAddresses: u32, + pub pwzDrtInstancePrefix: ::windows_sys::core::PWSTR, + pub hTransport: *mut ::core::ffi::c_void, + pub pSecurityProvider: *mut DRT_SECURITY_PROVIDER, + pub pBootstrapProvider: *mut DRT_BOOTSTRAP_PROVIDER, + pub eSecurityMode: DRT_SECURITY_MODE, +} +impl ::core::marker::Copy for DRT_SETTINGS {} +impl ::core::clone::Clone for DRT_SETTINGS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct PEERDIST_CLIENT_BASIC_INFO { + pub fFlashCrowd: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for PEERDIST_CLIENT_BASIC_INFO {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for PEERDIST_CLIENT_BASIC_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PEERDIST_CONTENT_TAG { + pub Data: [u8; 16], +} +impl ::core::marker::Copy for PEERDIST_CONTENT_TAG {} +impl ::core::clone::Clone for PEERDIST_CONTENT_TAG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PEERDIST_PUBLICATION_OPTIONS { + pub dwVersion: u32, + pub dwFlags: u32, +} +impl ::core::marker::Copy for PEERDIST_PUBLICATION_OPTIONS {} +impl ::core::clone::Clone for PEERDIST_PUBLICATION_OPTIONS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PEERDIST_RETRIEVAL_OPTIONS { + pub cbSize: u32, + pub dwContentInfoMinVersion: u32, + pub dwContentInfoMaxVersion: u32, + pub dwReserved: u32, +} +impl ::core::marker::Copy for PEERDIST_RETRIEVAL_OPTIONS {} +impl ::core::clone::Clone for PEERDIST_RETRIEVAL_OPTIONS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PEERDIST_STATUS_INFO { + pub cbSize: u32, + pub status: PEERDIST_STATUS, + pub dwMinVer: PEERDIST_RETRIEVAL_OPTIONS_CONTENTINFO_VERSION_VALUE, + pub dwMaxVer: PEERDIST_RETRIEVAL_OPTIONS_CONTENTINFO_VERSION_VALUE, +} +impl ::core::marker::Copy for PEERDIST_STATUS_INFO {} +impl ::core::clone::Clone for PEERDIST_STATUS_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct PEER_ADDRESS { + pub dwSize: u32, + pub sin6: super::super::Networking::WinSock::SOCKADDR_IN6, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for PEER_ADDRESS {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for PEER_ADDRESS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PEER_APPLICATION { + pub id: ::windows_sys::core::GUID, + pub data: PEER_DATA, + pub pwzDescription: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for PEER_APPLICATION {} +impl ::core::clone::Clone for PEER_APPLICATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PEER_APPLICATION_REGISTRATION_INFO { + pub application: PEER_APPLICATION, + pub pwzApplicationToLaunch: ::windows_sys::core::PWSTR, + pub pwzApplicationArguments: ::windows_sys::core::PWSTR, + pub dwPublicationScope: u32, +} +impl ::core::marker::Copy for PEER_APPLICATION_REGISTRATION_INFO {} +impl ::core::clone::Clone for PEER_APPLICATION_REGISTRATION_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +pub struct PEER_APP_LAUNCH_INFO { + pub pContact: *mut PEER_CONTACT, + pub pEndpoint: *mut PEER_ENDPOINT, + pub pInvitation: *mut PEER_INVITATION, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +impl ::core::marker::Copy for PEER_APP_LAUNCH_INFO {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +impl ::core::clone::Clone for PEER_APP_LAUNCH_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +pub struct PEER_COLLAB_EVENT_DATA { + pub eventType: PEER_COLLAB_EVENT_TYPE, + pub Anonymous: PEER_COLLAB_EVENT_DATA_0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +impl ::core::marker::Copy for PEER_COLLAB_EVENT_DATA {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +impl ::core::clone::Clone for PEER_COLLAB_EVENT_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +pub union PEER_COLLAB_EVENT_DATA_0 { + pub watchListChangedData: PEER_EVENT_WATCHLIST_CHANGED_DATA, + pub presenceChangedData: PEER_EVENT_PRESENCE_CHANGED_DATA, + pub applicationChangedData: PEER_EVENT_APPLICATION_CHANGED_DATA, + pub objectChangedData: PEER_EVENT_OBJECT_CHANGED_DATA, + pub endpointChangedData: PEER_EVENT_ENDPOINT_CHANGED_DATA, + pub peopleNearMeChangedData: PEER_EVENT_PEOPLE_NEAR_ME_CHANGED_DATA, + pub requestStatusChangedData: PEER_EVENT_REQUEST_STATUS_CHANGED_DATA, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +impl ::core::marker::Copy for PEER_COLLAB_EVENT_DATA_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +impl ::core::clone::Clone for PEER_COLLAB_EVENT_DATA_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PEER_COLLAB_EVENT_REGISTRATION { + pub eventType: PEER_COLLAB_EVENT_TYPE, + pub pInstance: *mut ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for PEER_COLLAB_EVENT_REGISTRATION {} +impl ::core::clone::Clone for PEER_COLLAB_EVENT_REGISTRATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct PEER_CONNECTION_INFO { + pub dwSize: u32, + pub dwFlags: u32, + pub ullConnectionId: u64, + pub ullNodeId: u64, + pub pwzPeerId: ::windows_sys::core::PWSTR, + pub address: PEER_ADDRESS, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for PEER_CONNECTION_INFO {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for PEER_CONNECTION_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct PEER_CONTACT { + pub pwzPeerName: ::windows_sys::core::PWSTR, + pub pwzNickName: ::windows_sys::core::PWSTR, + pub pwzDisplayName: ::windows_sys::core::PWSTR, + pub pwzEmailAddress: ::windows_sys::core::PWSTR, + pub fWatch: super::super::Foundation::BOOL, + pub WatcherPermissions: PEER_WATCH_PERMISSION, + pub credentials: PEER_DATA, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for PEER_CONTACT {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for PEER_CONTACT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +pub struct PEER_CREDENTIAL_INFO { + pub dwSize: u32, + pub dwFlags: u32, + pub pwzFriendlyName: ::windows_sys::core::PWSTR, + pub pPublicKey: *mut super::super::Security::Cryptography::CERT_PUBLIC_KEY_INFO, + pub pwzIssuerPeerName: ::windows_sys::core::PWSTR, + pub pwzIssuerFriendlyName: ::windows_sys::core::PWSTR, + pub ftValidityStart: super::super::Foundation::FILETIME, + pub ftValidityEnd: super::super::Foundation::FILETIME, + pub cRoles: u32, + pub pRoles: *mut ::windows_sys::core::GUID, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::marker::Copy for PEER_CREDENTIAL_INFO {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::clone::Clone for PEER_CREDENTIAL_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PEER_DATA { + pub cbData: u32, + pub pbData: *mut u8, +} +impl ::core::marker::Copy for PEER_DATA {} +impl ::core::clone::Clone for PEER_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct PEER_ENDPOINT { + pub address: PEER_ADDRESS, + pub pwzEndpointName: ::windows_sys::core::PWSTR, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for PEER_ENDPOINT {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for PEER_ENDPOINT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +pub struct PEER_EVENT_APPLICATION_CHANGED_DATA { + pub pContact: *mut PEER_CONTACT, + pub pEndpoint: *mut PEER_ENDPOINT, + pub changeType: PEER_CHANGE_TYPE, + pub pApplication: *mut PEER_APPLICATION, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +impl ::core::marker::Copy for PEER_EVENT_APPLICATION_CHANGED_DATA {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +impl ::core::clone::Clone for PEER_EVENT_APPLICATION_CHANGED_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PEER_EVENT_CONNECTION_CHANGE_DATA { + pub dwSize: u32, + pub status: PEER_CONNECTION_STATUS, + pub ullConnectionId: u64, + pub ullNodeId: u64, + pub ullNextConnectionId: u64, + pub hrConnectionFailedReason: ::windows_sys::core::HRESULT, +} +impl ::core::marker::Copy for PEER_EVENT_CONNECTION_CHANGE_DATA {} +impl ::core::clone::Clone for PEER_EVENT_CONNECTION_CHANGE_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +pub struct PEER_EVENT_ENDPOINT_CHANGED_DATA { + pub pContact: *mut PEER_CONTACT, + pub pEndpoint: *mut PEER_ENDPOINT, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +impl ::core::marker::Copy for PEER_EVENT_ENDPOINT_CHANGED_DATA {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +impl ::core::clone::Clone for PEER_EVENT_ENDPOINT_CHANGED_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PEER_EVENT_INCOMING_DATA { + pub dwSize: u32, + pub ullConnectionId: u64, + pub r#type: ::windows_sys::core::GUID, + pub data: PEER_DATA, +} +impl ::core::marker::Copy for PEER_EVENT_INCOMING_DATA {} +impl ::core::clone::Clone for PEER_EVENT_INCOMING_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PEER_EVENT_MEMBER_CHANGE_DATA { + pub dwSize: u32, + pub changeType: PEER_MEMBER_CHANGE_TYPE, + pub pwzIdentity: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for PEER_EVENT_MEMBER_CHANGE_DATA {} +impl ::core::clone::Clone for PEER_EVENT_MEMBER_CHANGE_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PEER_EVENT_NODE_CHANGE_DATA { + pub dwSize: u32, + pub changeType: PEER_NODE_CHANGE_TYPE, + pub ullNodeId: u64, + pub pwzPeerId: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for PEER_EVENT_NODE_CHANGE_DATA {} +impl ::core::clone::Clone for PEER_EVENT_NODE_CHANGE_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +pub struct PEER_EVENT_OBJECT_CHANGED_DATA { + pub pContact: *mut PEER_CONTACT, + pub pEndpoint: *mut PEER_ENDPOINT, + pub changeType: PEER_CHANGE_TYPE, + pub pObject: *mut PEER_OBJECT, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +impl ::core::marker::Copy for PEER_EVENT_OBJECT_CHANGED_DATA {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +impl ::core::clone::Clone for PEER_EVENT_OBJECT_CHANGED_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct PEER_EVENT_PEOPLE_NEAR_ME_CHANGED_DATA { + pub changeType: PEER_CHANGE_TYPE, + pub pPeopleNearMe: *mut PEER_PEOPLE_NEAR_ME, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for PEER_EVENT_PEOPLE_NEAR_ME_CHANGED_DATA {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for PEER_EVENT_PEOPLE_NEAR_ME_CHANGED_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +pub struct PEER_EVENT_PRESENCE_CHANGED_DATA { + pub pContact: *mut PEER_CONTACT, + pub pEndpoint: *mut PEER_ENDPOINT, + pub changeType: PEER_CHANGE_TYPE, + pub pPresenceInfo: *mut PEER_PRESENCE_INFO, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +impl ::core::marker::Copy for PEER_EVENT_PRESENCE_CHANGED_DATA {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +impl ::core::clone::Clone for PEER_EVENT_PRESENCE_CHANGED_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PEER_EVENT_RECORD_CHANGE_DATA { + pub dwSize: u32, + pub changeType: PEER_RECORD_CHANGE_TYPE, + pub recordId: ::windows_sys::core::GUID, + pub recordType: ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for PEER_EVENT_RECORD_CHANGE_DATA {} +impl ::core::clone::Clone for PEER_EVENT_RECORD_CHANGE_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct PEER_EVENT_REQUEST_STATUS_CHANGED_DATA { + pub pEndpoint: *mut PEER_ENDPOINT, + pub hrChange: ::windows_sys::core::HRESULT, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for PEER_EVENT_REQUEST_STATUS_CHANGED_DATA {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for PEER_EVENT_REQUEST_STATUS_CHANGED_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PEER_EVENT_SYNCHRONIZED_DATA { + pub dwSize: u32, + pub recordType: ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for PEER_EVENT_SYNCHRONIZED_DATA {} +impl ::core::clone::Clone for PEER_EVENT_SYNCHRONIZED_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct PEER_EVENT_WATCHLIST_CHANGED_DATA { + pub pContact: *mut PEER_CONTACT, + pub changeType: PEER_CHANGE_TYPE, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for PEER_EVENT_WATCHLIST_CHANGED_DATA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for PEER_EVENT_WATCHLIST_CHANGED_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PEER_GRAPH_EVENT_DATA { + pub eventType: PEER_GRAPH_EVENT_TYPE, + pub Anonymous: PEER_GRAPH_EVENT_DATA_0, +} +impl ::core::marker::Copy for PEER_GRAPH_EVENT_DATA {} +impl ::core::clone::Clone for PEER_GRAPH_EVENT_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union PEER_GRAPH_EVENT_DATA_0 { + pub dwStatus: PEER_GRAPH_STATUS_FLAGS, + pub incomingData: PEER_EVENT_INCOMING_DATA, + pub recordChangeData: PEER_EVENT_RECORD_CHANGE_DATA, + pub connectionChangeData: PEER_EVENT_CONNECTION_CHANGE_DATA, + pub nodeChangeData: PEER_EVENT_NODE_CHANGE_DATA, + pub synchronizedData: PEER_EVENT_SYNCHRONIZED_DATA, +} +impl ::core::marker::Copy for PEER_GRAPH_EVENT_DATA_0 {} +impl ::core::clone::Clone for PEER_GRAPH_EVENT_DATA_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PEER_GRAPH_EVENT_REGISTRATION { + pub eventType: PEER_GRAPH_EVENT_TYPE, + pub pType: *mut ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for PEER_GRAPH_EVENT_REGISTRATION {} +impl ::core::clone::Clone for PEER_GRAPH_EVENT_REGISTRATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PEER_GRAPH_PROPERTIES { + pub dwSize: u32, + pub dwFlags: u32, + pub dwScope: u32, + pub dwMaxRecordSize: u32, + pub pwzGraphId: ::windows_sys::core::PWSTR, + pub pwzCreatorId: ::windows_sys::core::PWSTR, + pub pwzFriendlyName: ::windows_sys::core::PWSTR, + pub pwzComment: ::windows_sys::core::PWSTR, + pub ulPresenceLifetime: u32, + pub cPresenceMax: u32, +} +impl ::core::marker::Copy for PEER_GRAPH_PROPERTIES {} +impl ::core::clone::Clone for PEER_GRAPH_PROPERTIES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PEER_GROUP_EVENT_DATA { + pub eventType: PEER_GROUP_EVENT_TYPE, + pub Anonymous: PEER_GROUP_EVENT_DATA_0, +} +impl ::core::marker::Copy for PEER_GROUP_EVENT_DATA {} +impl ::core::clone::Clone for PEER_GROUP_EVENT_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union PEER_GROUP_EVENT_DATA_0 { + pub dwStatus: PEER_GROUP_STATUS, + pub incomingData: PEER_EVENT_INCOMING_DATA, + pub recordChangeData: PEER_EVENT_RECORD_CHANGE_DATA, + pub connectionChangeData: PEER_EVENT_CONNECTION_CHANGE_DATA, + pub memberChangeData: PEER_EVENT_MEMBER_CHANGE_DATA, + pub hrConnectionFailedReason: ::windows_sys::core::HRESULT, +} +impl ::core::marker::Copy for PEER_GROUP_EVENT_DATA_0 {} +impl ::core::clone::Clone for PEER_GROUP_EVENT_DATA_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PEER_GROUP_EVENT_REGISTRATION { + pub eventType: PEER_GROUP_EVENT_TYPE, + pub pType: *mut ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for PEER_GROUP_EVENT_REGISTRATION {} +impl ::core::clone::Clone for PEER_GROUP_EVENT_REGISTRATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PEER_GROUP_PROPERTIES { + pub dwSize: u32, + pub dwFlags: u32, + pub pwzCloud: ::windows_sys::core::PWSTR, + pub pwzClassifier: ::windows_sys::core::PWSTR, + pub pwzGroupPeerName: ::windows_sys::core::PWSTR, + pub pwzCreatorPeerName: ::windows_sys::core::PWSTR, + pub pwzFriendlyName: ::windows_sys::core::PWSTR, + pub pwzComment: ::windows_sys::core::PWSTR, + pub ulMemberDataLifetime: u32, + pub ulPresenceLifetime: u32, + pub dwAuthenticationSchemes: u32, + pub pwzGroupPassword: ::windows_sys::core::PWSTR, + pub groupPasswordRole: ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for PEER_GROUP_PROPERTIES {} +impl ::core::clone::Clone for PEER_GROUP_PROPERTIES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PEER_INVITATION { + pub applicationId: ::windows_sys::core::GUID, + pub applicationData: PEER_DATA, + pub pwzMessage: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for PEER_INVITATION {} +impl ::core::clone::Clone for PEER_INVITATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +pub struct PEER_INVITATION_INFO { + pub dwSize: u32, + pub dwFlags: u32, + pub pwzCloudName: ::windows_sys::core::PWSTR, + pub dwScope: u32, + pub dwCloudFlags: u32, + pub pwzGroupPeerName: ::windows_sys::core::PWSTR, + pub pwzIssuerPeerName: ::windows_sys::core::PWSTR, + pub pwzSubjectPeerName: ::windows_sys::core::PWSTR, + pub pwzGroupFriendlyName: ::windows_sys::core::PWSTR, + pub pwzIssuerFriendlyName: ::windows_sys::core::PWSTR, + pub pwzSubjectFriendlyName: ::windows_sys::core::PWSTR, + pub ftValidityStart: super::super::Foundation::FILETIME, + pub ftValidityEnd: super::super::Foundation::FILETIME, + pub cRoles: u32, + pub pRoles: *mut ::windows_sys::core::GUID, + pub cClassifiers: u32, + pub ppwzClassifiers: *mut ::windows_sys::core::PWSTR, + pub pSubjectPublicKey: *mut super::super::Security::Cryptography::CERT_PUBLIC_KEY_INFO, + pub authScheme: PEER_GROUP_AUTHENTICATION_SCHEME, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::marker::Copy for PEER_INVITATION_INFO {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::clone::Clone for PEER_INVITATION_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PEER_INVITATION_RESPONSE { + pub action: PEER_INVITATION_RESPONSE_TYPE, + pub pwzMessage: ::windows_sys::core::PWSTR, + pub hrExtendedInfo: ::windows_sys::core::HRESULT, +} +impl ::core::marker::Copy for PEER_INVITATION_RESPONSE {} +impl ::core::clone::Clone for PEER_INVITATION_RESPONSE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_Security_Cryptography\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))] +pub struct PEER_MEMBER { + pub dwSize: u32, + pub dwFlags: u32, + pub pwzIdentity: ::windows_sys::core::PWSTR, + pub pwzAttributes: ::windows_sys::core::PWSTR, + pub ullNodeId: u64, + pub cAddresses: u32, + pub pAddresses: *mut PEER_ADDRESS, + pub pCredentialInfo: *mut PEER_CREDENTIAL_INFO, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))] +impl ::core::marker::Copy for PEER_MEMBER {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))] +impl ::core::clone::Clone for PEER_MEMBER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PEER_NAME_PAIR { + pub dwSize: u32, + pub pwzPeerName: ::windows_sys::core::PWSTR, + pub pwzFriendlyName: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for PEER_NAME_PAIR {} +impl ::core::clone::Clone for PEER_NAME_PAIR { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct PEER_NODE_INFO { + pub dwSize: u32, + pub ullNodeId: u64, + pub pwzPeerId: ::windows_sys::core::PWSTR, + pub cAddresses: u32, + pub pAddresses: *mut PEER_ADDRESS, + pub pwzAttributes: ::windows_sys::core::PWSTR, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for PEER_NODE_INFO {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for PEER_NODE_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PEER_OBJECT { + pub id: ::windows_sys::core::GUID, + pub data: PEER_DATA, + pub dwPublicationScope: u32, +} +impl ::core::marker::Copy for PEER_OBJECT {} +impl ::core::clone::Clone for PEER_OBJECT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct PEER_PEOPLE_NEAR_ME { + pub pwzNickName: ::windows_sys::core::PWSTR, + pub endpoint: PEER_ENDPOINT, + pub id: ::windows_sys::core::GUID, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for PEER_PEOPLE_NEAR_ME {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for PEER_PEOPLE_NEAR_ME { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PEER_PNRP_CLOUD_INFO { + pub pwzCloudName: ::windows_sys::core::PWSTR, + pub dwScope: PNRP_SCOPE, + pub dwScopeId: u32, +} +impl ::core::marker::Copy for PEER_PNRP_CLOUD_INFO {} +impl ::core::clone::Clone for PEER_PNRP_CLOUD_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct PEER_PNRP_ENDPOINT_INFO { + pub pwzPeerName: ::windows_sys::core::PWSTR, + pub cAddresses: u32, + pub ppAddresses: *mut *mut super::super::Networking::WinSock::SOCKADDR, + pub pwzComment: ::windows_sys::core::PWSTR, + pub payload: PEER_DATA, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for PEER_PNRP_ENDPOINT_INFO {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for PEER_PNRP_ENDPOINT_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct PEER_PNRP_REGISTRATION_INFO { + pub pwzCloudName: ::windows_sys::core::PWSTR, + pub pwzPublishingIdentity: ::windows_sys::core::PWSTR, + pub cAddresses: u32, + pub ppAddresses: *mut *mut super::super::Networking::WinSock::SOCKADDR, + pub wPort: u16, + pub pwzComment: ::windows_sys::core::PWSTR, + pub payload: PEER_DATA, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for PEER_PNRP_REGISTRATION_INFO {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for PEER_PNRP_REGISTRATION_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PEER_PRESENCE_INFO { + pub status: PEER_PRESENCE_STATUS, + pub pwzDescriptiveText: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for PEER_PRESENCE_INFO {} +impl ::core::clone::Clone for PEER_PRESENCE_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct PEER_RECORD { + pub dwSize: u32, + pub r#type: ::windows_sys::core::GUID, + pub id: ::windows_sys::core::GUID, + pub dwVersion: u32, + pub dwFlags: u32, + pub pwzCreatorId: ::windows_sys::core::PWSTR, + pub pwzModifiedById: ::windows_sys::core::PWSTR, + pub pwzAttributes: ::windows_sys::core::PWSTR, + pub ftCreation: super::super::Foundation::FILETIME, + pub ftExpiration: super::super::Foundation::FILETIME, + pub ftLastModified: super::super::Foundation::FILETIME, + pub securityData: PEER_DATA, + pub data: PEER_DATA, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for PEER_RECORD {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for PEER_RECORD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct PEER_SECURITY_INTERFACE { + pub dwSize: u32, + pub pwzSspFilename: ::windows_sys::core::PWSTR, + pub pwzPackageName: ::windows_sys::core::PWSTR, + pub cbSecurityInfo: u32, + pub pbSecurityInfo: *mut u8, + pub pvContext: *mut ::core::ffi::c_void, + pub pfnValidateRecord: PFNPEER_VALIDATE_RECORD, + pub pfnSecureRecord: PFNPEER_SECURE_RECORD, + pub pfnFreeSecurityData: PFNPEER_FREE_SECURITY_DATA, + pub pfnAuthFailed: PFNPEER_ON_PASSWORD_AUTH_FAILED, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for PEER_SECURITY_INTERFACE {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for PEER_SECURITY_INTERFACE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PEER_VERSION_DATA { + pub wVersion: u16, + pub wHighestVersion: u16, +} +impl ::core::marker::Copy for PEER_VERSION_DATA {} +impl ::core::clone::Clone for PEER_VERSION_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PNRPCLOUDINFO { + pub dwSize: u32, + pub Cloud: PNRP_CLOUD_ID, + pub enCloudState: PNRP_CLOUD_STATE, + pub enCloudFlags: PNRP_CLOUD_FLAGS, +} +impl ::core::marker::Copy for PNRPCLOUDINFO {} +impl ::core::clone::Clone for PNRPCLOUDINFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct PNRPINFO_V1 { + pub dwSize: u32, + pub lpwszIdentity: ::windows_sys::core::PWSTR, + pub nMaxResolve: u32, + pub dwTimeout: u32, + pub dwLifetime: u32, + pub enResolveCriteria: PNRP_RESOLVE_CRITERIA, + pub dwFlags: u32, + pub saHint: super::super::Networking::WinSock::SOCKET_ADDRESS, + pub enNameState: PNRP_REGISTERED_ID_STATE, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for PNRPINFO_V1 {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for PNRPINFO_V1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Com\"`"] +#[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_System_Com"))] +pub struct PNRPINFO_V2 { + pub dwSize: u32, + pub lpwszIdentity: ::windows_sys::core::PWSTR, + pub nMaxResolve: u32, + pub dwTimeout: u32, + pub dwLifetime: u32, + pub enResolveCriteria: PNRP_RESOLVE_CRITERIA, + pub dwFlags: u32, + pub saHint: super::super::Networking::WinSock::SOCKET_ADDRESS, + pub enNameState: PNRP_REGISTERED_ID_STATE, + pub enExtendedPayloadType: PNRP_EXTENDED_PAYLOAD_TYPE, + pub Anonymous: PNRPINFO_V2_0, +} +#[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_System_Com"))] +impl ::core::marker::Copy for PNRPINFO_V2 {} +#[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_System_Com"))] +impl ::core::clone::Clone for PNRPINFO_V2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Com\"`"] +#[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_System_Com"))] +pub union PNRPINFO_V2_0 { + pub blobPayload: super::super::System::Com::BLOB, + pub pwszPayload: ::windows_sys::core::PWSTR, +} +#[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_System_Com"))] +impl ::core::marker::Copy for PNRPINFO_V2_0 {} +#[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_System_Com"))] +impl ::core::clone::Clone for PNRPINFO_V2_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PNRP_CLOUD_ID { + pub AddressFamily: i32, + pub Scope: PNRP_SCOPE, + pub ScopeId: u32, +} +impl ::core::marker::Copy for PNRP_CLOUD_ID {} +impl ::core::clone::Clone for PNRP_CLOUD_ID { + fn clone(&self) -> Self { + *self + } +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +pub type DRT_BOOTSTRAP_RESOLVE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(hr: ::windows_sys::core::HRESULT, pvcontext: *mut ::core::ffi::c_void, paddresses: *mut super::super::Networking::WinSock::SOCKET_ADDRESS_LIST, ffatalerror: super::super::Foundation::BOOL) -> ()>; +pub type PFNPEER_FREE_SECURITY_DATA = ::core::option::Option<unsafe extern "system" fn(hgraph: *const ::core::ffi::c_void, pvcontext: *const ::core::ffi::c_void, psecuritydata: *const PEER_DATA) -> ::windows_sys::core::HRESULT>; +pub type PFNPEER_ON_PASSWORD_AUTH_FAILED = ::core::option::Option<unsafe extern "system" fn(hgraph: *const ::core::ffi::c_void, pvcontext: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PFNPEER_SECURE_RECORD = ::core::option::Option<unsafe extern "system" fn(hgraph: *const ::core::ffi::c_void, pvcontext: *const ::core::ffi::c_void, precord: *const PEER_RECORD, changetype: PEER_RECORD_CHANGE_TYPE, ppsecuritydata: *mut *mut PEER_DATA) -> ::windows_sys::core::HRESULT>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PFNPEER_VALIDATE_RECORD = ::core::option::Option<unsafe extern "system" fn(hgraph: *const ::core::ffi::c_void, pvcontext: *const ::core::ffi::c_void, precord: *const PEER_RECORD, changetype: PEER_RECORD_CHANGE_TYPE) -> ::windows_sys::core::HRESULT>; diff --git a/vendor/windows-sys/src/Windows/Win32/NetworkManagement/QoS/mod.rs b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/QoS/mod.rs new file mode 100644 index 0000000..ca2a04c --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/QoS/mod.rs @@ -0,0 +1,2110 @@ +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("qwave.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn QOSAddSocketToFlow(qoshandle : super::super::Foundation:: HANDLE, socket : super::super::Networking::WinSock:: SOCKET, destaddr : *const super::super::Networking::WinSock:: SOCKADDR, traffictype : QOS_TRAFFIC_TYPE, flags : u32, flowid : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_targets::link!("qwave.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn QOSCancel(qoshandle : super::super::Foundation:: HANDLE, overlapped : *const super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("qwave.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn QOSCloseHandle(qoshandle : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("qwave.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn QOSCreateHandle(version : *const QOS_VERSION, qoshandle : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("qwave.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn QOSEnumerateFlows(qoshandle : super::super::Foundation:: HANDLE, size : *mut u32, buffer : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_targets::link!("qwave.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn QOSNotifyFlow(qoshandle : super::super::Foundation:: HANDLE, flowid : u32, operation : QOS_NOTIFY_FLOW, size : *mut u32, buffer : *mut ::core::ffi::c_void, flags : u32, overlapped : *mut super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_targets::link!("qwave.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn QOSQueryFlow(qoshandle : super::super::Foundation:: HANDLE, flowid : u32, operation : QOS_QUERY_FLOW, size : *mut u32, buffer : *mut ::core::ffi::c_void, flags : u32, overlapped : *mut super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("qwave.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn QOSRemoveSocketFromFlow(qoshandle : super::super::Foundation:: HANDLE, socket : super::super::Networking::WinSock:: SOCKET, flowid : u32, flags : u32) -> super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_targets::link!("qwave.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn QOSSetFlow(qoshandle : super::super::Foundation:: HANDLE, flowid : u32, operation : QOS_SET_FLOW, size : u32, buffer : *const ::core::ffi::c_void, flags : u32, overlapped : *mut super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("qwave.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn QOSStartTrackingClient(qoshandle : super::super::Foundation:: HANDLE, destaddr : *const super::super::Networking::WinSock:: SOCKADDR, flags : u32) -> super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("qwave.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn QOSStopTrackingClient(qoshandle : super::super::Foundation:: HANDLE, destaddr : *const super::super::Networking::WinSock:: SOCKADDR, flags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("traffic.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TcAddFilter(flowhandle : super::super::Foundation:: HANDLE, pgenericfilter : *const TC_GEN_FILTER, pfilterhandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("traffic.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn TcAddFlow(ifchandle : super::super::Foundation:: HANDLE, clflowctx : super::super::Foundation:: HANDLE, flags : u32, pgenericflow : *const TC_GEN_FLOW, pflowhandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("traffic.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TcCloseInterface(ifchandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("traffic.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TcDeleteFilter(filterhandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("traffic.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TcDeleteFlow(flowhandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("traffic.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TcDeregisterClient(clienthandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("traffic.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn TcEnumerateFlows(ifchandle : super::super::Foundation:: HANDLE, penumhandle : *mut super::super::Foundation:: HANDLE, pflowcount : *mut u32, pbufsize : *mut u32, buffer : *mut ENUMERATION_BUFFER) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +::windows_targets::link!("traffic.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn TcEnumerateInterfaces(clienthandle : super::super::Foundation:: HANDLE, pbuffersize : *mut u32, interfacebuffer : *mut TC_IFC_DESCRIPTOR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("traffic.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TcGetFlowNameA(flowhandle : super::super::Foundation:: HANDLE, strsize : u32, pflowname : ::windows_sys::core::PSTR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("traffic.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TcGetFlowNameW(flowhandle : super::super::Foundation:: HANDLE, strsize : u32, pflowname : ::windows_sys::core::PWSTR) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("traffic.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn TcModifyFlow(flowhandle : super::super::Foundation:: HANDLE, pgenericflow : *const TC_GEN_FLOW) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("traffic.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TcOpenInterfaceA(pinterfacename : ::windows_sys::core::PCSTR, clienthandle : super::super::Foundation:: HANDLE, clifcctx : super::super::Foundation:: HANDLE, pifchandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("traffic.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TcOpenInterfaceW(pinterfacename : ::windows_sys::core::PCWSTR, clienthandle : super::super::Foundation:: HANDLE, clifcctx : super::super::Foundation:: HANDLE, pifchandle : *mut super::super::Foundation:: HANDLE) -> u32); +::windows_targets::link!("traffic.dll" "system" fn TcQueryFlowA(pflowname : ::windows_sys::core::PCSTR, pguidparam : *const ::windows_sys::core::GUID, pbuffersize : *mut u32, buffer : *mut ::core::ffi::c_void) -> u32); +::windows_targets::link!("traffic.dll" "system" fn TcQueryFlowW(pflowname : ::windows_sys::core::PCWSTR, pguidparam : *const ::windows_sys::core::GUID, pbuffersize : *mut u32, buffer : *mut ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("traffic.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TcQueryInterface(ifchandle : super::super::Foundation:: HANDLE, pguidparam : *const ::windows_sys::core::GUID, notifychange : super::super::Foundation:: BOOLEAN, pbuffersize : *mut u32, buffer : *mut ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("traffic.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TcRegisterClient(tciversion : u32, clregctx : super::super::Foundation:: HANDLE, clienthandlerlist : *const TCI_CLIENT_FUNC_LIST, pclienthandle : *mut super::super::Foundation:: HANDLE) -> u32); +::windows_targets::link!("traffic.dll" "system" fn TcSetFlowA(pflowname : ::windows_sys::core::PCSTR, pguidparam : *const ::windows_sys::core::GUID, buffersize : u32, buffer : *const ::core::ffi::c_void) -> u32); +::windows_targets::link!("traffic.dll" "system" fn TcSetFlowW(pflowname : ::windows_sys::core::PCWSTR, pguidparam : *const ::windows_sys::core::GUID, buffersize : u32, buffer : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("traffic.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TcSetInterface(ifchandle : super::super::Foundation:: HANDLE, pguidparam : *const ::windows_sys::core::GUID, buffersize : u32, buffer : *const ::core::ffi::c_void) -> u32); +pub const ABLE_TO_RECV_RSVP: u32 = 50002u32; +pub const ADM_CTRL_FAILED: u32 = 3u32; +pub const AD_FLAG_BREAK_BIT: u32 = 1u32; +pub const ALLOWED_TO_SEND_DATA: u32 = 50001u32; +pub const ANY_DEST_ADDR: u32 = 4294967295u32; +pub const CONTROLLED_DELAY_SERV: u32 = 4u32; +pub const CONTROLLED_LOAD_SERV: u32 = 5u32; +pub const CREDENTIAL_SUB_TYPE_ASCII_ID: u32 = 1u32; +pub const CREDENTIAL_SUB_TYPE_KERBEROS_TKT: u32 = 3u32; +pub const CREDENTIAL_SUB_TYPE_PGP_CERT: u32 = 5u32; +pub const CREDENTIAL_SUB_TYPE_UNICODE_ID: u32 = 2u32; +pub const CREDENTIAL_SUB_TYPE_X509_V3_CERT: u32 = 4u32; +pub const CURRENT_TCI_VERSION: u32 = 2u32; +pub const DD_TCP_DEVICE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("\\Device\\Tcp"); +pub const DUP_RESULTS: u32 = 4u32; +pub const END_TO_END_QOSABILITY: u32 = 50006u32; +pub const ERROR_ADDRESS_TYPE_NOT_SUPPORTED: u32 = 7511u32; +pub const ERROR_DS_MAPPING_EXISTS: u32 = 7518u32; +pub const ERROR_DUPLICATE_FILTER: u32 = 7509u32; +pub const ERROR_FILTER_CONFLICT: u32 = 7510u32; +pub const ERROR_INCOMPATABLE_QOS: u32 = 7513u32; +pub const ERROR_INCOMPATIBLE_TCI_VERSION: u32 = 7501u32; +pub const ERROR_INVALID_ADDRESS_TYPE: u32 = 7508u32; +pub const ERROR_INVALID_DIFFSERV_FLOW: u32 = 7517u32; +pub const ERROR_INVALID_DS_CLASS: u32 = 7520u32; +pub const ERROR_INVALID_FLOW_MODE: u32 = 7516u32; +pub const ERROR_INVALID_PEAK_RATE: u32 = 7504u32; +pub const ERROR_INVALID_QOS_PRIORITY: u32 = 7506u32; +pub const ERROR_INVALID_SD_MODE: u32 = 7505u32; +pub const ERROR_INVALID_SERVICE_TYPE: u32 = 7502u32; +pub const ERROR_INVALID_SHAPE_RATE: u32 = 7519u32; +pub const ERROR_INVALID_TOKEN_RATE: u32 = 7503u32; +pub const ERROR_INVALID_TRAFFIC_CLASS: u32 = 7507u32; +pub const ERROR_NO_MORE_INFO: u32 = 1u32; +pub const ERROR_SPECF_InPlace: u32 = 1u32; +pub const ERROR_SPECF_NotGuilty: u32 = 2u32; +pub const ERROR_TC_NOT_SUPPORTED: u32 = 7514u32; +pub const ERROR_TC_OBJECT_LENGTH_INVALID: u32 = 7515u32; +pub const ERROR_TC_SUPPORTED_OBJECTS_EXIST: u32 = 7512u32; +pub const ERROR_TOO_MANY_CLIENTS: u32 = 7521u32; +pub const ERR_FORWARD_OK: u32 = 32768u32; +pub const ERR_Usage_globl: u32 = 0u32; +pub const ERR_Usage_local: u32 = 16u32; +pub const ERR_Usage_serv: u32 = 17u32; +pub const ERR_global_mask: u32 = 4095u32; +pub const EXPIRED_CREDENTIAL: u32 = 4u32; +pub const FILTERSPECV4: FilterType = 1i32; +pub const FILTERSPECV4_GPI: FilterType = 4i32; +pub const FILTERSPECV6: FilterType = 2i32; +pub const FILTERSPECV6_FLOW: FilterType = 3i32; +pub const FILTERSPECV6_GPI: FilterType = 5i32; +pub const FILTERSPEC_END: FilterType = 6i32; +pub const FLOW_DURATION: u32 = 5u32; +pub const FORCE_IMMEDIATE_REFRESH: u32 = 1u32; +pub const FSCTL_TCP_BASE: u32 = 18u32; +pub const FVEB_UNLOCK_FLAG_AUK_OSFVEINFO: u32 = 512u32; +pub const FVEB_UNLOCK_FLAG_CACHED: u32 = 1u32; +pub const FVEB_UNLOCK_FLAG_EXTERNAL: u32 = 32u32; +pub const FVEB_UNLOCK_FLAG_MEDIA: u32 = 2u32; +pub const FVEB_UNLOCK_FLAG_NBP: u32 = 256u32; +pub const FVEB_UNLOCK_FLAG_NONE: u32 = 0u32; +pub const FVEB_UNLOCK_FLAG_PASSPHRASE: u32 = 128u32; +pub const FVEB_UNLOCK_FLAG_PIN: u32 = 16u32; +pub const FVEB_UNLOCK_FLAG_RECOVERY: u32 = 64u32; +pub const FVEB_UNLOCK_FLAG_TPM: u32 = 4u32; +pub const GENERAL_INFO: u32 = 1u32; +pub const GQOS_API: u32 = 56400u32; +pub const GQOS_ERRORCODE_UNKNOWN: u32 = 4294967295u32; +pub const GQOS_ERRORVALUE_UNKNOWN: u32 = 4294967295u32; +pub const GQOS_KERNEL_TC: u32 = 56700u32; +pub const GQOS_KERNEL_TC_SYS: u32 = 56500u32; +pub const GQOS_NET_ADMISSION: u32 = 56100u32; +pub const GQOS_NET_POLICY: u32 = 56200u32; +pub const GQOS_NO_ERRORCODE: u32 = 0u32; +pub const GQOS_NO_ERRORVALUE: u32 = 0u32; +pub const GQOS_RSVP: u32 = 56300u32; +pub const GQOS_RSVP_SYS: u32 = 56600u32; +pub const GUARANTEED_SERV: u32 = 2u32; +pub const GUAR_ADSPARM_C: i32 = 131i32; +pub const GUAR_ADSPARM_Csum: i32 = 135i32; +pub const GUAR_ADSPARM_Ctot: i32 = 133i32; +pub const GUAR_ADSPARM_D: i32 = 132i32; +pub const GUAR_ADSPARM_Dsum: i32 = 136i32; +pub const GUAR_ADSPARM_Dtot: i32 = 134i32; +pub const GUID_QOS_BESTEFFORT_BANDWIDTH: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xed885290_40ec_11d1_2c91_00aa00574915); +pub const GUID_QOS_ENABLE_AVG_STATS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbafb6d11_27c4_4801_a46f_ef8080c188c8); +pub const GUID_QOS_ENABLE_WINDOW_ADJUSTMENT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xaa966725_d3e9_4c55_b335_2a00279a1e64); +pub const GUID_QOS_FLOW_8021P_CONFORMING: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x08c1e013_fcd2_11d2_be1e_00a0c99ee63b); +pub const GUID_QOS_FLOW_8021P_NONCONFORMING: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x09023f91_fcd2_11d2_be1e_00a0c99ee63b); +pub const GUID_QOS_FLOW_COUNT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1147f880_40ed_11d1_2c91_00aa00574915); +pub const GUID_QOS_FLOW_IP_CONFORMING: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x07f99a8b_fcd2_11d2_be1e_00a0c99ee63b); +pub const GUID_QOS_FLOW_IP_NONCONFORMING: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x087a5987_fcd2_11d2_be1e_00a0c99ee63b); +pub const GUID_QOS_FLOW_MODE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5c82290a_515a_11d2_8e58_00c04fc9bfcb); +pub const GUID_QOS_ISSLOW_FLOW: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xabf273a4_ee07_11d2_be1b_00a0c99ee63b); +pub const GUID_QOS_LATENCY: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xfc408ef0_40ec_11d1_2c91_00aa00574915); +pub const GUID_QOS_MAX_OUTSTANDING_SENDS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x161ffa86_6120_11d1_2c91_00aa00574915); +pub const GUID_QOS_NON_BESTEFFORT_LIMIT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x185c44e0_40ed_11d1_2c91_00aa00574915); +pub const GUID_QOS_REMAINING_BANDWIDTH: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc4c51720_40ec_11d1_2c91_00aa00574915); +pub const GUID_QOS_STATISTICS_BUFFER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbb2c0980_e900_11d1_b07e_0080c71382bf); +pub const GUID_QOS_TIMER_RESOLUTION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xba10cc88_f13e_11d2_be1b_00a0c99ee63b); +pub const HIGHLY_DELAY_SENSITIVE: u32 = 4294967294u32; +pub const IDENTITY_CHANGED: u32 = 5u32; +pub const IF_MIB_STATS_ID: u32 = 1u32; +pub const INFO_NOT_AVAILABLE: u32 = 4294967295u32; +pub const INSUFFICIENT_PRIVILEGES: u32 = 3u32; +pub const INTSERV_VERSION0: u32 = 0u32; +pub const INTSERV_VERS_MASK: u32 = 240u32; +pub const INV_LPM_HANDLE: u32 = 1u32; +pub const INV_REQ_HANDLE: u32 = 3u32; +pub const INV_RESULTS: u32 = 5u32; +pub const IP_INTFC_INFO_ID: u32 = 259u32; +pub const IP_MIB_ADDRTABLE_ENTRY_ID: u32 = 258u32; +pub const IP_MIB_STATS_ID: u32 = 1u32; +pub const ISPH_FLG_INV: u32 = 128u32; +pub const ISSH_BREAK_BIT: u32 = 128u32; +pub const IS_GUAR_RSPEC: i32 = 130i32; +pub const IS_WKP_COMPOSED_MTU: int_serv_wkp = 10i32; +pub const IS_WKP_HOP_CNT: int_serv_wkp = 4i32; +pub const IS_WKP_MIN_LATENCY: int_serv_wkp = 8i32; +pub const IS_WKP_PATH_BW: int_serv_wkp = 6i32; +pub const IS_WKP_Q_TSPEC: int_serv_wkp = 128i32; +pub const IS_WKP_TB_TSPEC: int_serv_wkp = 127i32; +pub const LINE_RATE: u32 = 50003u32; +pub const LOCAL_QOSABILITY: u32 = 50005u32; +pub const LOCAL_TRAFFIC_CONTROL: u32 = 50004u32; +pub const LPM_API_VERSION_1: u32 = 1u32; +pub const LPM_OK: u32 = 0u32; +pub const LPM_PE_ALL_TYPES: u32 = 0u32; +pub const LPM_PE_APP_IDENTITY: u32 = 3u32; +pub const LPM_PE_USER_IDENTITY: u32 = 2u32; +pub const LPM_RESULT_DEFER: u32 = 1u32; +pub const LPM_RESULT_READY: u32 = 0u32; +pub const LPM_TIME_OUT: u32 = 2u32; +pub const LPV_DONT_CARE: u32 = 65534u32; +pub const LPV_DROP_MSG: u32 = 65533u32; +pub const LPV_MAX_PRIORITY: u32 = 65280u32; +pub const LPV_MIN_PRIORITY: u32 = 1u32; +pub const LPV_REJECT: u32 = 65535u32; +pub const LPV_RESERVED: u32 = 0u32; +pub const MAX_HSP_UPGRADE_FILENAME_LENGTH: u32 = 64u32; +pub const MAX_PHYSADDR_SIZE: u32 = 8u32; +pub const MAX_STRING_LENGTH: u32 = 256u32; +pub const MODERATELY_DELAY_SENSITIVE: u32 = 4294967293u32; +pub const OSDEVICE_TYPE_BLOCKIO_CDROM: u32 = 65539u32; +pub const OSDEVICE_TYPE_BLOCKIO_FILE: u32 = 65541u32; +pub const OSDEVICE_TYPE_BLOCKIO_HARDDISK: u32 = 65537u32; +pub const OSDEVICE_TYPE_BLOCKIO_PARTITION: u32 = 65540u32; +pub const OSDEVICE_TYPE_BLOCKIO_RAMDISK: u32 = 65542u32; +pub const OSDEVICE_TYPE_BLOCKIO_REMOVABLEDISK: u32 = 65538u32; +pub const OSDEVICE_TYPE_BLOCKIO_VIRTUALHARDDISK: u32 = 65543u32; +pub const OSDEVICE_TYPE_CIMFS: u32 = 393216u32; +pub const OSDEVICE_TYPE_COMPOSITE: u32 = 327680u32; +pub const OSDEVICE_TYPE_SERIAL: u32 = 131072u32; +pub const OSDEVICE_TYPE_UDP: u32 = 196608u32; +pub const OSDEVICE_TYPE_UNKNOWN: u32 = 0u32; +pub const OSDEVICE_TYPE_VMBUS: u32 = 262144u32; +pub const Opt_Distinct: u32 = 8u32; +pub const Opt_Explicit: u32 = 2u32; +pub const Opt_Share_mask: u32 = 24u32; +pub const Opt_Shared: u32 = 16u32; +pub const Opt_SndSel_mask: u32 = 7u32; +pub const Opt_Wildcard: u32 = 1u32; +pub const PCM_VERSION_1: u32 = 1u32; +pub const PE_ATTRIB_TYPE_CREDENTIAL: u32 = 2u32; +pub const PE_ATTRIB_TYPE_POLICY_LOCATOR: u32 = 1u32; +pub const PE_TYPE_APPID: u32 = 3u32; +pub const POLICY_ERRV_CRAZY_FLOWSPEC: u32 = 57u32; +pub const POLICY_ERRV_EXPIRED_CREDENTIALS: u32 = 4u32; +pub const POLICY_ERRV_EXPIRED_USER_TOKEN: u32 = 51u32; +pub const POLICY_ERRV_GLOBAL_DEF_FLOW_COUNT: u32 = 1u32; +pub const POLICY_ERRV_GLOBAL_DEF_FLOW_DURATION: u32 = 9u32; +pub const POLICY_ERRV_GLOBAL_DEF_FLOW_RATE: u32 = 17u32; +pub const POLICY_ERRV_GLOBAL_DEF_PEAK_RATE: u32 = 25u32; +pub const POLICY_ERRV_GLOBAL_DEF_SUM_FLOW_RATE: u32 = 33u32; +pub const POLICY_ERRV_GLOBAL_DEF_SUM_PEAK_RATE: u32 = 41u32; +pub const POLICY_ERRV_GLOBAL_GRP_FLOW_COUNT: u32 = 2u32; +pub const POLICY_ERRV_GLOBAL_GRP_FLOW_DURATION: u32 = 10u32; +pub const POLICY_ERRV_GLOBAL_GRP_FLOW_RATE: u32 = 18u32; +pub const POLICY_ERRV_GLOBAL_GRP_PEAK_RATE: u32 = 26u32; +pub const POLICY_ERRV_GLOBAL_GRP_SUM_FLOW_RATE: u32 = 34u32; +pub const POLICY_ERRV_GLOBAL_GRP_SUM_PEAK_RATE: u32 = 42u32; +pub const POLICY_ERRV_GLOBAL_UNAUTH_USER_FLOW_COUNT: u32 = 4u32; +pub const POLICY_ERRV_GLOBAL_UNAUTH_USER_FLOW_DURATION: u32 = 12u32; +pub const POLICY_ERRV_GLOBAL_UNAUTH_USER_FLOW_RATE: u32 = 20u32; +pub const POLICY_ERRV_GLOBAL_UNAUTH_USER_PEAK_RATE: u32 = 28u32; +pub const POLICY_ERRV_GLOBAL_UNAUTH_USER_SUM_FLOW_RATE: u32 = 36u32; +pub const POLICY_ERRV_GLOBAL_UNAUTH_USER_SUM_PEAK_RATE: u32 = 44u32; +pub const POLICY_ERRV_GLOBAL_USER_FLOW_COUNT: u32 = 3u32; +pub const POLICY_ERRV_GLOBAL_USER_FLOW_DURATION: u32 = 11u32; +pub const POLICY_ERRV_GLOBAL_USER_FLOW_RATE: u32 = 19u32; +pub const POLICY_ERRV_GLOBAL_USER_PEAK_RATE: u32 = 27u32; +pub const POLICY_ERRV_GLOBAL_USER_SUM_FLOW_RATE: u32 = 35u32; +pub const POLICY_ERRV_GLOBAL_USER_SUM_PEAK_RATE: u32 = 43u32; +pub const POLICY_ERRV_IDENTITY_CHANGED: u32 = 5u32; +pub const POLICY_ERRV_INSUFFICIENT_PRIVILEGES: u32 = 3u32; +pub const POLICY_ERRV_NO_ACCEPTS: u32 = 55u32; +pub const POLICY_ERRV_NO_MEMORY: u32 = 56u32; +pub const POLICY_ERRV_NO_MORE_INFO: u32 = 1u32; +pub const POLICY_ERRV_NO_PRIVILEGES: u32 = 50u32; +pub const POLICY_ERRV_NO_RESOURCES: u32 = 52u32; +pub const POLICY_ERRV_PRE_EMPTED: u32 = 53u32; +pub const POLICY_ERRV_SUBNET_DEF_FLOW_COUNT: u32 = 5u32; +pub const POLICY_ERRV_SUBNET_DEF_FLOW_DURATION: u32 = 13u32; +pub const POLICY_ERRV_SUBNET_DEF_FLOW_RATE: u32 = 21u32; +pub const POLICY_ERRV_SUBNET_DEF_PEAK_RATE: u32 = 29u32; +pub const POLICY_ERRV_SUBNET_DEF_SUM_FLOW_RATE: u32 = 37u32; +pub const POLICY_ERRV_SUBNET_DEF_SUM_PEAK_RATE: u32 = 45u32; +pub const POLICY_ERRV_SUBNET_GRP_FLOW_COUNT: u32 = 6u32; +pub const POLICY_ERRV_SUBNET_GRP_FLOW_DURATION: u32 = 14u32; +pub const POLICY_ERRV_SUBNET_GRP_FLOW_RATE: u32 = 22u32; +pub const POLICY_ERRV_SUBNET_GRP_PEAK_RATE: u32 = 30u32; +pub const POLICY_ERRV_SUBNET_GRP_SUM_FLOW_RATE: u32 = 38u32; +pub const POLICY_ERRV_SUBNET_GRP_SUM_PEAK_RATE: u32 = 46u32; +pub const POLICY_ERRV_SUBNET_UNAUTH_USER_FLOW_COUNT: u32 = 8u32; +pub const POLICY_ERRV_SUBNET_UNAUTH_USER_FLOW_DURATION: u32 = 16u32; +pub const POLICY_ERRV_SUBNET_UNAUTH_USER_FLOW_RATE: u32 = 24u32; +pub const POLICY_ERRV_SUBNET_UNAUTH_USER_PEAK_RATE: u32 = 32u32; +pub const POLICY_ERRV_SUBNET_UNAUTH_USER_SUM_FLOW_RATE: u32 = 40u32; +pub const POLICY_ERRV_SUBNET_UNAUTH_USER_SUM_PEAK_RATE: u32 = 48u32; +pub const POLICY_ERRV_SUBNET_USER_FLOW_COUNT: u32 = 7u32; +pub const POLICY_ERRV_SUBNET_USER_FLOW_DURATION: u32 = 15u32; +pub const POLICY_ERRV_SUBNET_USER_FLOW_RATE: u32 = 23u32; +pub const POLICY_ERRV_SUBNET_USER_PEAK_RATE: u32 = 31u32; +pub const POLICY_ERRV_SUBNET_USER_SUM_FLOW_RATE: u32 = 39u32; +pub const POLICY_ERRV_SUBNET_USER_SUM_PEAK_RATE: u32 = 47u32; +pub const POLICY_ERRV_UNKNOWN: u32 = 0u32; +pub const POLICY_ERRV_UNKNOWN_USER: u32 = 49u32; +pub const POLICY_ERRV_UNSUPPORTED_CREDENTIAL_TYPE: u32 = 2u32; +pub const POLICY_ERRV_USER_CHANGED: u32 = 54u32; +pub const POLICY_LOCATOR_SUB_TYPE_ASCII_DN: u32 = 1u32; +pub const POLICY_LOCATOR_SUB_TYPE_ASCII_DN_ENC: u32 = 3u32; +pub const POLICY_LOCATOR_SUB_TYPE_UNICODE_DN: u32 = 2u32; +pub const POLICY_LOCATOR_SUB_TYPE_UNICODE_DN_ENC: u32 = 4u32; +pub const POSITIVE_INFINITY_RATE: u32 = 4294967294u32; +pub const PREDICTIVE_SERV: u32 = 3u32; +pub const QOSFlowRateCongestion: QOS_FLOWRATE_REASON = 2i32; +pub const QOSFlowRateContentChange: QOS_FLOWRATE_REASON = 1i32; +pub const QOSFlowRateHigherContentEncoding: QOS_FLOWRATE_REASON = 3i32; +pub const QOSFlowRateNotApplicable: QOS_FLOWRATE_REASON = 0i32; +pub const QOSFlowRateUserCaused: QOS_FLOWRATE_REASON = 4i32; +pub const QOSNotifyAvailable: QOS_NOTIFY_FLOW = 2i32; +pub const QOSNotifyCongested: QOS_NOTIFY_FLOW = 0i32; +pub const QOSNotifyUncongested: QOS_NOTIFY_FLOW = 1i32; +pub const QOSQueryFlowFundamentals: QOS_QUERY_FLOW = 0i32; +pub const QOSQueryOutgoingRate: QOS_QUERY_FLOW = 2i32; +pub const QOSQueryPacketPriority: QOS_QUERY_FLOW = 1i32; +pub const QOSSPBASE: u32 = 50000u32; +pub const QOSSP_ERR_BASE: u32 = 56000u32; +pub const QOSSetOutgoingDSCPValue: QOS_SET_FLOW = 2i32; +pub const QOSSetOutgoingRate: QOS_SET_FLOW = 1i32; +pub const QOSSetTrafficType: QOS_SET_FLOW = 0i32; +pub const QOSShapeAndMark: QOS_SHAPING = 1i32; +pub const QOSShapeOnly: QOS_SHAPING = 0i32; +pub const QOSTrafficTypeAudioVideo: QOS_TRAFFIC_TYPE = 3i32; +pub const QOSTrafficTypeBackground: QOS_TRAFFIC_TYPE = 1i32; +pub const QOSTrafficTypeBestEffort: QOS_TRAFFIC_TYPE = 0i32; +pub const QOSTrafficTypeControl: QOS_TRAFFIC_TYPE = 5i32; +pub const QOSTrafficTypeExcellentEffort: QOS_TRAFFIC_TYPE = 2i32; +pub const QOSTrafficTypeVoice: QOS_TRAFFIC_TYPE = 4i32; +pub const QOSUseNonConformantMarkings: QOS_SHAPING = 2i32; +pub const QOS_GENERAL_ID_BASE: u32 = 2000u32; +pub const QOS_MAX_OBJECT_STRING_LENGTH: u32 = 256u32; +pub const QOS_NON_ADAPTIVE_FLOW: u32 = 2u32; +pub const QOS_NOT_SPECIFIED: u32 = 4294967295u32; +pub const QOS_OUTGOING_DEFAULT_MINIMUM_BANDWIDTH: u32 = 4294967295u32; +pub const QOS_QUERYFLOW_FRESH: u32 = 1u32; +pub const QOS_TRAFFIC_GENERAL_ID_BASE: u32 = 4000u32; +pub const QUALITATIVE_SERV: u32 = 6u32; +pub const RCVD_PATH_TEAR: u32 = 1u32; +pub const RCVD_RESV_TEAR: u32 = 2u32; +pub const RESOURCES_ALLOCATED: u32 = 1u32; +pub const RESOURCES_MODIFIED: u32 = 2u32; +pub const RSVP_DEFAULT_STYLE: u32 = 0u32; +pub const RSVP_Err_ADMISSION: u32 = 1u32; +pub const RSVP_Err_AMBIG_FILTER: u32 = 9u32; +pub const RSVP_Err_API_ERROR: u32 = 20u32; +pub const RSVP_Err_BAD_DSTPORT: u32 = 7u32; +pub const RSVP_Err_BAD_SNDPORT: u32 = 8u32; +pub const RSVP_Err_BAD_STYLE: u32 = 5u32; +pub const RSVP_Err_NONE: u32 = 0u32; +pub const RSVP_Err_NO_PATH: u32 = 3u32; +pub const RSVP_Err_NO_SENDER: u32 = 4u32; +pub const RSVP_Err_POLICY: u32 = 2u32; +pub const RSVP_Err_PREEMPTED: u32 = 12u32; +pub const RSVP_Err_RSVP_SYS_ERROR: u32 = 23u32; +pub const RSVP_Err_TC_ERROR: u32 = 21u32; +pub const RSVP_Err_TC_SYS_ERROR: u32 = 22u32; +pub const RSVP_Err_UNKNOWN_CTYPE: u32 = 14u32; +pub const RSVP_Err_UNKNOWN_STYLE: u32 = 6u32; +pub const RSVP_Err_UNKN_OBJ_CLASS: u32 = 13u32; +pub const RSVP_Erv_API: u32 = 2u32; +pub const RSVP_Erv_Bandwidth: u32 = 2u32; +pub const RSVP_Erv_Bucket_szie: u32 = 32770u32; +pub const RSVP_Erv_Conflict_Serv: u32 = 1u32; +pub const RSVP_Erv_Crazy_Flowspec: u32 = 3u32; +pub const RSVP_Erv_Crazy_Tspec: u32 = 4u32; +pub const RSVP_Erv_DelayBnd: u32 = 1u32; +pub const RSVP_Erv_Flow_Rate: u32 = 32769u32; +pub const RSVP_Erv_MEMORY: u32 = 1u32; +pub const RSVP_Erv_MTU: u32 = 3u32; +pub const RSVP_Erv_Min_Policied_size: u32 = 32772u32; +pub const RSVP_Erv_No_Serv: u32 = 2u32; +pub const RSVP_Erv_Nonev: u32 = 0u32; +pub const RSVP_Erv_Other: u32 = 0u32; +pub const RSVP_Erv_Peak_Rate: u32 = 32771u32; +pub const RSVP_FIXED_FILTER_STYLE: u32 = 2u32; +pub const RSVP_OBJECT_ID_BASE: u32 = 1000u32; +pub const RSVP_PATH: u32 = 1u32; +pub const RSVP_PATH_ERR: u32 = 3u32; +pub const RSVP_PATH_TEAR: u32 = 5u32; +pub const RSVP_RESV: u32 = 2u32; +pub const RSVP_RESV_ERR: u32 = 4u32; +pub const RSVP_RESV_TEAR: u32 = 6u32; +pub const RSVP_SHARED_EXPLICIT_STYLE: u32 = 3u32; +pub const RSVP_WILDCARD_STYLE: u32 = 1u32; +pub const SERVICETYPE_BESTEFFORT: u32 = 1u32; +pub const SERVICETYPE_CONTROLLEDLOAD: u32 = 2u32; +pub const SERVICETYPE_GENERAL_INFORMATION: u32 = 5u32; +pub const SERVICETYPE_GUARANTEED: u32 = 3u32; +pub const SERVICETYPE_NETWORK_CONTROL: u32 = 10u32; +pub const SERVICETYPE_NETWORK_UNAVAILABLE: u32 = 4u32; +pub const SERVICETYPE_NOCHANGE: u32 = 6u32; +pub const SERVICETYPE_NONCONFORMING: u32 = 9u32; +pub const SERVICETYPE_NOTRAFFIC: u32 = 0u32; +pub const SERVICETYPE_QUALITATIVE: u32 = 13u32; +pub const SERVICE_BESTEFFORT: u32 = 2147549184u32; +pub const SERVICE_CONTROLLEDLOAD: u32 = 2147614720u32; +pub const SERVICE_GUARANTEED: u32 = 2147745792u32; +pub const SERVICE_NO_QOS_SIGNALING: u32 = 1073741824u32; +pub const SERVICE_NO_TRAFFIC_CONTROL: u32 = 2164260864u32; +pub const SERVICE_QUALITATIVE: u32 = 2149580800u32; +pub const SESSFLG_E_Police: u32 = 1u32; +pub const SIPAERROR_FIRMWAREFAILURE: u32 = 196609u32; +pub const SIPAERROR_INTERNALFAILURE: u32 = 196611u32; +pub const SIPAEVENTTYPE_AGGREGATION: u32 = 1073741824u32; +pub const SIPAEVENTTYPE_AUTHORITY: u32 = 393216u32; +pub const SIPAEVENTTYPE_CONTAINER: u32 = 65536u32; +pub const SIPAEVENTTYPE_DRTM: u32 = 786432u32; +pub const SIPAEVENTTYPE_ELAM: u32 = 589824u32; +pub const SIPAEVENTTYPE_ERROR: u32 = 196608u32; +pub const SIPAEVENTTYPE_INFORMATION: u32 = 131072u32; +pub const SIPAEVENTTYPE_KSR: u32 = 720896u32; +pub const SIPAEVENTTYPE_LOADEDMODULE: u32 = 458752u32; +pub const SIPAEVENTTYPE_NONMEASURED: u32 = 2147483648u32; +pub const SIPAEVENTTYPE_OSPARAMETER: u32 = 327680u32; +pub const SIPAEVENTTYPE_PREOSPARAMETER: u32 = 262144u32; +pub const SIPAEVENTTYPE_TRUSTPOINT: u32 = 524288u32; +pub const SIPAEVENTTYPE_VBS: u32 = 655360u32; +pub const SIPAEVENT_APPLICATION_RETURN: u32 = 131076u32; +pub const SIPAEVENT_APPLICATION_SVN: u32 = 131081u32; +pub const SIPAEVENT_AUTHENTICODEHASH: u32 = 458756u32; +pub const SIPAEVENT_AUTHORITYISSUER: u32 = 458757u32; +pub const SIPAEVENT_AUTHORITYPUBKEY: u32 = 393218u32; +pub const SIPAEVENT_AUTHORITYPUBLISHER: u32 = 458760u32; +pub const SIPAEVENT_AUTHORITYSERIAL: u32 = 458758u32; +pub const SIPAEVENT_AUTHORITYSHA1THUMBPRINT: u32 = 458761u32; +pub const SIPAEVENT_BITLOCKER_UNLOCK: u32 = 131077u32; +pub const SIPAEVENT_BOOTCOUNTER: u32 = 131074u32; +pub const SIPAEVENT_BOOTDEBUGGING: u32 = 262145u32; +pub const SIPAEVENT_BOOT_REVOCATION_LIST: u32 = 262146u32; +pub const SIPAEVENT_CODEINTEGRITY: u32 = 327682u32; +pub const SIPAEVENT_COUNTERID: u32 = 131079u32; +pub const SIPAEVENT_DATAEXECUTIONPREVENTION: u32 = 327684u32; +pub const SIPAEVENT_DRIVER_LOAD_POLICY: u32 = 327694u32; +pub const SIPAEVENT_DRTM_AMD_SMM_HASH: u32 = 786435u32; +pub const SIPAEVENT_DRTM_AMD_SMM_SIGNER_KEY: u32 = 786436u32; +pub const SIPAEVENT_DRTM_SMM_LEVEL: u32 = 786434u32; +pub const SIPAEVENT_DRTM_STATE_AUTH: u32 = 786433u32; +pub const SIPAEVENT_DUMPS_DISABLED: u32 = 327717u32; +pub const SIPAEVENT_DUMP_ENCRYPTION_ENABLED: u32 = 327718u32; +pub const SIPAEVENT_DUMP_ENCRYPTION_KEY_DIGEST: u32 = 327719u32; +pub const SIPAEVENT_ELAM_CONFIGURATION: u32 = 589826u32; +pub const SIPAEVENT_ELAM_KEYNAME: u32 = 589825u32; +pub const SIPAEVENT_ELAM_MEASURED: u32 = 589828u32; +pub const SIPAEVENT_ELAM_POLICY: u32 = 589827u32; +pub const SIPAEVENT_EVENTCOUNTER: u32 = 131078u32; +pub const SIPAEVENT_FILEPATH: u32 = 458753u32; +pub const SIPAEVENT_FLIGHTSIGNING: u32 = 327713u32; +pub const SIPAEVENT_HASHALGORITHMID: u32 = 458755u32; +pub const SIPAEVENT_HIBERNATION_DISABLED: u32 = 327716u32; +pub const SIPAEVENT_HYPERVISOR_BOOT_DMA_PROTECTION: u32 = 327728u32; +pub const SIPAEVENT_HYPERVISOR_DEBUG: u32 = 327693u32; +pub const SIPAEVENT_HYPERVISOR_IOMMU_POLICY: u32 = 327692u32; +pub const SIPAEVENT_HYPERVISOR_LAUNCH_TYPE: u32 = 327690u32; +pub const SIPAEVENT_HYPERVISOR_MMIO_NX_POLICY: u32 = 327696u32; +pub const SIPAEVENT_HYPERVISOR_MSR_FILTER_POLICY: u32 = 327697u32; +pub const SIPAEVENT_HYPERVISOR_PATH: u32 = 327691u32; +pub const SIPAEVENT_IMAGEBASE: u32 = 458759u32; +pub const SIPAEVENT_IMAGESIZE: u32 = 458754u32; +pub const SIPAEVENT_IMAGEVALIDATED: u32 = 458762u32; +pub const SIPAEVENT_INFORMATION: u32 = 131073u32; +pub const SIPAEVENT_KSR_SIGNATURE: u32 = 720897u32; +pub const SIPAEVENT_LSAISO_CONFIG: u32 = 327720u32; +pub const SIPAEVENT_MODULE_HSP: u32 = 458764u32; +pub const SIPAEVENT_MODULE_SVN: u32 = 458763u32; +pub const SIPAEVENT_MORBIT_API_STATUS: u32 = 131083u32; +pub const SIPAEVENT_MORBIT_NOT_CANCELABLE: u32 = 131080u32; +pub const SIPAEVENT_NOAUTHORITY: u32 = 393217u32; +pub const SIPAEVENT_OSDEVICE: u32 = 327688u32; +pub const SIPAEVENT_OSKERNELDEBUG: u32 = 327681u32; +pub const SIPAEVENT_OS_REVOCATION_LIST: u32 = 327699u32; +pub const SIPAEVENT_PAGEFILE_ENCRYPTION_ENABLED: u32 = 327714u32; +pub const SIPAEVENT_PHYSICALADDRESSEXTENSION: u32 = 327687u32; +pub const SIPAEVENT_SAFEMODE: u32 = 327685u32; +pub const SIPAEVENT_SBCP_INFO: u32 = 327721u32; +pub const SIPAEVENT_SI_POLICY: u32 = 327695u32; +pub const SIPAEVENT_SMT_STATUS: u32 = 327700u32; +pub const SIPAEVENT_SVN_CHAIN_STATUS: u32 = 131082u32; +pub const SIPAEVENT_SYSTEMROOT: u32 = 327689u32; +pub const SIPAEVENT_TESTSIGNING: u32 = 327683u32; +pub const SIPAEVENT_TRANSFER_CONTROL: u32 = 131075u32; +pub const SIPAEVENT_VBS_DUMP_USES_AMEROOT: u32 = 655369u32; +pub const SIPAEVENT_VBS_HVCI_POLICY: u32 = 655367u32; +pub const SIPAEVENT_VBS_IOMMU_REQUIRED: u32 = 655363u32; +pub const SIPAEVENT_VBS_MANDATORY_ENFORCEMENT: u32 = 655366u32; +pub const SIPAEVENT_VBS_MICROSOFT_BOOT_CHAIN_REQUIRED: u32 = 655368u32; +pub const SIPAEVENT_VBS_MMIO_NX_REQUIRED: u32 = 655364u32; +pub const SIPAEVENT_VBS_MSR_FILTERING_REQUIRED: u32 = 655365u32; +pub const SIPAEVENT_VBS_SECUREBOOT_REQUIRED: u32 = 655362u32; +pub const SIPAEVENT_VBS_VSM_NOSECRETS_ENFORCED: u32 = 655370u32; +pub const SIPAEVENT_VBS_VSM_REQUIRED: u32 = 655361u32; +pub const SIPAEVENT_VSM_IDKS_INFO: u32 = 327715u32; +pub const SIPAEVENT_VSM_IDK_INFO: u32 = 327712u32; +pub const SIPAEVENT_VSM_LAUNCH_TYPE: u32 = 327698u32; +pub const SIPAEVENT_WINPE: u32 = 327686u32; +pub const SIPAEV_ACTION: u32 = 5u32; +pub const SIPAEV_AMD_SL_EVENT_BASE: u32 = 32768u32; +pub const SIPAEV_AMD_SL_LOAD: u32 = 32769u32; +pub const SIPAEV_AMD_SL_LOAD_1: u32 = 32774u32; +pub const SIPAEV_AMD_SL_PSP_FW_SPLT: u32 = 32770u32; +pub const SIPAEV_AMD_SL_PUB_KEY: u32 = 32772u32; +pub const SIPAEV_AMD_SL_SEPARATOR: u32 = 32775u32; +pub const SIPAEV_AMD_SL_SVN: u32 = 32773u32; +pub const SIPAEV_AMD_SL_TSME_RB_FUSE: u32 = 32771u32; +pub const SIPAEV_COMPACT_HASH: u32 = 12u32; +pub const SIPAEV_CPU_MICROCODE: u32 = 9u32; +pub const SIPAEV_EFI_ACTION: u32 = 2147483655u32; +pub const SIPAEV_EFI_BOOT_SERVICES_APPLICATION: u32 = 2147483651u32; +pub const SIPAEV_EFI_BOOT_SERVICES_DRIVER: u32 = 2147483652u32; +pub const SIPAEV_EFI_EVENT_BASE: u32 = 2147483648u32; +pub const SIPAEV_EFI_GPT_EVENT: u32 = 2147483654u32; +pub const SIPAEV_EFI_HANDOFF_TABLES: u32 = 2147483657u32; +pub const SIPAEV_EFI_HANDOFF_TABLES2: u32 = 2147483659u32; +pub const SIPAEV_EFI_HCRTM_EVENT: u32 = 2147483664u32; +pub const SIPAEV_EFI_PLATFORM_FIRMWARE_BLOB: u32 = 2147483656u32; +pub const SIPAEV_EFI_PLATFORM_FIRMWARE_BLOB2: u32 = 2147483658u32; +pub const SIPAEV_EFI_RUNTIME_SERVICES_DRIVER: u32 = 2147483653u32; +pub const SIPAEV_EFI_SPDM_FIRMWARE_BLOB: u32 = 2147483873u32; +pub const SIPAEV_EFI_SPDM_FIRMWARE_CONFIG: u32 = 2147483874u32; +pub const SIPAEV_EFI_VARIABLE_AUTHORITY: u32 = 2147483872u32; +pub const SIPAEV_EFI_VARIABLE_BOOT: u32 = 2147483650u32; +pub const SIPAEV_EFI_VARIABLE_BOOT2: u32 = 2147483660u32; +pub const SIPAEV_EFI_VARIABLE_DRIVER_CONFIG: u32 = 2147483649u32; +pub const SIPAEV_EVENT_TAG: u32 = 6u32; +pub const SIPAEV_IPL: u32 = 13u32; +pub const SIPAEV_IPL_PARTITION_DATA: u32 = 14u32; +pub const SIPAEV_NONHOST_CODE: u32 = 15u32; +pub const SIPAEV_NONHOST_CONFIG: u32 = 16u32; +pub const SIPAEV_NONHOST_INFO: u32 = 17u32; +pub const SIPAEV_NO_ACTION: u32 = 3u32; +pub const SIPAEV_OMIT_BOOT_DEVICE_EVENTS: u32 = 18u32; +pub const SIPAEV_PLATFORM_CONFIG_FLAGS: u32 = 10u32; +pub const SIPAEV_POST_CODE: u32 = 1u32; +pub const SIPAEV_PREBOOT_CERT: u32 = 0u32; +pub const SIPAEV_SEPARATOR: u32 = 4u32; +pub const SIPAEV_S_CRTM_CONTENTS: u32 = 7u32; +pub const SIPAEV_S_CRTM_VERSION: u32 = 8u32; +pub const SIPAEV_TABLE_OF_DEVICES: u32 = 11u32; +pub const SIPAEV_TXT_BIOSAC_REG_DATA: u32 = 1034u32; +pub const SIPAEV_TXT_BOOT_POL_HASH: u32 = 1050u32; +pub const SIPAEV_TXT_BPM_HASH: u32 = 1047u32; +pub const SIPAEV_TXT_BPM_INFO_HASH: u32 = 1049u32; +pub const SIPAEV_TXT_CAP_VALUE: u32 = 1279u32; +pub const SIPAEV_TXT_COLD_BOOT_BIOS_HASH: u32 = 1045u32; +pub const SIPAEV_TXT_COMBINED_HASH: u32 = 1027u32; +pub const SIPAEV_TXT_CPU_SCRTM_STAT: u32 = 1035u32; +pub const SIPAEV_TXT_ELEMENTS_HASH: u32 = 1037u32; +pub const SIPAEV_TXT_EVENT_BASE: u32 = 1024u32; +pub const SIPAEV_TXT_HASH_START: u32 = 1026u32; +pub const SIPAEV_TXT_KM_HASH: u32 = 1046u32; +pub const SIPAEV_TXT_KM_INFO_HASH: u32 = 1048u32; +pub const SIPAEV_TXT_LCP_AUTHORITIES_HASH: u32 = 1043u32; +pub const SIPAEV_TXT_LCP_CONTROL_HASH: u32 = 1036u32; +pub const SIPAEV_TXT_LCP_DETAILS_HASH: u32 = 1042u32; +pub const SIPAEV_TXT_LCP_HASH: u32 = 1041u32; +pub const SIPAEV_TXT_MLE_HASH: u32 = 1028u32; +pub const SIPAEV_TXT_NV_INFO_HASH: u32 = 1044u32; +pub const SIPAEV_TXT_OSSINITDATA_CAP_HASH: u32 = 1039u32; +pub const SIPAEV_TXT_PCR_MAPPING: u32 = 1025u32; +pub const SIPAEV_TXT_RANDOM_VALUE: u32 = 1278u32; +pub const SIPAEV_TXT_SINIT_PUBKEY_HASH: u32 = 1040u32; +pub const SIPAEV_TXT_STM_HASH: u32 = 1038u32; +pub const SIPAEV_UNUSED: u32 = 2u32; +pub const SIPAHDRSIGNATURE: u32 = 1279476311u32; +pub const SIPAKSRHDRSIGNATURE: u32 = 1297240907u32; +pub const SIPALOGVERSION: u32 = 1u32; +pub const STATE_TIMEOUT: u32 = 4u32; +pub const TCBASE: u32 = 7500u32; +pub const TC_NONCONF_BORROW: u32 = 0u32; +pub const TC_NONCONF_BORROW_PLUS: u32 = 3u32; +pub const TC_NONCONF_DISCARD: u32 = 2u32; +pub const TC_NONCONF_SHAPE: u32 = 1u32; +pub const TC_NOTIFY_FLOW_CLOSE: u32 = 5u32; +pub const TC_NOTIFY_IFC_CHANGE: u32 = 3u32; +pub const TC_NOTIFY_IFC_CLOSE: u32 = 2u32; +pub const TC_NOTIFY_IFC_UP: u32 = 1u32; +pub const TC_NOTIFY_PARAM_CHANGED: u32 = 4u32; +pub const UNSUPPORTED_CREDENTIAL_TYPE: u32 = 2u32; +pub const WBCL_DIGEST_ALG_BITMAP_SHA3_256: u32 = 32u32; +pub const WBCL_DIGEST_ALG_BITMAP_SHA3_384: u32 = 64u32; +pub const WBCL_DIGEST_ALG_BITMAP_SHA3_512: u32 = 128u32; +pub const WBCL_DIGEST_ALG_BITMAP_SHA_1: u32 = 1u32; +pub const WBCL_DIGEST_ALG_BITMAP_SHA_2_256: u32 = 2u32; +pub const WBCL_DIGEST_ALG_BITMAP_SHA_2_384: u32 = 4u32; +pub const WBCL_DIGEST_ALG_BITMAP_SHA_2_512: u32 = 8u32; +pub const WBCL_DIGEST_ALG_BITMAP_SM3_256: u32 = 16u32; +pub const WBCL_DIGEST_ALG_ID_SHA3_256: u32 = 39u32; +pub const WBCL_DIGEST_ALG_ID_SHA3_384: u32 = 40u32; +pub const WBCL_DIGEST_ALG_ID_SHA3_512: u32 = 41u32; +pub const WBCL_DIGEST_ALG_ID_SHA_1: u32 = 4u32; +pub const WBCL_DIGEST_ALG_ID_SHA_2_256: u32 = 11u32; +pub const WBCL_DIGEST_ALG_ID_SHA_2_384: u32 = 12u32; +pub const WBCL_DIGEST_ALG_ID_SHA_2_512: u32 = 13u32; +pub const WBCL_DIGEST_ALG_ID_SM3_256: u32 = 18u32; +pub const WBCL_HASH_LEN_SHA1: u32 = 20u32; +pub const WBCL_MAX_HSP_UPGRADE_HASH_LEN: u32 = 64u32; +pub const class_ADSPEC: u32 = 13u32; +pub const class_CONFIRM: u32 = 15u32; +pub const class_ERROR_SPEC: u32 = 6u32; +pub const class_FILTER_SPEC: u32 = 10u32; +pub const class_FLOWSPEC: u32 = 9u32; +pub const class_INTEGRITY: u32 = 4u32; +pub const class_IS_FLOWSPEC: u32 = 9u32; +pub const class_MAX: u32 = 15u32; +pub const class_NULL: u32 = 0u32; +pub const class_POLICY_DATA: u32 = 14u32; +pub const class_RSVP_HOP: u32 = 3u32; +pub const class_SCOPE: u32 = 7u32; +pub const class_SENDER_TEMPLATE: u32 = 11u32; +pub const class_SENDER_TSPEC: u32 = 12u32; +pub const class_SESSION: u32 = 1u32; +pub const class_SESSION_GROUP: u32 = 2u32; +pub const class_STYLE: u32 = 8u32; +pub const class_TIME_VALUES: u32 = 5u32; +pub const ctype_ADSPEC_INTSERV: u32 = 2u32; +pub const ctype_ERROR_SPEC_ipv4: u32 = 1u32; +pub const ctype_FILTER_SPEC_ipv4: u32 = 1u32; +pub const ctype_FILTER_SPEC_ipv4GPI: u32 = 4u32; +pub const ctype_FLOWSPEC_Intserv0: u32 = 2u32; +pub const ctype_POLICY_DATA: u32 = 1u32; +pub const ctype_RSVP_HOP_ipv4: u32 = 1u32; +pub const ctype_SCOPE_list_ipv4: u32 = 1u32; +pub const ctype_SENDER_TEMPLATE_ipv4: u32 = 1u32; +pub const ctype_SENDER_TEMPLATE_ipv4GPI: u32 = 4u32; +pub const ctype_SENDER_TSPEC: u32 = 2u32; +pub const ctype_SESSION_ipv4: u32 = 1u32; +pub const ctype_SESSION_ipv4GPI: u32 = 3u32; +pub const ctype_STYLE: u32 = 1u32; +pub const ioctl_code: u32 = 1u32; +pub const mCOMPANY: u32 = 402653184u32; +pub const mIOC_IN: u32 = 2147483648u32; +pub const mIOC_OUT: u32 = 1073741824u32; +pub const mIOC_VENDOR: u32 = 67108864u32; +pub type FilterType = i32; +pub type QOS_FLOWRATE_REASON = i32; +pub type QOS_NOTIFY_FLOW = i32; +pub type QOS_QUERY_FLOW = i32; +pub type QOS_SET_FLOW = i32; +pub type QOS_SHAPING = i32; +pub type QOS_TRAFFIC_TYPE = i32; +pub type int_serv_wkp = i32; +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct ADDRESS_LIST_DESCRIPTOR { + pub MediaType: u32, + pub AddressList: super::Ndis::NETWORK_ADDRESS_LIST, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for ADDRESS_LIST_DESCRIPTOR {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for ADDRESS_LIST_DESCRIPTOR { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct ADSPEC { + pub adspec_header: RsvpObjHdr, + pub adspec_body: IS_ADSPEC_BODY, +} +impl ::core::marker::Copy for ADSPEC {} +impl ::core::clone::Clone for ADSPEC { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct AD_GENERAL_PARAMS { + pub IntServAwareHopCount: u32, + pub PathBandwidthEstimate: u32, + pub MinimumLatency: u32, + pub PathMTU: u32, + pub Flags: u32, +} +impl ::core::marker::Copy for AD_GENERAL_PARAMS {} +impl ::core::clone::Clone for AD_GENERAL_PARAMS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct AD_GUARANTEED { + pub CTotal: u32, + pub DTotal: u32, + pub CSum: u32, + pub DSum: u32, +} +impl ::core::marker::Copy for AD_GUARANTEED {} +impl ::core::clone::Clone for AD_GUARANTEED { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct CONTROL_SERVICE { + pub Length: u32, + pub Service: u32, + pub Overrides: AD_GENERAL_PARAMS, + pub Anonymous: CONTROL_SERVICE_0, +} +impl ::core::marker::Copy for CONTROL_SERVICE {} +impl ::core::clone::Clone for CONTROL_SERVICE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union CONTROL_SERVICE_0 { + pub Guaranteed: AD_GUARANTEED, + pub ParamBuffer: [PARAM_BUFFER; 1], +} +impl ::core::marker::Copy for CONTROL_SERVICE_0 {} +impl ::core::clone::Clone for CONTROL_SERVICE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct CtrlLoadFlowspec { + pub CL_spec_serv_hdr: IntServServiceHdr, + pub CL_spec_parm_hdr: IntServParmHdr, + pub CL_spec_parms: GenTspecParms, +} +impl ::core::marker::Copy for CtrlLoadFlowspec {} +impl ::core::clone::Clone for CtrlLoadFlowspec { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct ENUMERATION_BUFFER { + pub Length: u32, + pub OwnerProcessId: u32, + pub FlowNameLength: u16, + pub FlowName: [u16; 256], + pub pFlow: *mut TC_GEN_FLOW, + pub NumberOfFilters: u32, + pub GenericFilter: [TC_GEN_FILTER; 1], +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for ENUMERATION_BUFFER {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for ENUMERATION_BUFFER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct ERROR_SPEC { + pub errs_header: RsvpObjHdr, + pub errs_u: ERROR_SPEC_0, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for ERROR_SPEC {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for ERROR_SPEC { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub union ERROR_SPEC_0 { + pub errs_ipv4: Error_Spec_IPv4, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for ERROR_SPEC_0 {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for ERROR_SPEC_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct Error_Spec_IPv4 { + pub errs_errnode: super::super::Networking::WinSock::IN_ADDR, + pub errs_flags: u8, + pub errs_code: u8, + pub errs_value: u16, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for Error_Spec_IPv4 {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for Error_Spec_IPv4 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct FILTER_SPEC { + pub filt_header: RsvpObjHdr, + pub filt_u: FILTER_SPEC_0, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for FILTER_SPEC {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for FILTER_SPEC { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub union FILTER_SPEC_0 { + pub filt_ipv4: Filter_Spec_IPv4, + pub filt_ipv4gpi: Filter_Spec_IPv4GPI, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for FILTER_SPEC_0 {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for FILTER_SPEC_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct FLOWDESCRIPTOR { + pub FlowSpec: super::super::Networking::WinSock::FLOWSPEC, + pub NumFilters: u32, + pub FilterList: *mut RSVP_FILTERSPEC, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for FLOWDESCRIPTOR {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for FLOWDESCRIPTOR { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct FLOW_DESC { + pub u1: FLOW_DESC_0, + pub u2: FLOW_DESC_1, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for FLOW_DESC {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for FLOW_DESC { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub union FLOW_DESC_0 { + pub stspec: *mut SENDER_TSPEC, + pub isflow: *mut IS_FLOWSPEC, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for FLOW_DESC_0 {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for FLOW_DESC_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub union FLOW_DESC_1 { + pub stemp: *mut FILTER_SPEC, + pub fspec: *mut FILTER_SPEC, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for FLOW_DESC_1 {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for FLOW_DESC_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct Filter_Spec_IPv4 { + pub filt_ipaddr: super::super::Networking::WinSock::IN_ADDR, + pub filt_unused: u16, + pub filt_port: u16, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for Filter_Spec_IPv4 {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for Filter_Spec_IPv4 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct Filter_Spec_IPv4GPI { + pub filt_ipaddr: super::super::Networking::WinSock::IN_ADDR, + pub filt_gpi: u32, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for Filter_Spec_IPv4GPI {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for Filter_Spec_IPv4GPI { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct Gads_parms_t { + pub Gads_serv_hdr: IntServServiceHdr, + pub Gads_Ctot_hdr: IntServParmHdr, + pub Gads_Ctot: u32, + pub Gads_Dtot_hdr: IntServParmHdr, + pub Gads_Dtot: u32, + pub Gads_Csum_hdr: IntServParmHdr, + pub Gads_Csum: u32, + pub Gads_Dsum_hdr: IntServParmHdr, + pub Gads_Dsum: u32, +} +impl ::core::marker::Copy for Gads_parms_t {} +impl ::core::clone::Clone for Gads_parms_t { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct GenAdspecParams { + pub gen_parm_hdr: IntServServiceHdr, + pub gen_parm_hopcnt_hdr: IntServParmHdr, + pub gen_parm_hopcnt: u32, + pub gen_parm_pathbw_hdr: IntServParmHdr, + pub gen_parm_path_bw: f32, + pub gen_parm_minlat_hdr: IntServParmHdr, + pub gen_parm_min_latency: u32, + pub gen_parm_compmtu_hdr: IntServParmHdr, + pub gen_parm_composed_MTU: u32, +} +impl ::core::marker::Copy for GenAdspecParams {} +impl ::core::clone::Clone for GenAdspecParams { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct GenTspec { + pub gen_Tspec_serv_hdr: IntServServiceHdr, + pub gen_Tspec_parm_hdr: IntServParmHdr, + pub gen_Tspec_parms: GenTspecParms, +} +impl ::core::marker::Copy for GenTspec {} +impl ::core::clone::Clone for GenTspec { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct GenTspecParms { + pub TB_Tspec_r: f32, + pub TB_Tspec_b: f32, + pub TB_Tspec_p: f32, + pub TB_Tspec_m: u32, + pub TB_Tspec_M: u32, +} +impl ::core::marker::Copy for GenTspecParms {} +impl ::core::clone::Clone for GenTspecParms { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct GuarFlowSpec { + pub Guar_serv_hdr: IntServServiceHdr, + pub Guar_Tspec_hdr: IntServParmHdr, + pub Guar_Tspec_parms: GenTspecParms, + pub Guar_Rspec_hdr: IntServParmHdr, + pub Guar_Rspec: GuarRspec, +} +impl ::core::marker::Copy for GuarFlowSpec {} +impl ::core::clone::Clone for GuarFlowSpec { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct GuarRspec { + pub Guar_R: f32, + pub Guar_S: u32, +} +impl ::core::marker::Copy for GuarRspec {} +impl ::core::clone::Clone for GuarRspec { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +pub struct HSP_UPGRADE_IMAGEDATA { + pub hashAlgID: u16, + pub digestSize: u16, + pub digest: [u8; 64], + pub fileName: [u16; 64], +} +impl ::core::marker::Copy for HSP_UPGRADE_IMAGEDATA {} +impl ::core::clone::Clone for HSP_UPGRADE_IMAGEDATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IDPE_ATTR { + pub PeAttribLength: u16, + pub PeAttribType: u8, + pub PeAttribSubType: u8, + pub PeAttribValue: [u8; 4], +} +impl ::core::marker::Copy for IDPE_ATTR {} +impl ::core::clone::Clone for IDPE_ATTR { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct ID_ERROR_OBJECT { + pub usIdErrLength: u16, + pub ucAType: u8, + pub ucSubType: u8, + pub usReserved: u16, + pub usIdErrorValue: u16, + pub ucIdErrData: [u8; 4], +} +impl ::core::marker::Copy for ID_ERROR_OBJECT {} +impl ::core::clone::Clone for ID_ERROR_OBJECT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IN_ADDR_IPV4 { + pub Addr: u32, + pub AddrBytes: [u8; 4], +} +impl ::core::marker::Copy for IN_ADDR_IPV4 {} +impl ::core::clone::Clone for IN_ADDR_IPV4 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IN_ADDR_IPV6 { + pub Addr: [u8; 16], +} +impl ::core::marker::Copy for IN_ADDR_IPV6 {} +impl ::core::clone::Clone for IN_ADDR_IPV6 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPX_PATTERN { + pub Src: IPX_PATTERN_0, + pub Dest: IPX_PATTERN_0, +} +impl ::core::marker::Copy for IPX_PATTERN {} +impl ::core::clone::Clone for IPX_PATTERN { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPX_PATTERN_0 { + pub NetworkAddress: u32, + pub NodeAddress: [u8; 6], + pub Socket: u16, +} +impl ::core::marker::Copy for IPX_PATTERN_0 {} +impl ::core::clone::Clone for IPX_PATTERN_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IP_PATTERN { + pub Reserved1: u32, + pub Reserved2: u32, + pub SrcAddr: u32, + pub DstAddr: u32, + pub S_un: IP_PATTERN_0, + pub ProtocolId: u8, + pub Reserved3: [u8; 3], +} +impl ::core::marker::Copy for IP_PATTERN {} +impl ::core::clone::Clone for IP_PATTERN { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IP_PATTERN_0 { + pub S_un_ports: IP_PATTERN_0_1, + pub S_un_icmp: IP_PATTERN_0_0, + pub S_Spi: u32, +} +impl ::core::marker::Copy for IP_PATTERN_0 {} +impl ::core::clone::Clone for IP_PATTERN_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IP_PATTERN_0_0 { + pub s_type: u8, + pub s_code: u8, + pub filler: u16, +} +impl ::core::marker::Copy for IP_PATTERN_0_0 {} +impl ::core::clone::Clone for IP_PATTERN_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IP_PATTERN_0_1 { + pub s_srcport: u16, + pub s_dstport: u16, +} +impl ::core::marker::Copy for IP_PATTERN_0_1 {} +impl ::core::clone::Clone for IP_PATTERN_0_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IS_ADSPEC_BODY { + pub adspec_mh: IntServMainHdr, + pub adspec_genparms: GenAdspecParams, +} +impl ::core::marker::Copy for IS_ADSPEC_BODY {} +impl ::core::clone::Clone for IS_ADSPEC_BODY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IS_FLOWSPEC { + pub flow_header: RsvpObjHdr, + pub flow_body: IntServFlowSpec, +} +impl ::core::marker::Copy for IS_FLOWSPEC {} +impl ::core::clone::Clone for IS_FLOWSPEC { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IntServFlowSpec { + pub spec_mh: IntServMainHdr, + pub spec_u: IntServFlowSpec_0, +} +impl ::core::marker::Copy for IntServFlowSpec {} +impl ::core::clone::Clone for IntServFlowSpec { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IntServFlowSpec_0 { + pub CL_spec: CtrlLoadFlowspec, + pub G_spec: GuarFlowSpec, + pub Q_spec: QualAppFlowSpec, +} +impl ::core::marker::Copy for IntServFlowSpec_0 {} +impl ::core::clone::Clone for IntServFlowSpec_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IntServMainHdr { + pub ismh_version: u8, + pub ismh_unused: u8, + pub ismh_len32b: u16, +} +impl ::core::marker::Copy for IntServMainHdr {} +impl ::core::clone::Clone for IntServMainHdr { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IntServParmHdr { + pub isph_parm_num: u8, + pub isph_flags: u8, + pub isph_len32b: u16, +} +impl ::core::marker::Copy for IntServParmHdr {} +impl ::core::clone::Clone for IntServParmHdr { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IntServServiceHdr { + pub issh_service: u8, + pub issh_flags: u8, + pub issh_len32b: u16, +} +impl ::core::marker::Copy for IntServServiceHdr {} +impl ::core::clone::Clone for IntServServiceHdr { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IntServTspecBody { + pub st_mh: IntServMainHdr, + pub tspec_u: IntServTspecBody_0, +} +impl ::core::marker::Copy for IntServTspecBody {} +impl ::core::clone::Clone for IntServTspecBody { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IntServTspecBody_0 { + pub gen_stspec: GenTspec, + pub qual_stspec: QualTspec, +} +impl ::core::marker::Copy for IntServTspecBody_0 {} +impl ::core::clone::Clone for IntServTspecBody_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct LPMIPTABLE { + pub ulIfIndex: u32, + pub MediaType: u32, + pub IfIpAddr: super::super::Networking::WinSock::IN_ADDR, + pub IfNetMask: super::super::Networking::WinSock::IN_ADDR, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for LPMIPTABLE {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for LPMIPTABLE { + fn clone(&self) -> Self { + *self + } +} +pub type LPM_HANDLE = isize; +#[repr(C)] +pub struct LPM_INIT_INFO { + pub PcmVersionNumber: u32, + pub ResultTimeLimit: u32, + pub ConfiguredLpmCount: i32, + pub AllocMemory: PALLOCMEM, + pub FreeMemory: PFREEMEM, + pub PcmAdmitResultCallback: CBADMITRESULT, + pub GetRsvpObjectsCallback: CBGETRSVPOBJECTS, +} +impl ::core::marker::Copy for LPM_INIT_INFO {} +impl ::core::clone::Clone for LPM_INIT_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PARAM_BUFFER { + pub ParameterId: u32, + pub Length: u32, + pub Buffer: [u8; 1], +} +impl ::core::marker::Copy for PARAM_BUFFER {} +impl ::core::clone::Clone for PARAM_BUFFER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct POLICY_DATA { + pub PolicyObjHdr: RsvpObjHdr, + pub usPeOffset: u16, + pub usReserved: u16, +} +impl ::core::marker::Copy for POLICY_DATA {} +impl ::core::clone::Clone for POLICY_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct POLICY_DECISION { + pub lpvResult: u32, + pub wPolicyErrCode: u16, + pub wPolicyErrValue: u16, +} +impl ::core::marker::Copy for POLICY_DECISION {} +impl ::core::clone::Clone for POLICY_DECISION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct POLICY_ELEMENT { + pub usPeLength: u16, + pub usPeType: u16, + pub ucPeData: [u8; 4], +} +impl ::core::marker::Copy for POLICY_ELEMENT {} +impl ::core::clone::Clone for POLICY_ELEMENT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct QOS_DESTADDR { + pub ObjectHdr: QOS_OBJECT_HDR, + pub SocketAddress: *const super::super::Networking::WinSock::SOCKADDR, + pub SocketAddressLength: u32, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for QOS_DESTADDR {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for QOS_DESTADDR { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct QOS_DIFFSERV { + pub ObjectHdr: QOS_OBJECT_HDR, + pub DSFieldCount: u32, + pub DiffservRule: [u8; 1], +} +impl ::core::marker::Copy for QOS_DIFFSERV {} +impl ::core::clone::Clone for QOS_DIFFSERV { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct QOS_DIFFSERV_RULE { + pub InboundDSField: u8, + pub ConformingOutboundDSField: u8, + pub NonConformingOutboundDSField: u8, + pub ConformingUserPriority: u8, + pub NonConformingUserPriority: u8, +} +impl ::core::marker::Copy for QOS_DIFFSERV_RULE {} +impl ::core::clone::Clone for QOS_DIFFSERV_RULE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct QOS_DS_CLASS { + pub ObjectHdr: QOS_OBJECT_HDR, + pub DSField: u32, +} +impl ::core::marker::Copy for QOS_DS_CLASS {} +impl ::core::clone::Clone for QOS_DS_CLASS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct QOS_FLOWRATE_OUTGOING { + pub Bandwidth: u64, + pub ShapingBehavior: QOS_SHAPING, + pub Reason: QOS_FLOWRATE_REASON, +} +impl ::core::marker::Copy for QOS_FLOWRATE_OUTGOING {} +impl ::core::clone::Clone for QOS_FLOWRATE_OUTGOING { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct QOS_FLOW_FUNDAMENTALS { + pub BottleneckBandwidthSet: super::super::Foundation::BOOL, + pub BottleneckBandwidth: u64, + pub AvailableBandwidthSet: super::super::Foundation::BOOL, + pub AvailableBandwidth: u64, + pub RTTSet: super::super::Foundation::BOOL, + pub RTT: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for QOS_FLOW_FUNDAMENTALS {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for QOS_FLOW_FUNDAMENTALS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct QOS_FRIENDLY_NAME { + pub ObjectHdr: QOS_OBJECT_HDR, + pub FriendlyName: [u16; 256], +} +impl ::core::marker::Copy for QOS_FRIENDLY_NAME {} +impl ::core::clone::Clone for QOS_FRIENDLY_NAME { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct QOS_OBJECT_HDR { + pub ObjectType: u32, + pub ObjectLength: u32, +} +impl ::core::marker::Copy for QOS_OBJECT_HDR {} +impl ::core::clone::Clone for QOS_OBJECT_HDR { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct QOS_PACKET_PRIORITY { + pub ConformantDSCPValue: u32, + pub NonConformantDSCPValue: u32, + pub ConformantL2Value: u32, + pub NonConformantL2Value: u32, +} +impl ::core::marker::Copy for QOS_PACKET_PRIORITY {} +impl ::core::clone::Clone for QOS_PACKET_PRIORITY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct QOS_SD_MODE { + pub ObjectHdr: QOS_OBJECT_HDR, + pub ShapeDiscardMode: u32, +} +impl ::core::marker::Copy for QOS_SD_MODE {} +impl ::core::clone::Clone for QOS_SD_MODE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct QOS_SHAPING_RATE { + pub ObjectHdr: QOS_OBJECT_HDR, + pub ShapingRate: u32, +} +impl ::core::marker::Copy for QOS_SHAPING_RATE {} +impl ::core::clone::Clone for QOS_SHAPING_RATE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct QOS_TCP_TRAFFIC { + pub ObjectHdr: QOS_OBJECT_HDR, +} +impl ::core::marker::Copy for QOS_TCP_TRAFFIC {} +impl ::core::clone::Clone for QOS_TCP_TRAFFIC { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct QOS_TRAFFIC_CLASS { + pub ObjectHdr: QOS_OBJECT_HDR, + pub TrafficClass: u32, +} +impl ::core::marker::Copy for QOS_TRAFFIC_CLASS {} +impl ::core::clone::Clone for QOS_TRAFFIC_CLASS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct QOS_VERSION { + pub MajorVersion: u16, + pub MinorVersion: u16, +} +impl ::core::marker::Copy for QOS_VERSION {} +impl ::core::clone::Clone for QOS_VERSION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct QualAppFlowSpec { + pub Q_spec_serv_hdr: IntServServiceHdr, + pub Q_spec_parm_hdr: IntServParmHdr, + pub Q_spec_parms: QualTspecParms, +} +impl ::core::marker::Copy for QualAppFlowSpec {} +impl ::core::clone::Clone for QualAppFlowSpec { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct QualTspec { + pub qual_Tspec_serv_hdr: IntServServiceHdr, + pub qual_Tspec_parm_hdr: IntServParmHdr, + pub qual_Tspec_parms: QualTspecParms, +} +impl ::core::marker::Copy for QualTspec {} +impl ::core::clone::Clone for QualTspec { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct QualTspecParms { + pub TB_Tspec_M: u32, +} +impl ::core::marker::Copy for QualTspecParms {} +impl ::core::clone::Clone for QualTspecParms { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RESV_STYLE { + pub style_header: RsvpObjHdr, + pub style_word: u32, +} +impl ::core::marker::Copy for RESV_STYLE {} +impl ::core::clone::Clone for RESV_STYLE { + fn clone(&self) -> Self { + *self + } +} +pub type RHANDLE = isize; +#[repr(C)] +pub struct RSVP_ADSPEC { + pub ObjectHdr: QOS_OBJECT_HDR, + pub GeneralParams: AD_GENERAL_PARAMS, + pub NumberOfServices: u32, + pub Services: [CONTROL_SERVICE; 1], +} +impl ::core::marker::Copy for RSVP_ADSPEC {} +impl ::core::clone::Clone for RSVP_ADSPEC { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RSVP_FILTERSPEC { + pub Type: FilterType, + pub Anonymous: RSVP_FILTERSPEC_0, +} +impl ::core::marker::Copy for RSVP_FILTERSPEC {} +impl ::core::clone::Clone for RSVP_FILTERSPEC { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union RSVP_FILTERSPEC_0 { + pub FilterSpecV4: RSVP_FILTERSPEC_V4, + pub FilterSpecV6: RSVP_FILTERSPEC_V6, + pub FilterSpecV6Flow: RSVP_FILTERSPEC_V6_FLOW, + pub FilterSpecV4Gpi: RSVP_FILTERSPEC_V4_GPI, + pub FilterSpecV6Gpi: RSVP_FILTERSPEC_V6_GPI, +} +impl ::core::marker::Copy for RSVP_FILTERSPEC_0 {} +impl ::core::clone::Clone for RSVP_FILTERSPEC_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RSVP_FILTERSPEC_V4 { + pub Address: IN_ADDR_IPV4, + pub Unused: u16, + pub Port: u16, +} +impl ::core::marker::Copy for RSVP_FILTERSPEC_V4 {} +impl ::core::clone::Clone for RSVP_FILTERSPEC_V4 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RSVP_FILTERSPEC_V4_GPI { + pub Address: IN_ADDR_IPV4, + pub GeneralPortId: u32, +} +impl ::core::marker::Copy for RSVP_FILTERSPEC_V4_GPI {} +impl ::core::clone::Clone for RSVP_FILTERSPEC_V4_GPI { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RSVP_FILTERSPEC_V6 { + pub Address: IN_ADDR_IPV6, + pub UnUsed: u16, + pub Port: u16, +} +impl ::core::marker::Copy for RSVP_FILTERSPEC_V6 {} +impl ::core::clone::Clone for RSVP_FILTERSPEC_V6 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RSVP_FILTERSPEC_V6_FLOW { + pub Address: IN_ADDR_IPV6, + pub UnUsed: u8, + pub FlowLabel: [u8; 3], +} +impl ::core::marker::Copy for RSVP_FILTERSPEC_V6_FLOW {} +impl ::core::clone::Clone for RSVP_FILTERSPEC_V6_FLOW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RSVP_FILTERSPEC_V6_GPI { + pub Address: IN_ADDR_IPV6, + pub GeneralPortId: u32, +} +impl ::core::marker::Copy for RSVP_FILTERSPEC_V6_GPI {} +impl ::core::clone::Clone for RSVP_FILTERSPEC_V6_GPI { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct RSVP_HOP { + pub hop_header: RsvpObjHdr, + pub hop_u: RSVP_HOP_0, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for RSVP_HOP {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for RSVP_HOP { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub union RSVP_HOP_0 { + pub hop_ipv4: Rsvp_Hop_IPv4, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for RSVP_HOP_0 {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for RSVP_HOP_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct RSVP_MSG_OBJS { + pub RsvpMsgType: i32, + pub pRsvpSession: *mut RSVP_SESSION, + pub pRsvpFromHop: *mut RSVP_HOP, + pub pRsvpToHop: *mut RSVP_HOP, + pub pResvStyle: *mut RESV_STYLE, + pub pRsvpScope: *mut RSVP_SCOPE, + pub FlowDescCount: i32, + pub pFlowDescs: *mut FLOW_DESC, + pub PdObjectCount: i32, + pub ppPdObjects: *mut *mut POLICY_DATA, + pub pErrorSpec: *mut ERROR_SPEC, + pub pAdspec: *mut ADSPEC, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for RSVP_MSG_OBJS {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for RSVP_MSG_OBJS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RSVP_POLICY { + pub Len: u16, + pub Type: u16, + pub Info: [u8; 4], +} +impl ::core::marker::Copy for RSVP_POLICY {} +impl ::core::clone::Clone for RSVP_POLICY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RSVP_POLICY_INFO { + pub ObjectHdr: QOS_OBJECT_HDR, + pub NumPolicyElement: u32, + pub PolicyElement: [RSVP_POLICY; 1], +} +impl ::core::marker::Copy for RSVP_POLICY_INFO {} +impl ::core::clone::Clone for RSVP_POLICY_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct RSVP_RESERVE_INFO { + pub ObjectHdr: QOS_OBJECT_HDR, + pub Style: u32, + pub ConfirmRequest: u32, + pub PolicyElementList: *mut RSVP_POLICY_INFO, + pub NumFlowDesc: u32, + pub FlowDescList: *mut FLOWDESCRIPTOR, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for RSVP_RESERVE_INFO {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for RSVP_RESERVE_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct RSVP_SCOPE { + pub scopl_header: RsvpObjHdr, + pub scope_u: RSVP_SCOPE_0, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for RSVP_SCOPE {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for RSVP_SCOPE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub union RSVP_SCOPE_0 { + pub scopl_ipv4: Scope_list_ipv4, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for RSVP_SCOPE_0 {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for RSVP_SCOPE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct RSVP_SESSION { + pub sess_header: RsvpObjHdr, + pub sess_u: RSVP_SESSION_0, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for RSVP_SESSION {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for RSVP_SESSION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub union RSVP_SESSION_0 { + pub sess_ipv4: Session_IPv4, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for RSVP_SESSION_0 {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for RSVP_SESSION_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RSVP_STATUS_INFO { + pub ObjectHdr: QOS_OBJECT_HDR, + pub StatusCode: u32, + pub ExtendedStatus1: u32, + pub ExtendedStatus2: u32, +} +impl ::core::marker::Copy for RSVP_STATUS_INFO {} +impl ::core::clone::Clone for RSVP_STATUS_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RsvpObjHdr { + pub obj_length: u16, + pub obj_class: u8, + pub obj_ctype: u8, +} +impl ::core::marker::Copy for RsvpObjHdr {} +impl ::core::clone::Clone for RsvpObjHdr { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct Rsvp_Hop_IPv4 { + pub hop_ipaddr: super::super::Networking::WinSock::IN_ADDR, + pub hop_LIH: u32, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for Rsvp_Hop_IPv4 {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for Rsvp_Hop_IPv4 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SENDER_TSPEC { + pub stspec_header: RsvpObjHdr, + pub stspec_body: IntServTspecBody, +} +impl ::core::marker::Copy for SENDER_TSPEC {} +impl ::core::clone::Clone for SENDER_TSPEC { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +pub struct SIPAEVENT_KSR_SIGNATURE_PAYLOAD { + pub SignAlgID: u32, + pub SignatureLength: u32, + pub Signature: [u8; 1], +} +impl ::core::marker::Copy for SIPAEVENT_KSR_SIGNATURE_PAYLOAD {} +impl ::core::clone::Clone for SIPAEVENT_KSR_SIGNATURE_PAYLOAD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +pub struct SIPAEVENT_REVOCATION_LIST_PAYLOAD { + pub CreationTime: i64, + pub DigestLength: u32, + pub HashAlgID: u16, + pub Digest: [u8; 1], +} +impl ::core::marker::Copy for SIPAEVENT_REVOCATION_LIST_PAYLOAD {} +impl ::core::clone::Clone for SIPAEVENT_REVOCATION_LIST_PAYLOAD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +pub struct SIPAEVENT_SBCP_INFO_PAYLOAD_V1 { + pub PayloadVersion: u32, + pub VarDataOffset: u32, + pub HashAlgID: u16, + pub DigestLength: u16, + pub Options: u32, + pub SignersCount: u32, + pub VarData: [u8; 1], +} +impl ::core::marker::Copy for SIPAEVENT_SBCP_INFO_PAYLOAD_V1 {} +impl ::core::clone::Clone for SIPAEVENT_SBCP_INFO_PAYLOAD_V1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +pub struct SIPAEVENT_SI_POLICY_PAYLOAD { + pub PolicyVersion: u64, + pub PolicyNameLength: u16, + pub HashAlgID: u16, + pub DigestLength: u32, + pub VarLengthData: [u8; 1], +} +impl ::core::marker::Copy for SIPAEVENT_SI_POLICY_PAYLOAD {} +impl ::core::clone::Clone for SIPAEVENT_SI_POLICY_PAYLOAD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +pub struct SIPAEVENT_VSM_IDK_INFO_PAYLOAD { + pub KeyAlgID: u32, + pub Anonymous: SIPAEVENT_VSM_IDK_INFO_PAYLOAD_0, +} +impl ::core::marker::Copy for SIPAEVENT_VSM_IDK_INFO_PAYLOAD {} +impl ::core::clone::Clone for SIPAEVENT_VSM_IDK_INFO_PAYLOAD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union SIPAEVENT_VSM_IDK_INFO_PAYLOAD_0 { + pub RsaKeyInfo: SIPAEVENT_VSM_IDK_RSA_INFO, +} +impl ::core::marker::Copy for SIPAEVENT_VSM_IDK_INFO_PAYLOAD_0 {} +impl ::core::clone::Clone for SIPAEVENT_VSM_IDK_INFO_PAYLOAD_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +pub struct SIPAEVENT_VSM_IDK_RSA_INFO { + pub KeyBitLength: u32, + pub PublicExpLengthBytes: u32, + pub ModulusSizeBytes: u32, + pub PublicKeyData: [u8; 1], +} +impl ::core::marker::Copy for SIPAEVENT_VSM_IDK_RSA_INFO {} +impl ::core::clone::Clone for SIPAEVENT_VSM_IDK_RSA_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct Scope_list_ipv4 { + pub scopl_ipaddr: [super::super::Networking::WinSock::IN_ADDR; 1], +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for Scope_list_ipv4 {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for Scope_list_ipv4 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct Session_IPv4 { + pub sess_destaddr: super::super::Networking::WinSock::IN_ADDR, + pub sess_protid: u8, + pub sess_flags: u8, + pub sess_destport: u16, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for Session_IPv4 {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for Session_IPv4 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +pub struct TCG_PCClientPCREventStruct { + pub pcrIndex: u32, + pub eventType: u32, + pub digest: [u8; 20], + pub eventDataSize: u32, + pub event: [u8; 1], +} +impl ::core::marker::Copy for TCG_PCClientPCREventStruct {} +impl ::core::clone::Clone for TCG_PCClientPCREventStruct { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +pub struct TCG_PCClientTaggedEventStruct { + pub EventID: u32, + pub EventDataSize: u32, + pub EventData: [u8; 1], +} +impl ::core::marker::Copy for TCG_PCClientTaggedEventStruct {} +impl ::core::clone::Clone for TCG_PCClientTaggedEventStruct { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct TCI_CLIENT_FUNC_LIST { + pub ClNotifyHandler: TCI_NOTIFY_HANDLER, + pub ClAddFlowCompleteHandler: TCI_ADD_FLOW_COMPLETE_HANDLER, + pub ClModifyFlowCompleteHandler: TCI_MOD_FLOW_COMPLETE_HANDLER, + pub ClDeleteFlowCompleteHandler: TCI_DEL_FLOW_COMPLETE_HANDLER, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for TCI_CLIENT_FUNC_LIST {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for TCI_CLIENT_FUNC_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct TC_GEN_FILTER { + pub AddressType: u16, + pub PatternSize: u32, + pub Pattern: *mut ::core::ffi::c_void, + pub Mask: *mut ::core::ffi::c_void, +} +impl ::core::marker::Copy for TC_GEN_FILTER {} +impl ::core::clone::Clone for TC_GEN_FILTER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct TC_GEN_FLOW { + pub SendingFlowspec: super::super::Networking::WinSock::FLOWSPEC, + pub ReceivingFlowspec: super::super::Networking::WinSock::FLOWSPEC, + pub TcObjectsLength: u32, + pub TcObjects: [QOS_OBJECT_HDR; 1], +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for TC_GEN_FLOW {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for TC_GEN_FLOW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct TC_IFC_DESCRIPTOR { + pub Length: u32, + pub pInterfaceName: ::windows_sys::core::PWSTR, + pub pInterfaceID: ::windows_sys::core::PWSTR, + pub AddressListDesc: ADDRESS_LIST_DESCRIPTOR, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for TC_IFC_DESCRIPTOR {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for TC_IFC_DESCRIPTOR { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct TC_SUPPORTED_INFO_BUFFER { + pub InstanceIDLength: u16, + pub InstanceID: [u16; 256], + pub InterfaceLuid: u64, + pub AddrListDesc: ADDRESS_LIST_DESCRIPTOR, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for TC_SUPPORTED_INFO_BUFFER {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for TC_SUPPORTED_INFO_BUFFER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +pub struct WBCL_Iterator { + pub firstElementPtr: *mut ::core::ffi::c_void, + pub logSize: u32, + pub currentElementPtr: *mut ::core::ffi::c_void, + pub currentElementSize: u32, + pub digestSize: u16, + pub logFormat: u16, + pub numberOfDigests: u32, + pub digestSizes: *mut ::core::ffi::c_void, + pub supportedAlgorithms: u32, + pub hashAlgorithm: u16, +} +impl ::core::marker::Copy for WBCL_Iterator {} +impl ::core::clone::Clone for WBCL_Iterator { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +pub struct WBCL_LogHdr { + pub signature: u32, + pub version: u32, + pub entries: u32, + pub length: u32, +} +impl ::core::marker::Copy for WBCL_LogHdr {} +impl ::core::clone::Clone for WBCL_LogHdr { + fn clone(&self) -> Self { + *self + } +} +pub type CBADMITRESULT = ::core::option::Option<unsafe extern "system" fn(lpmhandle: LPM_HANDLE, requesthandle: RHANDLE, ulpcmactionflags: u32, lpmerror: i32, policydecisionscount: i32, ppolicydecisions: *mut POLICY_DECISION) -> *mut u32>; +pub type CBGETRSVPOBJECTS = ::core::option::Option<unsafe extern "system" fn(lpmhandle: LPM_HANDLE, requesthandle: RHANDLE, lpmerror: i32, rsvpobjectscount: i32, pprsvpobjects: *mut *mut RsvpObjHdr) -> *mut u32>; +pub type PALLOCMEM = ::core::option::Option<unsafe extern "system" fn(size: u32) -> *mut ::core::ffi::c_void>; +pub type PFREEMEM = ::core::option::Option<unsafe extern "system" fn(pv: *mut ::core::ffi::c_void) -> ()>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type TCI_ADD_FLOW_COMPLETE_HANDLER = ::core::option::Option<unsafe extern "system" fn(clflowctx: super::super::Foundation::HANDLE, status: u32) -> ()>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type TCI_DEL_FLOW_COMPLETE_HANDLER = ::core::option::Option<unsafe extern "system" fn(clflowctx: super::super::Foundation::HANDLE, status: u32) -> ()>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type TCI_MOD_FLOW_COMPLETE_HANDLER = ::core::option::Option<unsafe extern "system" fn(clflowctx: super::super::Foundation::HANDLE, status: u32) -> ()>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type TCI_NOTIFY_HANDLER = ::core::option::Option<unsafe extern "system" fn(clregctx: super::super::Foundation::HANDLE, clifcctx: super::super::Foundation::HANDLE, event: u32, subcode: super::super::Foundation::HANDLE, bufsize: u32, buffer: *const ::core::ffi::c_void) -> ()>; diff --git a/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Rras/mod.rs b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Rras/mod.rs new file mode 100644 index 0000000..fd8be5c --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Rras/mod.rs @@ -0,0 +1,4524 @@ +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MgmAddGroupMembershipEntry(hprotocol : super::super::Foundation:: HANDLE, dwsourceaddr : u32, dwsourcemask : u32, dwgroupaddr : u32, dwgroupmask : u32, dwifindex : u32, dwifnexthopipaddr : u32, dwflags : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MgmDeRegisterMProtocol(hprotocol : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MgmDeleteGroupMembershipEntry(hprotocol : super::super::Foundation:: HANDLE, dwsourceaddr : u32, dwsourcemask : u32, dwgroupaddr : u32, dwgroupmask : u32, dwifindex : u32, dwifnexthopipaddr : u32, dwflags : u32) -> u32); +::windows_targets::link!("rtm.dll" "system" fn MgmGetFirstMfe(pdwbuffersize : *mut u32, pbbuffer : *mut u8, pdwnumentries : *mut u32) -> u32); +::windows_targets::link!("rtm.dll" "system" fn MgmGetFirstMfeStats(pdwbuffersize : *mut u32, pbbuffer : *mut u8, pdwnumentries : *mut u32, dwflags : u32) -> u32); +#[cfg(feature = "Win32_NetworkManagement_IpHelper")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_NetworkManagement_IpHelper\"`"] fn MgmGetMfe(pimm : *mut super::IpHelper:: MIB_IPMCAST_MFE, pdwbuffersize : *mut u32, pbbuffer : *mut u8) -> u32); +#[cfg(feature = "Win32_NetworkManagement_IpHelper")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_NetworkManagement_IpHelper\"`"] fn MgmGetMfeStats(pimm : *mut super::IpHelper:: MIB_IPMCAST_MFE, pdwbuffersize : *mut u32, pbbuffer : *mut u8, dwflags : u32) -> u32); +#[cfg(feature = "Win32_NetworkManagement_IpHelper")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_NetworkManagement_IpHelper\"`"] fn MgmGetNextMfe(pimmstart : *mut super::IpHelper:: MIB_IPMCAST_MFE, pdwbuffersize : *mut u32, pbbuffer : *mut u8, pdwnumentries : *mut u32) -> u32); +#[cfg(feature = "Win32_NetworkManagement_IpHelper")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_NetworkManagement_IpHelper\"`"] fn MgmGetNextMfeStats(pimmstart : *mut super::IpHelper:: MIB_IPMCAST_MFE, pdwbuffersize : *mut u32, pbbuffer : *mut u8, pdwnumentries : *mut u32, dwflags : u32) -> u32); +::windows_targets::link!("rtm.dll" "system" fn MgmGetProtocolOnInterface(dwifindex : u32, dwifnexthopaddr : u32, pdwifprotocolid : *mut u32, pdwifcomponentid : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MgmGroupEnumerationEnd(henum : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MgmGroupEnumerationGetNext(henum : super::super::Foundation:: HANDLE, pdwbuffersize : *mut u32, pbbuffer : *mut u8, pdwnumentries : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MgmGroupEnumerationStart(hprotocol : super::super::Foundation:: HANDLE, metenumtype : MGM_ENUM_TYPES, phenumhandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MgmRegisterMProtocol(prpiinfo : *mut ROUTING_PROTOCOL_CONFIG, dwprotocolid : u32, dwcomponentid : u32, phprotocol : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MgmReleaseInterfaceOwnership(hprotocol : super::super::Foundation:: HANDLE, dwifindex : u32, dwifnexthopaddr : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MgmTakeInterfaceOwnership(hprotocol : super::super::Foundation:: HANDLE, dwifindex : u32, dwifnexthopaddr : u32) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprAdminBufferFree(pbuffer : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminConnectionClearStats(hrasserver : isize, hrasconnection : super::super::Foundation:: HANDLE) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprAdminConnectionEnum(hrasserver : isize, dwlevel : u32, lplpbbuffer : *mut *mut u8, dwprefmaxlen : u32, lpdwentriesread : *mut u32, lpdwtotalentries : *mut u32, lpdwresumehandle : *const u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminConnectionEnumEx(hrasserver : isize, pobjectheader : *const MPRAPI_OBJECT_HEADER, dwpreferedmaxlen : u32, lpdwentriesread : *mut u32, lpdwtotalentries : *mut u32, pprasconn : *mut *mut RAS_CONNECTION_EX, lpdwresumehandle : *const u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminConnectionGetInfo(hrasserver : isize, dwlevel : u32, hrasconnection : super::super::Foundation:: HANDLE, lplpbbuffer : *mut *mut u8) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminConnectionGetInfoEx(hrasserver : isize, hrasconnection : super::super::Foundation:: HANDLE, prasconnection : *mut RAS_CONNECTION_EX) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminConnectionRemoveQuarantine(hrasserver : super::super::Foundation:: HANDLE, hrasconnection : super::super::Foundation:: HANDLE, fisipaddress : super::super::Foundation:: BOOL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminDeregisterConnectionNotification(hmprserver : isize, heventnotification : super::super::Foundation:: HANDLE) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprAdminDeviceEnum(hmprserver : isize, dwlevel : u32, lplpbbuffer : *mut *mut u8, lpdwtotalentries : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminEstablishDomainRasServer(pszdomain : ::windows_sys::core::PCWSTR, pszmachine : ::windows_sys::core::PCWSTR, benable : super::super::Foundation:: BOOL) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprAdminGetErrorString(dwerror : u32, lplpwserrorstring : *mut ::windows_sys::core::PWSTR) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprAdminGetPDCServer(lpszdomain : ::windows_sys::core::PCWSTR, lpszserver : ::windows_sys::core::PCWSTR, lpszpdcserver : ::windows_sys::core::PWSTR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceConnect(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, hevent : super::super::Foundation:: HANDLE, fsynchronous : super::super::Foundation:: BOOL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceCreate(hmprserver : isize, dwlevel : u32, lpbbuffer : *const u8, phinterface : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceDelete(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceDeviceGetInfo(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, dwindex : u32, dwlevel : u32, lplpbuffer : *mut *mut u8) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceDeviceSetInfo(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, dwindex : u32, dwlevel : u32, lpbbuffer : *const u8) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceDisconnect(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprAdminInterfaceEnum(hmprserver : isize, dwlevel : u32, lplpbbuffer : *mut *mut u8, dwprefmaxlen : u32, lpdwentriesread : *mut u32, lpdwtotalentries : *mut u32, lpdwresumehandle : *const u32) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprAdminInterfaceGetCredentials(lpwsserver : ::windows_sys::core::PCWSTR, lpwsinterfacename : ::windows_sys::core::PCWSTR, lpwsusername : ::windows_sys::core::PWSTR, lpwspassword : ::windows_sys::core::PWSTR, lpwsdomainname : ::windows_sys::core::PWSTR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceGetCredentialsEx(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, dwlevel : u32, lplpbbuffer : *mut *mut u8) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_Security_Cryptography\"`"] fn MprAdminInterfaceGetCustomInfoEx(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, pcustominfo : *mut MPR_IF_CUSTOMINFOEX2) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceGetHandle(hmprserver : isize, lpwsinterfacename : ::windows_sys::core::PCWSTR, phinterface : *mut super::super::Foundation:: HANDLE, fincludeclientinterfaces : super::super::Foundation:: BOOL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceGetInfo(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, dwlevel : u32, lplpbbuffer : *const *const u8) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceQueryUpdateResult(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, dwprotocolid : u32, lpdwupdateresult : *mut u32) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprAdminInterfaceSetCredentials(lpwsserver : ::windows_sys::core::PCWSTR, lpwsinterfacename : ::windows_sys::core::PCWSTR, lpwsusername : ::windows_sys::core::PCWSTR, lpwsdomainname : ::windows_sys::core::PCWSTR, lpwspassword : ::windows_sys::core::PCWSTR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceSetCredentialsEx(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, dwlevel : u32, lpbbuffer : *const u8) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_Security_Cryptography\"`"] fn MprAdminInterfaceSetCustomInfoEx(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, pcustominfo : *const MPR_IF_CUSTOMINFOEX2) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceSetInfo(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, dwlevel : u32, lpbbuffer : *const u8) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceTransportAdd(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, dwtransportid : u32, pinterfaceinfo : *const u8, dwinterfaceinfosize : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceTransportGetInfo(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, dwtransportid : u32, ppinterfaceinfo : *mut *mut u8, lpdwinterfaceinfosize : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceTransportRemove(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, dwtransportid : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceTransportSetInfo(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, dwtransportid : u32, pinterfaceinfo : *const u8, dwinterfaceinfosize : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceUpdatePhonebookInfo(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceUpdateRoutes(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, dwprotocolid : u32, hevent : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminIsDomainRasServer(pszdomain : ::windows_sys::core::PCWSTR, pszmachine : ::windows_sys::core::PCWSTR, pbisrasserver : *mut super::super::Foundation:: BOOL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminIsServiceInitialized(lpwsservername : ::windows_sys::core::PCWSTR, fisserviceinitialized : *const super::super::Foundation:: BOOL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminIsServiceRunning(lpwsservername : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); +::windows_targets::link!("mprapi.dll" "system" fn MprAdminMIBBufferFree(pbuffer : *const ::core::ffi::c_void) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprAdminMIBEntryCreate(hmibserver : isize, dwpid : u32, dwroutingpid : u32, lpentry : *const ::core::ffi::c_void, dwentrysize : u32) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprAdminMIBEntryDelete(hmibserver : isize, dwprotocolid : u32, dwroutingpid : u32, lpentry : *const ::core::ffi::c_void, dwentrysize : u32) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprAdminMIBEntryGet(hmibserver : isize, dwprotocolid : u32, dwroutingpid : u32, lpinentry : *const ::core::ffi::c_void, dwinentrysize : u32, lplpoutentry : *mut *mut ::core::ffi::c_void, lpoutentrysize : *mut u32) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprAdminMIBEntryGetFirst(hmibserver : isize, dwprotocolid : u32, dwroutingpid : u32, lpinentry : *const ::core::ffi::c_void, dwinentrysize : u32, lplpoutentry : *mut *mut ::core::ffi::c_void, lpoutentrysize : *mut u32) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprAdminMIBEntryGetNext(hmibserver : isize, dwprotocolid : u32, dwroutingpid : u32, lpinentry : *const ::core::ffi::c_void, dwinentrysize : u32, lplpoutentry : *mut *mut ::core::ffi::c_void, lpoutentrysize : *mut u32) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprAdminMIBEntrySet(hmibserver : isize, dwprotocolid : u32, dwroutingpid : u32, lpentry : *const ::core::ffi::c_void, dwentrysize : u32) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprAdminMIBServerConnect(lpwsservername : ::windows_sys::core::PCWSTR, phmibserver : *mut isize) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprAdminMIBServerDisconnect(hmibserver : isize) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminPortClearStats(hrasserver : isize, hport : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminPortDisconnect(hrasserver : isize, hport : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminPortEnum(hrasserver : isize, dwlevel : u32, hrasconnection : super::super::Foundation:: HANDLE, lplpbbuffer : *mut *mut u8, dwprefmaxlen : u32, lpdwentriesread : *mut u32, lpdwtotalentries : *mut u32, lpdwresumehandle : *const u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminPortGetInfo(hrasserver : isize, dwlevel : u32, hport : super::super::Foundation:: HANDLE, lplpbbuffer : *mut *mut u8) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminPortReset(hrasserver : isize, hport : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminRegisterConnectionNotification(hmprserver : isize, heventnotification : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminSendUserMessage(hmprserver : isize, hconnection : super::super::Foundation:: HANDLE, lpwszmessage : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprAdminServerConnect(lpwsservername : ::windows_sys::core::PCWSTR, phmprserver : *mut isize) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprAdminServerDisconnect(hmprserver : isize) -> ()); +::windows_targets::link!("mprapi.dll" "system" fn MprAdminServerGetCredentials(hmprserver : isize, dwlevel : u32, lplpbbuffer : *const *const u8) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprAdminServerGetInfo(hmprserver : isize, dwlevel : u32, lplpbbuffer : *mut *mut u8) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] fn MprAdminServerGetInfoEx(hmprserver : isize, pserverinfo : *mut MPR_SERVER_EX1) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprAdminServerSetCredentials(hmprserver : isize, dwlevel : u32, lpbbuffer : *const u8) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprAdminServerSetInfo(hmprserver : isize, dwlevel : u32, lpbbuffer : *const u8) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] fn MprAdminServerSetInfoEx(hmprserver : isize, pserverinfo : *const MPR_SERVER_SET_CONFIG_EX1) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprAdminTransportCreate(hmprserver : isize, dwtransportid : u32, lpwstransportname : ::windows_sys::core::PCWSTR, pglobalinfo : *const u8, dwglobalinfosize : u32, pclientinterfaceinfo : *const u8, dwclientinterfaceinfosize : u32, lpwsdllpath : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprAdminTransportGetInfo(hmprserver : isize, dwtransportid : u32, ppglobalinfo : *mut *mut u8, lpdwglobalinfosize : *mut u32, ppclientinterfaceinfo : *mut *mut u8, lpdwclientinterfaceinfosize : *mut u32) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprAdminTransportSetInfo(hmprserver : isize, dwtransportid : u32, pglobalinfo : *const u8, dwglobalinfosize : u32, pclientinterfaceinfo : *const u8, dwclientinterfaceinfosize : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminUpdateConnection(hrasserver : isize, hrasconnection : super::super::Foundation:: HANDLE, prasupdateconnection : *const RAS_UPDATE_CONNECTION) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprAdminUserGetInfo(lpszserver : ::windows_sys::core::PCWSTR, lpszuser : ::windows_sys::core::PCWSTR, dwlevel : u32, lpbbuffer : *mut u8) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprAdminUserSetInfo(lpszserver : ::windows_sys::core::PCWSTR, lpszuser : ::windows_sys::core::PCWSTR, dwlevel : u32, lpbbuffer : *const u8) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprConfigBufferFree(pbuffer : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigFilterGetInfo(hmprconfig : super::super::Foundation:: HANDLE, dwlevel : u32, dwtransportid : u32, lpbuffer : *mut u8) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigFilterSetInfo(hmprconfig : super::super::Foundation:: HANDLE, dwlevel : u32, dwtransportid : u32, lpbuffer : *const u8) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigGetFriendlyName(hmprconfig : super::super::Foundation:: HANDLE, pszguidname : ::windows_sys::core::PCWSTR, pszbuffer : ::windows_sys::core::PWSTR, dwbuffersize : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigGetGuidName(hmprconfig : super::super::Foundation:: HANDLE, pszfriendlyname : ::windows_sys::core::PCWSTR, pszbuffer : ::windows_sys::core::PWSTR, dwbuffersize : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigInterfaceCreate(hmprconfig : super::super::Foundation:: HANDLE, dwlevel : u32, lpbbuffer : *const u8, phrouterinterface : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigInterfaceDelete(hmprconfig : super::super::Foundation:: HANDLE, hrouterinterface : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigInterfaceEnum(hmprconfig : super::super::Foundation:: HANDLE, dwlevel : u32, lplpbuffer : *mut *mut u8, dwprefmaxlen : u32, lpdwentriesread : *mut u32, lpdwtotalentries : *mut u32, lpdwresumehandle : *mut u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_Security_Cryptography\"`"] fn MprConfigInterfaceGetCustomInfoEx(hmprconfig : super::super::Foundation:: HANDLE, hrouterinterface : super::super::Foundation:: HANDLE, pcustominfo : *mut MPR_IF_CUSTOMINFOEX2) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigInterfaceGetHandle(hmprconfig : super::super::Foundation:: HANDLE, lpwsinterfacename : ::windows_sys::core::PCWSTR, phrouterinterface : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigInterfaceGetInfo(hmprconfig : super::super::Foundation:: HANDLE, hrouterinterface : super::super::Foundation:: HANDLE, dwlevel : u32, lplpbuffer : *mut *mut u8, lpdwbuffersize : *mut u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_Security_Cryptography\"`"] fn MprConfigInterfaceSetCustomInfoEx(hmprconfig : super::super::Foundation:: HANDLE, hrouterinterface : super::super::Foundation:: HANDLE, pcustominfo : *const MPR_IF_CUSTOMINFOEX2) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigInterfaceSetInfo(hmprconfig : super::super::Foundation:: HANDLE, hrouterinterface : super::super::Foundation:: HANDLE, dwlevel : u32, lpbbuffer : *const u8) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigInterfaceTransportAdd(hmprconfig : super::super::Foundation:: HANDLE, hrouterinterface : super::super::Foundation:: HANDLE, dwtransportid : u32, lpwstransportname : ::windows_sys::core::PCWSTR, pinterfaceinfo : *const u8, dwinterfaceinfosize : u32, phrouteriftransport : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigInterfaceTransportEnum(hmprconfig : super::super::Foundation:: HANDLE, hrouterinterface : super::super::Foundation:: HANDLE, dwlevel : u32, lplpbuffer : *mut *mut u8, dwprefmaxlen : u32, lpdwentriesread : *mut u32, lpdwtotalentries : *mut u32, lpdwresumehandle : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigInterfaceTransportGetHandle(hmprconfig : super::super::Foundation:: HANDLE, hrouterinterface : super::super::Foundation:: HANDLE, dwtransportid : u32, phrouteriftransport : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigInterfaceTransportGetInfo(hmprconfig : super::super::Foundation:: HANDLE, hrouterinterface : super::super::Foundation:: HANDLE, hrouteriftransport : super::super::Foundation:: HANDLE, ppinterfaceinfo : *mut *mut u8, lpdwinterfaceinfosize : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigInterfaceTransportRemove(hmprconfig : super::super::Foundation:: HANDLE, hrouterinterface : super::super::Foundation:: HANDLE, hrouteriftransport : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigInterfaceTransportSetInfo(hmprconfig : super::super::Foundation:: HANDLE, hrouterinterface : super::super::Foundation:: HANDLE, hrouteriftransport : super::super::Foundation:: HANDLE, pinterfaceinfo : *const u8, dwinterfaceinfosize : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigServerBackup(hmprconfig : super::super::Foundation:: HANDLE, lpwspath : ::windows_sys::core::PCWSTR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigServerConnect(lpwsservername : ::windows_sys::core::PCWSTR, phmprconfig : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigServerDisconnect(hmprconfig : super::super::Foundation:: HANDLE) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigServerGetInfo(hmprconfig : super::super::Foundation:: HANDLE, dwlevel : u32, lplpbbuffer : *mut *mut u8) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] fn MprConfigServerGetInfoEx(hmprconfig : super::super::Foundation:: HANDLE, pserverinfo : *mut MPR_SERVER_EX1) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprConfigServerInstall(dwlevel : u32, pbuffer : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigServerRefresh(hmprconfig : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigServerRestore(hmprconfig : super::super::Foundation:: HANDLE, lpwspath : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprConfigServerSetInfo(hmprserver : isize, dwlevel : u32, lpbbuffer : *const u8) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] fn MprConfigServerSetInfoEx(hmprconfig : super::super::Foundation:: HANDLE, psetserverconfig : *const MPR_SERVER_SET_CONFIG_EX1) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigTransportCreate(hmprconfig : super::super::Foundation:: HANDLE, dwtransportid : u32, lpwstransportname : ::windows_sys::core::PCWSTR, pglobalinfo : *const u8, dwglobalinfosize : u32, pclientinterfaceinfo : *const u8, dwclientinterfaceinfosize : u32, lpwsdllpath : ::windows_sys::core::PCWSTR, phroutertransport : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigTransportDelete(hmprconfig : super::super::Foundation:: HANDLE, hroutertransport : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigTransportEnum(hmprconfig : super::super::Foundation:: HANDLE, dwlevel : u32, lplpbuffer : *mut *mut u8, dwprefmaxlen : u32, lpdwentriesread : *mut u32, lpdwtotalentries : *mut u32, lpdwresumehandle : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigTransportGetHandle(hmprconfig : super::super::Foundation:: HANDLE, dwtransportid : u32, phroutertransport : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigTransportGetInfo(hmprconfig : super::super::Foundation:: HANDLE, hroutertransport : super::super::Foundation:: HANDLE, ppglobalinfo : *mut *mut u8, lpdwglobalinfosize : *mut u32, ppclientinterfaceinfo : *mut *mut u8, lpdwclientinterfaceinfosize : *mut u32, lplpwsdllpath : *mut ::windows_sys::core::PWSTR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigTransportSetInfo(hmprconfig : super::super::Foundation:: HANDLE, hroutertransport : super::super::Foundation:: HANDLE, pglobalinfo : *const u8, dwglobalinfosize : u32, pclientinterfaceinfo : *const u8, dwclientinterfaceinfosize : u32, lpwsdllpath : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprInfoBlockAdd(lpheader : *const ::core::ffi::c_void, dwinfotype : u32, dwitemsize : u32, dwitemcount : u32, lpitemdata : *const u8, lplpnewheader : *mut *mut ::core::ffi::c_void) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprInfoBlockFind(lpheader : *const ::core::ffi::c_void, dwinfotype : u32, lpdwitemsize : *mut u32, lpdwitemcount : *mut u32, lplpitemdata : *mut *mut u8) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprInfoBlockQuerySize(lpheader : *const ::core::ffi::c_void) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprInfoBlockRemove(lpheader : *const ::core::ffi::c_void, dwinfotype : u32, lplpnewheader : *mut *mut ::core::ffi::c_void) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprInfoBlockSet(lpheader : *const ::core::ffi::c_void, dwinfotype : u32, dwitemsize : u32, dwitemcount : u32, lpitemdata : *const u8, lplpnewheader : *mut *mut ::core::ffi::c_void) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprInfoCreate(dwversion : u32, lplpnewheader : *mut *mut ::core::ffi::c_void) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprInfoDelete(lpheader : *const ::core::ffi::c_void) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprInfoDuplicate(lpheader : *const ::core::ffi::c_void, lplpnewheader : *mut *mut ::core::ffi::c_void) -> u32); +::windows_targets::link!("mprapi.dll" "system" fn MprInfoRemoveAll(lpheader : *const ::core::ffi::c_void, lplpnewheader : *mut *mut ::core::ffi::c_void) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasClearConnectionStatistics(hrasconn : HRASCONN) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasClearLinkStatistics(hrasconn : HRASCONN, dwsubentry : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasConnectionNotificationA(param0 : HRASCONN, param1 : super::super::Foundation:: HANDLE, param2 : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasConnectionNotificationW(param0 : HRASCONN, param1 : super::super::Foundation:: HANDLE, param2 : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasCreatePhonebookEntryA(param0 : super::super::Foundation:: HWND, param1 : ::windows_sys::core::PCSTR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasCreatePhonebookEntryW(param0 : super::super::Foundation:: HWND, param1 : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasDeleteEntryA(param0 : ::windows_sys::core::PCSTR, param1 : ::windows_sys::core::PCSTR) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasDeleteEntryW(param0 : ::windows_sys::core::PCWSTR, param1 : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasDeleteSubEntryA(pszphonebook : ::windows_sys::core::PCSTR, pszentry : ::windows_sys::core::PCSTR, dwsubentryid : u32) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasDeleteSubEntryW(pszphonebook : ::windows_sys::core::PCWSTR, pszentry : ::windows_sys::core::PCWSTR, dwsubentryid : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasDialA(param0 : *const RASDIALEXTENSIONS, param1 : ::windows_sys::core::PCSTR, param2 : *const RASDIALPARAMSA, param3 : u32, param4 : *const ::core::ffi::c_void, param5 : *mut HRASCONN) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasdlg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasDialDlgA(lpszphonebook : ::windows_sys::core::PCSTR, lpszentry : ::windows_sys::core::PCSTR, lpszphonenumber : ::windows_sys::core::PCSTR, lpinfo : *mut RASDIALDLG) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasdlg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasDialDlgW(lpszphonebook : ::windows_sys::core::PCWSTR, lpszentry : ::windows_sys::core::PCWSTR, lpszphonenumber : ::windows_sys::core::PCWSTR, lpinfo : *mut RASDIALDLG) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasDialW(param0 : *const RASDIALEXTENSIONS, param1 : ::windows_sys::core::PCWSTR, param2 : *const RASDIALPARAMSW, param3 : u32, param4 : *const ::core::ffi::c_void, param5 : *mut HRASCONN) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasEditPhonebookEntryA(param0 : super::super::Foundation:: HWND, param1 : ::windows_sys::core::PCSTR, param2 : ::windows_sys::core::PCSTR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasEditPhonebookEntryW(param0 : super::super::Foundation:: HWND, param1 : ::windows_sys::core::PCWSTR, param2 : ::windows_sys::core::PCWSTR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasdlg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasEntryDlgA(lpszphonebook : ::windows_sys::core::PCSTR, lpszentry : ::windows_sys::core::PCSTR, lpinfo : *mut RASENTRYDLGA) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasdlg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasEntryDlgW(lpszphonebook : ::windows_sys::core::PCWSTR, lpszentry : ::windows_sys::core::PCWSTR, lpinfo : *mut RASENTRYDLGW) -> super::super::Foundation:: BOOL); +::windows_targets::link!("rasapi32.dll" "system" fn RasEnumAutodialAddressesA(lpprasautodialaddresses : *mut ::windows_sys::core::PSTR, lpdwcbrasautodialaddresses : *mut u32, lpdwcrasautodialaddresses : *mut u32) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasEnumAutodialAddressesW(lpprasautodialaddresses : *mut ::windows_sys::core::PWSTR, lpdwcbrasautodialaddresses : *mut u32, lpdwcrasautodialaddresses : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasEnumConnectionsA(param0 : *mut RASCONNA, param1 : *mut u32, param2 : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasEnumConnectionsW(param0 : *mut RASCONNW, param1 : *mut u32, param2 : *mut u32) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasEnumDevicesA(param0 : *mut RASDEVINFOA, param1 : *mut u32, param2 : *mut u32) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasEnumDevicesW(param0 : *mut RASDEVINFOW, param1 : *mut u32, param2 : *mut u32) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasEnumEntriesA(param0 : ::windows_sys::core::PCSTR, param1 : ::windows_sys::core::PCSTR, param2 : *mut RASENTRYNAMEA, param3 : *mut u32, param4 : *mut u32) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasEnumEntriesW(param0 : ::windows_sys::core::PCWSTR, param1 : ::windows_sys::core::PCWSTR, param2 : *mut RASENTRYNAMEW, param3 : *mut u32, param4 : *mut u32) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasFreeEapUserIdentityA(praseapuseridentity : *const RASEAPUSERIDENTITYA) -> ()); +::windows_targets::link!("rasapi32.dll" "system" fn RasFreeEapUserIdentityW(praseapuseridentity : *const RASEAPUSERIDENTITYW) -> ()); +::windows_targets::link!("rasapi32.dll" "system" fn RasGetAutodialAddressA(param0 : ::windows_sys::core::PCSTR, param1 : *const u32, param2 : *mut RASAUTODIALENTRYA, param3 : *mut u32, param4 : *mut u32) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasGetAutodialAddressW(param0 : ::windows_sys::core::PCWSTR, param1 : *const u32, param2 : *mut RASAUTODIALENTRYW, param3 : *mut u32, param4 : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasGetAutodialEnableA(param0 : u32, param1 : *mut super::super::Foundation:: BOOL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasGetAutodialEnableW(param0 : u32, param1 : *mut super::super::Foundation:: BOOL) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasGetAutodialParamA(param0 : u32, param1 : *mut ::core::ffi::c_void, param2 : *mut u32) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasGetAutodialParamW(param0 : u32, param1 : *mut ::core::ffi::c_void, param2 : *mut u32) -> u32); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn RasGetConnectStatusA(param0 : HRASCONN, param1 : *mut RASCONNSTATUSA) -> u32); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn RasGetConnectStatusW(param0 : HRASCONN, param1 : *mut RASCONNSTATUSW) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasGetConnectionStatistics(hrasconn : HRASCONN, lpstatistics : *mut RAS_STATS) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasGetCountryInfoA(param0 : *mut RASCTRYINFO, param1 : *mut u32) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasGetCountryInfoW(param0 : *mut RASCTRYINFO, param1 : *mut u32) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasGetCredentialsA(param0 : ::windows_sys::core::PCSTR, param1 : ::windows_sys::core::PCSTR, param2 : *mut RASCREDENTIALSA) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasGetCredentialsW(param0 : ::windows_sys::core::PCWSTR, param1 : ::windows_sys::core::PCWSTR, param2 : *mut RASCREDENTIALSW) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasGetCustomAuthDataA(pszphonebook : ::windows_sys::core::PCSTR, pszentry : ::windows_sys::core::PCSTR, pbcustomauthdata : *mut u8, pdwsizeofcustomauthdata : *mut u32) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasGetCustomAuthDataW(pszphonebook : ::windows_sys::core::PCWSTR, pszentry : ::windows_sys::core::PCWSTR, pbcustomauthdata : *mut u8, pdwsizeofcustomauthdata : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasGetEapUserDataA(htoken : super::super::Foundation:: HANDLE, pszphonebook : ::windows_sys::core::PCSTR, pszentry : ::windows_sys::core::PCSTR, pbeapdata : *mut u8, pdwsizeofeapdata : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasGetEapUserDataW(htoken : super::super::Foundation:: HANDLE, pszphonebook : ::windows_sys::core::PCWSTR, pszentry : ::windows_sys::core::PCWSTR, pbeapdata : *mut u8, pdwsizeofeapdata : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasGetEapUserIdentityA(pszphonebook : ::windows_sys::core::PCSTR, pszentry : ::windows_sys::core::PCSTR, dwflags : u32, hwnd : super::super::Foundation:: HWND, ppraseapuseridentity : *mut *mut RASEAPUSERIDENTITYA) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasGetEapUserIdentityW(pszphonebook : ::windows_sys::core::PCWSTR, pszentry : ::windows_sys::core::PCWSTR, dwflags : u32, hwnd : super::super::Foundation:: HWND, ppraseapuseridentity : *mut *mut RASEAPUSERIDENTITYW) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasGetEntryDialParamsA(param0 : ::windows_sys::core::PCSTR, param1 : *mut RASDIALPARAMSA, param2 : *mut super::super::Foundation:: BOOL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasGetEntryDialParamsW(param0 : ::windows_sys::core::PCWSTR, param1 : *mut RASDIALPARAMSW, param2 : *mut super::super::Foundation:: BOOL) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn RasGetEntryPropertiesA(param0 : ::windows_sys::core::PCSTR, param1 : ::windows_sys::core::PCSTR, param2 : *mut RASENTRYA, param3 : *mut u32, param4 : *mut u8, param5 : *mut u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn RasGetEntryPropertiesW(param0 : ::windows_sys::core::PCWSTR, param1 : ::windows_sys::core::PCWSTR, param2 : *mut RASENTRYW, param3 : *mut u32, param4 : *mut u8, param5 : *mut u32) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasGetErrorStringA(resourceid : u32, lpszstring : ::windows_sys::core::PSTR, inbufsize : u32) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasGetErrorStringW(resourceid : u32, lpszstring : ::windows_sys::core::PWSTR, inbufsize : u32) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasGetLinkStatistics(hrasconn : HRASCONN, dwsubentry : u32, lpstatistics : *mut RAS_STATS) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasGetPCscf(lpszpcscf : ::windows_sys::core::PWSTR) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasGetProjectionInfoA(param0 : HRASCONN, param1 : RASPROJECTION, param2 : *mut ::core::ffi::c_void, param3 : *mut u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn RasGetProjectionInfoEx(hrasconn : HRASCONN, prasprojection : *mut RAS_PROJECTION_INFO, lpdwsize : *mut u32) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasGetProjectionInfoW(param0 : HRASCONN, param1 : RASPROJECTION, param2 : *mut ::core::ffi::c_void, param3 : *mut u32) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasGetSubEntryHandleA(param0 : HRASCONN, param1 : u32, param2 : *mut HRASCONN) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasGetSubEntryHandleW(param0 : HRASCONN, param1 : u32, param2 : *mut HRASCONN) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasGetSubEntryPropertiesA(param0 : ::windows_sys::core::PCSTR, param1 : ::windows_sys::core::PCSTR, param2 : u32, param3 : *mut RASSUBENTRYA, param4 : *mut u32, param5 : *mut u8, param6 : *mut u32) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasGetSubEntryPropertiesW(param0 : ::windows_sys::core::PCWSTR, param1 : ::windows_sys::core::PCWSTR, param2 : u32, param3 : *mut RASSUBENTRYW, param4 : *mut u32, param5 : *mut u8, param6 : *mut u32) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasHangUpA(param0 : HRASCONN) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasHangUpW(param0 : HRASCONN) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasInvokeEapUI(param0 : HRASCONN, param1 : u32, param2 : *const RASDIALEXTENSIONS, param3 : super::super::Foundation:: HWND) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasdlg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasPhonebookDlgA(lpszphonebook : ::windows_sys::core::PCSTR, lpszentry : ::windows_sys::core::PCSTR, lpinfo : *mut RASPBDLGA) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasdlg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasPhonebookDlgW(lpszphonebook : ::windows_sys::core::PCWSTR, lpszentry : ::windows_sys::core::PCWSTR, lpinfo : *mut RASPBDLGW) -> super::super::Foundation:: BOOL); +::windows_targets::link!("rasapi32.dll" "system" fn RasRenameEntryA(param0 : ::windows_sys::core::PCSTR, param1 : ::windows_sys::core::PCSTR, param2 : ::windows_sys::core::PCSTR) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasRenameEntryW(param0 : ::windows_sys::core::PCWSTR, param1 : ::windows_sys::core::PCWSTR, param2 : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasSetAutodialAddressA(param0 : ::windows_sys::core::PCSTR, param1 : u32, param2 : *const RASAUTODIALENTRYA, param3 : u32, param4 : u32) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasSetAutodialAddressW(param0 : ::windows_sys::core::PCWSTR, param1 : u32, param2 : *const RASAUTODIALENTRYW, param3 : u32, param4 : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasSetAutodialEnableA(param0 : u32, param1 : super::super::Foundation:: BOOL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasSetAutodialEnableW(param0 : u32, param1 : super::super::Foundation:: BOOL) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasSetAutodialParamA(param0 : u32, param1 : *const ::core::ffi::c_void, param2 : u32) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasSetAutodialParamW(param0 : u32, param1 : *const ::core::ffi::c_void, param2 : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasSetCredentialsA(param0 : ::windows_sys::core::PCSTR, param1 : ::windows_sys::core::PCSTR, param2 : *const RASCREDENTIALSA, param3 : super::super::Foundation:: BOOL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasSetCredentialsW(param0 : ::windows_sys::core::PCWSTR, param1 : ::windows_sys::core::PCWSTR, param2 : *const RASCREDENTIALSW, param3 : super::super::Foundation:: BOOL) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasSetCustomAuthDataA(pszphonebook : ::windows_sys::core::PCSTR, pszentry : ::windows_sys::core::PCSTR, pbcustomauthdata : *const u8, dwsizeofcustomauthdata : u32) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasSetCustomAuthDataW(pszphonebook : ::windows_sys::core::PCWSTR, pszentry : ::windows_sys::core::PCWSTR, pbcustomauthdata : *const u8, dwsizeofcustomauthdata : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasSetEapUserDataA(htoken : super::super::Foundation:: HANDLE, pszphonebook : ::windows_sys::core::PCSTR, pszentry : ::windows_sys::core::PCSTR, pbeapdata : *const u8, dwsizeofeapdata : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasSetEapUserDataW(htoken : super::super::Foundation:: HANDLE, pszphonebook : ::windows_sys::core::PCWSTR, pszentry : ::windows_sys::core::PCWSTR, pbeapdata : *const u8, dwsizeofeapdata : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasSetEntryDialParamsA(param0 : ::windows_sys::core::PCSTR, param1 : *const RASDIALPARAMSA, param2 : super::super::Foundation:: BOOL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasSetEntryDialParamsW(param0 : ::windows_sys::core::PCWSTR, param1 : *const RASDIALPARAMSW, param2 : super::super::Foundation:: BOOL) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn RasSetEntryPropertiesA(param0 : ::windows_sys::core::PCSTR, param1 : ::windows_sys::core::PCSTR, param2 : *const RASENTRYA, param3 : u32, param4 : *const u8, param5 : u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn RasSetEntryPropertiesW(param0 : ::windows_sys::core::PCWSTR, param1 : ::windows_sys::core::PCWSTR, param2 : *const RASENTRYW, param3 : u32, param4 : *const u8, param5 : u32) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasSetSubEntryPropertiesA(param0 : ::windows_sys::core::PCSTR, param1 : ::windows_sys::core::PCSTR, param2 : u32, param3 : *const RASSUBENTRYA, param4 : u32, param5 : *const u8, param6 : u32) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasSetSubEntryPropertiesW(param0 : ::windows_sys::core::PCWSTR, param1 : ::windows_sys::core::PCWSTR, param2 : u32, param3 : *const RASSUBENTRYW, param4 : u32, param5 : *const u8, param6 : u32) -> u32); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn RasUpdateConnection(hrasconn : HRASCONN, lprasupdateconn : *const RASUPDATECONN) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasValidateEntryNameA(param0 : ::windows_sys::core::PCSTR, param1 : ::windows_sys::core::PCSTR) -> u32); +::windows_targets::link!("rasapi32.dll" "system" fn RasValidateEntryNameW(param0 : ::windows_sys::core::PCWSTR, param1 : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmAddNextHop(rtmreghandle : isize, nexthopinfo : *mut RTM_NEXTHOP_INFO, nexthophandle : *mut isize, changeflags : *mut u32) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmAddRouteToDest(rtmreghandle : isize, routehandle : *mut isize, destaddress : *mut RTM_NET_ADDRESS, routeinfo : *mut RTM_ROUTE_INFO, timetolive : u32, routelisthandle : isize, notifytype : u32, notifyhandle : isize, changeflags : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmBlockMethods(rtmreghandle : isize, targethandle : super::super::Foundation:: HANDLE, targettype : u8, blockingflag : u32) -> u32); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn RtmConvertIpv6AddressAndLengthToNetAddress(pnetaddress : *mut RTM_NET_ADDRESS, address : super::super::Networking::WinSock:: IN6_ADDR, dwlength : u32, dwaddresssize : u32) -> u32); +#[cfg(feature = "Win32_Networking_WinSock")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn RtmConvertNetAddressToIpv6AddressAndLength(pnetaddress : *mut RTM_NET_ADDRESS, paddress : *mut super::super::Networking::WinSock:: IN6_ADDR, plength : *mut u32, dwaddresssize : u32) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmCreateDestEnum(rtmreghandle : isize, targetviews : u32, enumflags : u32, netaddress : *mut RTM_NET_ADDRESS, protocolid : u32, rtmenumhandle : *mut isize) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmCreateNextHopEnum(rtmreghandle : isize, enumflags : u32, netaddress : *mut RTM_NET_ADDRESS, rtmenumhandle : *mut isize) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmCreateRouteEnum(rtmreghandle : isize, desthandle : isize, targetviews : u32, enumflags : u32, startdest : *mut RTM_NET_ADDRESS, matchingflags : u32, criteriaroute : *mut RTM_ROUTE_INFO, criteriainterface : u32, rtmenumhandle : *mut isize) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmCreateRouteList(rtmreghandle : isize, routelisthandle : *mut isize) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmCreateRouteListEnum(rtmreghandle : isize, routelisthandle : isize, rtmenumhandle : *mut isize) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmDeleteEnumHandle(rtmreghandle : isize, enumhandle : isize) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmDeleteNextHop(rtmreghandle : isize, nexthophandle : isize, nexthopinfo : *mut RTM_NEXTHOP_INFO) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmDeleteRouteList(rtmreghandle : isize, routelisthandle : isize) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmDeleteRouteToDest(rtmreghandle : isize, routehandle : isize, changeflags : *mut u32) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmDeregisterEntity(rtmreghandle : isize) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmDeregisterFromChangeNotification(rtmreghandle : isize, notifyhandle : isize) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmFindNextHop(rtmreghandle : isize, nexthopinfo : *mut RTM_NEXTHOP_INFO, nexthophandle : *mut isize, nexthoppointer : *mut *mut RTM_NEXTHOP_INFO) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmGetChangeStatus(rtmreghandle : isize, notifyhandle : isize, desthandle : isize, changestatus : *mut super::super::Foundation:: BOOL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmGetChangedDests(rtmreghandle : isize, notifyhandle : isize, numdests : *mut u32, changeddests : *mut RTM_DEST_INFO) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmGetDestInfo(rtmreghandle : isize, desthandle : isize, protocolid : u32, targetviews : u32, destinfo : *mut RTM_DEST_INFO) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmGetEntityInfo(rtmreghandle : isize, entityhandle : isize, entityinfo : *mut RTM_ENTITY_INFO) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmGetEntityMethods(rtmreghandle : isize, entityhandle : isize, nummethods : *mut u32, exptmethods : *mut RTM_ENTITY_EXPORT_METHOD) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmGetEnumDests(rtmreghandle : isize, enumhandle : isize, numdests : *mut u32, destinfos : *mut RTM_DEST_INFO) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmGetEnumNextHops(rtmreghandle : isize, enumhandle : isize, numnexthops : *mut u32, nexthophandles : *mut isize) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmGetEnumRoutes(rtmreghandle : isize, enumhandle : isize, numroutes : *mut u32, routehandles : *mut isize) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmGetExactMatchDestination(rtmreghandle : isize, destaddress : *mut RTM_NET_ADDRESS, protocolid : u32, targetviews : u32, destinfo : *mut RTM_DEST_INFO) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmGetExactMatchRoute(rtmreghandle : isize, destaddress : *mut RTM_NET_ADDRESS, matchingflags : u32, routeinfo : *mut RTM_ROUTE_INFO, interfaceindex : u32, targetviews : u32, routehandle : *mut isize) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmGetLessSpecificDestination(rtmreghandle : isize, desthandle : isize, protocolid : u32, targetviews : u32, destinfo : *mut RTM_DEST_INFO) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmGetListEnumRoutes(rtmreghandle : isize, enumhandle : isize, numroutes : *mut u32, routehandles : *mut isize) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmGetMostSpecificDestination(rtmreghandle : isize, destaddress : *mut RTM_NET_ADDRESS, protocolid : u32, targetviews : u32, destinfo : *mut RTM_DEST_INFO) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmGetNextHopInfo(rtmreghandle : isize, nexthophandle : isize, nexthopinfo : *mut RTM_NEXTHOP_INFO) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmGetNextHopPointer(rtmreghandle : isize, nexthophandle : isize, nexthoppointer : *mut *mut RTM_NEXTHOP_INFO) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmGetOpaqueInformationPointer(rtmreghandle : isize, desthandle : isize, opaqueinfopointer : *mut *mut ::core::ffi::c_void) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmGetRegisteredEntities(rtmreghandle : isize, numentities : *mut u32, entityhandles : *mut isize, entityinfos : *mut RTM_ENTITY_INFO) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmGetRouteInfo(rtmreghandle : isize, routehandle : isize, routeinfo : *mut RTM_ROUTE_INFO, destaddress : *mut RTM_NET_ADDRESS) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmGetRoutePointer(rtmreghandle : isize, routehandle : isize, routepointer : *mut *mut RTM_ROUTE_INFO) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmHoldDestination(rtmreghandle : isize, desthandle : isize, targetviews : u32, holdtime : u32) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmIgnoreChangedDests(rtmreghandle : isize, notifyhandle : isize, numdests : u32, changeddests : *mut isize) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmInsertInRouteList(rtmreghandle : isize, routelisthandle : isize, numroutes : u32, routehandles : *mut isize) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmInvokeMethod(rtmreghandle : isize, entityhandle : isize, input : *mut RTM_ENTITY_METHOD_INPUT, outputsize : *mut u32, output : *mut RTM_ENTITY_METHOD_OUTPUT) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmIsBestRoute(rtmreghandle : isize, routehandle : isize, bestinviews : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmIsMarkedForChangeNotification(rtmreghandle : isize, notifyhandle : isize, desthandle : isize, destmarked : *mut super::super::Foundation:: BOOL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmLockDestination(rtmreghandle : isize, desthandle : isize, exclusive : super::super::Foundation:: BOOL, lockdest : super::super::Foundation:: BOOL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmLockNextHop(rtmreghandle : isize, nexthophandle : isize, exclusive : super::super::Foundation:: BOOL, locknexthop : super::super::Foundation:: BOOL, nexthoppointer : *mut *mut RTM_NEXTHOP_INFO) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmLockRoute(rtmreghandle : isize, routehandle : isize, exclusive : super::super::Foundation:: BOOL, lockroute : super::super::Foundation:: BOOL, routepointer : *mut *mut RTM_ROUTE_INFO) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmMarkDestForChangeNotification(rtmreghandle : isize, notifyhandle : isize, desthandle : isize, markdest : super::super::Foundation:: BOOL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmReferenceHandles(rtmreghandle : isize, numhandles : u32, rtmhandles : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmRegisterEntity(rtmentityinfo : *mut RTM_ENTITY_INFO, exportmethods : *mut RTM_ENTITY_EXPORT_METHODS, eventcallback : RTM_EVENT_CALLBACK, reserveopaquepointer : super::super::Foundation:: BOOL, rtmregprofile : *mut RTM_REGN_PROFILE, rtmreghandle : *mut isize) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmRegisterForChangeNotification(rtmreghandle : isize, targetviews : u32, notifyflags : u32, notifycontext : *mut ::core::ffi::c_void, notifyhandle : *mut isize) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmReleaseChangedDests(rtmreghandle : isize, notifyhandle : isize, numdests : u32, changeddests : *mut RTM_DEST_INFO) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmReleaseDestInfo(rtmreghandle : isize, destinfo : *mut RTM_DEST_INFO) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmReleaseDests(rtmreghandle : isize, numdests : u32, destinfos : *mut RTM_DEST_INFO) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmReleaseEntities(rtmreghandle : isize, numentities : u32, entityhandles : *mut isize) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmReleaseEntityInfo(rtmreghandle : isize, entityinfo : *mut RTM_ENTITY_INFO) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmReleaseNextHopInfo(rtmreghandle : isize, nexthopinfo : *mut RTM_NEXTHOP_INFO) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmReleaseNextHops(rtmreghandle : isize, numnexthops : u32, nexthophandles : *mut isize) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmReleaseRouteInfo(rtmreghandle : isize, routeinfo : *mut RTM_ROUTE_INFO) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmReleaseRoutes(rtmreghandle : isize, numroutes : u32, routehandles : *mut isize) -> u32); +::windows_targets::link!("rtm.dll" "system" fn RtmUpdateAndUnlockRoute(rtmreghandle : isize, routehandle : isize, timetolive : u32, routelisthandle : isize, notifytype : u32, notifyhandle : isize, changeflags : *mut u32) -> u32); +pub const ALLOW_NO_AUTH: u32 = 1u32; +pub const ALL_SOURCES: MGM_ENUM_TYPES = 1i32; +pub const ANY_SOURCE: MGM_ENUM_TYPES = 0i32; +pub const ATADDRESSLEN: u32 = 32u32; +pub const DO_NOT_ALLOW_NO_AUTH: u32 = 0u32; +pub const ERROR_ACCESSING_TCPCFGDLL: u32 = 727u32; +pub const ERROR_ACCT_DISABLED: u32 = 647u32; +pub const ERROR_ACCT_EXPIRED: u32 = 708u32; +pub const ERROR_ACTION_REQUIRED: u32 = 877u32; +pub const ERROR_ALLOCATING_MEMORY: u32 = 664u32; +pub const ERROR_ALREADY_DISCONNECTING: u32 = 617u32; +pub const ERROR_ASYNC_REQUEST_PENDING: u32 = 616u32; +pub const ERROR_AUTHENTICATION_FAILURE: u32 = 691u32; +pub const ERROR_AUTH_INTERNAL: u32 = 645u32; +pub const ERROR_AUTOMATIC_VPN_FAILED: u32 = 800u32; +pub const ERROR_BAD_ADDRESS_SPECIFIED: u32 = 769u32; +pub const ERROR_BAD_CALLBACK_NUMBER: u32 = 704u32; +pub const ERROR_BAD_PHONE_NUMBER: u32 = 749u32; +pub const ERROR_BAD_STRING: u32 = 637u32; +pub const ERROR_BAD_USAGE_IN_INI_FILE: u32 = 669u32; +pub const ERROR_BIPLEX_PORT_NOT_AVAILABLE: u32 = 712u32; +pub const ERROR_BLOCKED: u32 = 775u32; +pub const ERROR_BROADBAND_ACTIVE: u32 = 813u32; +pub const ERROR_BROADBAND_NO_NIC: u32 = 814u32; +pub const ERROR_BROADBAND_TIMEOUT: u32 = 815u32; +pub const ERROR_BUFFER_INVALID: u32 = 610u32; +pub const ERROR_BUFFER_TOO_SMALL: u32 = 603u32; +pub const ERROR_BUNDLE_NOT_FOUND: u32 = 754u32; +pub const ERROR_CANNOT_DELETE: u32 = 817u32; +pub const ERROR_CANNOT_DO_CUSTOMDIAL: u32 = 755u32; +pub const ERROR_CANNOT_FIND_PHONEBOOK_ENTRY: u32 = 623u32; +pub const ERROR_CANNOT_GET_LANA: u32 = 639u32; +pub const ERROR_CANNOT_INITIATE_MOBIKE_UPDATE: u32 = 844u32; +pub const ERROR_CANNOT_LOAD_PHONEBOOK: u32 = 622u32; +pub const ERROR_CANNOT_LOAD_STRING: u32 = 626u32; +pub const ERROR_CANNOT_OPEN_PHONEBOOK: u32 = 621u32; +pub const ERROR_CANNOT_PROJECT_CLIENT: u32 = 634u32; +pub const ERROR_CANNOT_SET_PORT_INFO: u32 = 605u32; +pub const ERROR_CANNOT_SHARE_CONNECTION: u32 = 763u32; +pub const ERROR_CANNOT_USE_LOGON_CREDENTIALS: u32 = 739u32; +pub const ERROR_CANNOT_WRITE_PHONEBOOK: u32 = 624u32; +pub const ERROR_CERT_FOR_ENCRYPTION_NOT_FOUND: u32 = 781u32; +pub const ERROR_CHANGING_PASSWORD: u32 = 709u32; +pub const ERROR_CMD_TOO_LONG: u32 = 700u32; +pub const ERROR_CONGESTION: u32 = 771u32; +pub const ERROR_CONNECTING_DEVICE_NOT_FOUND: u32 = 797u32; +pub const ERROR_CONNECTION_ALREADY_SHARED: u32 = 758u32; +pub const ERROR_CONNECTION_REJECT: u32 = 770u32; +pub const ERROR_CORRUPT_PHONEBOOK: u32 = 625u32; +pub const ERROR_DCB_NOT_FOUND: u32 = 694u32; +pub const ERROR_DEFAULTOFF_MACRO_NOT_FOUND: u32 = 656u32; +pub const ERROR_DEVICENAME_NOT_FOUND: u32 = 659u32; +pub const ERROR_DEVICENAME_TOO_LONG: u32 = 658u32; +pub const ERROR_DEVICETYPE_DOES_NOT_EXIST: u32 = 609u32; +pub const ERROR_DEVICE_COMPLIANCE: u32 = 875u32; +pub const ERROR_DEVICE_DOES_NOT_EXIST: u32 = 608u32; +pub const ERROR_DEVICE_NOT_READY: u32 = 666u32; +pub const ERROR_DIAL_ALREADY_IN_PROGRESS: u32 = 756u32; +pub const ERROR_DISCONNECTION: u32 = 628u32; +pub const ERROR_DNSNAME_NOT_RESOLVABLE: u32 = 868u32; +pub const ERROR_DONOTDISTURB: u32 = 776u32; +pub const ERROR_EAPTLS_CACHE_CREDENTIALS_INVALID: u32 = 826u32; +pub const ERROR_EAPTLS_PASSWD_INVALID: u32 = 869u32; +pub const ERROR_EAPTLS_SCARD_CACHE_CREDENTIALS_INVALID: u32 = 847u32; +pub const ERROR_EAP_METHOD_DOES_NOT_SUPPORT_SSO: u32 = 851u32; +pub const ERROR_EAP_METHOD_NOT_INSTALLED: u32 = 850u32; +pub const ERROR_EAP_METHOD_OPERATION_NOT_SUPPORTED: u32 = 852u32; +pub const ERROR_EAP_SERVER_CERT_EXPIRED: u32 = 858u32; +pub const ERROR_EAP_SERVER_CERT_INVALID: u32 = 857u32; +pub const ERROR_EAP_SERVER_CERT_OTHER_ERROR: u32 = 860u32; +pub const ERROR_EAP_SERVER_CERT_REVOKED: u32 = 859u32; +pub const ERROR_EAP_SERVER_ROOT_CERT_INVALID: u32 = 865u32; +pub const ERROR_EAP_SERVER_ROOT_CERT_NAME_REQUIRED: u32 = 866u32; +pub const ERROR_EAP_SERVER_ROOT_CERT_NOT_FOUND: u32 = 864u32; +pub const ERROR_EAP_USER_CERT_EXPIRED: u32 = 854u32; +pub const ERROR_EAP_USER_CERT_INVALID: u32 = 853u32; +pub const ERROR_EAP_USER_CERT_OTHER_ERROR: u32 = 856u32; +pub const ERROR_EAP_USER_CERT_REVOKED: u32 = 855u32; +pub const ERROR_EAP_USER_ROOT_CERT_EXPIRED: u32 = 863u32; +pub const ERROR_EAP_USER_ROOT_CERT_INVALID: u32 = 862u32; +pub const ERROR_EAP_USER_ROOT_CERT_NOT_FOUND: u32 = 861u32; +pub const ERROR_EMPTY_INI_FILE: u32 = 690u32; +pub const ERROR_EVENT_INVALID: u32 = 607u32; +pub const ERROR_FAILED_CP_REQUIRED: u32 = 841u32; +pub const ERROR_FAILED_TO_ENCRYPT: u32 = 768u32; +pub const ERROR_FAST_USER_SWITCH: u32 = 831u32; +pub const ERROR_FEATURE_DEPRECATED: u32 = 816u32; +pub const ERROR_FILE_COULD_NOT_BE_OPENED: u32 = 657u32; +pub const ERROR_FROM_DEVICE: u32 = 651u32; +pub const ERROR_HANGUP_FAILED: u32 = 753u32; +pub const ERROR_HARDWARE_FAILURE: u32 = 630u32; +pub const ERROR_HIBERNATION: u32 = 832u32; +pub const ERROR_IDLE_TIMEOUT: u32 = 828u32; +pub const ERROR_IKEV2_PSK_INTERFACE_ALREADY_EXISTS: u32 = 870u32; +pub const ERROR_INCOMPATIBLE: u32 = 772u32; +pub const ERROR_INTERACTIVE_MODE: u32 = 703u32; +pub const ERROR_INTERNAL_ADDRESS_FAILURE: u32 = 840u32; +pub const ERROR_INVALID_AUTH_STATE: u32 = 705u32; +pub const ERROR_INVALID_CALLBACK_NUMBER: u32 = 751u32; +pub const ERROR_INVALID_COMPRESSION_SPECIFIED: u32 = 613u32; +pub const ERROR_INVALID_DESTINATION_IP: u32 = 871u32; +pub const ERROR_INVALID_FUNCTION_FOR_ENTRY: u32 = 780u32; +pub const ERROR_INVALID_INTERFACE_CONFIG: u32 = 872u32; +pub const ERROR_INVALID_MSCHAPV2_CONFIG: u32 = 805u32; +pub const ERROR_INVALID_PEAP_COOKIE_ATTRIBUTES: u32 = 849u32; +pub const ERROR_INVALID_PEAP_COOKIE_CONFIG: u32 = 803u32; +pub const ERROR_INVALID_PEAP_COOKIE_USER: u32 = 804u32; +pub const ERROR_INVALID_PORT_HANDLE: u32 = 601u32; +pub const ERROR_INVALID_PREFERENCES: u32 = 846u32; +pub const ERROR_INVALID_SERVER_CERT: u32 = 835u32; +pub const ERROR_INVALID_SIZE: u32 = 632u32; +pub const ERROR_INVALID_SMM: u32 = 745u32; +pub const ERROR_INVALID_TUNNELID: u32 = 837u32; +pub const ERROR_INVALID_VPNSTRATEGY: u32 = 825u32; +pub const ERROR_IN_COMMAND: u32 = 681u32; +pub const ERROR_IPSEC_SERVICE_STOPPED: u32 = 827u32; +pub const ERROR_IPXCP_DIALOUT_ALREADY_ACTIVE: u32 = 726u32; +pub const ERROR_IPXCP_NET_NUMBER_CONFLICT: u32 = 744u32; +pub const ERROR_IPXCP_NO_DIALIN_CONFIGURED: u32 = 725u32; +pub const ERROR_IPXCP_NO_DIALOUT_CONFIGURED: u32 = 724u32; +pub const ERROR_IP_CONFIGURATION: u32 = 716u32; +pub const ERROR_KEY_NOT_FOUND: u32 = 627u32; +pub const ERROR_LINE_BUSY: u32 = 676u32; +pub const ERROR_LINK_FAILURE: u32 = 829u32; +pub const ERROR_MACRO_NOT_DEFINED: u32 = 654u32; +pub const ERROR_MACRO_NOT_FOUND: u32 = 653u32; +pub const ERROR_MESSAGE_MACRO_NOT_FOUND: u32 = 655u32; +pub const ERROR_MOBIKE_DISABLED: u32 = 843u32; +pub const ERROR_NAME_EXISTS_ON_NET: u32 = 642u32; +pub const ERROR_NETBIOS_ERROR: u32 = 640u32; +pub const ERROR_NOT_BINARY_MACRO: u32 = 693u32; +pub const ERROR_NOT_NAP_CAPABLE: u32 = 836u32; +pub const ERROR_NO_ACTIVE_ISDN_LINES: u32 = 713u32; +pub const ERROR_NO_ANSWER: u32 = 678u32; +pub const ERROR_NO_CARRIER: u32 = 679u32; +pub const ERROR_NO_CERTIFICATE: u32 = 766u32; +pub const ERROR_NO_COMMAND_FOUND: u32 = 661u32; +pub const ERROR_NO_CONNECTION: u32 = 668u32; +pub const ERROR_NO_DIALIN_PERMISSION: u32 = 649u32; +pub const ERROR_NO_DIALTONE: u32 = 680u32; +pub const ERROR_NO_DIFF_USER_AT_LOGON: u32 = 784u32; +pub const ERROR_NO_EAPTLS_CERTIFICATE: u32 = 798u32; +pub const ERROR_NO_ENDPOINTS: u32 = 620u32; +pub const ERROR_NO_IP_ADDRESSES: u32 = 717u32; +pub const ERROR_NO_IP_RAS_ADAPTER: u32 = 728u32; +pub const ERROR_NO_ISDN_CHANNELS_AVAILABLE: u32 = 714u32; +pub const ERROR_NO_LOCAL_ENCRYPTION: u32 = 741u32; +pub const ERROR_NO_MAC_FOR_PORT: u32 = 747u32; +pub const ERROR_NO_REG_CERT_AT_LOGON: u32 = 785u32; +pub const ERROR_NO_REMOTE_ENCRYPTION: u32 = 742u32; +pub const ERROR_NO_RESPONSES: u32 = 660u32; +pub const ERROR_NO_SMART_CARD_READER: u32 = 764u32; +pub const ERROR_NUMBERCHANGED: u32 = 773u32; +pub const ERROR_OAKLEY_ATTRIB_FAIL: u32 = 788u32; +pub const ERROR_OAKLEY_AUTH_FAIL: u32 = 787u32; +pub const ERROR_OAKLEY_ERROR: u32 = 793u32; +pub const ERROR_OAKLEY_GENERAL_PROCESSING: u32 = 789u32; +pub const ERROR_OAKLEY_NO_CERT: u32 = 786u32; +pub const ERROR_OAKLEY_NO_PEER_CERT: u32 = 790u32; +pub const ERROR_OAKLEY_NO_POLICY: u32 = 791u32; +pub const ERROR_OAKLEY_TIMED_OUT: u32 = 792u32; +pub const ERROR_OUTOFORDER: u32 = 777u32; +pub const ERROR_OUT_OF_BUFFERS: u32 = 614u32; +pub const ERROR_OVERRUN: u32 = 710u32; +pub const ERROR_PARTIAL_RESPONSE_LOOPING: u32 = 697u32; +pub const ERROR_PASSWD_EXPIRED: u32 = 648u32; +pub const ERROR_PEAP_CRYPTOBINDING_INVALID: u32 = 823u32; +pub const ERROR_PEAP_CRYPTOBINDING_NOTRECEIVED: u32 = 824u32; +pub const ERROR_PEAP_IDENTITY_MISMATCH: u32 = 867u32; +pub const ERROR_PEAP_SERVER_REJECTED_CLIENT_TLV: u32 = 845u32; +pub const ERROR_PHONE_NUMBER_TOO_LONG: u32 = 723u32; +pub const ERROR_PLUGIN_NOT_INSTALLED: u32 = 876u32; +pub const ERROR_PORT_ALREADY_OPEN: u32 = 602u32; +pub const ERROR_PORT_DISCONNECTED: u32 = 619u32; +pub const ERROR_PORT_NOT_AVAILABLE: u32 = 633u32; +pub const ERROR_PORT_NOT_CONFIGURED: u32 = 665u32; +pub const ERROR_PORT_NOT_CONNECTED: u32 = 606u32; +pub const ERROR_PORT_NOT_FOUND: u32 = 615u32; +pub const ERROR_PORT_NOT_OPEN: u32 = 618u32; +pub const ERROR_PORT_OR_DEVICE: u32 = 692u32; +pub const ERROR_PPP_CP_REJECTED: u32 = 733u32; +pub const ERROR_PPP_INVALID_PACKET: u32 = 722u32; +pub const ERROR_PPP_LCP_TERMINATED: u32 = 734u32; +pub const ERROR_PPP_LOOPBACK_DETECTED: u32 = 737u32; +pub const ERROR_PPP_NCP_TERMINATED: u32 = 736u32; +pub const ERROR_PPP_NOT_CONVERGING: u32 = 732u32; +pub const ERROR_PPP_NO_ADDRESS_ASSIGNED: u32 = 738u32; +pub const ERROR_PPP_NO_PROTOCOLS_CONFIGURED: u32 = 720u32; +pub const ERROR_PPP_NO_RESPONSE: u32 = 721u32; +pub const ERROR_PPP_REMOTE_TERMINATED: u32 = 719u32; +pub const ERROR_PPP_REQUIRED_ADDRESS_REJECTED: u32 = 735u32; +pub const ERROR_PPP_TIMEOUT: u32 = 718u32; +pub const ERROR_PROJECTION_NOT_COMPLETE: u32 = 730u32; +pub const ERROR_PROTOCOL_ENGINE_DISABLED: u32 = 839u32; +pub const ERROR_PROTOCOL_NOT_CONFIGURED: u32 = 731u32; +pub const ERROR_RASAUTO_CANNOT_INITIALIZE: u32 = 757u32; +pub const ERROR_RASMAN_CANNOT_INITIALIZE: u32 = 711u32; +pub const ERROR_RASMAN_SERVICE_STOPPED: u32 = 834u32; +pub const ERROR_RASQEC_CONN_DOESNOTEXIST: u32 = 821u32; +pub const ERROR_RASQEC_NAPAGENT_NOT_CONNECTED: u32 = 820u32; +pub const ERROR_RASQEC_NAPAGENT_NOT_ENABLED: u32 = 819u32; +pub const ERROR_RASQEC_RESOURCE_CREATION_FAILED: u32 = 818u32; +pub const ERROR_RASQEC_TIMEOUT: u32 = 822u32; +pub const ERROR_READING_DEFAULTOFF: u32 = 689u32; +pub const ERROR_READING_DEVICENAME: u32 = 672u32; +pub const ERROR_READING_DEVICETYPE: u32 = 671u32; +pub const ERROR_READING_INI_FILE: u32 = 667u32; +pub const ERROR_READING_MAXCARRIERBPS: u32 = 675u32; +pub const ERROR_READING_MAXCONNECTBPS: u32 = 674u32; +pub const ERROR_READING_SCARD: u32 = 802u32; +pub const ERROR_READING_SECTIONNAME: u32 = 670u32; +pub const ERROR_READING_USAGE: u32 = 673u32; +pub const ERROR_RECV_BUF_FULL: u32 = 699u32; +pub const ERROR_REMOTE_DISCONNECTION: u32 = 629u32; +pub const ERROR_REMOTE_REQUIRES_ENCRYPTION: u32 = 743u32; +pub const ERROR_REQUEST_TIMEOUT: u32 = 638u32; +pub const ERROR_RESTRICTED_LOGON_HOURS: u32 = 646u32; +pub const ERROR_ROUTE_NOT_ALLOCATED: u32 = 612u32; +pub const ERROR_ROUTE_NOT_AVAILABLE: u32 = 611u32; +pub const ERROR_SCRIPT_SYNTAX: u32 = 752u32; +pub const ERROR_SERVER_GENERAL_NET_FAILURE: u32 = 643u32; +pub const ERROR_SERVER_NOT_RESPONDING: u32 = 650u32; +pub const ERROR_SERVER_OUT_OF_RESOURCES: u32 = 641u32; +pub const ERROR_SERVER_POLICY: u32 = 812u32; +pub const ERROR_SHARE_CONNECTION_FAILED: u32 = 761u32; +pub const ERROR_SHARING_ADDRESS_EXISTS: u32 = 765u32; +pub const ERROR_SHARING_CHANGE_FAILED: u32 = 759u32; +pub const ERROR_SHARING_HOST_ADDRESS_CONFLICT: u32 = 799u32; +pub const ERROR_SHARING_MULTIPLE_ADDRESSES: u32 = 767u32; +pub const ERROR_SHARING_NO_PRIVATE_LAN: u32 = 783u32; +pub const ERROR_SHARING_PRIVATE_INSTALL: u32 = 762u32; +pub const ERROR_SHARING_ROUTER_INSTALL: u32 = 760u32; +pub const ERROR_SHARING_RRAS_CONFLICT: u32 = 782u32; +pub const ERROR_SLIP_REQUIRES_IP: u32 = 729u32; +pub const ERROR_SMART_CARD_REQUIRED: u32 = 779u32; +pub const ERROR_SMM_TIMEOUT: u32 = 748u32; +pub const ERROR_SMM_UNINITIALIZED: u32 = 746u32; +pub const ERROR_SSO_CERT_MISSING: u32 = 874u32; +pub const ERROR_SSTP_COOKIE_SET_FAILURE: u32 = 848u32; +pub const ERROR_STATE_MACHINES_ALREADY_STARTED: u32 = 696u32; +pub const ERROR_STATE_MACHINES_NOT_STARTED: u32 = 695u32; +pub const ERROR_SYSTEM_SUSPENDED: u32 = 833u32; +pub const ERROR_TAPI_CONFIGURATION: u32 = 740u32; +pub const ERROR_TEMPFAILURE: u32 = 774u32; +pub const ERROR_TOO_MANY_LINE_ERRORS: u32 = 715u32; +pub const ERROR_TS_UNACCEPTABLE: u32 = 842u32; +pub const ERROR_UNABLE_TO_AUTHENTICATE_SERVER: u32 = 778u32; +pub const ERROR_UNEXPECTED_RESPONSE: u32 = 702u32; +pub const ERROR_UNKNOWN: u32 = 635u32; +pub const ERROR_UNKNOWN_DEVICE_TYPE: u32 = 663u32; +pub const ERROR_UNKNOWN_FRAMED_PROTOCOL: u32 = 794u32; +pub const ERROR_UNKNOWN_RESPONSE_KEY: u32 = 698u32; +pub const ERROR_UNKNOWN_SERVICE_TYPE: u32 = 796u32; +pub const ERROR_UNRECOGNIZED_RESPONSE: u32 = 652u32; +pub const ERROR_UNSUPPORTED_BPS: u32 = 701u32; +pub const ERROR_UPDATECONNECTION_REQUEST_IN_PROCESS: u32 = 838u32; +pub const ERROR_USER_DISCONNECTION: u32 = 631u32; +pub const ERROR_USER_LOGOFF: u32 = 830u32; +pub const ERROR_VALIDATING_SERVER_CERT: u32 = 801u32; +pub const ERROR_VOICE_ANSWER: u32 = 677u32; +pub const ERROR_VPN_BAD_CERT: u32 = 810u32; +pub const ERROR_VPN_BAD_PSK: u32 = 811u32; +pub const ERROR_VPN_DISCONNECT: u32 = 807u32; +pub const ERROR_VPN_GRE_BLOCKED: u32 = 806u32; +pub const ERROR_VPN_PLUGIN_GENERIC: u32 = 873u32; +pub const ERROR_VPN_REFUSED: u32 = 808u32; +pub const ERROR_VPN_TIMEOUT: u32 = 809u32; +pub const ERROR_WRITING_DEFAULTOFF: u32 = 688u32; +pub const ERROR_WRITING_DEVICENAME: u32 = 684u32; +pub const ERROR_WRITING_DEVICETYPE: u32 = 683u32; +pub const ERROR_WRITING_INITBPS: u32 = 706u32; +pub const ERROR_WRITING_MAXCARRIERBPS: u32 = 686u32; +pub const ERROR_WRITING_MAXCONNECTBPS: u32 = 685u32; +pub const ERROR_WRITING_SECTIONNAME: u32 = 682u32; +pub const ERROR_WRITING_USAGE: u32 = 687u32; +pub const ERROR_WRONG_DEVICE_ATTACHED: u32 = 636u32; +pub const ERROR_WRONG_INFO_SPECIFIED: u32 = 604u32; +pub const ERROR_WRONG_KEY_SPECIFIED: u32 = 662u32; +pub const ERROR_WRONG_MODULE: u32 = 750u32; +pub const ERROR_WRONG_TUNNEL_TYPE: u32 = 795u32; +pub const ERROR_X25_DIAGNOSTIC: u32 = 707u32; +pub const ET_None: u32 = 0u32; +pub const ET_Optional: u32 = 3u32; +pub const ET_Require: u32 = 1u32; +pub const ET_RequireMax: u32 = 2u32; +pub const IKEV2_ID_PAYLOAD_TYPE_DER_ASN1_DN: IKEV2_ID_PAYLOAD_TYPE = 9i32; +pub const IKEV2_ID_PAYLOAD_TYPE_DER_ASN1_GN: IKEV2_ID_PAYLOAD_TYPE = 10i32; +pub const IKEV2_ID_PAYLOAD_TYPE_FQDN: IKEV2_ID_PAYLOAD_TYPE = 2i32; +pub const IKEV2_ID_PAYLOAD_TYPE_ID_IPV6_ADDR: IKEV2_ID_PAYLOAD_TYPE = 5i32; +pub const IKEV2_ID_PAYLOAD_TYPE_INVALID: IKEV2_ID_PAYLOAD_TYPE = 0i32; +pub const IKEV2_ID_PAYLOAD_TYPE_IPV4_ADDR: IKEV2_ID_PAYLOAD_TYPE = 1i32; +pub const IKEV2_ID_PAYLOAD_TYPE_KEY_ID: IKEV2_ID_PAYLOAD_TYPE = 11i32; +pub const IKEV2_ID_PAYLOAD_TYPE_MAX: IKEV2_ID_PAYLOAD_TYPE = 12i32; +pub const IKEV2_ID_PAYLOAD_TYPE_RESERVED1: IKEV2_ID_PAYLOAD_TYPE = 4i32; +pub const IKEV2_ID_PAYLOAD_TYPE_RESERVED2: IKEV2_ID_PAYLOAD_TYPE = 6i32; +pub const IKEV2_ID_PAYLOAD_TYPE_RESERVED3: IKEV2_ID_PAYLOAD_TYPE = 7i32; +pub const IKEV2_ID_PAYLOAD_TYPE_RESERVED4: IKEV2_ID_PAYLOAD_TYPE = 8i32; +pub const IKEV2_ID_PAYLOAD_TYPE_RFC822_ADDR: IKEV2_ID_PAYLOAD_TYPE = 3i32; +pub const IPADDRESSLEN: u32 = 15u32; +pub const IPV6_ADDRESS_LEN_IN_BYTES: u32 = 16u32; +pub const IPXADDRESSLEN: u32 = 22u32; +pub const MAXIPADRESSLEN: u32 = 64u32; +pub const MAX_SSTP_HASH_SIZE: u32 = 32u32; +pub const METHOD_BGP4_AS_PATH: u32 = 1u32; +pub const METHOD_BGP4_NEXTHOP_ATTR: u32 = 8u32; +pub const METHOD_BGP4_PA_ORIGIN: u32 = 4u32; +pub const METHOD_BGP4_PEER_ID: u32 = 2u32; +pub const METHOD_RIP2_NEIGHBOUR_ADDR: u32 = 1u32; +pub const METHOD_RIP2_OUTBOUND_INTF: u32 = 2u32; +pub const METHOD_RIP2_ROUTE_TAG: u32 = 4u32; +pub const METHOD_RIP2_ROUTE_TIMESTAMP: u32 = 8u32; +pub const METHOD_TYPE_ALL_METHODS: u32 = 4294967295u32; +pub const MGM_FORWARD_STATE_FLAG: u32 = 2u32; +pub const MGM_JOIN_STATE_FLAG: u32 = 1u32; +pub const MGM_MFE_STATS_0: u32 = 1u32; +pub const MGM_MFE_STATS_1: u32 = 2u32; +pub const MPRAPI_ADMIN_DLL_VERSION_1: u32 = 1u32; +pub const MPRAPI_ADMIN_DLL_VERSION_2: u32 = 2u32; +pub const MPRAPI_IF_CUSTOM_CONFIG_FOR_IKEV2: u32 = 1u32; +pub const MPRAPI_IKEV2_AUTH_USING_CERT: u32 = 1u32; +pub const MPRAPI_IKEV2_AUTH_USING_EAP: u32 = 2u32; +pub const MPRAPI_IKEV2_PROJECTION_INFO_TYPE: u32 = 2u32; +pub const MPRAPI_IKEV2_SET_TUNNEL_CONFIG_PARAMS: u32 = 1u32; +pub const MPRAPI_L2TP_SET_TUNNEL_CONFIG_PARAMS: u32 = 1u32; +pub const MPRAPI_MPR_IF_CUSTOM_CONFIG_OBJECT_REVISION_1: u32 = 1u32; +pub const MPRAPI_MPR_IF_CUSTOM_CONFIG_OBJECT_REVISION_2: u32 = 2u32; +pub const MPRAPI_MPR_IF_CUSTOM_CONFIG_OBJECT_REVISION_3: u32 = 3u32; +pub const MPRAPI_MPR_SERVER_OBJECT_REVISION_1: u32 = 1u32; +pub const MPRAPI_MPR_SERVER_OBJECT_REVISION_2: u32 = 2u32; +pub const MPRAPI_MPR_SERVER_OBJECT_REVISION_3: u32 = 3u32; +pub const MPRAPI_MPR_SERVER_OBJECT_REVISION_4: u32 = 4u32; +pub const MPRAPI_MPR_SERVER_OBJECT_REVISION_5: u32 = 5u32; +pub const MPRAPI_MPR_SERVER_SET_CONFIG_OBJECT_REVISION_1: u32 = 1u32; +pub const MPRAPI_MPR_SERVER_SET_CONFIG_OBJECT_REVISION_2: u32 = 2u32; +pub const MPRAPI_MPR_SERVER_SET_CONFIG_OBJECT_REVISION_3: u32 = 3u32; +pub const MPRAPI_MPR_SERVER_SET_CONFIG_OBJECT_REVISION_4: u32 = 4u32; +pub const MPRAPI_MPR_SERVER_SET_CONFIG_OBJECT_REVISION_5: u32 = 5u32; +pub const MPRAPI_OBJECT_TYPE_AUTH_VALIDATION_OBJECT: MPRAPI_OBJECT_TYPE = 4i32; +pub const MPRAPI_OBJECT_TYPE_IF_CUSTOM_CONFIG_OBJECT: MPRAPI_OBJECT_TYPE = 6i32; +pub const MPRAPI_OBJECT_TYPE_MPR_SERVER_OBJECT: MPRAPI_OBJECT_TYPE = 2i32; +pub const MPRAPI_OBJECT_TYPE_MPR_SERVER_SET_CONFIG_OBJECT: MPRAPI_OBJECT_TYPE = 3i32; +pub const MPRAPI_OBJECT_TYPE_RAS_CONNECTION_OBJECT: MPRAPI_OBJECT_TYPE = 1i32; +pub const MPRAPI_OBJECT_TYPE_UPDATE_CONNECTION_OBJECT: MPRAPI_OBJECT_TYPE = 5i32; +pub const MPRAPI_PPP_PROJECTION_INFO_TYPE: u32 = 1u32; +pub const MPRAPI_RAS_CONNECTION_OBJECT_REVISION_1: u32 = 1u32; +pub const MPRAPI_RAS_UPDATE_CONNECTION_OBJECT_REVISION_1: u32 = 1u32; +pub const MPRAPI_SET_CONFIG_PROTOCOL_FOR_GRE: u32 = 16u32; +pub const MPRAPI_SET_CONFIG_PROTOCOL_FOR_IKEV2: u32 = 8u32; +pub const MPRAPI_SET_CONFIG_PROTOCOL_FOR_L2TP: u32 = 2u32; +pub const MPRAPI_SET_CONFIG_PROTOCOL_FOR_PPTP: u32 = 1u32; +pub const MPRAPI_SET_CONFIG_PROTOCOL_FOR_SSTP: u32 = 4u32; +pub const MPRDM_DialAll: MPR_INTERFACE_DIAL_MODE = 1u32; +pub const MPRDM_DialAsNeeded: MPR_INTERFACE_DIAL_MODE = 2u32; +pub const MPRDM_DialFirst: MPR_INTERFACE_DIAL_MODE = 0u32; +pub const MPRDT_Atm: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ATM"); +pub const MPRDT_FrameRelay: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FRAMERELAY"); +pub const MPRDT_Generic: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("GENERIC"); +pub const MPRDT_Irda: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IRDA"); +pub const MPRDT_Isdn: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("isdn"); +pub const MPRDT_Modem: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("modem"); +pub const MPRDT_Pad: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("pad"); +pub const MPRDT_Parallel: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PARALLEL"); +pub const MPRDT_SW56: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SW56"); +pub const MPRDT_Serial: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SERIAL"); +pub const MPRDT_Sonet: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SONET"); +pub const MPRDT_Vpn: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("vpn"); +pub const MPRDT_X25: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("x25"); +pub const MPRET_Direct: u32 = 3u32; +pub const MPRET_Phone: u32 = 1u32; +pub const MPRET_Vpn: u32 = 2u32; +pub const MPRIDS_Disabled: u32 = 4294967295u32; +pub const MPRIDS_UseGlobalValue: u32 = 0u32; +pub const MPRIO_DisableLcpExtensions: u32 = 32u32; +pub const MPRIO_IpHeaderCompression: u32 = 8u32; +pub const MPRIO_IpSecPreSharedKey: u32 = 2147483648u32; +pub const MPRIO_NetworkLogon: u32 = 8192u32; +pub const MPRIO_PromoteAlternates: u32 = 32768u32; +pub const MPRIO_RemoteDefaultGateway: u32 = 16u32; +pub const MPRIO_RequireCHAP: u32 = 134217728u32; +pub const MPRIO_RequireDataEncryption: u32 = 4096u32; +pub const MPRIO_RequireEAP: u32 = 131072u32; +pub const MPRIO_RequireEncryptedPw: u32 = 1024u32; +pub const MPRIO_RequireMachineCertificates: u32 = 16777216u32; +pub const MPRIO_RequireMsCHAP: u32 = 268435456u32; +pub const MPRIO_RequireMsCHAP2: u32 = 536870912u32; +pub const MPRIO_RequireMsEncryptedPw: u32 = 2048u32; +pub const MPRIO_RequirePAP: u32 = 262144u32; +pub const MPRIO_RequireSPAP: u32 = 524288u32; +pub const MPRIO_SecureLocalFiles: u32 = 65536u32; +pub const MPRIO_SharedPhoneNumbers: u32 = 8388608u32; +pub const MPRIO_SpecificIpAddr: u32 = 2u32; +pub const MPRIO_SpecificNameServers: u32 = 4u32; +pub const MPRIO_SwCompression: u32 = 512u32; +pub const MPRIO_UsePreSharedKeyForIkev2Initiator: u32 = 33554432u32; +pub const MPRIO_UsePreSharedKeyForIkev2Responder: u32 = 67108864u32; +pub const MPRNP_Ip: u32 = 4u32; +pub const MPRNP_Ipv6: u32 = 8u32; +pub const MPRNP_Ipx: u32 = 2u32; +pub const MPR_ENABLE_RAS_ON_DEVICE: u32 = 1u32; +pub const MPR_ENABLE_ROUTING_ON_DEVICE: u32 = 2u32; +pub const MPR_ET_None: MPR_ET = 0u32; +pub const MPR_ET_Optional: MPR_ET = 3u32; +pub const MPR_ET_Require: MPR_ET = 1u32; +pub const MPR_ET_RequireMax: MPR_ET = 2u32; +pub const MPR_INTERFACE_ADMIN_DISABLED: u32 = 2u32; +pub const MPR_INTERFACE_CONNECTION_FAILURE: u32 = 4u32; +pub const MPR_INTERFACE_DIALOUT_HOURS_RESTRICTION: u32 = 16u32; +pub const MPR_INTERFACE_NO_DEVICE: u32 = 64u32; +pub const MPR_INTERFACE_NO_MEDIA_SENSE: u32 = 32u32; +pub const MPR_INTERFACE_OUT_OF_RESOURCES: u32 = 1u32; +pub const MPR_INTERFACE_SERVICE_PAUSED: u32 = 8u32; +pub const MPR_MaxAreaCode: u32 = 10u32; +pub const MPR_MaxCallbackNumber: u32 = 128u32; +pub const MPR_MaxDeviceName: u32 = 128u32; +pub const MPR_MaxDeviceType: u32 = 16u32; +pub const MPR_MaxEntryName: u32 = 256u32; +pub const MPR_MaxFacilities: u32 = 200u32; +pub const MPR_MaxIpAddress: u32 = 15u32; +pub const MPR_MaxIpxAddress: u32 = 21u32; +pub const MPR_MaxPadType: u32 = 32u32; +pub const MPR_MaxPhoneNumber: u32 = 128u32; +pub const MPR_MaxUserData: u32 = 200u32; +pub const MPR_MaxX25Address: u32 = 200u32; +pub const MPR_VPN_TS_IPv4_ADDR_RANGE: MPR_VPN_TS_TYPE = 7i32; +pub const MPR_VPN_TS_IPv6_ADDR_RANGE: MPR_VPN_TS_TYPE = 8i32; +pub const MPR_VS_Default: MPR_VS = 0u32; +pub const MPR_VS_Ikev2First: u32 = 8u32; +pub const MPR_VS_Ikev2Only: u32 = 7u32; +pub const MPR_VS_L2tpFirst: MPR_VS = 4u32; +pub const MPR_VS_L2tpOnly: MPR_VS = 3u32; +pub const MPR_VS_PptpFirst: MPR_VS = 2u32; +pub const MPR_VS_PptpOnly: MPR_VS = 1u32; +pub const PENDING: u32 = 600u32; +pub const PID_ATALK: u32 = 41u32; +pub const PID_IP: u32 = 33u32; +pub const PID_IPV6: u32 = 87u32; +pub const PID_IPX: u32 = 43u32; +pub const PID_NBF: u32 = 63u32; +pub const PPP_CCP_COMPRESSION: u32 = 1u32; +pub const PPP_CCP_ENCRYPTION128BIT: u32 = 64u32; +pub const PPP_CCP_ENCRYPTION40BIT: u32 = 32u32; +pub const PPP_CCP_ENCRYPTION40BITOLD: u32 = 16u32; +pub const PPP_CCP_ENCRYPTION56BIT: u32 = 128u32; +pub const PPP_CCP_HISTORYLESS: u32 = 16777216u32; +pub const PPP_IPCP_VJ: u32 = 1u32; +pub const PPP_LCP_3_DES: u32 = 32u32; +pub const PPP_LCP_ACFC: u32 = 4u32; +pub const PPP_LCP_AES_128: u32 = 64u32; +pub const PPP_LCP_AES_192: u32 = 256u32; +pub const PPP_LCP_AES_256: u32 = 128u32; +pub const PPP_LCP_CHAP: PPP_LCP = 49699u32; +pub const PPP_LCP_CHAP_MD5: PPP_LCP_INFO_AUTH_DATA = 5u32; +pub const PPP_LCP_CHAP_MS: PPP_LCP_INFO_AUTH_DATA = 128u32; +pub const PPP_LCP_CHAP_MSV2: PPP_LCP_INFO_AUTH_DATA = 129u32; +pub const PPP_LCP_DES_56: u32 = 16u32; +pub const PPP_LCP_EAP: PPP_LCP = 49703u32; +pub const PPP_LCP_GCM_AES_128: u32 = 512u32; +pub const PPP_LCP_GCM_AES_192: u32 = 1024u32; +pub const PPP_LCP_GCM_AES_256: u32 = 2048u32; +pub const PPP_LCP_MULTILINK_FRAMING: u32 = 1u32; +pub const PPP_LCP_PAP: PPP_LCP = 49187u32; +pub const PPP_LCP_PFC: u32 = 2u32; +pub const PPP_LCP_SPAP: PPP_LCP = 49191u32; +pub const PPP_LCP_SSHF: u32 = 8u32; +pub const PROJECTION_INFO_TYPE_IKEv2: RASPROJECTION_INFO_TYPE = 2i32; +pub const PROJECTION_INFO_TYPE_PPP: RASPROJECTION_INFO_TYPE = 1i32; +pub const RASADFLG_PositionDlg: u32 = 1u32; +pub const RASADP_ConnectionQueryTimeout: u32 = 4u32; +pub const RASADP_DisableConnectionQuery: u32 = 0u32; +pub const RASADP_FailedConnectionTimeout: u32 = 3u32; +pub const RASADP_LoginSessionDisable: u32 = 1u32; +pub const RASADP_SavedAddressesLimit: u32 = 2u32; +pub const RASAPIVERSION_500: RASAPIVERSION = 1i32; +pub const RASAPIVERSION_501: RASAPIVERSION = 2i32; +pub const RASAPIVERSION_600: RASAPIVERSION = 3i32; +pub const RASAPIVERSION_601: RASAPIVERSION = 4i32; +pub const RASBASE: u32 = 600u32; +pub const RASBASEEND: u32 = 877u32; +pub const RASCCPCA_MPPC: u32 = 6u32; +pub const RASCCPCA_STAC: u32 = 5u32; +pub const RASCCPO_Compression: u32 = 1u32; +pub const RASCCPO_Encryption128bit: u32 = 64u32; +pub const RASCCPO_Encryption40bit: u32 = 32u32; +pub const RASCCPO_Encryption56bit: u32 = 16u32; +pub const RASCCPO_HistoryLess: u32 = 2u32; +pub const RASCF_AllUsers: u32 = 1u32; +pub const RASCF_GlobalCreds: u32 = 2u32; +pub const RASCF_OwnerKnown: u32 = 4u32; +pub const RASCF_OwnerMatch: u32 = 8u32; +pub const RASCM_DDMPreSharedKey: u32 = 64u32; +pub const RASCM_DefaultCreds: u32 = 8u32; +pub const RASCM_Domain: u32 = 4u32; +pub const RASCM_Password: u32 = 2u32; +pub const RASCM_PreSharedKey: u32 = 16u32; +pub const RASCM_ServerPreSharedKey: u32 = 32u32; +pub const RASCM_UserName: u32 = 1u32; +pub const RASCN_BandwidthAdded: u32 = 4u32; +pub const RASCN_BandwidthRemoved: u32 = 8u32; +pub const RASCN_Connection: u32 = 1u32; +pub const RASCN_Disconnection: u32 = 2u32; +pub const RASCN_Dormant: u32 = 16u32; +pub const RASCN_EPDGPacketArrival: u32 = 64u32; +pub const RASCN_ReConnection: u32 = 32u32; +pub const RASCSS_DONE: u32 = 8192u32; +pub const RASCSS_Dormant: RASCONNSUBSTATE = 1i32; +pub const RASCSS_None: RASCONNSUBSTATE = 0i32; +pub const RASCSS_Reconnected: RASCONNSUBSTATE = 8192i32; +pub const RASCSS_Reconnecting: RASCONNSUBSTATE = 2i32; +pub const RASCS_AllDevicesConnected: RASCONNSTATE = 4i32; +pub const RASCS_ApplySettings: RASCONNSTATE = 24i32; +pub const RASCS_AuthAck: RASCONNSTATE = 12i32; +pub const RASCS_AuthCallback: RASCONNSTATE = 8i32; +pub const RASCS_AuthChangePassword: RASCONNSTATE = 9i32; +pub const RASCS_AuthLinkSpeed: RASCONNSTATE = 11i32; +pub const RASCS_AuthNotify: RASCONNSTATE = 6i32; +pub const RASCS_AuthProject: RASCONNSTATE = 10i32; +pub const RASCS_AuthRetry: RASCONNSTATE = 7i32; +pub const RASCS_Authenticate: RASCONNSTATE = 5i32; +pub const RASCS_Authenticated: RASCONNSTATE = 14i32; +pub const RASCS_CallbackComplete: RASCONNSTATE = 20i32; +pub const RASCS_CallbackSetByCaller: RASCONNSTATE = 4098i32; +pub const RASCS_ConnectDevice: RASCONNSTATE = 2i32; +pub const RASCS_Connected: RASCONNSTATE = 8192i32; +pub const RASCS_DONE: u32 = 8192u32; +pub const RASCS_DeviceConnected: RASCONNSTATE = 3i32; +pub const RASCS_Disconnected: RASCONNSTATE = 8193i32; +pub const RASCS_Interactive: RASCONNSTATE = 4096i32; +pub const RASCS_InvokeEapUI: RASCONNSTATE = 4100i32; +pub const RASCS_LogonNetwork: RASCONNSTATE = 21i32; +pub const RASCS_OpenPort: RASCONNSTATE = 0i32; +pub const RASCS_PAUSED: u32 = 4096u32; +pub const RASCS_PasswordExpired: RASCONNSTATE = 4099i32; +pub const RASCS_PortOpened: RASCONNSTATE = 1i32; +pub const RASCS_PrepareForCallback: RASCONNSTATE = 15i32; +pub const RASCS_Projected: RASCONNSTATE = 18i32; +pub const RASCS_ReAuthenticate: RASCONNSTATE = 13i32; +pub const RASCS_RetryAuthentication: RASCONNSTATE = 4097i32; +pub const RASCS_StartAuthentication: RASCONNSTATE = 19i32; +pub const RASCS_SubEntryConnected: RASCONNSTATE = 22i32; +pub const RASCS_SubEntryDisconnected: RASCONNSTATE = 23i32; +pub const RASCS_WaitForCallback: RASCONNSTATE = 17i32; +pub const RASCS_WaitForModemReset: RASCONNSTATE = 16i32; +pub const RASDDFLAG_AoacRedial: u32 = 4u32; +pub const RASDDFLAG_LinkFailure: u32 = 2147483648u32; +pub const RASDDFLAG_NoPrompt: u32 = 2u32; +pub const RASDDFLAG_PositionDlg: u32 = 1u32; +pub const RASDIALEVENT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("RasDialEvent"); +pub const RASDT_Atm: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ATM"); +pub const RASDT_FrameRelay: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FRAMERELAY"); +pub const RASDT_Generic: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("GENERIC"); +pub const RASDT_Irda: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IRDA"); +pub const RASDT_Isdn: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("isdn"); +pub const RASDT_Modem: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("modem"); +pub const RASDT_PPPoE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PPPoE"); +pub const RASDT_Pad: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("pad"); +pub const RASDT_Parallel: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PARALLEL"); +pub const RASDT_SW56: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SW56"); +pub const RASDT_Serial: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SERIAL"); +pub const RASDT_Sonet: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SONET"); +pub const RASDT_Vpn: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("vpn"); +pub const RASDT_X25: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("x25"); +pub const RASEAPF_Logon: u32 = 4u32; +pub const RASEAPF_NonInteractive: u32 = 2u32; +pub const RASEAPF_Preview: u32 = 8u32; +pub const RASEDFLAG_CloneEntry: u32 = 4u32; +pub const RASEDFLAG_IncomingConnection: u32 = 1024u32; +pub const RASEDFLAG_InternetEntry: u32 = 256u32; +pub const RASEDFLAG_NAT: u32 = 512u32; +pub const RASEDFLAG_NewBroadbandEntry: u32 = 128u32; +pub const RASEDFLAG_NewDirectEntry: u32 = 64u32; +pub const RASEDFLAG_NewEntry: u32 = 2u32; +pub const RASEDFLAG_NewPhoneEntry: u32 = 16u32; +pub const RASEDFLAG_NewTunnelEntry: u32 = 32u32; +pub const RASEDFLAG_NoRename: u32 = 8u32; +pub const RASEDFLAG_PositionDlg: u32 = 1u32; +pub const RASEDFLAG_ShellOwned: u32 = 1073741824u32; +pub const RASEDM_DialAll: RASENTRY_DIAL_MODE = 1u32; +pub const RASEDM_DialAsNeeded: RASENTRY_DIAL_MODE = 2u32; +pub const RASEO2_AuthTypeIsOtp: u32 = 268435456u32; +pub const RASEO2_AutoTriggerCapable: u32 = 67108864u32; +pub const RASEO2_CacheCredentials: u32 = 33554432u32; +pub const RASEO2_DisableClassBasedStaticRoute: u32 = 524288u32; +pub const RASEO2_DisableIKENameEkuCheck: u32 = 262144u32; +pub const RASEO2_DisableMobility: u32 = 2097152u32; +pub const RASEO2_DisableNbtOverIP: u32 = 64u32; +pub const RASEO2_DontNegotiateMultilink: u32 = 4u32; +pub const RASEO2_DontUseRasCredentials: u32 = 8u32; +pub const RASEO2_IPv4ExplicitMetric: u32 = 65536u32; +pub const RASEO2_IPv6ExplicitMetric: u32 = 131072u32; +pub const RASEO2_IPv6RemoteDefaultGateway: u32 = 8192u32; +pub const RASEO2_IPv6SpecificNameServers: u32 = 4096u32; +pub const RASEO2_Internet: u32 = 32u32; +pub const RASEO2_IsAlwaysOn: u32 = 536870912u32; +pub const RASEO2_IsPrivateNetwork: u32 = 1073741824u32; +pub const RASEO2_IsThirdPartyProfile: u32 = 134217728u32; +pub const RASEO2_PlumbIKEv2TSAsRoutes: u32 = 2147483648u32; +pub const RASEO2_ReconnectIfDropped: u32 = 256u32; +pub const RASEO2_RegisterIpWithDNS: u32 = 16384u32; +pub const RASEO2_RequireMachineCertificates: u32 = 4194304u32; +pub const RASEO2_SecureClientForMSNet: u32 = 2u32; +pub const RASEO2_SecureFileAndPrint: u32 = 1u32; +pub const RASEO2_SecureRoutingCompartment: u32 = 1024u32; +pub const RASEO2_SharePhoneNumbers: u32 = 512u32; +pub const RASEO2_SpecificIPv6Addr: u32 = 1048576u32; +pub const RASEO2_UseDNSSuffixForRegistration: u32 = 32768u32; +pub const RASEO2_UseGlobalDeviceSettings: u32 = 128u32; +pub const RASEO2_UsePreSharedKey: u32 = 16u32; +pub const RASEO2_UsePreSharedKeyForIkev2Initiator: u32 = 8388608u32; +pub const RASEO2_UsePreSharedKeyForIkev2Responder: u32 = 16777216u32; +pub const RASEO2_UseTypicalSettings: u32 = 2048u32; +pub const RASEO_Custom: u32 = 1048576u32; +pub const RASEO_CustomScript: u32 = 2147483648u32; +pub const RASEO_DisableLcpExtensions: u32 = 32u32; +pub const RASEO_IpHeaderCompression: u32 = 8u32; +pub const RASEO_ModemLights: u32 = 256u32; +pub const RASEO_NetworkLogon: u32 = 8192u32; +pub const RASEO_PreviewDomain: u32 = 33554432u32; +pub const RASEO_PreviewPhoneNumber: u32 = 2097152u32; +pub const RASEO_PreviewUserPw: u32 = 16777216u32; +pub const RASEO_PromoteAlternates: u32 = 32768u32; +pub const RASEO_RemoteDefaultGateway: u32 = 16u32; +pub const RASEO_RequireCHAP: u32 = 134217728u32; +pub const RASEO_RequireDataEncryption: u32 = 4096u32; +pub const RASEO_RequireEAP: u32 = 131072u32; +pub const RASEO_RequireEncryptedPw: u32 = 1024u32; +pub const RASEO_RequireMsCHAP: u32 = 268435456u32; +pub const RASEO_RequireMsCHAP2: u32 = 536870912u32; +pub const RASEO_RequireMsEncryptedPw: u32 = 2048u32; +pub const RASEO_RequirePAP: u32 = 262144u32; +pub const RASEO_RequireSPAP: u32 = 524288u32; +pub const RASEO_RequireW95MSCHAP: u32 = 1073741824u32; +pub const RASEO_SecureLocalFiles: u32 = 65536u32; +pub const RASEO_SharedPhoneNumbers: u32 = 8388608u32; +pub const RASEO_ShowDialingProgress: u32 = 67108864u32; +pub const RASEO_SpecificIpAddr: u32 = 2u32; +pub const RASEO_SpecificNameServers: u32 = 4u32; +pub const RASEO_SwCompression: u32 = 512u32; +pub const RASEO_TerminalAfterDial: u32 = 128u32; +pub const RASEO_TerminalBeforeDial: u32 = 64u32; +pub const RASEO_UseCountryAndAreaCodes: u32 = 1u32; +pub const RASEO_UseLogonCredentials: u32 = 16384u32; +pub const RASET_Broadband: u32 = 5u32; +pub const RASET_Direct: u32 = 3u32; +pub const RASET_Internet: u32 = 4u32; +pub const RASET_Phone: u32 = 1u32; +pub const RASET_Vpn: u32 = 2u32; +pub const RASFP_Ppp: u32 = 1u32; +pub const RASFP_Ras: u32 = 4u32; +pub const RASFP_Slip: u32 = 2u32; +pub const RASIDS_Disabled: u32 = 4294967295u32; +pub const RASIDS_UseGlobalValue: u32 = 0u32; +pub const RASIKEv2_AUTH_EAP: u32 = 2u32; +pub const RASIKEv2_AUTH_MACHINECERTIFICATES: u32 = 1u32; +pub const RASIKEv2_AUTH_PSK: u32 = 3u32; +pub const RASIKEv2_FLAGS_BEHIND_NAT: RASIKEV_PROJECTION_INFO_FLAGS = 2u32; +pub const RASIKEv2_FLAGS_MOBIKESUPPORTED: RASIKEV_PROJECTION_INFO_FLAGS = 1u32; +pub const RASIKEv2_FLAGS_SERVERBEHIND_NAT: RASIKEV_PROJECTION_INFO_FLAGS = 4u32; +pub const RASIPO_VJ: u32 = 1u32; +pub const RASLCPAD_CHAP_MD5: RASPPP_PROJECTION_INFO_SERVER_AUTH_DATA = 5u32; +pub const RASLCPAD_CHAP_MS: RASPPP_PROJECTION_INFO_SERVER_AUTH_DATA = 128u32; +pub const RASLCPAD_CHAP_MSV2: RASPPP_PROJECTION_INFO_SERVER_AUTH_DATA = 129u32; +pub const RASLCPAP_CHAP: RASPPP_PROJECTION_INFO_SERVER_AUTH_PROTOCOL = 49699u32; +pub const RASLCPAP_EAP: RASPPP_PROJECTION_INFO_SERVER_AUTH_PROTOCOL = 49703u32; +pub const RASLCPAP_PAP: RASPPP_PROJECTION_INFO_SERVER_AUTH_PROTOCOL = 49187u32; +pub const RASLCPAP_SPAP: RASPPP_PROJECTION_INFO_SERVER_AUTH_PROTOCOL = 49191u32; +pub const RASLCPO_3_DES: u32 = 16u32; +pub const RASLCPO_ACFC: u32 = 2u32; +pub const RASLCPO_AES_128: u32 = 32u32; +pub const RASLCPO_AES_192: u32 = 128u32; +pub const RASLCPO_AES_256: u32 = 64u32; +pub const RASLCPO_DES_56: u32 = 8u32; +pub const RASLCPO_GCM_AES_128: u32 = 256u32; +pub const RASLCPO_GCM_AES_192: u32 = 512u32; +pub const RASLCPO_GCM_AES_256: u32 = 1024u32; +pub const RASLCPO_PFC: u32 = 1u32; +pub const RASLCPO_SSHF: u32 = 4u32; +pub const RASNAP_ProbationTime: u32 = 1u32; +pub const RASNOUSER_SmartCard: u32 = 1u32; +pub const RASNP_Ip: u32 = 4u32; +pub const RASNP_Ipv6: u32 = 8u32; +pub const RASNP_Ipx: u32 = 2u32; +pub const RASNP_NetBEUI: u32 = 1u32; +pub const RASPBDEVENT_AddEntry: u32 = 1u32; +pub const RASPBDEVENT_DialEntry: u32 = 4u32; +pub const RASPBDEVENT_EditEntry: u32 = 2u32; +pub const RASPBDEVENT_EditGlobals: u32 = 5u32; +pub const RASPBDEVENT_NoUser: u32 = 6u32; +pub const RASPBDEVENT_NoUserEdit: u32 = 7u32; +pub const RASPBDEVENT_RemoveEntry: u32 = 3u32; +pub const RASPBDFLAG_ForceCloseOnDial: u32 = 2u32; +pub const RASPBDFLAG_NoUser: u32 = 16u32; +pub const RASPBDFLAG_PositionDlg: u32 = 1u32; +pub const RASPBDFLAG_UpdateDefaults: u32 = 2147483648u32; +pub const RASPRIV2_DialinPolicy: u32 = 1u32; +pub const RASPRIV_AdminSetCallback: u32 = 2u32; +pub const RASPRIV_CallerSetCallback: u32 = 4u32; +pub const RASPRIV_DialinPrivilege: u32 = 8u32; +pub const RASPRIV_NoCallback: u32 = 1u32; +pub const RASP_Amb: RASPROJECTION = 65536i32; +pub const RASP_PppCcp: RASPROJECTION = 33021i32; +pub const RASP_PppIp: RASPROJECTION = 32801i32; +pub const RASP_PppIpv6: RASPROJECTION = 32855i32; +pub const RASP_PppIpx: RASPROJECTION = 32811i32; +pub const RASP_PppLcp: RASPROJECTION = 49185i32; +pub const RASP_PppNbf: RASPROJECTION = 32831i32; +pub const RASTUNNELENDPOINT_IPv4: u32 = 1u32; +pub const RASTUNNELENDPOINT_IPv6: u32 = 2u32; +pub const RASTUNNELENDPOINT_UNKNOWN: u32 = 0u32; +pub const RAS_FLAGS_ARAP_CONNECTION: RAS_FLAGS = 16u32; +pub const RAS_FLAGS_DORMANT: RAS_FLAGS = 32u32; +pub const RAS_FLAGS_IKEV2_CONNECTION: RAS_FLAGS = 16u32; +pub const RAS_FLAGS_MESSENGER_PRESENT: RAS_FLAGS = 2u32; +pub const RAS_FLAGS_PPP_CONNECTION: RAS_FLAGS = 1u32; +pub const RAS_FLAGS_QUARANTINE_PRESENT: RAS_FLAGS = 8u32; +pub const RAS_FLAGS_RAS_CONNECTION: u32 = 4u32; +pub const RAS_HARDWARE_FAILURE: RAS_HARDWARE_CONDITION = 1i32; +pub const RAS_HARDWARE_OPERATIONAL: RAS_HARDWARE_CONDITION = 0i32; +pub const RAS_MaxAreaCode: u32 = 10u32; +pub const RAS_MaxCallbackNumber: u32 = 128u32; +pub const RAS_MaxDeviceName: u32 = 128u32; +pub const RAS_MaxDeviceType: u32 = 16u32; +pub const RAS_MaxDnsSuffix: u32 = 256u32; +pub const RAS_MaxEntryName: u32 = 256u32; +pub const RAS_MaxFacilities: u32 = 200u32; +pub const RAS_MaxIDSize: u32 = 256u32; +pub const RAS_MaxIpAddress: u32 = 15u32; +pub const RAS_MaxIpxAddress: u32 = 21u32; +pub const RAS_MaxPadType: u32 = 32u32; +pub const RAS_MaxPhoneNumber: u32 = 128u32; +pub const RAS_MaxReplyMessage: u32 = 1024u32; +pub const RAS_MaxUserData: u32 = 200u32; +pub const RAS_MaxX25Address: u32 = 200u32; +pub const RAS_PORT_AUTHENTICATED: RAS_PORT_CONDITION = 5i32; +pub const RAS_PORT_AUTHENTICATING: RAS_PORT_CONDITION = 4i32; +pub const RAS_PORT_CALLING_BACK: RAS_PORT_CONDITION = 2i32; +pub const RAS_PORT_DISCONNECTED: RAS_PORT_CONDITION = 1i32; +pub const RAS_PORT_INITIALIZING: RAS_PORT_CONDITION = 6i32; +pub const RAS_PORT_LISTENING: RAS_PORT_CONDITION = 3i32; +pub const RAS_PORT_NON_OPERATIONAL: RAS_PORT_CONDITION = 0i32; +pub const RAS_QUAR_STATE_NORMAL: RAS_QUARANTINE_STATE = 0i32; +pub const RAS_QUAR_STATE_NOT_CAPABLE: RAS_QUARANTINE_STATE = 3i32; +pub const RAS_QUAR_STATE_PROBATION: RAS_QUARANTINE_STATE = 2i32; +pub const RAS_QUAR_STATE_QUARANTINE: RAS_QUARANTINE_STATE = 1i32; +pub const RCD_AllUsers: u32 = 1u32; +pub const RCD_Eap: u32 = 2u32; +pub const RCD_Logon: u32 = 4u32; +pub const RCD_SingleUser: u32 = 0u32; +pub const RDEOPT_CustomDial: u32 = 4096u32; +pub const RDEOPT_DisableConnectedUI: u32 = 64u32; +pub const RDEOPT_DisableReconnect: u32 = 256u32; +pub const RDEOPT_DisableReconnectUI: u32 = 128u32; +pub const RDEOPT_EapInfoCryptInCapable: u32 = 32768u32; +pub const RDEOPT_IgnoreModemSpeaker: u32 = 4u32; +pub const RDEOPT_IgnoreSoftwareCompression: u32 = 16u32; +pub const RDEOPT_InvokeAutoTriggerCredentialUI: u32 = 16384u32; +pub const RDEOPT_NoUser: u32 = 512u32; +pub const RDEOPT_PauseOnScript: u32 = 1024u32; +pub const RDEOPT_PausedStates: u32 = 2u32; +pub const RDEOPT_Router: u32 = 2048u32; +pub const RDEOPT_SetModemSpeaker: u32 = 8u32; +pub const RDEOPT_SetSoftwareCompression: u32 = 32u32; +pub const RDEOPT_UseCustomScripting: u32 = 8192u32; +pub const RDEOPT_UsePrefixSuffix: u32 = 1u32; +pub const REN_AllUsers: u32 = 1u32; +pub const REN_User: u32 = 0u32; +pub const ROUTER_IF_STATE_CONNECTED: ROUTER_CONNECTION_STATE = 3i32; +pub const ROUTER_IF_STATE_CONNECTING: ROUTER_CONNECTION_STATE = 2i32; +pub const ROUTER_IF_STATE_DISCONNECTED: ROUTER_CONNECTION_STATE = 1i32; +pub const ROUTER_IF_STATE_UNREACHABLE: ROUTER_CONNECTION_STATE = 0i32; +pub const ROUTER_IF_TYPE_CLIENT: ROUTER_INTERFACE_TYPE = 0i32; +pub const ROUTER_IF_TYPE_DEDICATED: ROUTER_INTERFACE_TYPE = 3i32; +pub const ROUTER_IF_TYPE_DIALOUT: ROUTER_INTERFACE_TYPE = 7i32; +pub const ROUTER_IF_TYPE_FULL_ROUTER: ROUTER_INTERFACE_TYPE = 2i32; +pub const ROUTER_IF_TYPE_HOME_ROUTER: ROUTER_INTERFACE_TYPE = 1i32; +pub const ROUTER_IF_TYPE_INTERNAL: ROUTER_INTERFACE_TYPE = 4i32; +pub const ROUTER_IF_TYPE_LOOPBACK: ROUTER_INTERFACE_TYPE = 5i32; +pub const ROUTER_IF_TYPE_MAX: ROUTER_INTERFACE_TYPE = 8i32; +pub const ROUTER_IF_TYPE_TUNNEL1: ROUTER_INTERFACE_TYPE = 6i32; +pub const RRAS_SERVICE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RemoteAccess"); +pub const RTM_BLOCK_METHODS: u32 = 1u32; +pub const RTM_CHANGE_NOTIFICATION: RTM_EVENT_TYPE = 3i32; +pub const RTM_CHANGE_TYPE_ALL: u32 = 1u32; +pub const RTM_CHANGE_TYPE_BEST: u32 = 2u32; +pub const RTM_CHANGE_TYPE_FORWARDING: u32 = 4u32; +pub const RTM_DEST_FLAG_DONT_FORWARD: u32 = 4u32; +pub const RTM_DEST_FLAG_FWD_ENGIN_ADD: u32 = 2u32; +pub const RTM_DEST_FLAG_NATURAL_NET: u32 = 1u32; +pub const RTM_ENTITY_DEREGISTERED: RTM_EVENT_TYPE = 1i32; +pub const RTM_ENTITY_REGISTERED: RTM_EVENT_TYPE = 0i32; +pub const RTM_ENUM_ALL_DESTS: u32 = 0u32; +pub const RTM_ENUM_ALL_ROUTES: u32 = 0u32; +pub const RTM_ENUM_NEXT: u32 = 1u32; +pub const RTM_ENUM_OWN_DESTS: u32 = 16777216u32; +pub const RTM_ENUM_OWN_ROUTES: u32 = 65536u32; +pub const RTM_ENUM_RANGE: u32 = 2u32; +pub const RTM_ENUM_START: u32 = 0u32; +pub const RTM_MATCH_FULL: u32 = 65535u32; +pub const RTM_MATCH_INTERFACE: u32 = 16u32; +pub const RTM_MATCH_NEIGHBOUR: u32 = 2u32; +pub const RTM_MATCH_NEXTHOP: u32 = 8u32; +pub const RTM_MATCH_NONE: u32 = 0u32; +pub const RTM_MATCH_OWNER: u32 = 1u32; +pub const RTM_MATCH_PREF: u32 = 4u32; +pub const RTM_MAX_ADDRESS_SIZE: u32 = 16u32; +pub const RTM_MAX_VIEWS: u32 = 32u32; +pub const RTM_NEXTHOP_CHANGE_NEW: u32 = 1u32; +pub const RTM_NEXTHOP_FLAGS_DOWN: u32 = 2u32; +pub const RTM_NEXTHOP_FLAGS_REMOTE: u32 = 1u32; +pub const RTM_NEXTHOP_STATE_CREATED: u32 = 0u32; +pub const RTM_NEXTHOP_STATE_DELETED: u32 = 1u32; +pub const RTM_NOTIFY_ONLY_MARKED_DESTS: u32 = 65536u32; +pub const RTM_NUM_CHANGE_TYPES: u32 = 3u32; +pub const RTM_RESUME_METHODS: u32 = 0u32; +pub const RTM_ROUTE_CHANGE_BEST: u32 = 65536u32; +pub const RTM_ROUTE_CHANGE_FIRST: u32 = 1u32; +pub const RTM_ROUTE_CHANGE_NEW: u32 = 2u32; +pub const RTM_ROUTE_EXPIRED: RTM_EVENT_TYPE = 2i32; +pub const RTM_ROUTE_FLAGS_BLACKHOLE: u32 = 2u32; +pub const RTM_ROUTE_FLAGS_DISCARD: u32 = 4u32; +pub const RTM_ROUTE_FLAGS_INACTIVE: u32 = 8u32; +pub const RTM_ROUTE_FLAGS_LIMITED_BC: u32 = 1024u32; +pub const RTM_ROUTE_FLAGS_LOCAL: u32 = 16u32; +pub const RTM_ROUTE_FLAGS_LOCAL_MCAST: u32 = 512u32; +pub const RTM_ROUTE_FLAGS_LOOPBACK: u32 = 128u32; +pub const RTM_ROUTE_FLAGS_MARTIAN: u32 = 1u32; +pub const RTM_ROUTE_FLAGS_MCAST: u32 = 256u32; +pub const RTM_ROUTE_FLAGS_MYSELF: u32 = 64u32; +pub const RTM_ROUTE_FLAGS_ONES_NETBC: u32 = 16384u32; +pub const RTM_ROUTE_FLAGS_ONES_SUBNETBC: u32 = 32768u32; +pub const RTM_ROUTE_FLAGS_REMOTE: u32 = 32u32; +pub const RTM_ROUTE_FLAGS_ZEROS_NETBC: u32 = 4096u32; +pub const RTM_ROUTE_FLAGS_ZEROS_SUBNETBC: u32 = 8192u32; +pub const RTM_ROUTE_STATE_CREATED: u32 = 0u32; +pub const RTM_ROUTE_STATE_DELETED: u32 = 2u32; +pub const RTM_ROUTE_STATE_DELETING: u32 = 1u32; +pub const RTM_VIEW_ID_MCAST: u32 = 1u32; +pub const RTM_VIEW_ID_UCAST: u32 = 0u32; +pub const RTM_VIEW_MASK_ALL: u32 = 4294967295u32; +pub const RTM_VIEW_MASK_ANY: u32 = 0u32; +pub const RTM_VIEW_MASK_MCAST: u32 = 2u32; +pub const RTM_VIEW_MASK_NONE: u32 = 0u32; +pub const RTM_VIEW_MASK_SIZE: u32 = 32u32; +pub const RTM_VIEW_MASK_UCAST: u32 = 1u32; +pub const SECURITYMSG_ERROR: SECURITY_MESSAGE_MSG_ID = 3u32; +pub const SECURITYMSG_FAILURE: SECURITY_MESSAGE_MSG_ID = 2u32; +pub const SECURITYMSG_SUCCESS: SECURITY_MESSAGE_MSG_ID = 1u32; +pub const VS_Default: u32 = 0u32; +pub const VS_GREOnly: u32 = 9u32; +pub const VS_Ikev2First: u32 = 8u32; +pub const VS_Ikev2Only: u32 = 7u32; +pub const VS_Ikev2Sstp: u32 = 14u32; +pub const VS_L2tpFirst: u32 = 4u32; +pub const VS_L2tpOnly: u32 = 3u32; +pub const VS_L2tpSstp: u32 = 13u32; +pub const VS_PptpFirst: u32 = 2u32; +pub const VS_PptpOnly: u32 = 1u32; +pub const VS_PptpSstp: u32 = 12u32; +pub const VS_ProtocolList: u32 = 15u32; +pub const VS_SstpFirst: u32 = 6u32; +pub const VS_SstpOnly: u32 = 5u32; +pub const WARNING_MSG_ALIAS_NOT_ADDED: u32 = 644u32; +pub const WM_RASDIALEVENT: u32 = 52429u32; +pub type IKEV2_ID_PAYLOAD_TYPE = i32; +pub type MGM_ENUM_TYPES = i32; +pub type MPRAPI_OBJECT_TYPE = i32; +pub type MPR_ET = u32; +pub type MPR_INTERFACE_DIAL_MODE = u32; +pub type MPR_VPN_TS_TYPE = i32; +pub type MPR_VS = u32; +pub type PPP_LCP = u32; +pub type PPP_LCP_INFO_AUTH_DATA = u32; +pub type RASAPIVERSION = i32; +pub type RASCONNSTATE = i32; +pub type RASCONNSUBSTATE = i32; +pub type RASENTRY_DIAL_MODE = u32; +pub type RASIKEV_PROJECTION_INFO_FLAGS = u32; +pub type RASPPP_PROJECTION_INFO_SERVER_AUTH_DATA = u32; +pub type RASPPP_PROJECTION_INFO_SERVER_AUTH_PROTOCOL = u32; +pub type RASPROJECTION = i32; +pub type RASPROJECTION_INFO_TYPE = i32; +pub type RAS_FLAGS = u32; +pub type RAS_HARDWARE_CONDITION = i32; +pub type RAS_PORT_CONDITION = i32; +pub type RAS_QUARANTINE_STATE = i32; +pub type ROUTER_CONNECTION_STATE = i32; +pub type ROUTER_INTERFACE_TYPE = i32; +pub type RTM_EVENT_TYPE = i32; +pub type SECURITY_MESSAGE_MSG_ID = u32; +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct AUTH_VALIDATION_EX { + pub Header: MPRAPI_OBJECT_HEADER, + pub hRasConnection: super::super::Foundation::HANDLE, + pub wszUserName: [u16; 257], + pub wszLogonDomain: [u16; 16], + pub AuthInfoSize: u32, + pub AuthInfo: [u8; 1], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for AUTH_VALIDATION_EX {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for AUTH_VALIDATION_EX { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct GRE_CONFIG_PARAMS0 { + pub dwNumPorts: u32, + pub dwPortFlags: u32, +} +impl ::core::marker::Copy for GRE_CONFIG_PARAMS0 {} +impl ::core::clone::Clone for GRE_CONFIG_PARAMS0 { + fn clone(&self) -> Self { + *self + } +} +pub type HRASCONN = isize; +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +pub struct IKEV2_CONFIG_PARAMS { + pub dwNumPorts: u32, + pub dwPortFlags: u32, + pub dwTunnelConfigParamFlags: u32, + pub TunnelConfigParams: IKEV2_TUNNEL_CONFIG_PARAMS4, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::marker::Copy for IKEV2_CONFIG_PARAMS {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::clone::Clone for IKEV2_CONFIG_PARAMS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEV2_PROJECTION_INFO { + pub dwIPv4NegotiationError: u32, + pub wszAddress: [u16; 16], + pub wszRemoteAddress: [u16; 16], + pub IPv4SubInterfaceIndex: u64, + pub dwIPv6NegotiationError: u32, + pub bInterfaceIdentifier: [u8; 8], + pub bRemoteInterfaceIdentifier: [u8; 8], + pub bPrefix: [u8; 8], + pub dwPrefixLength: u32, + pub IPv6SubInterfaceIndex: u64, + pub dwOptions: u32, + pub dwAuthenticationProtocol: u32, + pub dwEapTypeId: u32, + pub dwCompressionAlgorithm: u32, + pub dwEncryptionMethod: u32, +} +impl ::core::marker::Copy for IKEV2_PROJECTION_INFO {} +impl ::core::clone::Clone for IKEV2_PROJECTION_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEV2_PROJECTION_INFO2 { + pub dwIPv4NegotiationError: u32, + pub wszAddress: [u16; 16], + pub wszRemoteAddress: [u16; 16], + pub IPv4SubInterfaceIndex: u64, + pub dwIPv6NegotiationError: u32, + pub bInterfaceIdentifier: [u8; 8], + pub bRemoteInterfaceIdentifier: [u8; 8], + pub bPrefix: [u8; 8], + pub dwPrefixLength: u32, + pub IPv6SubInterfaceIndex: u64, + pub dwOptions: u32, + pub dwAuthenticationProtocol: u32, + pub dwEapTypeId: u32, + pub dwEmbeddedEAPTypeId: u32, + pub dwCompressionAlgorithm: u32, + pub dwEncryptionMethod: u32, +} +impl ::core::marker::Copy for IKEV2_PROJECTION_INFO2 {} +impl ::core::clone::Clone for IKEV2_PROJECTION_INFO2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Security_Cryptography\"`"] +#[cfg(feature = "Win32_Security_Cryptography")] +pub struct IKEV2_TUNNEL_CONFIG_PARAMS2 { + pub dwIdleTimeout: u32, + pub dwNetworkBlackoutTime: u32, + pub dwSaLifeTime: u32, + pub dwSaDataSizeForRenegotiation: u32, + pub dwConfigOptions: u32, + pub dwTotalCertificates: u32, + pub certificateNames: *mut super::super::Security::Cryptography::CRYPT_INTEGER_BLOB, + pub machineCertificateName: super::super::Security::Cryptography::CRYPT_INTEGER_BLOB, + pub dwEncryptionType: u32, + pub customPolicy: *mut ROUTER_CUSTOM_IKEv2_POLICY0, +} +#[cfg(feature = "Win32_Security_Cryptography")] +impl ::core::marker::Copy for IKEV2_TUNNEL_CONFIG_PARAMS2 {} +#[cfg(feature = "Win32_Security_Cryptography")] +impl ::core::clone::Clone for IKEV2_TUNNEL_CONFIG_PARAMS2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +pub struct IKEV2_TUNNEL_CONFIG_PARAMS3 { + pub dwIdleTimeout: u32, + pub dwNetworkBlackoutTime: u32, + pub dwSaLifeTime: u32, + pub dwSaDataSizeForRenegotiation: u32, + pub dwConfigOptions: u32, + pub dwTotalCertificates: u32, + pub certificateNames: *mut super::super::Security::Cryptography::CRYPT_INTEGER_BLOB, + pub machineCertificateName: super::super::Security::Cryptography::CRYPT_INTEGER_BLOB, + pub dwEncryptionType: u32, + pub customPolicy: *mut ROUTER_CUSTOM_IKEv2_POLICY0, + pub dwTotalEkus: u32, + pub certificateEKUs: *mut MPR_CERT_EKU, + pub machineCertificateHash: super::super::Security::Cryptography::CRYPT_INTEGER_BLOB, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::marker::Copy for IKEV2_TUNNEL_CONFIG_PARAMS3 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::clone::Clone for IKEV2_TUNNEL_CONFIG_PARAMS3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +pub struct IKEV2_TUNNEL_CONFIG_PARAMS4 { + pub dwIdleTimeout: u32, + pub dwNetworkBlackoutTime: u32, + pub dwSaLifeTime: u32, + pub dwSaDataSizeForRenegotiation: u32, + pub dwConfigOptions: u32, + pub dwTotalCertificates: u32, + pub certificateNames: *mut super::super::Security::Cryptography::CRYPT_INTEGER_BLOB, + pub machineCertificateName: super::super::Security::Cryptography::CRYPT_INTEGER_BLOB, + pub dwEncryptionType: u32, + pub customPolicy: *mut ROUTER_CUSTOM_IKEv2_POLICY0, + pub dwTotalEkus: u32, + pub certificateEKUs: *mut MPR_CERT_EKU, + pub machineCertificateHash: super::super::Security::Cryptography::CRYPT_INTEGER_BLOB, + pub dwMmSaLifeTime: u32, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::marker::Copy for IKEV2_TUNNEL_CONFIG_PARAMS4 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::clone::Clone for IKEV2_TUNNEL_CONFIG_PARAMS4 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct L2TP_CONFIG_PARAMS0 { + pub dwNumPorts: u32, + pub dwPortFlags: u32, +} +impl ::core::marker::Copy for L2TP_CONFIG_PARAMS0 {} +impl ::core::clone::Clone for L2TP_CONFIG_PARAMS0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct L2TP_CONFIG_PARAMS1 { + pub dwNumPorts: u32, + pub dwPortFlags: u32, + pub dwTunnelConfigParamFlags: u32, + pub TunnelConfigParams: L2TP_TUNNEL_CONFIG_PARAMS2, +} +impl ::core::marker::Copy for L2TP_CONFIG_PARAMS1 {} +impl ::core::clone::Clone for L2TP_CONFIG_PARAMS1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct L2TP_TUNNEL_CONFIG_PARAMS1 { + pub dwIdleTimeout: u32, + pub dwEncryptionType: u32, + pub dwSaLifeTime: u32, + pub dwSaDataSizeForRenegotiation: u32, + pub customPolicy: *mut ROUTER_CUSTOM_IKEv2_POLICY0, +} +impl ::core::marker::Copy for L2TP_TUNNEL_CONFIG_PARAMS1 {} +impl ::core::clone::Clone for L2TP_TUNNEL_CONFIG_PARAMS1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct L2TP_TUNNEL_CONFIG_PARAMS2 { + pub dwIdleTimeout: u32, + pub dwEncryptionType: u32, + pub dwSaLifeTime: u32, + pub dwSaDataSizeForRenegotiation: u32, + pub customPolicy: *mut ROUTER_CUSTOM_IKEv2_POLICY0, + pub dwMmSaLifeTime: u32, +} +impl ::core::marker::Copy for L2TP_TUNNEL_CONFIG_PARAMS2 {} +impl ::core::clone::Clone for L2TP_TUNNEL_CONFIG_PARAMS2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct MGM_IF_ENTRY { + pub dwIfIndex: u32, + pub dwIfNextHopAddr: u32, + pub bIGMP: super::super::Foundation::BOOL, + pub bIsEnabled: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for MGM_IF_ENTRY {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for MGM_IF_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +pub struct MPRAPI_ADMIN_DLL_CALLBACKS { + pub revision: u8, + pub lpfnMprAdminGetIpAddressForUser: PMPRADMINGETIPADDRESSFORUSER, + pub lpfnMprAdminReleaseIpAddress: PMPRADMINRELEASEIPADRESS, + pub lpfnMprAdminGetIpv6AddressForUser: PMPRADMINGETIPV6ADDRESSFORUSER, + pub lpfnMprAdminReleaseIpV6AddressForUser: PMPRADMINRELEASEIPV6ADDRESSFORUSER, + pub lpfnRasAdminAcceptNewLink: PMPRADMINACCEPTNEWLINK, + pub lpfnRasAdminLinkHangupNotification: PMPRADMINLINKHANGUPNOTIFICATION, + pub lpfnRasAdminTerminateDll: PMPRADMINTERMINATEDLL, + pub lpfnRasAdminAcceptNewConnectionEx: PMPRADMINACCEPTNEWCONNECTIONEX, + pub lpfnRasAdminAcceptEndpointChangeEx: PMPRADMINACCEPTTUNNELENDPOINTCHANGEEX, + pub lpfnRasAdminAcceptReauthenticationEx: PMPRADMINACCEPTREAUTHENTICATIONEX, + pub lpfnRasAdminConnectionHangupNotificationEx: PMPRADMINCONNECTIONHANGUPNOTIFICATIONEX, + pub lpfnRASValidatePreAuthenticatedConnectionEx: PMPRADMINRASVALIDATEPREAUTHENTICATEDCONNECTIONEX, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +impl ::core::marker::Copy for MPRAPI_ADMIN_DLL_CALLBACKS {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +impl ::core::clone::Clone for MPRAPI_ADMIN_DLL_CALLBACKS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct MPRAPI_OBJECT_HEADER { + pub revision: u8, + pub r#type: u8, + pub size: u16, +} +impl ::core::marker::Copy for MPRAPI_OBJECT_HEADER {} +impl ::core::clone::Clone for MPRAPI_OBJECT_HEADER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +pub struct MPRAPI_TUNNEL_CONFIG_PARAMS0 { + pub IkeConfigParams: IKEV2_CONFIG_PARAMS, + pub PptpConfigParams: PPTP_CONFIG_PARAMS, + pub L2tpConfigParams: L2TP_CONFIG_PARAMS1, + pub SstpConfigParams: SSTP_CONFIG_PARAMS, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::marker::Copy for MPRAPI_TUNNEL_CONFIG_PARAMS0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::clone::Clone for MPRAPI_TUNNEL_CONFIG_PARAMS0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +pub struct MPRAPI_TUNNEL_CONFIG_PARAMS1 { + pub IkeConfigParams: IKEV2_CONFIG_PARAMS, + pub PptpConfigParams: PPTP_CONFIG_PARAMS, + pub L2tpConfigParams: L2TP_CONFIG_PARAMS1, + pub SstpConfigParams: SSTP_CONFIG_PARAMS, + pub GREConfigParams: GRE_CONFIG_PARAMS0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::marker::Copy for MPRAPI_TUNNEL_CONFIG_PARAMS1 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::clone::Clone for MPRAPI_TUNNEL_CONFIG_PARAMS1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct MPR_CERT_EKU { + pub dwSize: u32, + pub IsEKUOID: super::super::Foundation::BOOL, + pub pwszEKU: ::windows_sys::core::PWSTR, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for MPR_CERT_EKU {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for MPR_CERT_EKU { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct MPR_CREDENTIALSEX_0 { + pub dwSize: u32, + pub lpbCredentialsInfo: *mut u8, +} +impl ::core::marker::Copy for MPR_CREDENTIALSEX_0 {} +impl ::core::clone::Clone for MPR_CREDENTIALSEX_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct MPR_CREDENTIALSEX_1 { + pub dwSize: u32, + pub lpbCredentialsInfo: *mut u8, +} +impl ::core::marker::Copy for MPR_CREDENTIALSEX_1 {} +impl ::core::clone::Clone for MPR_CREDENTIALSEX_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct MPR_DEVICE_0 { + pub szDeviceType: [u16; 17], + pub szDeviceName: [u16; 129], +} +impl ::core::marker::Copy for MPR_DEVICE_0 {} +impl ::core::clone::Clone for MPR_DEVICE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct MPR_DEVICE_1 { + pub szDeviceType: [u16; 17], + pub szDeviceName: [u16; 129], + pub szLocalPhoneNumber: [u16; 129], + pub szAlternates: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for MPR_DEVICE_1 {} +impl ::core::clone::Clone for MPR_DEVICE_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct MPR_FILTER_0 { + pub fEnable: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for MPR_FILTER_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for MPR_FILTER_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct MPR_IFTRANSPORT_0 { + pub dwTransportId: u32, + pub hIfTransport: super::super::Foundation::HANDLE, + pub wszIfTransportName: [u16; 41], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for MPR_IFTRANSPORT_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for MPR_IFTRANSPORT_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Security_Cryptography\"`"] +#[cfg(feature = "Win32_Security_Cryptography")] +pub struct MPR_IF_CUSTOMINFOEX0 { + pub Header: MPRAPI_OBJECT_HEADER, + pub dwFlags: u32, + pub customIkev2Config: ROUTER_IKEv2_IF_CUSTOM_CONFIG0, +} +#[cfg(feature = "Win32_Security_Cryptography")] +impl ::core::marker::Copy for MPR_IF_CUSTOMINFOEX0 {} +#[cfg(feature = "Win32_Security_Cryptography")] +impl ::core::clone::Clone for MPR_IF_CUSTOMINFOEX0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Security_Cryptography\"`"] +#[cfg(feature = "Win32_Security_Cryptography")] +pub struct MPR_IF_CUSTOMINFOEX1 { + pub Header: MPRAPI_OBJECT_HEADER, + pub dwFlags: u32, + pub customIkev2Config: ROUTER_IKEv2_IF_CUSTOM_CONFIG1, +} +#[cfg(feature = "Win32_Security_Cryptography")] +impl ::core::marker::Copy for MPR_IF_CUSTOMINFOEX1 {} +#[cfg(feature = "Win32_Security_Cryptography")] +impl ::core::clone::Clone for MPR_IF_CUSTOMINFOEX1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Security_Cryptography\"`"] +#[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))] +pub struct MPR_IF_CUSTOMINFOEX2 { + pub Header: MPRAPI_OBJECT_HEADER, + pub dwFlags: u32, + pub customIkev2Config: ROUTER_IKEv2_IF_CUSTOM_CONFIG2, +} +#[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))] +impl ::core::marker::Copy for MPR_IF_CUSTOMINFOEX2 {} +#[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))] +impl ::core::clone::Clone for MPR_IF_CUSTOMINFOEX2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct MPR_INTERFACE_0 { + pub wszInterfaceName: [u16; 257], + pub hInterface: super::super::Foundation::HANDLE, + pub fEnabled: super::super::Foundation::BOOL, + pub dwIfType: ROUTER_INTERFACE_TYPE, + pub dwConnectionState: ROUTER_CONNECTION_STATE, + pub fUnReachabilityReasons: u32, + pub dwLastError: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for MPR_INTERFACE_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for MPR_INTERFACE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct MPR_INTERFACE_1 { + pub wszInterfaceName: [u16; 257], + pub hInterface: super::super::Foundation::HANDLE, + pub fEnabled: super::super::Foundation::BOOL, + pub dwIfType: ROUTER_INTERFACE_TYPE, + pub dwConnectionState: ROUTER_CONNECTION_STATE, + pub fUnReachabilityReasons: u32, + pub dwLastError: u32, + pub lpwsDialoutHoursRestriction: ::windows_sys::core::PWSTR, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for MPR_INTERFACE_1 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for MPR_INTERFACE_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct MPR_INTERFACE_2 { + pub wszInterfaceName: [u16; 257], + pub hInterface: super::super::Foundation::HANDLE, + pub fEnabled: super::super::Foundation::BOOL, + pub dwIfType: ROUTER_INTERFACE_TYPE, + pub dwConnectionState: ROUTER_CONNECTION_STATE, + pub fUnReachabilityReasons: u32, + pub dwLastError: u32, + pub dwfOptions: u32, + pub szLocalPhoneNumber: [u16; 129], + pub szAlternates: ::windows_sys::core::PWSTR, + pub ipaddr: u32, + pub ipaddrDns: u32, + pub ipaddrDnsAlt: u32, + pub ipaddrWins: u32, + pub ipaddrWinsAlt: u32, + pub dwfNetProtocols: u32, + pub szDeviceType: [u16; 17], + pub szDeviceName: [u16; 129], + pub szX25PadType: [u16; 33], + pub szX25Address: [u16; 201], + pub szX25Facilities: [u16; 201], + pub szX25UserData: [u16; 201], + pub dwChannels: u32, + pub dwSubEntries: u32, + pub dwDialMode: MPR_INTERFACE_DIAL_MODE, + pub dwDialExtraPercent: u32, + pub dwDialExtraSampleSeconds: u32, + pub dwHangUpExtraPercent: u32, + pub dwHangUpExtraSampleSeconds: u32, + pub dwIdleDisconnectSeconds: u32, + pub dwType: u32, + pub dwEncryptionType: MPR_ET, + pub dwCustomAuthKey: u32, + pub dwCustomAuthDataSize: u32, + pub lpbCustomAuthData: *mut u8, + pub guidId: ::windows_sys::core::GUID, + pub dwVpnStrategy: MPR_VS, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for MPR_INTERFACE_2 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for MPR_INTERFACE_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +pub struct MPR_INTERFACE_3 { + pub wszInterfaceName: [u16; 257], + pub hInterface: super::super::Foundation::HANDLE, + pub fEnabled: super::super::Foundation::BOOL, + pub dwIfType: ROUTER_INTERFACE_TYPE, + pub dwConnectionState: ROUTER_CONNECTION_STATE, + pub fUnReachabilityReasons: u32, + pub dwLastError: u32, + pub dwfOptions: u32, + pub szLocalPhoneNumber: [u16; 129], + pub szAlternates: ::windows_sys::core::PWSTR, + pub ipaddr: u32, + pub ipaddrDns: u32, + pub ipaddrDnsAlt: u32, + pub ipaddrWins: u32, + pub ipaddrWinsAlt: u32, + pub dwfNetProtocols: u32, + pub szDeviceType: [u16; 17], + pub szDeviceName: [u16; 129], + pub szX25PadType: [u16; 33], + pub szX25Address: [u16; 201], + pub szX25Facilities: [u16; 201], + pub szX25UserData: [u16; 201], + pub dwChannels: u32, + pub dwSubEntries: u32, + pub dwDialMode: MPR_INTERFACE_DIAL_MODE, + pub dwDialExtraPercent: u32, + pub dwDialExtraSampleSeconds: u32, + pub dwHangUpExtraPercent: u32, + pub dwHangUpExtraSampleSeconds: u32, + pub dwIdleDisconnectSeconds: u32, + pub dwType: u32, + pub dwEncryptionType: MPR_ET, + pub dwCustomAuthKey: u32, + pub dwCustomAuthDataSize: u32, + pub lpbCustomAuthData: *mut u8, + pub guidId: ::windows_sys::core::GUID, + pub dwVpnStrategy: MPR_VS, + pub AddressCount: u32, + pub ipv6addrDns: super::super::Networking::WinSock::IN6_ADDR, + pub ipv6addrDnsAlt: super::super::Networking::WinSock::IN6_ADDR, + pub ipv6addr: *mut super::super::Networking::WinSock::IN6_ADDR, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +impl ::core::marker::Copy for MPR_INTERFACE_3 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +impl ::core::clone::Clone for MPR_INTERFACE_3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct MPR_IPINIP_INTERFACE_0 { + pub wszFriendlyName: [u16; 257], + pub Guid: ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for MPR_IPINIP_INTERFACE_0 {} +impl ::core::clone::Clone for MPR_IPINIP_INTERFACE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct MPR_SERVER_0 { + pub fLanOnlyMode: super::super::Foundation::BOOL, + pub dwUpTime: u32, + pub dwTotalPorts: u32, + pub dwPortsInUse: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for MPR_SERVER_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for MPR_SERVER_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct MPR_SERVER_1 { + pub dwNumPptpPorts: u32, + pub dwPptpPortFlags: u32, + pub dwNumL2tpPorts: u32, + pub dwL2tpPortFlags: u32, +} +impl ::core::marker::Copy for MPR_SERVER_1 {} +impl ::core::clone::Clone for MPR_SERVER_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct MPR_SERVER_2 { + pub dwNumPptpPorts: u32, + pub dwPptpPortFlags: u32, + pub dwNumL2tpPorts: u32, + pub dwL2tpPortFlags: u32, + pub dwNumSstpPorts: u32, + pub dwSstpPortFlags: u32, +} +impl ::core::marker::Copy for MPR_SERVER_2 {} +impl ::core::clone::Clone for MPR_SERVER_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +pub struct MPR_SERVER_EX0 { + pub Header: MPRAPI_OBJECT_HEADER, + pub fLanOnlyMode: u32, + pub dwUpTime: u32, + pub dwTotalPorts: u32, + pub dwPortsInUse: u32, + pub Reserved: u32, + pub ConfigParams: MPRAPI_TUNNEL_CONFIG_PARAMS0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::marker::Copy for MPR_SERVER_EX0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::clone::Clone for MPR_SERVER_EX0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +pub struct MPR_SERVER_EX1 { + pub Header: MPRAPI_OBJECT_HEADER, + pub fLanOnlyMode: u32, + pub dwUpTime: u32, + pub dwTotalPorts: u32, + pub dwPortsInUse: u32, + pub Reserved: u32, + pub ConfigParams: MPRAPI_TUNNEL_CONFIG_PARAMS1, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::marker::Copy for MPR_SERVER_EX1 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::clone::Clone for MPR_SERVER_EX1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +pub struct MPR_SERVER_SET_CONFIG_EX0 { + pub Header: MPRAPI_OBJECT_HEADER, + pub setConfigForProtocols: u32, + pub ConfigParams: MPRAPI_TUNNEL_CONFIG_PARAMS0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::marker::Copy for MPR_SERVER_SET_CONFIG_EX0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::clone::Clone for MPR_SERVER_SET_CONFIG_EX0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +pub struct MPR_SERVER_SET_CONFIG_EX1 { + pub Header: MPRAPI_OBJECT_HEADER, + pub setConfigForProtocols: u32, + pub ConfigParams: MPRAPI_TUNNEL_CONFIG_PARAMS1, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::marker::Copy for MPR_SERVER_SET_CONFIG_EX1 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::clone::Clone for MPR_SERVER_SET_CONFIG_EX1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct MPR_TRANSPORT_0 { + pub dwTransportId: u32, + pub hTransport: super::super::Foundation::HANDLE, + pub wszTransportName: [u16; 41], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for MPR_TRANSPORT_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for MPR_TRANSPORT_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct MPR_VPN_TRAFFIC_SELECTOR { + pub r#type: MPR_VPN_TS_TYPE, + pub protocolId: u8, + pub portStart: u16, + pub portEnd: u16, + pub tsPayloadId: u16, + pub addrStart: VPN_TS_IP_ADDRESS, + pub addrEnd: VPN_TS_IP_ADDRESS, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for MPR_VPN_TRAFFIC_SELECTOR {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for MPR_VPN_TRAFFIC_SELECTOR { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct MPR_VPN_TRAFFIC_SELECTORS { + pub numTsi: u32, + pub numTsr: u32, + pub tsI: *mut MPR_VPN_TRAFFIC_SELECTOR, + pub tsR: *mut MPR_VPN_TRAFFIC_SELECTOR, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for MPR_VPN_TRAFFIC_SELECTORS {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for MPR_VPN_TRAFFIC_SELECTORS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PPP_ATCP_INFO { + pub dwError: u32, + pub wszAddress: [u16; 33], +} +impl ::core::marker::Copy for PPP_ATCP_INFO {} +impl ::core::clone::Clone for PPP_ATCP_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PPP_CCP_INFO { + pub dwError: u32, + pub dwCompressionAlgorithm: u32, + pub dwOptions: u32, + pub dwRemoteCompressionAlgorithm: u32, + pub dwRemoteOptions: u32, +} +impl ::core::marker::Copy for PPP_CCP_INFO {} +impl ::core::clone::Clone for PPP_CCP_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PPP_INFO { + pub nbf: PPP_NBFCP_INFO, + pub ip: PPP_IPCP_INFO, + pub ipx: PPP_IPXCP_INFO, + pub at: PPP_ATCP_INFO, +} +impl ::core::marker::Copy for PPP_INFO {} +impl ::core::clone::Clone for PPP_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PPP_INFO_2 { + pub nbf: PPP_NBFCP_INFO, + pub ip: PPP_IPCP_INFO2, + pub ipx: PPP_IPXCP_INFO, + pub at: PPP_ATCP_INFO, + pub ccp: PPP_CCP_INFO, + pub lcp: PPP_LCP_INFO, +} +impl ::core::marker::Copy for PPP_INFO_2 {} +impl ::core::clone::Clone for PPP_INFO_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PPP_INFO_3 { + pub nbf: PPP_NBFCP_INFO, + pub ip: PPP_IPCP_INFO2, + pub ipv6: PPP_IPV6_CP_INFO, + pub ccp: PPP_CCP_INFO, + pub lcp: PPP_LCP_INFO, +} +impl ::core::marker::Copy for PPP_INFO_3 {} +impl ::core::clone::Clone for PPP_INFO_3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PPP_IPCP_INFO { + pub dwError: u32, + pub wszAddress: [u16; 16], + pub wszRemoteAddress: [u16; 16], +} +impl ::core::marker::Copy for PPP_IPCP_INFO {} +impl ::core::clone::Clone for PPP_IPCP_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PPP_IPCP_INFO2 { + pub dwError: u32, + pub wszAddress: [u16; 16], + pub wszRemoteAddress: [u16; 16], + pub dwOptions: u32, + pub dwRemoteOptions: u32, +} +impl ::core::marker::Copy for PPP_IPCP_INFO2 {} +impl ::core::clone::Clone for PPP_IPCP_INFO2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PPP_IPV6_CP_INFO { + pub dwVersion: u32, + pub dwSize: u32, + pub dwError: u32, + pub bInterfaceIdentifier: [u8; 8], + pub bRemoteInterfaceIdentifier: [u8; 8], + pub dwOptions: u32, + pub dwRemoteOptions: u32, + pub bPrefix: [u8; 8], + pub dwPrefixLength: u32, +} +impl ::core::marker::Copy for PPP_IPV6_CP_INFO {} +impl ::core::clone::Clone for PPP_IPV6_CP_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PPP_IPXCP_INFO { + pub dwError: u32, + pub wszAddress: [u16; 23], +} +impl ::core::marker::Copy for PPP_IPXCP_INFO {} +impl ::core::clone::Clone for PPP_IPXCP_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PPP_LCP_INFO { + pub dwError: u32, + pub dwAuthenticationProtocol: PPP_LCP, + pub dwAuthenticationData: PPP_LCP_INFO_AUTH_DATA, + pub dwRemoteAuthenticationProtocol: u32, + pub dwRemoteAuthenticationData: u32, + pub dwTerminateReason: u32, + pub dwRemoteTerminateReason: u32, + pub dwOptions: u32, + pub dwRemoteOptions: u32, + pub dwEapTypeId: u32, + pub dwRemoteEapTypeId: u32, +} +impl ::core::marker::Copy for PPP_LCP_INFO {} +impl ::core::clone::Clone for PPP_LCP_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PPP_NBFCP_INFO { + pub dwError: u32, + pub wszWksta: [u16; 17], +} +impl ::core::marker::Copy for PPP_NBFCP_INFO {} +impl ::core::clone::Clone for PPP_NBFCP_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PPP_PROJECTION_INFO { + pub dwIPv4NegotiationError: u32, + pub wszAddress: [u16; 16], + pub wszRemoteAddress: [u16; 16], + pub dwIPv4Options: u32, + pub dwIPv4RemoteOptions: u32, + pub IPv4SubInterfaceIndex: u64, + pub dwIPv6NegotiationError: u32, + pub bInterfaceIdentifier: [u8; 8], + pub bRemoteInterfaceIdentifier: [u8; 8], + pub bPrefix: [u8; 8], + pub dwPrefixLength: u32, + pub IPv6SubInterfaceIndex: u64, + pub dwLcpError: u32, + pub dwAuthenticationProtocol: PPP_LCP, + pub dwAuthenticationData: PPP_LCP_INFO_AUTH_DATA, + pub dwRemoteAuthenticationProtocol: PPP_LCP, + pub dwRemoteAuthenticationData: PPP_LCP_INFO_AUTH_DATA, + pub dwLcpTerminateReason: u32, + pub dwLcpRemoteTerminateReason: u32, + pub dwLcpOptions: u32, + pub dwLcpRemoteOptions: u32, + pub dwEapTypeId: u32, + pub dwRemoteEapTypeId: u32, + pub dwCcpError: u32, + pub dwCompressionAlgorithm: u32, + pub dwCcpOptions: u32, + pub dwRemoteCompressionAlgorithm: u32, + pub dwCcpRemoteOptions: u32, +} +impl ::core::marker::Copy for PPP_PROJECTION_INFO {} +impl ::core::clone::Clone for PPP_PROJECTION_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PPP_PROJECTION_INFO2 { + pub dwIPv4NegotiationError: u32, + pub wszAddress: [u16; 16], + pub wszRemoteAddress: [u16; 16], + pub dwIPv4Options: u32, + pub dwIPv4RemoteOptions: u32, + pub IPv4SubInterfaceIndex: u64, + pub dwIPv6NegotiationError: u32, + pub bInterfaceIdentifier: [u8; 8], + pub bRemoteInterfaceIdentifier: [u8; 8], + pub bPrefix: [u8; 8], + pub dwPrefixLength: u32, + pub IPv6SubInterfaceIndex: u64, + pub dwLcpError: u32, + pub dwAuthenticationProtocol: PPP_LCP, + pub dwAuthenticationData: PPP_LCP_INFO_AUTH_DATA, + pub dwRemoteAuthenticationProtocol: PPP_LCP, + pub dwRemoteAuthenticationData: PPP_LCP_INFO_AUTH_DATA, + pub dwLcpTerminateReason: u32, + pub dwLcpRemoteTerminateReason: u32, + pub dwLcpOptions: u32, + pub dwLcpRemoteOptions: u32, + pub dwEapTypeId: u32, + pub dwEmbeddedEAPTypeId: u32, + pub dwRemoteEapTypeId: u32, + pub dwCcpError: u32, + pub dwCompressionAlgorithm: u32, + pub dwCcpOptions: u32, + pub dwRemoteCompressionAlgorithm: u32, + pub dwCcpRemoteOptions: u32, +} +impl ::core::marker::Copy for PPP_PROJECTION_INFO2 {} +impl ::core::clone::Clone for PPP_PROJECTION_INFO2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PPTP_CONFIG_PARAMS { + pub dwNumPorts: u32, + pub dwPortFlags: u32, +} +impl ::core::marker::Copy for PPTP_CONFIG_PARAMS {} +impl ::core::clone::Clone for PPTP_CONFIG_PARAMS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PROJECTION_INFO { + pub projectionInfoType: u8, + pub Anonymous: PROJECTION_INFO_0, +} +impl ::core::marker::Copy for PROJECTION_INFO {} +impl ::core::clone::Clone for PROJECTION_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union PROJECTION_INFO_0 { + pub PppProjectionInfo: PPP_PROJECTION_INFO, + pub Ikev2ProjectionInfo: IKEV2_PROJECTION_INFO, +} +impl ::core::marker::Copy for PROJECTION_INFO_0 {} +impl ::core::clone::Clone for PROJECTION_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PROJECTION_INFO2 { + pub projectionInfoType: u8, + pub Anonymous: PROJECTION_INFO2_0, +} +impl ::core::marker::Copy for PROJECTION_INFO2 {} +impl ::core::clone::Clone for PROJECTION_INFO2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union PROJECTION_INFO2_0 { + pub PppProjectionInfo: PPP_PROJECTION_INFO2, + pub Ikev2ProjectionInfo: IKEV2_PROJECTION_INFO2, +} +impl ::core::marker::Copy for PROJECTION_INFO2_0 {} +impl ::core::clone::Clone for PROJECTION_INFO2_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(4))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct RASADPARAMS { + pub dwSize: u32, + pub hwndOwner: super::super::Foundation::HWND, + pub dwFlags: u32, + pub xDlg: i32, + pub yDlg: i32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RASADPARAMS {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RASADPARAMS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RASAMBA { + pub dwSize: u32, + pub dwError: u32, + pub szNetBiosError: [u8; 17], + pub bLana: u8, +} +impl ::core::marker::Copy for RASAMBA {} +impl ::core::clone::Clone for RASAMBA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RASAMBW { + pub dwSize: u32, + pub dwError: u32, + pub szNetBiosError: [u16; 17], + pub bLana: u8, +} +impl ::core::marker::Copy for RASAMBW {} +impl ::core::clone::Clone for RASAMBW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RASAUTODIALENTRYA { + pub dwSize: u32, + pub dwFlags: u32, + pub dwDialingLocation: u32, + pub szEntry: [u8; 257], +} +impl ::core::marker::Copy for RASAUTODIALENTRYA {} +impl ::core::clone::Clone for RASAUTODIALENTRYA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RASAUTODIALENTRYW { + pub dwSize: u32, + pub dwFlags: u32, + pub dwDialingLocation: u32, + pub szEntry: [u16; 257], +} +impl ::core::marker::Copy for RASAUTODIALENTRYW {} +impl ::core::clone::Clone for RASAUTODIALENTRYW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RASCOMMSETTINGS { + pub dwSize: u32, + pub bParity: u8, + pub bStop: u8, + pub bByteSize: u8, + pub bAlign: u8, +} +impl ::core::marker::Copy for RASCOMMSETTINGS {} +impl ::core::clone::Clone for RASCOMMSETTINGS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(4))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +pub struct RASCONNA { + pub dwSize: u32, + pub hrasconn: HRASCONN, + pub szEntryName: [u8; 257], + pub szDeviceType: [u8; 17], + pub szDeviceName: [u8; 129], + pub szPhonebook: [u8; 260], + pub dwSubEntry: u32, + pub guidEntry: ::windows_sys::core::GUID, + pub dwFlags: u32, + pub luid: super::super::Foundation::LUID, + pub guidCorrelationId: ::windows_sys::core::GUID, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RASCONNA {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RASCONNA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +pub struct RASCONNA { + pub dwSize: u32, + pub hrasconn: HRASCONN, + pub szEntryName: [u8; 257], + pub szDeviceType: [u8; 17], + pub szDeviceName: [u8; 129], + pub szPhonebook: [u8; 260], + pub dwSubEntry: u32, + pub guidEntry: ::windows_sys::core::GUID, + pub dwFlags: u32, + pub luid: super::super::Foundation::LUID, + pub guidCorrelationId: ::windows_sys::core::GUID, +} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RASCONNA {} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RASCONNA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct RASCONNSTATUSA { + pub dwSize: u32, + pub rasconnstate: RASCONNSTATE, + pub dwError: u32, + pub szDeviceType: [u8; 17], + pub szDeviceName: [u8; 129], + pub szPhoneNumber: [u8; 129], + pub localEndPoint: RASTUNNELENDPOINT, + pub remoteEndPoint: RASTUNNELENDPOINT, + pub rasconnsubstate: RASCONNSUBSTATE, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for RASCONNSTATUSA {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for RASCONNSTATUSA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct RASCONNSTATUSW { + pub dwSize: u32, + pub rasconnstate: RASCONNSTATE, + pub dwError: u32, + pub szDeviceType: [u16; 17], + pub szDeviceName: [u16; 129], + pub szPhoneNumber: [u16; 129], + pub localEndPoint: RASTUNNELENDPOINT, + pub remoteEndPoint: RASTUNNELENDPOINT, + pub rasconnsubstate: RASCONNSUBSTATE, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for RASCONNSTATUSW {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for RASCONNSTATUSW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(4))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +pub struct RASCONNW { + pub dwSize: u32, + pub hrasconn: HRASCONN, + pub szEntryName: [u16; 257], + pub szDeviceType: [u16; 17], + pub szDeviceName: [u16; 129], + pub szPhonebook: [u16; 260], + pub dwSubEntry: u32, + pub guidEntry: ::windows_sys::core::GUID, + pub dwFlags: u32, + pub luid: super::super::Foundation::LUID, + pub guidCorrelationId: ::windows_sys::core::GUID, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RASCONNW {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RASCONNW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +pub struct RASCONNW { + pub dwSize: u32, + pub hrasconn: HRASCONN, + pub szEntryName: [u16; 257], + pub szDeviceType: [u16; 17], + pub szDeviceName: [u16; 129], + pub szPhonebook: [u16; 260], + pub dwSubEntry: u32, + pub guidEntry: ::windows_sys::core::GUID, + pub dwFlags: u32, + pub luid: super::super::Foundation::LUID, + pub guidCorrelationId: ::windows_sys::core::GUID, +} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RASCONNW {} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RASCONNW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RASCREDENTIALSA { + pub dwSize: u32, + pub dwMask: u32, + pub szUserName: [u8; 257], + pub szPassword: [u8; 257], + pub szDomain: [u8; 16], +} +impl ::core::marker::Copy for RASCREDENTIALSA {} +impl ::core::clone::Clone for RASCREDENTIALSA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RASCREDENTIALSW { + pub dwSize: u32, + pub dwMask: u32, + pub szUserName: [u16; 257], + pub szPassword: [u16; 257], + pub szDomain: [u16; 16], +} +impl ::core::marker::Copy for RASCREDENTIALSW {} +impl ::core::clone::Clone for RASCREDENTIALSW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RASCTRYINFO { + pub dwSize: u32, + pub dwCountryID: u32, + pub dwNextCountryID: u32, + pub dwCountryCode: u32, + pub dwCountryNameOffset: u32, +} +impl ::core::marker::Copy for RASCTRYINFO {} +impl ::core::clone::Clone for RASCTRYINFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(4))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct RASCUSTOMSCRIPTEXTENSIONS { + pub dwSize: u32, + pub pfnRasSetCommSettings: PFNRASSETCOMMSETTINGS, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RASCUSTOMSCRIPTEXTENSIONS {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RASCUSTOMSCRIPTEXTENSIONS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RASDEVINFOA { + pub dwSize: u32, + pub szDeviceType: [u8; 17], + pub szDeviceName: [u8; 129], +} +impl ::core::marker::Copy for RASDEVINFOA {} +impl ::core::clone::Clone for RASDEVINFOA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RASDEVINFOW { + pub dwSize: u32, + pub szDeviceType: [u16; 17], + pub szDeviceName: [u16; 129], +} +impl ::core::marker::Copy for RASDEVINFOW {} +impl ::core::clone::Clone for RASDEVINFOW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(4))] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +pub struct RASDEVSPECIFICINFO { + pub dwSize: u32, + pub pbDevSpecificInfo: *mut u8, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +impl ::core::marker::Copy for RASDEVSPECIFICINFO {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +impl ::core::clone::Clone for RASDEVSPECIFICINFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[cfg(target_arch = "x86")] +pub struct RASDEVSPECIFICINFO { + pub dwSize: u32, + pub pbDevSpecificInfo: *mut u8, +} +#[cfg(target_arch = "x86")] +impl ::core::marker::Copy for RASDEVSPECIFICINFO {} +#[cfg(target_arch = "x86")] +impl ::core::clone::Clone for RASDEVSPECIFICINFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(4))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct RASDIALDLG { + pub dwSize: u32, + pub hwndOwner: super::super::Foundation::HWND, + pub dwFlags: u32, + pub xDlg: i32, + pub yDlg: i32, + pub dwSubEntry: u32, + pub dwError: u32, + pub reserved: usize, + pub reserved2: usize, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RASDIALDLG {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RASDIALDLG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(4))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct RASDIALEXTENSIONS { + pub dwSize: u32, + pub dwfOptions: u32, + pub hwndParent: super::super::Foundation::HWND, + pub reserved: usize, + pub reserved1: usize, + pub RasEapInfo: RASEAPINFO, + pub fSkipPppAuth: super::super::Foundation::BOOL, + pub RasDevSpecificInfo: RASDEVSPECIFICINFO, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RASDIALEXTENSIONS {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RASDIALEXTENSIONS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(4))] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +pub struct RASDIALPARAMSA { + pub dwSize: u32, + pub szEntryName: [u8; 257], + pub szPhoneNumber: [u8; 129], + pub szCallbackNumber: [u8; 129], + pub szUserName: [u8; 257], + pub szPassword: [u8; 257], + pub szDomain: [u8; 16], + pub dwSubEntry: u32, + pub dwCallbackId: usize, + pub dwIfIndex: u32, + pub szEncPassword: ::windows_sys::core::PSTR, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +impl ::core::marker::Copy for RASDIALPARAMSA {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +impl ::core::clone::Clone for RASDIALPARAMSA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[cfg(target_arch = "x86")] +pub struct RASDIALPARAMSA { + pub dwSize: u32, + pub szEntryName: [u8; 257], + pub szPhoneNumber: [u8; 129], + pub szCallbackNumber: [u8; 129], + pub szUserName: [u8; 257], + pub szPassword: [u8; 257], + pub szDomain: [u8; 16], + pub dwSubEntry: u32, + pub dwCallbackId: usize, + pub dwIfIndex: u32, + pub szEncPassword: ::windows_sys::core::PSTR, +} +#[cfg(target_arch = "x86")] +impl ::core::marker::Copy for RASDIALPARAMSA {} +#[cfg(target_arch = "x86")] +impl ::core::clone::Clone for RASDIALPARAMSA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(4))] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +pub struct RASDIALPARAMSW { + pub dwSize: u32, + pub szEntryName: [u16; 257], + pub szPhoneNumber: [u16; 129], + pub szCallbackNumber: [u16; 129], + pub szUserName: [u16; 257], + pub szPassword: [u16; 257], + pub szDomain: [u16; 16], + pub dwSubEntry: u32, + pub dwCallbackId: usize, + pub dwIfIndex: u32, + pub szEncPassword: ::windows_sys::core::PWSTR, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +impl ::core::marker::Copy for RASDIALPARAMSW {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +impl ::core::clone::Clone for RASDIALPARAMSW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[cfg(target_arch = "x86")] +pub struct RASDIALPARAMSW { + pub dwSize: u32, + pub szEntryName: [u16; 257], + pub szPhoneNumber: [u16; 129], + pub szCallbackNumber: [u16; 129], + pub szUserName: [u16; 257], + pub szPassword: [u16; 257], + pub szDomain: [u16; 16], + pub dwSubEntry: u32, + pub dwCallbackId: usize, + pub dwIfIndex: u32, + pub szEncPassword: ::windows_sys::core::PWSTR, +} +#[cfg(target_arch = "x86")] +impl ::core::marker::Copy for RASDIALPARAMSW {} +#[cfg(target_arch = "x86")] +impl ::core::clone::Clone for RASDIALPARAMSW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(4))] +pub struct RASEAPINFO { + pub dwSizeofEapInfo: u32, + pub pbEapInfo: *mut u8, +} +impl ::core::marker::Copy for RASEAPINFO {} +impl ::core::clone::Clone for RASEAPINFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RASEAPUSERIDENTITYA { + pub szUserName: [u8; 257], + pub dwSizeofEapInfo: u32, + pub pbEapInfo: [u8; 1], +} +impl ::core::marker::Copy for RASEAPUSERIDENTITYA {} +impl ::core::clone::Clone for RASEAPUSERIDENTITYA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RASEAPUSERIDENTITYW { + pub szUserName: [u16; 257], + pub dwSizeofEapInfo: u32, + pub pbEapInfo: [u8; 1], +} +impl ::core::marker::Copy for RASEAPUSERIDENTITYW {} +impl ::core::clone::Clone for RASEAPUSERIDENTITYW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +pub struct RASENTRYA { + pub dwSize: u32, + pub dwfOptions: u32, + pub dwCountryID: u32, + pub dwCountryCode: u32, + pub szAreaCode: [u8; 11], + pub szLocalPhoneNumber: [u8; 129], + pub dwAlternateOffset: u32, + pub ipaddr: RASIPADDR, + pub ipaddrDns: RASIPADDR, + pub ipaddrDnsAlt: RASIPADDR, + pub ipaddrWins: RASIPADDR, + pub ipaddrWinsAlt: RASIPADDR, + pub dwFrameSize: u32, + pub dwfNetProtocols: u32, + pub dwFramingProtocol: u32, + pub szScript: [u8; 260], + pub szAutodialDll: [u8; 260], + pub szAutodialFunc: [u8; 260], + pub szDeviceType: [u8; 17], + pub szDeviceName: [u8; 129], + pub szX25PadType: [u8; 33], + pub szX25Address: [u8; 201], + pub szX25Facilities: [u8; 201], + pub szX25UserData: [u8; 201], + pub dwChannels: u32, + pub dwReserved1: u32, + pub dwReserved2: u32, + pub dwSubEntries: u32, + pub dwDialMode: RASENTRY_DIAL_MODE, + pub dwDialExtraPercent: u32, + pub dwDialExtraSampleSeconds: u32, + pub dwHangUpExtraPercent: u32, + pub dwHangUpExtraSampleSeconds: u32, + pub dwIdleDisconnectSeconds: u32, + pub dwType: u32, + pub dwEncryptionType: u32, + pub dwCustomAuthKey: u32, + pub guidId: ::windows_sys::core::GUID, + pub szCustomDialDll: [u8; 260], + pub dwVpnStrategy: u32, + pub dwfOptions2: u32, + pub dwfOptions3: u32, + pub szDnsSuffix: [u8; 256], + pub dwTcpWindowSize: u32, + pub szPrerequisitePbk: [u8; 260], + pub szPrerequisiteEntry: [u8; 257], + pub dwRedialCount: u32, + pub dwRedialPause: u32, + pub ipv6addrDns: super::super::Networking::WinSock::IN6_ADDR, + pub ipv6addrDnsAlt: super::super::Networking::WinSock::IN6_ADDR, + pub dwIPv4InterfaceMetric: u32, + pub dwIPv6InterfaceMetric: u32, + pub ipv6addr: super::super::Networking::WinSock::IN6_ADDR, + pub dwIPv6PrefixLength: u32, + pub dwNetworkOutageTime: u32, + pub szIDi: [u8; 257], + pub szIDr: [u8; 257], + pub fIsImsConfig: super::super::Foundation::BOOL, + pub IdiType: IKEV2_ID_PAYLOAD_TYPE, + pub IdrType: IKEV2_ID_PAYLOAD_TYPE, + pub fDisableIKEv2Fragmentation: super::super::Foundation::BOOL, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +impl ::core::marker::Copy for RASENTRYA {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +impl ::core::clone::Clone for RASENTRYA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(4))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +pub struct RASENTRYDLGA { + pub dwSize: u32, + pub hwndOwner: super::super::Foundation::HWND, + pub dwFlags: u32, + pub xDlg: i32, + pub yDlg: i32, + pub szEntry: [u8; 257], + pub dwError: u32, + pub reserved: usize, + pub reserved2: usize, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RASENTRYDLGA {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RASENTRYDLGA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +pub struct RASENTRYDLGA { + pub dwSize: u32, + pub hwndOwner: super::super::Foundation::HWND, + pub dwFlags: u32, + pub xDlg: i32, + pub yDlg: i32, + pub szEntry: [u8; 257], + pub dwError: u32, + pub reserved: usize, + pub reserved2: usize, +} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RASENTRYDLGA {} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RASENTRYDLGA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(4))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +pub struct RASENTRYDLGW { + pub dwSize: u32, + pub hwndOwner: super::super::Foundation::HWND, + pub dwFlags: u32, + pub xDlg: i32, + pub yDlg: i32, + pub szEntry: [u16; 257], + pub dwError: u32, + pub reserved: usize, + pub reserved2: usize, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RASENTRYDLGW {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RASENTRYDLGW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +pub struct RASENTRYDLGW { + pub dwSize: u32, + pub hwndOwner: super::super::Foundation::HWND, + pub dwFlags: u32, + pub xDlg: i32, + pub yDlg: i32, + pub szEntry: [u16; 257], + pub dwError: u32, + pub reserved: usize, + pub reserved2: usize, +} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RASENTRYDLGW {} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RASENTRYDLGW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RASENTRYNAMEA { + pub dwSize: u32, + pub szEntryName: [u8; 257], + pub dwFlags: u32, + pub szPhonebookPath: [u8; 261], +} +impl ::core::marker::Copy for RASENTRYNAMEA {} +impl ::core::clone::Clone for RASENTRYNAMEA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RASENTRYNAMEW { + pub dwSize: u32, + pub szEntryName: [u16; 257], + pub dwFlags: u32, + pub szPhonebookPath: [u16; 261], +} +impl ::core::marker::Copy for RASENTRYNAMEW {} +impl ::core::clone::Clone for RASENTRYNAMEW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +pub struct RASENTRYW { + pub dwSize: u32, + pub dwfOptions: u32, + pub dwCountryID: u32, + pub dwCountryCode: u32, + pub szAreaCode: [u16; 11], + pub szLocalPhoneNumber: [u16; 129], + pub dwAlternateOffset: u32, + pub ipaddr: RASIPADDR, + pub ipaddrDns: RASIPADDR, + pub ipaddrDnsAlt: RASIPADDR, + pub ipaddrWins: RASIPADDR, + pub ipaddrWinsAlt: RASIPADDR, + pub dwFrameSize: u32, + pub dwfNetProtocols: u32, + pub dwFramingProtocol: u32, + pub szScript: [u16; 260], + pub szAutodialDll: [u16; 260], + pub szAutodialFunc: [u16; 260], + pub szDeviceType: [u16; 17], + pub szDeviceName: [u16; 129], + pub szX25PadType: [u16; 33], + pub szX25Address: [u16; 201], + pub szX25Facilities: [u16; 201], + pub szX25UserData: [u16; 201], + pub dwChannels: u32, + pub dwReserved1: u32, + pub dwReserved2: u32, + pub dwSubEntries: u32, + pub dwDialMode: RASENTRY_DIAL_MODE, + pub dwDialExtraPercent: u32, + pub dwDialExtraSampleSeconds: u32, + pub dwHangUpExtraPercent: u32, + pub dwHangUpExtraSampleSeconds: u32, + pub dwIdleDisconnectSeconds: u32, + pub dwType: u32, + pub dwEncryptionType: u32, + pub dwCustomAuthKey: u32, + pub guidId: ::windows_sys::core::GUID, + pub szCustomDialDll: [u16; 260], + pub dwVpnStrategy: u32, + pub dwfOptions2: u32, + pub dwfOptions3: u32, + pub szDnsSuffix: [u16; 256], + pub dwTcpWindowSize: u32, + pub szPrerequisitePbk: [u16; 260], + pub szPrerequisiteEntry: [u16; 257], + pub dwRedialCount: u32, + pub dwRedialPause: u32, + pub ipv6addrDns: super::super::Networking::WinSock::IN6_ADDR, + pub ipv6addrDnsAlt: super::super::Networking::WinSock::IN6_ADDR, + pub dwIPv4InterfaceMetric: u32, + pub dwIPv6InterfaceMetric: u32, + pub ipv6addr: super::super::Networking::WinSock::IN6_ADDR, + pub dwIPv6PrefixLength: u32, + pub dwNetworkOutageTime: u32, + pub szIDi: [u16; 257], + pub szIDr: [u16; 257], + pub fIsImsConfig: super::super::Foundation::BOOL, + pub IdiType: IKEV2_ID_PAYLOAD_TYPE, + pub IdrType: IKEV2_ID_PAYLOAD_TYPE, + pub fDisableIKEv2Fragmentation: super::super::Foundation::BOOL, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +impl ::core::marker::Copy for RASENTRYW {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +impl ::core::clone::Clone for RASENTRYW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(4))] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct RASIKEV2_PROJECTION_INFO { + pub dwIPv4NegotiationError: u32, + pub ipv4Address: super::super::Networking::WinSock::IN_ADDR, + pub ipv4ServerAddress: super::super::Networking::WinSock::IN_ADDR, + pub dwIPv6NegotiationError: u32, + pub ipv6Address: super::super::Networking::WinSock::IN6_ADDR, + pub ipv6ServerAddress: super::super::Networking::WinSock::IN6_ADDR, + pub dwPrefixLength: u32, + pub dwAuthenticationProtocol: u32, + pub dwEapTypeId: u32, + pub dwFlags: RASIKEV_PROJECTION_INFO_FLAGS, + pub dwEncryptionMethod: u32, + pub numIPv4ServerAddresses: u32, + pub ipv4ServerAddresses: *mut super::super::Networking::WinSock::IN_ADDR, + pub numIPv6ServerAddresses: u32, + pub ipv6ServerAddresses: *mut super::super::Networking::WinSock::IN6_ADDR, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for RASIKEV2_PROJECTION_INFO {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for RASIKEV2_PROJECTION_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct RASIKEV2_PROJECTION_INFO { + pub dwIPv4NegotiationError: u32, + pub ipv4Address: super::super::Networking::WinSock::IN_ADDR, + pub ipv4ServerAddress: super::super::Networking::WinSock::IN_ADDR, + pub dwIPv6NegotiationError: u32, + pub ipv6Address: super::super::Networking::WinSock::IN6_ADDR, + pub ipv6ServerAddress: super::super::Networking::WinSock::IN6_ADDR, + pub dwPrefixLength: u32, + pub dwAuthenticationProtocol: u32, + pub dwEapTypeId: u32, + pub dwFlags: RASIKEV_PROJECTION_INFO_FLAGS, + pub dwEncryptionMethod: u32, + pub numIPv4ServerAddresses: u32, + pub ipv4ServerAddresses: *mut super::super::Networking::WinSock::IN_ADDR, + pub numIPv6ServerAddresses: u32, + pub ipv6ServerAddresses: *mut super::super::Networking::WinSock::IN6_ADDR, +} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for RASIKEV2_PROJECTION_INFO {} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for RASIKEV2_PROJECTION_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RASIPADDR { + pub a: u8, + pub b: u8, + pub c: u8, + pub d: u8, +} +impl ::core::marker::Copy for RASIPADDR {} +impl ::core::clone::Clone for RASIPADDR { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RASIPXW { + pub dwSize: u32, + pub dwError: u32, + pub szIpxAddress: [u16; 22], +} +impl ::core::marker::Copy for RASIPXW {} +impl ::core::clone::Clone for RASIPXW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RASNOUSERA { + pub dwSize: u32, + pub dwFlags: u32, + pub dwTimeoutMs: u32, + pub szUserName: [u8; 257], + pub szPassword: [u8; 257], + pub szDomain: [u8; 16], +} +impl ::core::marker::Copy for RASNOUSERA {} +impl ::core::clone::Clone for RASNOUSERA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RASNOUSERW { + pub dwSize: u32, + pub dwFlags: u32, + pub dwTimeoutMs: u32, + pub szUserName: [u16; 257], + pub szPassword: [u16; 257], + pub szDomain: [u16; 16], +} +impl ::core::marker::Copy for RASNOUSERW {} +impl ::core::clone::Clone for RASNOUSERW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(4))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +pub struct RASPBDLGA { + pub dwSize: u32, + pub hwndOwner: super::super::Foundation::HWND, + pub dwFlags: u32, + pub xDlg: i32, + pub yDlg: i32, + pub dwCallbackId: usize, + pub pCallback: RASPBDLGFUNCA, + pub dwError: u32, + pub reserved: usize, + pub reserved2: usize, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RASPBDLGA {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RASPBDLGA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +pub struct RASPBDLGA { + pub dwSize: u32, + pub hwndOwner: super::super::Foundation::HWND, + pub dwFlags: u32, + pub xDlg: i32, + pub yDlg: i32, + pub dwCallbackId: usize, + pub pCallback: RASPBDLGFUNCA, + pub dwError: u32, + pub reserved: usize, + pub reserved2: usize, +} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RASPBDLGA {} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RASPBDLGA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(4))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +pub struct RASPBDLGW { + pub dwSize: u32, + pub hwndOwner: super::super::Foundation::HWND, + pub dwFlags: u32, + pub xDlg: i32, + pub yDlg: i32, + pub dwCallbackId: usize, + pub pCallback: RASPBDLGFUNCW, + pub dwError: u32, + pub reserved: usize, + pub reserved2: usize, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RASPBDLGW {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RASPBDLGW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +pub struct RASPBDLGW { + pub dwSize: u32, + pub hwndOwner: super::super::Foundation::HWND, + pub dwFlags: u32, + pub xDlg: i32, + pub yDlg: i32, + pub dwCallbackId: usize, + pub pCallback: RASPBDLGFUNCW, + pub dwError: u32, + pub reserved: usize, + pub reserved2: usize, +} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RASPBDLGW {} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RASPBDLGW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RASPPPCCP { + pub dwSize: u32, + pub dwError: u32, + pub dwCompressionAlgorithm: u32, + pub dwOptions: u32, + pub dwServerCompressionAlgorithm: u32, + pub dwServerOptions: u32, +} +impl ::core::marker::Copy for RASPPPCCP {} +impl ::core::clone::Clone for RASPPPCCP { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RASPPPIPA { + pub dwSize: u32, + pub dwError: u32, + pub szIpAddress: [u8; 16], + pub szServerIpAddress: [u8; 16], + pub dwOptions: u32, + pub dwServerOptions: u32, +} +impl ::core::marker::Copy for RASPPPIPA {} +impl ::core::clone::Clone for RASPPPIPA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RASPPPIPV6 { + pub dwSize: u32, + pub dwError: u32, + pub bLocalInterfaceIdentifier: [u8; 8], + pub bPeerInterfaceIdentifier: [u8; 8], + pub bLocalCompressionProtocol: [u8; 2], + pub bPeerCompressionProtocol: [u8; 2], +} +impl ::core::marker::Copy for RASPPPIPV6 {} +impl ::core::clone::Clone for RASPPPIPV6 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RASPPPIPW { + pub dwSize: u32, + pub dwError: u32, + pub szIpAddress: [u16; 16], + pub szServerIpAddress: [u16; 16], + pub dwOptions: u32, + pub dwServerOptions: u32, +} +impl ::core::marker::Copy for RASPPPIPW {} +impl ::core::clone::Clone for RASPPPIPW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RASPPPIPXA { + pub dwSize: u32, + pub dwError: u32, + pub szIpxAddress: [u8; 22], +} +impl ::core::marker::Copy for RASPPPIPXA {} +impl ::core::clone::Clone for RASPPPIPXA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct RASPPPLCPA { + pub dwSize: u32, + pub fBundled: super::super::Foundation::BOOL, + pub dwError: u32, + pub dwAuthenticationProtocol: u32, + pub dwAuthenticationData: u32, + pub dwEapTypeId: u32, + pub dwServerAuthenticationProtocol: u32, + pub dwServerAuthenticationData: u32, + pub dwServerEapTypeId: u32, + pub fMultilink: super::super::Foundation::BOOL, + pub dwTerminateReason: u32, + pub dwServerTerminateReason: u32, + pub szReplyMessage: [u8; 1024], + pub dwOptions: u32, + pub dwServerOptions: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RASPPPLCPA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RASPPPLCPA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct RASPPPLCPW { + pub dwSize: u32, + pub fBundled: super::super::Foundation::BOOL, + pub dwError: u32, + pub dwAuthenticationProtocol: u32, + pub dwAuthenticationData: u32, + pub dwEapTypeId: u32, + pub dwServerAuthenticationProtocol: u32, + pub dwServerAuthenticationData: u32, + pub dwServerEapTypeId: u32, + pub fMultilink: super::super::Foundation::BOOL, + pub dwTerminateReason: u32, + pub dwServerTerminateReason: u32, + pub szReplyMessage: [u16; 1024], + pub dwOptions: u32, + pub dwServerOptions: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RASPPPLCPW {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RASPPPLCPW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RASPPPNBFA { + pub dwSize: u32, + pub dwError: u32, + pub dwNetBiosError: u32, + pub szNetBiosError: [u8; 17], + pub szWorkstationName: [u8; 17], + pub bLana: u8, +} +impl ::core::marker::Copy for RASPPPNBFA {} +impl ::core::clone::Clone for RASPPPNBFA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RASPPPNBFW { + pub dwSize: u32, + pub dwError: u32, + pub dwNetBiosError: u32, + pub szNetBiosError: [u16; 17], + pub szWorkstationName: [u16; 17], + pub bLana: u8, +} +impl ::core::marker::Copy for RASPPPNBFW {} +impl ::core::clone::Clone for RASPPPNBFW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +pub struct RASPPP_PROJECTION_INFO { + pub dwIPv4NegotiationError: u32, + pub ipv4Address: super::super::Networking::WinSock::IN_ADDR, + pub ipv4ServerAddress: super::super::Networking::WinSock::IN_ADDR, + pub dwIPv4Options: u32, + pub dwIPv4ServerOptions: u32, + pub dwIPv6NegotiationError: u32, + pub bInterfaceIdentifier: [u8; 8], + pub bServerInterfaceIdentifier: [u8; 8], + pub fBundled: super::super::Foundation::BOOL, + pub fMultilink: super::super::Foundation::BOOL, + pub dwAuthenticationProtocol: RASPPP_PROJECTION_INFO_SERVER_AUTH_PROTOCOL, + pub dwAuthenticationData: RASPPP_PROJECTION_INFO_SERVER_AUTH_DATA, + pub dwServerAuthenticationProtocol: RASPPP_PROJECTION_INFO_SERVER_AUTH_PROTOCOL, + pub dwServerAuthenticationData: RASPPP_PROJECTION_INFO_SERVER_AUTH_DATA, + pub dwEapTypeId: u32, + pub dwServerEapTypeId: u32, + pub dwLcpOptions: u32, + pub dwLcpServerOptions: u32, + pub dwCcpError: u32, + pub dwCcpCompressionAlgorithm: u32, + pub dwCcpServerCompressionAlgorithm: u32, + pub dwCcpOptions: u32, + pub dwCcpServerOptions: u32, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +impl ::core::marker::Copy for RASPPP_PROJECTION_INFO {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +impl ::core::clone::Clone for RASPPP_PROJECTION_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RASSUBENTRYA { + pub dwSize: u32, + pub dwfFlags: u32, + pub szDeviceType: [u8; 17], + pub szDeviceName: [u8; 129], + pub szLocalPhoneNumber: [u8; 129], + pub dwAlternateOffset: u32, +} +impl ::core::marker::Copy for RASSUBENTRYA {} +impl ::core::clone::Clone for RASSUBENTRYA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RASSUBENTRYW { + pub dwSize: u32, + pub dwfFlags: u32, + pub szDeviceType: [u16; 17], + pub szDeviceName: [u16; 129], + pub szLocalPhoneNumber: [u16; 129], + pub dwAlternateOffset: u32, +} +impl ::core::marker::Copy for RASSUBENTRYW {} +impl ::core::clone::Clone for RASSUBENTRYW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct RASTUNNELENDPOINT { + pub dwType: u32, + pub Anonymous: RASTUNNELENDPOINT_0, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for RASTUNNELENDPOINT {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for RASTUNNELENDPOINT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub union RASTUNNELENDPOINT_0 { + pub ipv4: super::super::Networking::WinSock::IN_ADDR, + pub ipv6: super::super::Networking::WinSock::IN6_ADDR, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for RASTUNNELENDPOINT_0 {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for RASTUNNELENDPOINT_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct RASUPDATECONN { + pub version: RASAPIVERSION, + pub dwSize: u32, + pub dwFlags: u32, + pub dwIfIndex: u32, + pub localEndPoint: RASTUNNELENDPOINT, + pub remoteEndPoint: RASTUNNELENDPOINT, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for RASUPDATECONN {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for RASUPDATECONN { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct RAS_CONNECTION_0 { + pub hConnection: super::super::Foundation::HANDLE, + pub hInterface: super::super::Foundation::HANDLE, + pub dwConnectDuration: u32, + pub dwInterfaceType: ROUTER_INTERFACE_TYPE, + pub dwConnectionFlags: RAS_FLAGS, + pub wszInterfaceName: [u16; 257], + pub wszUserName: [u16; 257], + pub wszLogonDomain: [u16; 16], + pub wszRemoteComputer: [u16; 17], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RAS_CONNECTION_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RAS_CONNECTION_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct RAS_CONNECTION_1 { + pub hConnection: super::super::Foundation::HANDLE, + pub hInterface: super::super::Foundation::HANDLE, + pub PppInfo: PPP_INFO, + pub dwBytesXmited: u32, + pub dwBytesRcved: u32, + pub dwFramesXmited: u32, + pub dwFramesRcved: u32, + pub dwCrcErr: u32, + pub dwTimeoutErr: u32, + pub dwAlignmentErr: u32, + pub dwHardwareOverrunErr: u32, + pub dwFramingErr: u32, + pub dwBufferOverrunErr: u32, + pub dwCompressionRatioIn: u32, + pub dwCompressionRatioOut: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RAS_CONNECTION_1 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RAS_CONNECTION_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct RAS_CONNECTION_2 { + pub hConnection: super::super::Foundation::HANDLE, + pub wszUserName: [u16; 257], + pub dwInterfaceType: ROUTER_INTERFACE_TYPE, + pub guid: ::windows_sys::core::GUID, + pub PppInfo2: PPP_INFO_2, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RAS_CONNECTION_2 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RAS_CONNECTION_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct RAS_CONNECTION_3 { + pub dwVersion: u32, + pub dwSize: u32, + pub hConnection: super::super::Foundation::HANDLE, + pub wszUserName: [u16; 257], + pub dwInterfaceType: ROUTER_INTERFACE_TYPE, + pub guid: ::windows_sys::core::GUID, + pub PppInfo3: PPP_INFO_3, + pub rasQuarState: RAS_QUARANTINE_STATE, + pub timer: super::super::Foundation::FILETIME, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RAS_CONNECTION_3 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RAS_CONNECTION_3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct RAS_CONNECTION_4 { + pub dwConnectDuration: u32, + pub dwInterfaceType: ROUTER_INTERFACE_TYPE, + pub dwConnectionFlags: RAS_FLAGS, + pub wszInterfaceName: [u16; 257], + pub wszUserName: [u16; 257], + pub wszLogonDomain: [u16; 16], + pub wszRemoteComputer: [u16; 17], + pub guid: ::windows_sys::core::GUID, + pub rasQuarState: RAS_QUARANTINE_STATE, + pub probationTime: super::super::Foundation::FILETIME, + pub connectionStartTime: super::super::Foundation::FILETIME, + pub ullBytesXmited: u64, + pub ullBytesRcved: u64, + pub dwFramesXmited: u32, + pub dwFramesRcved: u32, + pub dwCrcErr: u32, + pub dwTimeoutErr: u32, + pub dwAlignmentErr: u32, + pub dwHardwareOverrunErr: u32, + pub dwFramingErr: u32, + pub dwBufferOverrunErr: u32, + pub dwCompressionRatioIn: u32, + pub dwCompressionRatioOut: u32, + pub dwNumSwitchOvers: u32, + pub wszRemoteEndpointAddress: [u16; 65], + pub wszLocalEndpointAddress: [u16; 65], + pub ProjectionInfo: PROJECTION_INFO2, + pub hConnection: super::super::Foundation::HANDLE, + pub hInterface: super::super::Foundation::HANDLE, + pub dwDeviceType: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RAS_CONNECTION_4 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RAS_CONNECTION_4 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct RAS_CONNECTION_EX { + pub Header: MPRAPI_OBJECT_HEADER, + pub dwConnectDuration: u32, + pub dwInterfaceType: ROUTER_INTERFACE_TYPE, + pub dwConnectionFlags: RAS_FLAGS, + pub wszInterfaceName: [u16; 257], + pub wszUserName: [u16; 257], + pub wszLogonDomain: [u16; 16], + pub wszRemoteComputer: [u16; 17], + pub guid: ::windows_sys::core::GUID, + pub rasQuarState: RAS_QUARANTINE_STATE, + pub probationTime: super::super::Foundation::FILETIME, + pub dwBytesXmited: u32, + pub dwBytesRcved: u32, + pub dwFramesXmited: u32, + pub dwFramesRcved: u32, + pub dwCrcErr: u32, + pub dwTimeoutErr: u32, + pub dwAlignmentErr: u32, + pub dwHardwareOverrunErr: u32, + pub dwFramingErr: u32, + pub dwBufferOverrunErr: u32, + pub dwCompressionRatioIn: u32, + pub dwCompressionRatioOut: u32, + pub dwNumSwitchOvers: u32, + pub wszRemoteEndpointAddress: [u16; 65], + pub wszLocalEndpointAddress: [u16; 65], + pub ProjectionInfo: PROJECTION_INFO, + pub hConnection: super::super::Foundation::HANDLE, + pub hInterface: super::super::Foundation::HANDLE, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RAS_CONNECTION_EX {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RAS_CONNECTION_EX { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct RAS_PORT_0 { + pub hPort: super::super::Foundation::HANDLE, + pub hConnection: super::super::Foundation::HANDLE, + pub dwPortCondition: RAS_PORT_CONDITION, + pub dwTotalNumberOfCalls: u32, + pub dwConnectDuration: u32, + pub wszPortName: [u16; 17], + pub wszMediaName: [u16; 17], + pub wszDeviceName: [u16; 129], + pub wszDeviceType: [u16; 17], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RAS_PORT_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RAS_PORT_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct RAS_PORT_1 { + pub hPort: super::super::Foundation::HANDLE, + pub hConnection: super::super::Foundation::HANDLE, + pub dwHardwareCondition: RAS_HARDWARE_CONDITION, + pub dwLineSpeed: u32, + pub dwBytesXmited: u32, + pub dwBytesRcved: u32, + pub dwFramesXmited: u32, + pub dwFramesRcved: u32, + pub dwCrcErr: u32, + pub dwTimeoutErr: u32, + pub dwAlignmentErr: u32, + pub dwHardwareOverrunErr: u32, + pub dwFramingErr: u32, + pub dwBufferOverrunErr: u32, + pub dwCompressionRatioIn: u32, + pub dwCompressionRatioOut: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RAS_PORT_1 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RAS_PORT_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct RAS_PORT_2 { + pub hPort: super::super::Foundation::HANDLE, + pub hConnection: super::super::Foundation::HANDLE, + pub dwConn_State: u32, + pub wszPortName: [u16; 17], + pub wszMediaName: [u16; 17], + pub wszDeviceName: [u16; 129], + pub wszDeviceType: [u16; 17], + pub dwHardwareCondition: RAS_HARDWARE_CONDITION, + pub dwLineSpeed: u32, + pub dwCrcErr: u32, + pub dwSerialOverRunErrs: u32, + pub dwTimeoutErr: u32, + pub dwAlignmentErr: u32, + pub dwHardwareOverrunErr: u32, + pub dwFramingErr: u32, + pub dwBufferOverrunErr: u32, + pub dwCompressionRatioIn: u32, + pub dwCompressionRatioOut: u32, + pub dwTotalErrors: u32, + pub ullBytesXmited: u64, + pub ullBytesRcved: u64, + pub ullFramesXmited: u64, + pub ullFramesRcved: u64, + pub ullBytesTxUncompressed: u64, + pub ullBytesTxCompressed: u64, + pub ullBytesRcvUncompressed: u64, + pub ullBytesRcvCompressed: u64, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RAS_PORT_2 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RAS_PORT_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +pub struct RAS_PROJECTION_INFO { + pub version: RASAPIVERSION, + pub r#type: RASPROJECTION_INFO_TYPE, + pub Anonymous: RAS_PROJECTION_INFO_0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +impl ::core::marker::Copy for RAS_PROJECTION_INFO {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +impl ::core::clone::Clone for RAS_PROJECTION_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +pub union RAS_PROJECTION_INFO_0 { + pub ppp: RASPPP_PROJECTION_INFO, + pub ikev2: RASIKEV2_PROJECTION_INFO, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +impl ::core::marker::Copy for RAS_PROJECTION_INFO_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +impl ::core::clone::Clone for RAS_PROJECTION_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RAS_SECURITY_INFO { + pub LastError: u32, + pub BytesReceived: u32, + pub DeviceName: [u8; 129], +} +impl ::core::marker::Copy for RAS_SECURITY_INFO {} +impl ::core::clone::Clone for RAS_SECURITY_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RAS_STATS { + pub dwSize: u32, + pub dwBytesXmited: u32, + pub dwBytesRcved: u32, + pub dwFramesXmited: u32, + pub dwFramesRcved: u32, + pub dwCrcErr: u32, + pub dwTimeoutErr: u32, + pub dwAlignmentErr: u32, + pub dwHardwareOverrunErr: u32, + pub dwFramingErr: u32, + pub dwBufferOverrunErr: u32, + pub dwCompressionRatioIn: u32, + pub dwCompressionRatioOut: u32, + pub dwBps: u32, + pub dwConnectDuration: u32, +} +impl ::core::marker::Copy for RAS_STATS {} +impl ::core::clone::Clone for RAS_STATS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RAS_UPDATE_CONNECTION { + pub Header: MPRAPI_OBJECT_HEADER, + pub dwIfIndex: u32, + pub wszLocalEndpointAddress: [u16; 65], + pub wszRemoteEndpointAddress: [u16; 65], +} +impl ::core::marker::Copy for RAS_UPDATE_CONNECTION {} +impl ::core::clone::Clone for RAS_UPDATE_CONNECTION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RAS_USER_0 { + pub bfPrivilege: u8, + pub wszPhoneNumber: [u16; 129], +} +impl ::core::marker::Copy for RAS_USER_0 {} +impl ::core::clone::Clone for RAS_USER_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RAS_USER_1 { + pub bfPrivilege: u8, + pub wszPhoneNumber: [u16; 129], + pub bfPrivilege2: u8, +} +impl ::core::marker::Copy for RAS_USER_1 {} +impl ::core::clone::Clone for RAS_USER_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct ROUTER_CUSTOM_IKEv2_POLICY0 { + pub dwIntegrityMethod: u32, + pub dwEncryptionMethod: u32, + pub dwCipherTransformConstant: u32, + pub dwAuthTransformConstant: u32, + pub dwPfsGroup: u32, + pub dwDhGroup: u32, +} +impl ::core::marker::Copy for ROUTER_CUSTOM_IKEv2_POLICY0 {} +impl ::core::clone::Clone for ROUTER_CUSTOM_IKEv2_POLICY0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Security_Cryptography\"`"] +#[cfg(feature = "Win32_Security_Cryptography")] +pub struct ROUTER_IKEv2_IF_CUSTOM_CONFIG0 { + pub dwSaLifeTime: u32, + pub dwSaDataSize: u32, + pub certificateName: super::super::Security::Cryptography::CRYPT_INTEGER_BLOB, + pub customPolicy: *mut ROUTER_CUSTOM_IKEv2_POLICY0, +} +#[cfg(feature = "Win32_Security_Cryptography")] +impl ::core::marker::Copy for ROUTER_IKEv2_IF_CUSTOM_CONFIG0 {} +#[cfg(feature = "Win32_Security_Cryptography")] +impl ::core::clone::Clone for ROUTER_IKEv2_IF_CUSTOM_CONFIG0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Security_Cryptography\"`"] +#[cfg(feature = "Win32_Security_Cryptography")] +pub struct ROUTER_IKEv2_IF_CUSTOM_CONFIG1 { + pub dwSaLifeTime: u32, + pub dwSaDataSize: u32, + pub certificateName: super::super::Security::Cryptography::CRYPT_INTEGER_BLOB, + pub customPolicy: *mut ROUTER_CUSTOM_IKEv2_POLICY0, + pub certificateHash: super::super::Security::Cryptography::CRYPT_INTEGER_BLOB, +} +#[cfg(feature = "Win32_Security_Cryptography")] +impl ::core::marker::Copy for ROUTER_IKEv2_IF_CUSTOM_CONFIG1 {} +#[cfg(feature = "Win32_Security_Cryptography")] +impl ::core::clone::Clone for ROUTER_IKEv2_IF_CUSTOM_CONFIG1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Security_Cryptography\"`"] +#[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))] +pub struct ROUTER_IKEv2_IF_CUSTOM_CONFIG2 { + pub dwSaLifeTime: u32, + pub dwSaDataSize: u32, + pub certificateName: super::super::Security::Cryptography::CRYPT_INTEGER_BLOB, + pub customPolicy: *mut ROUTER_CUSTOM_IKEv2_POLICY0, + pub certificateHash: super::super::Security::Cryptography::CRYPT_INTEGER_BLOB, + pub dwMmSaLifeTime: u32, + pub vpnTrafficSelectors: MPR_VPN_TRAFFIC_SELECTORS, +} +#[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))] +impl ::core::marker::Copy for ROUTER_IKEv2_IF_CUSTOM_CONFIG2 {} +#[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))] +impl ::core::clone::Clone for ROUTER_IKEv2_IF_CUSTOM_CONFIG2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct ROUTING_PROTOCOL_CONFIG { + pub dwCallbackFlags: u32, + pub pfnRpfCallback: PMGM_RPF_CALLBACK, + pub pfnCreationAlertCallback: PMGM_CREATION_ALERT_CALLBACK, + pub pfnPruneAlertCallback: PMGM_PRUNE_ALERT_CALLBACK, + pub pfnJoinAlertCallback: PMGM_JOIN_ALERT_CALLBACK, + pub pfnWrongIfCallback: PMGM_WRONG_IF_CALLBACK, + pub pfnLocalJoinCallback: PMGM_LOCAL_JOIN_CALLBACK, + pub pfnLocalLeaveCallback: PMGM_LOCAL_LEAVE_CALLBACK, + pub pfnDisableIgmpCallback: PMGM_DISABLE_IGMP_CALLBACK, + pub pfnEnableIgmpCallback: PMGM_ENABLE_IGMP_CALLBACK, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for ROUTING_PROTOCOL_CONFIG {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for ROUTING_PROTOCOL_CONFIG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct RTM_DEST_INFO { + pub DestHandle: isize, + pub DestAddress: RTM_NET_ADDRESS, + pub LastChanged: super::super::Foundation::FILETIME, + pub BelongsToViews: u32, + pub NumberOfViews: u32, + pub ViewInfo: [RTM_DEST_INFO_0; 1], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RTM_DEST_INFO {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RTM_DEST_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct RTM_DEST_INFO_0 { + pub ViewId: i32, + pub NumRoutes: u32, + pub Route: isize, + pub Owner: isize, + pub DestFlags: u32, + pub HoldRoute: isize, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RTM_DEST_INFO_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RTM_DEST_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RTM_ENTITY_EXPORT_METHODS { + pub NumMethods: u32, + pub Methods: [RTM_ENTITY_EXPORT_METHOD; 1], +} +impl ::core::marker::Copy for RTM_ENTITY_EXPORT_METHODS {} +impl ::core::clone::Clone for RTM_ENTITY_EXPORT_METHODS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RTM_ENTITY_ID { + pub Anonymous: RTM_ENTITY_ID_0, +} +impl ::core::marker::Copy for RTM_ENTITY_ID {} +impl ::core::clone::Clone for RTM_ENTITY_ID { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union RTM_ENTITY_ID_0 { + pub Anonymous: RTM_ENTITY_ID_0_0, + pub EntityId: u64, +} +impl ::core::marker::Copy for RTM_ENTITY_ID_0 {} +impl ::core::clone::Clone for RTM_ENTITY_ID_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RTM_ENTITY_ID_0_0 { + pub EntityProtocolId: u32, + pub EntityInstanceId: u32, +} +impl ::core::marker::Copy for RTM_ENTITY_ID_0_0 {} +impl ::core::clone::Clone for RTM_ENTITY_ID_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RTM_ENTITY_INFO { + pub RtmInstanceId: u16, + pub AddressFamily: u16, + pub EntityId: RTM_ENTITY_ID, +} +impl ::core::marker::Copy for RTM_ENTITY_INFO {} +impl ::core::clone::Clone for RTM_ENTITY_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RTM_ENTITY_METHOD_INPUT { + pub MethodType: u32, + pub InputSize: u32, + pub InputData: [u8; 1], +} +impl ::core::marker::Copy for RTM_ENTITY_METHOD_INPUT {} +impl ::core::clone::Clone for RTM_ENTITY_METHOD_INPUT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RTM_ENTITY_METHOD_OUTPUT { + pub MethodType: u32, + pub MethodStatus: u32, + pub OutputSize: u32, + pub OutputData: [u8; 1], +} +impl ::core::marker::Copy for RTM_ENTITY_METHOD_OUTPUT {} +impl ::core::clone::Clone for RTM_ENTITY_METHOD_OUTPUT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RTM_NET_ADDRESS { + pub AddressFamily: u16, + pub NumBits: u16, + pub AddrBits: [u8; 16], +} +impl ::core::marker::Copy for RTM_NET_ADDRESS {} +impl ::core::clone::Clone for RTM_NET_ADDRESS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RTM_NEXTHOP_INFO { + pub NextHopAddress: RTM_NET_ADDRESS, + pub NextHopOwner: isize, + pub InterfaceIndex: u32, + pub State: u16, + pub Flags: u16, + pub EntitySpecificInfo: *mut ::core::ffi::c_void, + pub RemoteNextHop: isize, +} +impl ::core::marker::Copy for RTM_NEXTHOP_INFO {} +impl ::core::clone::Clone for RTM_NEXTHOP_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RTM_NEXTHOP_LIST { + pub NumNextHops: u16, + pub NextHops: [isize; 1], +} +impl ::core::marker::Copy for RTM_NEXTHOP_LIST {} +impl ::core::clone::Clone for RTM_NEXTHOP_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RTM_PREF_INFO { + pub Metric: u32, + pub Preference: u32, +} +impl ::core::marker::Copy for RTM_PREF_INFO {} +impl ::core::clone::Clone for RTM_PREF_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RTM_REGN_PROFILE { + pub MaxNextHopsInRoute: u32, + pub MaxHandlesInEnum: u32, + pub ViewsSupported: u32, + pub NumberOfViews: u32, +} +impl ::core::marker::Copy for RTM_REGN_PROFILE {} +impl ::core::clone::Clone for RTM_REGN_PROFILE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RTM_ROUTE_INFO { + pub DestHandle: isize, + pub RouteOwner: isize, + pub Neighbour: isize, + pub State: u8, + pub Flags1: u8, + pub Flags: u16, + pub PrefInfo: RTM_PREF_INFO, + pub BelongsToViews: u32, + pub EntitySpecificInfo: *mut ::core::ffi::c_void, + pub NextHopsList: RTM_NEXTHOP_LIST, +} +impl ::core::marker::Copy for RTM_ROUTE_INFO {} +impl ::core::clone::Clone for RTM_ROUTE_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SECURITY_MESSAGE { + pub dwMsgId: SECURITY_MESSAGE_MSG_ID, + pub hPort: isize, + pub dwError: u32, + pub UserName: [u8; 257], + pub Domain: [u8; 16], +} +impl ::core::marker::Copy for SECURITY_MESSAGE {} +impl ::core::clone::Clone for SECURITY_MESSAGE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SOURCE_GROUP_ENTRY { + pub dwSourceAddr: u32, + pub dwSourceMask: u32, + pub dwGroupAddr: u32, + pub dwGroupMask: u32, +} +impl ::core::marker::Copy for SOURCE_GROUP_ENTRY {} +impl ::core::clone::Clone for SOURCE_GROUP_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +pub struct SSTP_CERT_INFO { + pub isDefault: super::super::Foundation::BOOL, + pub certBlob: super::super::Security::Cryptography::CRYPT_INTEGER_BLOB, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::marker::Copy for SSTP_CERT_INFO {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::clone::Clone for SSTP_CERT_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +pub struct SSTP_CONFIG_PARAMS { + pub dwNumPorts: u32, + pub dwPortFlags: u32, + pub isUseHttps: super::super::Foundation::BOOL, + pub certAlgorithm: u32, + pub sstpCertDetails: SSTP_CERT_INFO, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::marker::Copy for SSTP_CONFIG_PARAMS {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::clone::Clone for SSTP_CONFIG_PARAMS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct VPN_TS_IP_ADDRESS { + pub Type: u16, + pub Anonymous: VPN_TS_IP_ADDRESS_0, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for VPN_TS_IP_ADDRESS {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for VPN_TS_IP_ADDRESS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub union VPN_TS_IP_ADDRESS_0 { + pub v4: super::super::Networking::WinSock::IN_ADDR, + pub v6: super::super::Networking::WinSock::IN6_ADDR, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for VPN_TS_IP_ADDRESS_0 {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for VPN_TS_IP_ADDRESS_0 { + fn clone(&self) -> Self { + *self + } +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type ORASADFUNC = ::core::option::Option<unsafe extern "system" fn(param0: super::super::Foundation::HWND, param1: ::windows_sys::core::PCSTR, param2: u32, param3: *mut u32) -> super::super::Foundation::BOOL>; +pub type PFNRASFREEBUFFER = ::core::option::Option<unsafe extern "system" fn(pbufer: *mut u8) -> u32>; +pub type PFNRASGETBUFFER = ::core::option::Option<unsafe extern "system" fn(ppbuffer: *mut *mut u8, pdwsize: *mut u32) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PFNRASRECEIVEBUFFER = ::core::option::Option<unsafe extern "system" fn(hport: super::super::Foundation::HANDLE, pbuffer: *mut u8, pdwsize: *mut u32, dwtimeout: u32, hevent: super::super::Foundation::HANDLE) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PFNRASRETRIEVEBUFFER = ::core::option::Option<unsafe extern "system" fn(hport: super::super::Foundation::HANDLE, pbuffer: *mut u8, pdwsize: *mut u32) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PFNRASSENDBUFFER = ::core::option::Option<unsafe extern "system" fn(hport: super::super::Foundation::HANDLE, pbuffer: *mut u8, dwsize: u32) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PFNRASSETCOMMSETTINGS = ::core::option::Option<unsafe extern "system" fn(hport: super::super::Foundation::HANDLE, prascommsettings: *mut RASCOMMSETTINGS, pvreserved: *mut ::core::ffi::c_void) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PMGM_CREATION_ALERT_CALLBACK = ::core::option::Option<unsafe extern "system" fn(dwsourceaddr: u32, dwsourcemask: u32, dwgroupaddr: u32, dwgroupmask: u32, dwinifindex: u32, dwinifnexthopaddr: u32, dwifcount: u32, pmieoutiflist: *mut MGM_IF_ENTRY) -> u32>; +pub type PMGM_DISABLE_IGMP_CALLBACK = ::core::option::Option<unsafe extern "system" fn(dwifindex: u32, dwifnexthopaddr: u32) -> u32>; +pub type PMGM_ENABLE_IGMP_CALLBACK = ::core::option::Option<unsafe extern "system" fn(dwifindex: u32, dwifnexthopaddr: u32) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PMGM_JOIN_ALERT_CALLBACK = ::core::option::Option<unsafe extern "system" fn(dwsourceaddr: u32, dwsourcemask: u32, dwgroupaddr: u32, dwgroupmask: u32, bmemberupdate: super::super::Foundation::BOOL) -> u32>; +pub type PMGM_LOCAL_JOIN_CALLBACK = ::core::option::Option<unsafe extern "system" fn(dwsourceaddr: u32, dwsourcemask: u32, dwgroupaddr: u32, dwgroupmask: u32, dwifindex: u32, dwifnexthopaddr: u32) -> u32>; +pub type PMGM_LOCAL_LEAVE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(dwsourceaddr: u32, dwsourcemask: u32, dwgroupaddr: u32, dwgroupmask: u32, dwifindex: u32, dwifnexthopaddr: u32) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PMGM_PRUNE_ALERT_CALLBACK = ::core::option::Option<unsafe extern "system" fn(dwsourceaddr: u32, dwsourcemask: u32, dwgroupaddr: u32, dwgroupmask: u32, dwifindex: u32, dwifnexthopaddr: u32, bmemberdelete: super::super::Foundation::BOOL, pdwtimeout: *mut u32) -> u32>; +pub type PMGM_RPF_CALLBACK = ::core::option::Option<unsafe extern "system" fn(dwsourceaddr: u32, dwsourcemask: u32, dwgroupaddr: u32, dwgroupmask: u32, pdwinifindex: *mut u32, pdwinifnexthopaddr: *mut u32, pdwupstreamnbr: *mut u32, dwhdrsize: u32, pbpackethdr: *mut u8, pbroute: *mut u8) -> u32>; +pub type PMGM_WRONG_IF_CALLBACK = ::core::option::Option<unsafe extern "system" fn(dwsourceaddr: u32, dwgroupaddr: u32, dwifindex: u32, dwifnexthopaddr: u32, dwhdrsize: u32, pbpackethdr: *mut u8) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PMPRADMINACCEPTNEWCONNECTION = ::core::option::Option<unsafe extern "system" fn(param0: *mut RAS_CONNECTION_0, param1: *mut RAS_CONNECTION_1) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PMPRADMINACCEPTNEWCONNECTION2 = ::core::option::Option<unsafe extern "system" fn(param0: *mut RAS_CONNECTION_0, param1: *mut RAS_CONNECTION_1, param2: *mut RAS_CONNECTION_2) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PMPRADMINACCEPTNEWCONNECTION3 = ::core::option::Option<unsafe extern "system" fn(param0: *mut RAS_CONNECTION_0, param1: *mut RAS_CONNECTION_1, param2: *mut RAS_CONNECTION_2, param3: *mut RAS_CONNECTION_3) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PMPRADMINACCEPTNEWCONNECTIONEX = ::core::option::Option<unsafe extern "system" fn(param0: *mut RAS_CONNECTION_EX) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PMPRADMINACCEPTNEWLINK = ::core::option::Option<unsafe extern "system" fn(param0: *mut RAS_PORT_0, param1: *mut RAS_PORT_1) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PMPRADMINACCEPTREAUTHENTICATION = ::core::option::Option<unsafe extern "system" fn(param0: *mut RAS_CONNECTION_0, param1: *mut RAS_CONNECTION_1, param2: *mut RAS_CONNECTION_2, param3: *mut RAS_CONNECTION_3) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PMPRADMINACCEPTREAUTHENTICATIONEX = ::core::option::Option<unsafe extern "system" fn(param0: *mut RAS_CONNECTION_EX) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PMPRADMINACCEPTTUNNELENDPOINTCHANGEEX = ::core::option::Option<unsafe extern "system" fn(param0: *mut RAS_CONNECTION_EX) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PMPRADMINCONNECTIONHANGUPNOTIFICATION = ::core::option::Option<unsafe extern "system" fn(param0: *mut RAS_CONNECTION_0, param1: *mut RAS_CONNECTION_1) -> ()>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PMPRADMINCONNECTIONHANGUPNOTIFICATION2 = ::core::option::Option<unsafe extern "system" fn(param0: *mut RAS_CONNECTION_0, param1: *mut RAS_CONNECTION_1, param2: *mut RAS_CONNECTION_2) -> ()>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PMPRADMINCONNECTIONHANGUPNOTIFICATION3 = ::core::option::Option<unsafe extern "system" fn(param0: *mut RAS_CONNECTION_0, param1: *mut RAS_CONNECTION_1, param2: *mut RAS_CONNECTION_2, param3: RAS_CONNECTION_3) -> ()>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PMPRADMINCONNECTIONHANGUPNOTIFICATIONEX = ::core::option::Option<unsafe extern "system" fn(param0: *mut RAS_CONNECTION_EX) -> ()>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PMPRADMINGETIPADDRESSFORUSER = ::core::option::Option<unsafe extern "system" fn(param0: ::windows_sys::core::PCWSTR, param1: ::windows_sys::core::PCWSTR, param2: *mut u32, param3: *mut super::super::Foundation::BOOL) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +pub type PMPRADMINGETIPV6ADDRESSFORUSER = ::core::option::Option<unsafe extern "system" fn(param0: ::windows_sys::core::PCWSTR, param1: ::windows_sys::core::PCWSTR, param2: *mut super::super::Networking::WinSock::IN6_ADDR, param3: *mut super::super::Foundation::BOOL) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PMPRADMINLINKHANGUPNOTIFICATION = ::core::option::Option<unsafe extern "system" fn(param0: *mut RAS_PORT_0, param1: *mut RAS_PORT_1) -> ()>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PMPRADMINRASVALIDATEPREAUTHENTICATEDCONNECTIONEX = ::core::option::Option<unsafe extern "system" fn(param0: *mut AUTH_VALIDATION_EX) -> u32>; +pub type PMPRADMINRELEASEIPADRESS = ::core::option::Option<unsafe extern "system" fn(param0: ::windows_sys::core::PCWSTR, param1: ::windows_sys::core::PCWSTR, param2: *mut u32) -> ()>; +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub type PMPRADMINRELEASEIPV6ADDRESSFORUSER = ::core::option::Option<unsafe extern "system" fn(param0: ::windows_sys::core::PCWSTR, param1: ::windows_sys::core::PCWSTR, param2: *mut super::super::Networking::WinSock::IN6_ADDR) -> ()>; +pub type PMPRADMINTERMINATEDLL = ::core::option::Option<unsafe extern "system" fn() -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type RASADFUNCA = ::core::option::Option<unsafe extern "system" fn(param0: ::windows_sys::core::PCSTR, param1: ::windows_sys::core::PCSTR, param2: *mut RASADPARAMS, param3: *mut u32) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type RASADFUNCW = ::core::option::Option<unsafe extern "system" fn(param0: ::windows_sys::core::PCWSTR, param1: ::windows_sys::core::PCWSTR, param2: *mut RASADPARAMS, param3: *mut u32) -> super::super::Foundation::BOOL>; +pub type RASDIALFUNC = ::core::option::Option<unsafe extern "system" fn(param0: u32, param1: RASCONNSTATE, param2: u32) -> ()>; +pub type RASDIALFUNC1 = ::core::option::Option<unsafe extern "system" fn(param0: HRASCONN, param1: u32, param2: RASCONNSTATE, param3: u32, param4: u32) -> ()>; +pub type RASDIALFUNC2 = ::core::option::Option<unsafe extern "system" fn(param0: usize, param1: u32, param2: HRASCONN, param3: u32, param4: RASCONNSTATE, param5: u32, param6: u32) -> u32>; +pub type RASPBDLGFUNCA = ::core::option::Option<unsafe extern "system" fn(param0: usize, param1: u32, param2: ::windows_sys::core::PCSTR, param3: *mut ::core::ffi::c_void) -> ()>; +pub type RASPBDLGFUNCW = ::core::option::Option<unsafe extern "system" fn(param0: usize, param1: u32, param2: ::windows_sys::core::PCWSTR, param3: *mut ::core::ffi::c_void) -> ()>; +pub type RASSECURITYPROC = ::core::option::Option<unsafe extern "system" fn() -> u32>; +pub type RTM_ENTITY_EXPORT_METHOD = ::core::option::Option<unsafe extern "system" fn(callerhandle: isize, calleehandle: isize, input: *mut RTM_ENTITY_METHOD_INPUT, output: *mut RTM_ENTITY_METHOD_OUTPUT) -> ()>; +pub type RTM_EVENT_CALLBACK = ::core::option::Option<unsafe extern "system" fn(rtmreghandle: isize, eventtype: RTM_EVENT_TYPE, context1: *mut ::core::ffi::c_void, context2: *mut ::core::ffi::c_void) -> u32>; +pub type RasCustomDeleteEntryNotifyFn = ::core::option::Option<unsafe extern "system" fn(lpszphonebook: ::windows_sys::core::PCWSTR, lpszentry: ::windows_sys::core::PCWSTR, dwflags: u32) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type RasCustomDialDlgFn = ::core::option::Option<unsafe extern "system" fn(hinstdll: super::super::Foundation::HINSTANCE, dwflags: u32, lpszphonebook: ::windows_sys::core::PCWSTR, lpszentry: ::windows_sys::core::PCWSTR, lpszphonenumber: ::windows_sys::core::PCWSTR, lpinfo: *mut RASDIALDLG, pvinfo: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type RasCustomDialFn = ::core::option::Option<unsafe extern "system" fn(hinstdll: super::super::Foundation::HINSTANCE, lprasdialextensions: *mut RASDIALEXTENSIONS, lpszphonebook: ::windows_sys::core::PCWSTR, lprasdialparams: *mut RASDIALPARAMSA, dwnotifiertype: u32, lpvnotifier: *mut ::core::ffi::c_void, lphrasconn: *mut HRASCONN, dwflags: u32) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type RasCustomEntryDlgFn = ::core::option::Option<unsafe extern "system" fn(hinstdll: super::super::Foundation::HINSTANCE, lpszphonebook: ::windows_sys::core::PCWSTR, lpszentry: ::windows_sys::core::PCWSTR, lpinfo: *mut RASENTRYDLGA, dwflags: u32) -> super::super::Foundation::BOOL>; +pub type RasCustomHangUpFn = ::core::option::Option<unsafe extern "system" fn(hrasconn: HRASCONN) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type RasCustomScriptExecuteFn = ::core::option::Option<unsafe extern "system" fn(hport: super::super::Foundation::HANDLE, lpszphonebook: ::windows_sys::core::PCWSTR, lpszentryname: ::windows_sys::core::PCWSTR, pfnrasgetbuffer: PFNRASGETBUFFER, pfnrasfreebuffer: PFNRASFREEBUFFER, pfnrassendbuffer: PFNRASSENDBUFFER, pfnrasreceivebuffer: PFNRASRECEIVEBUFFER, pfnrasretrievebuffer: PFNRASRETRIEVEBUFFER, hwnd: super::super::Foundation::HWND, prasdialparams: *mut RASDIALPARAMSA, pvreserved: *mut ::core::ffi::c_void) -> u32>; diff --git a/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Snmp/mod.rs b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Snmp/mod.rs new file mode 100644 index 0000000..de2d77d --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Snmp/mod.rs @@ -0,0 +1,531 @@ +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpCancelMsg(session : isize, reqid : i32) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpCleanup() -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpCleanupEx() -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpClose(session : isize) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpContextToStr(context : isize, string : *mut smiOCTETS) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpCountVbl(vbl : isize) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpCreatePdu(session : isize, pdu_type : SNMP_PDU_TYPE, request_id : i32, error_status : i32, error_index : i32, varbindlist : isize) -> isize); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wsnmp32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpCreateSession(hwnd : super::super::Foundation:: HWND, wmsg : u32, fcallback : SNMPAPI_CALLBACK, lpclientdata : *mut ::core::ffi::c_void) -> isize); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpCreateVbl(session : isize, name : *mut smiOID, value : *mut smiVALUE) -> isize); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpDecodeMsg(session : isize, srcentity : *mut isize, dstentity : *mut isize, context : *mut isize, pdu : *mut isize, msgbufdesc : *mut smiOCTETS) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpDeleteVb(vbl : isize, index : u32) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpDuplicatePdu(session : isize, pdu : isize) -> isize); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpDuplicateVbl(session : isize, vbl : isize) -> isize); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpEncodeMsg(session : isize, srcentity : isize, dstentity : isize, context : isize, pdu : isize, msgbufdesc : *mut smiOCTETS) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpEntityToStr(entity : isize, size : u32, string : ::windows_sys::core::PSTR) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpFreeContext(context : isize) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpFreeDescriptor(syntax : u32, descriptor : *mut smiOCTETS) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpFreeEntity(entity : isize) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpFreePdu(pdu : isize) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpFreeVbl(vbl : isize) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpGetLastError(session : isize) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpGetPduData(pdu : isize, pdu_type : *mut SNMP_PDU_TYPE, request_id : *mut i32, error_status : *mut SNMP_ERROR, error_index : *mut i32, varbindlist : *mut isize) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpGetRetransmitMode(nretransmitmode : *mut SNMP_STATUS) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpGetRetry(hentity : isize, npolicyretry : *mut u32, nactualretry : *mut u32) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpGetTimeout(hentity : isize, npolicytimeout : *mut u32, nactualtimeout : *mut u32) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpGetTranslateMode(ntranslatemode : *mut SNMP_API_TRANSLATE_MODE) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpGetVb(vbl : isize, index : u32, name : *mut smiOID, value : *mut smiVALUE) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpGetVendorInfo(vendorinfo : *mut smiVENDORINFO) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpListen(hentity : isize, lstatus : SNMP_STATUS) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpListenEx(hentity : isize, lstatus : u32, nuseentityaddr : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mgmtapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpMgrClose(session : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mgmtapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpMgrCtl(session : *mut ::core::ffi::c_void, dwctlcode : u32, lpvinbuffer : *mut ::core::ffi::c_void, cbinbuffer : u32, lpvoutbuffer : *mut ::core::ffi::c_void, cboutbuffer : u32, lpcbbytesreturned : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mgmtapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpMgrGetTrap(enterprise : *mut AsnObjectIdentifier, ipaddress : *mut AsnOctetString, generictrap : *mut SNMP_GENERICTRAP, specifictrap : *mut i32, timestamp : *mut u32, variablebindings : *mut SnmpVarBindList) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mgmtapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpMgrGetTrapEx(enterprise : *mut AsnObjectIdentifier, agentaddress : *mut AsnOctetString, sourceaddress : *mut AsnOctetString, generictrap : *mut SNMP_GENERICTRAP, specifictrap : *mut i32, community : *mut AsnOctetString, timestamp : *mut u32, variablebindings : *mut SnmpVarBindList) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mgmtapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpMgrOidToStr(oid : *mut AsnObjectIdentifier, string : *mut ::windows_sys::core::PSTR) -> super::super::Foundation:: BOOL); +::windows_targets::link!("mgmtapi.dll" "system" fn SnmpMgrOpen(lpagentaddress : ::windows_sys::core::PCSTR, lpagentcommunity : ::windows_sys::core::PCSTR, ntimeout : i32, nretries : i32) -> *mut ::core::ffi::c_void); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mgmtapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpMgrRequest(session : *mut ::core::ffi::c_void, requesttype : u8, variablebindings : *mut SnmpVarBindList, errorstatus : *mut SNMP_ERROR_STATUS, errorindex : *mut i32) -> i32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mgmtapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpMgrStrToOid(string : ::windows_sys::core::PCSTR, oid : *mut AsnObjectIdentifier) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mgmtapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpMgrTrapListen(phtrapavailable : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpOidCompare(xoid : *mut smiOID, yoid : *mut smiOID, maxlen : u32, result : *mut i32) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpOidCopy(srcoid : *mut smiOID, dstoid : *mut smiOID) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpOidToStr(srcoid : *const smiOID, size : u32, string : ::windows_sys::core::PSTR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wsnmp32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpOpen(hwnd : super::super::Foundation:: HWND, wmsg : u32) -> isize); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpRecvMsg(session : isize, srcentity : *mut isize, dstentity : *mut isize, context : *mut isize, pdu : *mut isize) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpRegister(session : isize, srcentity : isize, dstentity : isize, context : isize, notification : *mut smiOID, state : SNMP_STATUS) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpSendMsg(session : isize, srcentity : isize, dstentity : isize, context : isize, pdu : isize) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpSetPduData(pdu : isize, pdu_type : *const i32, request_id : *const i32, non_repeaters : *const i32, max_repetitions : *const i32, varbindlist : *const isize) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpSetPort(hentity : isize, nport : u32) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpSetRetransmitMode(nretransmitmode : SNMP_STATUS) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpSetRetry(hentity : isize, npolicyretry : u32) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpSetTimeout(hentity : isize, npolicytimeout : u32) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpSetTranslateMode(ntranslatemode : SNMP_API_TRANSLATE_MODE) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpSetVb(vbl : isize, index : u32, name : *mut smiOID, value : *mut smiVALUE) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpStartup(nmajorversion : *mut u32, nminorversion : *mut u32, nlevel : *mut u32, ntranslatemode : *mut SNMP_API_TRANSLATE_MODE, nretransmitmode : *mut SNMP_STATUS) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpStartupEx(nmajorversion : *mut u32, nminorversion : *mut u32, nlevel : *mut u32, ntranslatemode : *mut SNMP_API_TRANSLATE_MODE, nretransmitmode : *mut SNMP_STATUS) -> u32); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpStrToContext(session : isize, string : *mut smiOCTETS) -> isize); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpStrToEntity(session : isize, string : ::windows_sys::core::PCSTR) -> isize); +::windows_targets::link!("wsnmp32.dll" "system" fn SnmpStrToOid(string : ::windows_sys::core::PCSTR, dstoid : *mut smiOID) -> u32); +::windows_targets::link!("snmpapi.dll" "system" fn SnmpSvcGetUptime() -> u32); +::windows_targets::link!("snmpapi.dll" "system" fn SnmpSvcSetLogLevel(nloglevel : SNMP_LOG) -> ()); +::windows_targets::link!("snmpapi.dll" "system" fn SnmpSvcSetLogType(nlogtype : i32) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("snmpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpUtilAsnAnyCpy(panydst : *mut AsnAny, panysrc : *mut AsnAny) -> i32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("snmpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpUtilAsnAnyFree(pany : *mut AsnAny) -> ()); +::windows_targets::link!("snmpapi.dll" "cdecl" fn SnmpUtilDbgPrint(nloglevel : SNMP_LOG, szformat : ::windows_sys::core::PCSTR, ...) -> ()); +::windows_targets::link!("snmpapi.dll" "system" fn SnmpUtilIdsToA(ids : *mut u32, idlength : u32) -> ::windows_sys::core::PSTR); +::windows_targets::link!("snmpapi.dll" "system" fn SnmpUtilMemAlloc(nbytes : u32) -> *mut ::core::ffi::c_void); +::windows_targets::link!("snmpapi.dll" "system" fn SnmpUtilMemFree(pmem : *mut ::core::ffi::c_void) -> ()); +::windows_targets::link!("snmpapi.dll" "system" fn SnmpUtilMemReAlloc(pmem : *mut ::core::ffi::c_void, nbytes : u32) -> *mut ::core::ffi::c_void); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("snmpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpUtilOctetsCmp(poctets1 : *mut AsnOctetString, poctets2 : *mut AsnOctetString) -> i32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("snmpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpUtilOctetsCpy(poctetsdst : *mut AsnOctetString, poctetssrc : *mut AsnOctetString) -> i32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("snmpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpUtilOctetsFree(poctets : *mut AsnOctetString) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("snmpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpUtilOctetsNCmp(poctets1 : *mut AsnOctetString, poctets2 : *mut AsnOctetString, nchars : u32) -> i32); +::windows_targets::link!("snmpapi.dll" "system" fn SnmpUtilOidAppend(poiddst : *mut AsnObjectIdentifier, poidsrc : *mut AsnObjectIdentifier) -> i32); +::windows_targets::link!("snmpapi.dll" "system" fn SnmpUtilOidCmp(poid1 : *mut AsnObjectIdentifier, poid2 : *mut AsnObjectIdentifier) -> i32); +::windows_targets::link!("snmpapi.dll" "system" fn SnmpUtilOidCpy(poiddst : *mut AsnObjectIdentifier, poidsrc : *mut AsnObjectIdentifier) -> i32); +::windows_targets::link!("snmpapi.dll" "system" fn SnmpUtilOidFree(poid : *mut AsnObjectIdentifier) -> ()); +::windows_targets::link!("snmpapi.dll" "system" fn SnmpUtilOidNCmp(poid1 : *mut AsnObjectIdentifier, poid2 : *mut AsnObjectIdentifier, nsubids : u32) -> i32); +::windows_targets::link!("snmpapi.dll" "system" fn SnmpUtilOidToA(oid : *mut AsnObjectIdentifier) -> ::windows_sys::core::PSTR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("snmpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpUtilPrintAsnAny(pany : *mut AsnAny) -> ()); +::windows_targets::link!("snmpapi.dll" "system" fn SnmpUtilPrintOid(oid : *mut AsnObjectIdentifier) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("snmpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpUtilVarBindCpy(pvbdst : *mut SnmpVarBind, pvbsrc : *mut SnmpVarBind) -> i32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("snmpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpUtilVarBindFree(pvb : *mut SnmpVarBind) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("snmpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpUtilVarBindListCpy(pvbldst : *mut SnmpVarBindList, pvblsrc : *mut SnmpVarBindList) -> i32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("snmpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpUtilVarBindListFree(pvbl : *mut SnmpVarBindList) -> ()); +pub const ASN_APPLICATION: u32 = 64u32; +pub const ASN_CONSTRUCTOR: u32 = 32u32; +pub const ASN_CONTEXT: u32 = 128u32; +pub const ASN_CONTEXTSPECIFIC: u32 = 128u32; +pub const ASN_PRIMATIVE: u32 = 0u32; +pub const ASN_PRIMITIVE: u32 = 0u32; +pub const ASN_PRIVATE: u32 = 192u32; +pub const ASN_UNIVERSAL: u32 = 0u32; +pub const DEFAULT_SNMPTRAP_PORT_IPX: u32 = 36880u32; +pub const DEFAULT_SNMPTRAP_PORT_UDP: u32 = 162u32; +pub const DEFAULT_SNMP_PORT_IPX: u32 = 36879u32; +pub const DEFAULT_SNMP_PORT_UDP: u32 = 161u32; +pub const MAXOBJIDSIZE: u32 = 128u32; +pub const MAXOBJIDSTRSIZE: u32 = 1408u32; +pub const MAXVENDORINFO: u32 = 32u32; +pub const MGMCTL_SETAGENTPORT: u32 = 1u32; +pub const SNMPAPI_ALLOC_ERROR: u32 = 2u32; +pub const SNMPAPI_CONTEXT_INVALID: u32 = 3u32; +pub const SNMPAPI_CONTEXT_UNKNOWN: u32 = 4u32; +pub const SNMPAPI_ENTITY_INVALID: u32 = 5u32; +pub const SNMPAPI_ENTITY_UNKNOWN: u32 = 6u32; +pub const SNMPAPI_ERROR: u32 = 0u32; +pub const SNMPAPI_FAILURE: u32 = 0u32; +pub const SNMPAPI_HWND_INVALID: u32 = 20u32; +pub const SNMPAPI_INDEX_INVALID: u32 = 7u32; +pub const SNMPAPI_M2M_SUPPORT: u32 = 3u32; +pub const SNMPAPI_MESSAGE_INVALID: u32 = 19u32; +pub const SNMPAPI_MODE_INVALID: u32 = 16u32; +pub const SNMPAPI_NOERROR: u32 = 1u32; +pub const SNMPAPI_NOOP: u32 = 8u32; +pub const SNMPAPI_NOT_INITIALIZED: u32 = 18u32; +pub const SNMPAPI_NO_SUPPORT: u32 = 0u32; +pub const SNMPAPI_OFF: SNMP_STATUS = 0u32; +pub const SNMPAPI_OID_INVALID: u32 = 9u32; +pub const SNMPAPI_ON: SNMP_STATUS = 1u32; +pub const SNMPAPI_OPERATION_INVALID: u32 = 10u32; +pub const SNMPAPI_OTHER_ERROR: u32 = 99u32; +pub const SNMPAPI_OUTPUT_TRUNCATED: u32 = 11u32; +pub const SNMPAPI_PDU_INVALID: u32 = 12u32; +pub const SNMPAPI_SESSION_INVALID: u32 = 13u32; +pub const SNMPAPI_SIZE_INVALID: u32 = 17u32; +pub const SNMPAPI_SUCCESS: u32 = 1u32; +pub const SNMPAPI_SYNTAX_INVALID: u32 = 14u32; +pub const SNMPAPI_TL_INVALID_PARAM: u32 = 106u32; +pub const SNMPAPI_TL_IN_USE: u32 = 107u32; +pub const SNMPAPI_TL_NOT_AVAILABLE: u32 = 102u32; +pub const SNMPAPI_TL_NOT_INITIALIZED: u32 = 100u32; +pub const SNMPAPI_TL_NOT_SUPPORTED: u32 = 101u32; +pub const SNMPAPI_TL_OTHER: u32 = 199u32; +pub const SNMPAPI_TL_PDU_TOO_BIG: u32 = 109u32; +pub const SNMPAPI_TL_RESOURCE_ERROR: u32 = 103u32; +pub const SNMPAPI_TL_SRC_INVALID: u32 = 105u32; +pub const SNMPAPI_TL_TIMEOUT: u32 = 108u32; +pub const SNMPAPI_TL_UNDELIVERABLE: u32 = 104u32; +pub const SNMPAPI_TRANSLATED: SNMP_API_TRANSLATE_MODE = 0u32; +pub const SNMPAPI_UNTRANSLATED_V1: SNMP_API_TRANSLATE_MODE = 1u32; +pub const SNMPAPI_UNTRANSLATED_V2: SNMP_API_TRANSLATE_MODE = 2u32; +pub const SNMPAPI_V1_SUPPORT: u32 = 1u32; +pub const SNMPAPI_V2_SUPPORT: u32 = 2u32; +pub const SNMPAPI_VBL_INVALID: u32 = 15u32; +pub const SNMPLISTEN_ALL_ADDR: u32 = 1u32; +pub const SNMPLISTEN_USEENTITY_ADDR: u32 = 0u32; +pub const SNMP_ACCESS_NONE: u32 = 0u32; +pub const SNMP_ACCESS_NOTIFY: u32 = 1u32; +pub const SNMP_ACCESS_READ_CREATE: u32 = 4u32; +pub const SNMP_ACCESS_READ_ONLY: u32 = 2u32; +pub const SNMP_ACCESS_READ_WRITE: u32 = 3u32; +pub const SNMP_AUTHAPI_INVALID_MSG_TYPE: u32 = 31u32; +pub const SNMP_AUTHAPI_INVALID_VERSION: u32 = 30u32; +pub const SNMP_AUTHAPI_TRIV_AUTH_FAILED: u32 = 32u32; +pub const SNMP_BERAPI_INVALID_LENGTH: u32 = 10u32; +pub const SNMP_BERAPI_INVALID_OBJELEM: u32 = 14u32; +pub const SNMP_BERAPI_INVALID_TAG: u32 = 11u32; +pub const SNMP_BERAPI_OVERFLOW: u32 = 12u32; +pub const SNMP_BERAPI_SHORT_BUFFER: u32 = 13u32; +pub const SNMP_ERRORSTATUS_AUTHORIZATIONERROR: SNMP_ERROR_STATUS = 16u32; +pub const SNMP_ERRORSTATUS_BADVALUE: SNMP_ERROR_STATUS = 3u32; +pub const SNMP_ERRORSTATUS_COMMITFAILED: SNMP_ERROR_STATUS = 14u32; +pub const SNMP_ERRORSTATUS_GENERR: SNMP_ERROR_STATUS = 5u32; +pub const SNMP_ERRORSTATUS_INCONSISTENTNAME: SNMP_ERROR_STATUS = 18u32; +pub const SNMP_ERRORSTATUS_INCONSISTENTVALUE: SNMP_ERROR_STATUS = 12u32; +pub const SNMP_ERRORSTATUS_NOACCESS: SNMP_ERROR_STATUS = 6u32; +pub const SNMP_ERRORSTATUS_NOCREATION: SNMP_ERROR_STATUS = 11u32; +pub const SNMP_ERRORSTATUS_NOERROR: SNMP_ERROR_STATUS = 0u32; +pub const SNMP_ERRORSTATUS_NOSUCHNAME: SNMP_ERROR_STATUS = 2u32; +pub const SNMP_ERRORSTATUS_NOTWRITABLE: SNMP_ERROR_STATUS = 17u32; +pub const SNMP_ERRORSTATUS_READONLY: SNMP_ERROR_STATUS = 4u32; +pub const SNMP_ERRORSTATUS_RESOURCEUNAVAILABLE: SNMP_ERROR_STATUS = 13u32; +pub const SNMP_ERRORSTATUS_TOOBIG: SNMP_ERROR_STATUS = 1u32; +pub const SNMP_ERRORSTATUS_UNDOFAILED: SNMP_ERROR_STATUS = 15u32; +pub const SNMP_ERRORSTATUS_WRONGENCODING: SNMP_ERROR_STATUS = 9u32; +pub const SNMP_ERRORSTATUS_WRONGLENGTH: SNMP_ERROR_STATUS = 8u32; +pub const SNMP_ERRORSTATUS_WRONGTYPE: SNMP_ERROR_STATUS = 7u32; +pub const SNMP_ERRORSTATUS_WRONGVALUE: SNMP_ERROR_STATUS = 10u32; +pub const SNMP_ERROR_AUTHORIZATIONERROR: SNMP_ERROR = 16u32; +pub const SNMP_ERROR_BADVALUE: SNMP_ERROR = 3u32; +pub const SNMP_ERROR_COMMITFAILED: SNMP_ERROR = 14u32; +pub const SNMP_ERROR_GENERR: SNMP_ERROR = 5u32; +pub const SNMP_ERROR_INCONSISTENTNAME: SNMP_ERROR = 18u32; +pub const SNMP_ERROR_INCONSISTENTVALUE: SNMP_ERROR = 12u32; +pub const SNMP_ERROR_NOACCESS: SNMP_ERROR = 6u32; +pub const SNMP_ERROR_NOCREATION: SNMP_ERROR = 11u32; +pub const SNMP_ERROR_NOERROR: SNMP_ERROR = 0u32; +pub const SNMP_ERROR_NOSUCHNAME: SNMP_ERROR = 2u32; +pub const SNMP_ERROR_NOTWRITABLE: SNMP_ERROR = 17u32; +pub const SNMP_ERROR_READONLY: SNMP_ERROR = 4u32; +pub const SNMP_ERROR_RESOURCEUNAVAILABLE: SNMP_ERROR = 13u32; +pub const SNMP_ERROR_TOOBIG: SNMP_ERROR = 1u32; +pub const SNMP_ERROR_UNDOFAILED: SNMP_ERROR = 15u32; +pub const SNMP_ERROR_WRONGENCODING: SNMP_ERROR = 9u32; +pub const SNMP_ERROR_WRONGLENGTH: SNMP_ERROR = 8u32; +pub const SNMP_ERROR_WRONGTYPE: SNMP_ERROR = 7u32; +pub const SNMP_ERROR_WRONGVALUE: SNMP_ERROR = 10u32; +pub const SNMP_EXTENSION_GET: SNMP_EXTENSION_REQUEST_TYPE = 160u32; +pub const SNMP_EXTENSION_GET_NEXT: SNMP_EXTENSION_REQUEST_TYPE = 161u32; +pub const SNMP_EXTENSION_SET_CLEANUP: SNMP_EXTENSION_REQUEST_TYPE = 226u32; +pub const SNMP_EXTENSION_SET_COMMIT: SNMP_EXTENSION_REQUEST_TYPE = 163u32; +pub const SNMP_EXTENSION_SET_TEST: SNMP_EXTENSION_REQUEST_TYPE = 224u32; +pub const SNMP_EXTENSION_SET_UNDO: SNMP_EXTENSION_REQUEST_TYPE = 225u32; +pub const SNMP_GENERICTRAP_AUTHFAILURE: SNMP_GENERICTRAP = 4u32; +pub const SNMP_GENERICTRAP_COLDSTART: SNMP_GENERICTRAP = 0u32; +pub const SNMP_GENERICTRAP_EGPNEIGHLOSS: SNMP_GENERICTRAP = 5u32; +pub const SNMP_GENERICTRAP_ENTERSPECIFIC: SNMP_GENERICTRAP = 6u32; +pub const SNMP_GENERICTRAP_LINKDOWN: SNMP_GENERICTRAP = 2u32; +pub const SNMP_GENERICTRAP_LINKUP: SNMP_GENERICTRAP = 3u32; +pub const SNMP_GENERICTRAP_WARMSTART: SNMP_GENERICTRAP = 1u32; +pub const SNMP_LOG_ERROR: SNMP_LOG = 2i32; +pub const SNMP_LOG_FATAL: SNMP_LOG = 1i32; +pub const SNMP_LOG_SILENT: SNMP_LOG = 0i32; +pub const SNMP_LOG_TRACE: SNMP_LOG = 4i32; +pub const SNMP_LOG_VERBOSE: SNMP_LOG = 5i32; +pub const SNMP_LOG_WARNING: SNMP_LOG = 3i32; +pub const SNMP_MAX_OID_LEN: u32 = 128u32; +pub const SNMP_MEM_ALLOC_ERROR: u32 = 1u32; +pub const SNMP_MGMTAPI_AGAIN: u32 = 45u32; +pub const SNMP_MGMTAPI_INVALID_BUFFER: u32 = 48u32; +pub const SNMP_MGMTAPI_INVALID_CTL: u32 = 46u32; +pub const SNMP_MGMTAPI_INVALID_SESSION: u32 = 47u32; +pub const SNMP_MGMTAPI_NOTRAPS: u32 = 44u32; +pub const SNMP_MGMTAPI_SELECT_FDERRORS: u32 = 41u32; +pub const SNMP_MGMTAPI_TIMEOUT: u32 = 40u32; +pub const SNMP_MGMTAPI_TRAP_DUPINIT: u32 = 43u32; +pub const SNMP_MGMTAPI_TRAP_ERRORS: u32 = 42u32; +pub const SNMP_OUTPUT_TO_CONSOLE: SNMP_OUTPUT_LOG_TYPE = 1u32; +pub const SNMP_OUTPUT_TO_DEBUGGER: SNMP_OUTPUT_LOG_TYPE = 8u32; +pub const SNMP_OUTPUT_TO_EVENTLOG: u32 = 4u32; +pub const SNMP_OUTPUT_TO_LOGFILE: SNMP_OUTPUT_LOG_TYPE = 2u32; +pub const SNMP_PDUAPI_INVALID_ES: u32 = 21u32; +pub const SNMP_PDUAPI_INVALID_GT: u32 = 22u32; +pub const SNMP_PDUAPI_UNRECOGNIZED_PDU: u32 = 20u32; +pub const SNMP_PDU_GET: SNMP_PDU_TYPE = 160u32; +pub const SNMP_PDU_GETBULK: SNMP_PDU_TYPE = 165u32; +pub const SNMP_PDU_GETNEXT: SNMP_PDU_TYPE = 161u32; +pub const SNMP_PDU_RESPONSE: SNMP_PDU_TYPE = 162u32; +pub const SNMP_PDU_SET: SNMP_PDU_TYPE = 163u32; +pub const SNMP_PDU_TRAP: SNMP_PDU_TYPE = 167u32; +pub const SNMP_TRAP_AUTHFAIL: u32 = 4u32; +pub const SNMP_TRAP_COLDSTART: u32 = 0u32; +pub const SNMP_TRAP_EGPNEIGHBORLOSS: u32 = 5u32; +pub const SNMP_TRAP_ENTERPRISESPECIFIC: u32 = 6u32; +pub const SNMP_TRAP_LINKDOWN: u32 = 2u32; +pub const SNMP_TRAP_LINKUP: u32 = 3u32; +pub const SNMP_TRAP_WARMSTART: u32 = 1u32; +pub type SNMP_API_TRANSLATE_MODE = u32; +pub type SNMP_ERROR = u32; +pub type SNMP_ERROR_STATUS = u32; +pub type SNMP_EXTENSION_REQUEST_TYPE = u32; +pub type SNMP_GENERICTRAP = u32; +pub type SNMP_LOG = i32; +pub type SNMP_OUTPUT_LOG_TYPE = u32; +pub type SNMP_PDU_TYPE = u32; +pub type SNMP_STATUS = u32; +#[repr(C, packed(4))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct AsnAny { + pub asnType: u8, + pub asnValue: AsnAny_0, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for AsnAny {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for AsnAny { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(4))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union AsnAny_0 { + pub number: i32, + pub unsigned32: u32, + pub counter64: u64, + pub string: AsnOctetString, + pub bits: AsnOctetString, + pub object: AsnObjectIdentifier, + pub sequence: AsnOctetString, + pub address: AsnOctetString, + pub counter: u32, + pub gauge: u32, + pub ticks: u32, + pub arbitrary: AsnOctetString, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for AsnAny_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for AsnAny_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(4))] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +pub struct AsnObjectIdentifier { + pub idLength: u32, + pub ids: *mut u32, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +impl ::core::marker::Copy for AsnObjectIdentifier {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +impl ::core::clone::Clone for AsnObjectIdentifier { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[cfg(target_arch = "x86")] +pub struct AsnObjectIdentifier { + pub idLength: u32, + pub ids: *mut u32, +} +#[cfg(target_arch = "x86")] +impl ::core::marker::Copy for AsnObjectIdentifier {} +#[cfg(target_arch = "x86")] +impl ::core::clone::Clone for AsnObjectIdentifier { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(4))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +pub struct AsnOctetString { + pub stream: *mut u8, + pub length: u32, + pub dynamic: super::super::Foundation::BOOL, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for AsnOctetString {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for AsnOctetString { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +pub struct AsnOctetString { + pub stream: *mut u8, + pub length: u32, + pub dynamic: super::super::Foundation::BOOL, +} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for AsnOctetString {} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for AsnOctetString { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(4))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SnmpVarBind { + pub name: AsnObjectIdentifier, + pub value: AsnAny, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SnmpVarBind {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SnmpVarBind { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(4))] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +pub struct SnmpVarBindList { + pub list: *mut SnmpVarBind, + pub len: u32, +} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SnmpVarBindList {} +#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SnmpVarBindList { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +pub struct SnmpVarBindList { + pub list: *mut SnmpVarBind, + pub len: u32, +} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SnmpVarBindList {} +#[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SnmpVarBindList { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct smiCNTR64 { + pub hipart: u32, + pub lopart: u32, +} +impl ::core::marker::Copy for smiCNTR64 {} +impl ::core::clone::Clone for smiCNTR64 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct smiOCTETS { + pub len: u32, + pub ptr: *mut u8, +} +impl ::core::marker::Copy for smiOCTETS {} +impl ::core::clone::Clone for smiOCTETS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct smiOID { + pub len: u32, + pub ptr: *mut u32, +} +impl ::core::marker::Copy for smiOID {} +impl ::core::clone::Clone for smiOID { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct smiVALUE { + pub syntax: u32, + pub value: smiVALUE_0, +} +impl ::core::marker::Copy for smiVALUE {} +impl ::core::clone::Clone for smiVALUE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union smiVALUE_0 { + pub sNumber: i32, + pub uNumber: u32, + pub hNumber: smiCNTR64, + pub string: smiOCTETS, + pub oid: smiOID, + pub empty: u8, +} +impl ::core::marker::Copy for smiVALUE_0 {} +impl ::core::clone::Clone for smiVALUE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct smiVENDORINFO { + pub vendorName: [u8; 64], + pub vendorContact: [u8; 64], + pub vendorVersionId: [u8; 32], + pub vendorVersionDate: [u8; 32], + pub vendorEnterprise: u32, +} +impl ::core::marker::Copy for smiVENDORINFO {} +impl ::core::clone::Clone for smiVENDORINFO { + fn clone(&self) -> Self { + *self + } +} +pub type PFNSNMPCLEANUPEX = ::core::option::Option<unsafe extern "system" fn() -> u32>; +pub type PFNSNMPEXTENSIONCLOSE = ::core::option::Option<unsafe extern "system" fn() -> ()>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PFNSNMPEXTENSIONINIT = ::core::option::Option<unsafe extern "system" fn(dwuptimereference: u32, phsubagenttrapevent: *mut super::super::Foundation::HANDLE, pfirstsupportedregion: *mut AsnObjectIdentifier) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PFNSNMPEXTENSIONINITEX = ::core::option::Option<unsafe extern "system" fn(pnextsupportedregion: *mut AsnObjectIdentifier) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PFNSNMPEXTENSIONMONITOR = ::core::option::Option<unsafe extern "system" fn(pagentmgmtdata: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PFNSNMPEXTENSIONQUERY = ::core::option::Option<unsafe extern "system" fn(bpdutype: u8, pvarbindlist: *mut SnmpVarBindList, perrorstatus: *mut i32, perrorindex: *mut i32) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PFNSNMPEXTENSIONQUERYEX = ::core::option::Option<unsafe extern "system" fn(nrequesttype: u32, ntransactionid: u32, pvarbindlist: *mut SnmpVarBindList, pcontextinfo: *mut AsnOctetString, perrorstatus: *mut i32, perrorindex: *mut i32) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PFNSNMPEXTENSIONTRAP = ::core::option::Option<unsafe extern "system" fn(penterpriseoid: *mut AsnObjectIdentifier, pgenerictrapid: *mut i32, pspecifictrapid: *mut i32, ptimestamp: *mut u32, pvarbindlist: *mut SnmpVarBindList) -> super::super::Foundation::BOOL>; +pub type PFNSNMPSTARTUPEX = ::core::option::Option<unsafe extern "system" fn(param0: *mut u32, param1: *mut u32, param2: *mut u32, param3: *mut u32, param4: *mut u32) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type SNMPAPI_CALLBACK = ::core::option::Option<unsafe extern "system" fn(hsession: isize, hwnd: super::super::Foundation::HWND, wmsg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, lpclientdata: *mut ::core::ffi::c_void) -> u32>; diff --git a/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WNet/mod.rs b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WNet/mod.rs new file mode 100644 index 0000000..3747b78 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WNet/mod.rs @@ -0,0 +1,550 @@ +::windows_targets::link!("mpr.dll" "system" fn MultinetGetConnectionPerformanceA(lpnetresource : *const NETRESOURCEA, lpnetconnectinfostruct : *mut NETCONNECTINFOSTRUCT) -> u32); +::windows_targets::link!("mpr.dll" "system" fn MultinetGetConnectionPerformanceW(lpnetresource : *const NETRESOURCEW, lpnetconnectinfostruct : *mut NETCONNECTINFOSTRUCT) -> u32); +::windows_targets::link!("davclnt.dll" "system" fn NPAddConnection(lpnetresource : *const NETRESOURCEW, lppassword : ::windows_sys::core::PCWSTR, lpusername : ::windows_sys::core::PCWSTR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("davclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NPAddConnection3(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, lppassword : ::windows_sys::core::PCWSTR, lpusername : ::windows_sys::core::PCWSTR, dwflags : NET_USE_CONNECT_FLAGS) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ntlanman.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NPAddConnection4(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, lpauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("davclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NPCancelConnection(lpname : ::windows_sys::core::PCWSTR, fforce : super::super::Foundation:: BOOL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ntlanman.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NPCancelConnection2(lpname : ::windows_sys::core::PCWSTR, fforce : super::super::Foundation:: BOOL, dwflags : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("davclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NPCloseEnum(henum : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("davclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NPEnumResource(henum : super::super::Foundation:: HANDLE, lpccount : *mut u32, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> u32); +::windows_targets::link!("davclnt.dll" "system" fn NPFormatNetworkName(lpremotename : ::windows_sys::core::PCWSTR, lpformattedname : ::windows_sys::core::PWSTR, lpnlength : *mut u32, dwflags : NETWORK_NAME_FORMAT_FLAGS, dwavecharperline : u32) -> u32); +::windows_targets::link!("davclnt.dll" "system" fn NPGetCaps(ndex : u32) -> u32); +::windows_targets::link!("davclnt.dll" "system" fn NPGetConnection(lplocalname : ::windows_sys::core::PCWSTR, lpremotename : ::windows_sys::core::PWSTR, lpnbufferlen : *mut u32) -> u32); +::windows_targets::link!("ntlanman.dll" "system" fn NPGetConnection3(lplocalname : ::windows_sys::core::PCWSTR, dwlevel : u32, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> u32); +::windows_targets::link!("ntlanman.dll" "system" fn NPGetConnectionPerformance(lpremotename : ::windows_sys::core::PCWSTR, lpnetconnectinfo : *mut NETCONNECTINFOSTRUCT) -> u32); +::windows_targets::link!("ntlanman.dll" "system" fn NPGetPersistentUseOptionsForConnection(lpremotepath : ::windows_sys::core::PCWSTR, lpreaduseoptions : *const u8, cbreaduseoptions : u32, lpwriteuseoptions : *mut u8, lpsizewriteuseoptions : *mut u32) -> u32); +::windows_targets::link!("davclnt.dll" "system" fn NPGetResourceInformation(lpnetresource : *const NETRESOURCEW, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32, lplpsystem : *mut ::windows_sys::core::PWSTR) -> u32); +::windows_targets::link!("davclnt.dll" "system" fn NPGetResourceParent(lpnetresource : *const NETRESOURCEW, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> u32); +::windows_targets::link!("davclnt.dll" "system" fn NPGetUniversalName(lplocalpath : ::windows_sys::core::PCWSTR, dwinfolevel : UNC_INFO_LEVEL, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> u32); +::windows_targets::link!("davclnt.dll" "system" fn NPGetUser(lpname : ::windows_sys::core::PCWSTR, lpusername : ::windows_sys::core::PWSTR, lpnbufferlen : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("davclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NPOpenEnum(dwscope : u32, dwtype : u32, dwusage : u32, lpnetresource : *const NETRESOURCEW, lphenum : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetAddConnection2A(lpnetresource : *const NETRESOURCEA, lppassword : ::windows_sys::core::PCSTR, lpusername : ::windows_sys::core::PCSTR, dwflags : u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetAddConnection2W(lpnetresource : *const NETRESOURCEW, lppassword : ::windows_sys::core::PCWSTR, lpusername : ::windows_sys::core::PCWSTR, dwflags : u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetAddConnection3A(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEA, lppassword : ::windows_sys::core::PCSTR, lpusername : ::windows_sys::core::PCSTR, dwflags : u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetAddConnection3W(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, lppassword : ::windows_sys::core::PCWSTR, lpusername : ::windows_sys::core::PCWSTR, dwflags : u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetAddConnection4A(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEA, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetAddConnection4W(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetAddConnectionA(lpremotename : ::windows_sys::core::PCSTR, lppassword : ::windows_sys::core::PCSTR, lplocalname : ::windows_sys::core::PCSTR) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetAddConnectionW(lpremotename : ::windows_sys::core::PCWSTR, lppassword : ::windows_sys::core::PCWSTR, lplocalname : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetCancelConnection2A(lpname : ::windows_sys::core::PCSTR, dwflags : u32, fforce : super::super::Foundation:: BOOL) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetCancelConnection2W(lpname : ::windows_sys::core::PCWSTR, dwflags : u32, fforce : super::super::Foundation:: BOOL) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetCancelConnectionA(lpname : ::windows_sys::core::PCSTR, fforce : super::super::Foundation:: BOOL) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetCancelConnectionW(lpname : ::windows_sys::core::PCWSTR, fforce : super::super::Foundation:: BOOL) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetCloseEnum(henum : super::super::Foundation:: HANDLE) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetConnectionDialog(hwnd : super::super::Foundation:: HWND, dwtype : u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetConnectionDialog1A(lpconndlgstruct : *mut CONNECTDLGSTRUCTA) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetConnectionDialog1W(lpconndlgstruct : *mut CONNECTDLGSTRUCTW) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetDisconnectDialog(hwnd : super::super::Foundation:: HWND, dwtype : u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetDisconnectDialog1A(lpconndlgstruct : *const DISCDLGSTRUCTA) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetDisconnectDialog1W(lpconndlgstruct : *const DISCDLGSTRUCTW) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetEnumResourceA(henum : super::super::Foundation:: HANDLE, lpccount : *mut u32, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetEnumResourceW(henum : super::super::Foundation:: HANDLE, lpccount : *mut u32, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetConnectionA(lplocalname : ::windows_sys::core::PCSTR, lpremotename : ::windows_sys::core::PSTR, lpnlength : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetConnectionW(lplocalname : ::windows_sys::core::PCWSTR, lpremotename : ::windows_sys::core::PWSTR, lpnlength : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetLastErrorA(lperror : *mut u32, lperrorbuf : ::windows_sys::core::PSTR, nerrorbufsize : u32, lpnamebuf : ::windows_sys::core::PSTR, nnamebufsize : u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetLastErrorW(lperror : *mut u32, lperrorbuf : ::windows_sys::core::PWSTR, nerrorbufsize : u32, lpnamebuf : ::windows_sys::core::PWSTR, nnamebufsize : u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetNetworkInformationA(lpprovider : ::windows_sys::core::PCSTR, lpnetinfostruct : *mut NETINFOSTRUCT) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetNetworkInformationW(lpprovider : ::windows_sys::core::PCWSTR, lpnetinfostruct : *mut NETINFOSTRUCT) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetProviderNameA(dwnettype : u32, lpprovidername : ::windows_sys::core::PSTR, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetProviderNameW(dwnettype : u32, lpprovidername : ::windows_sys::core::PWSTR, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetResourceInformationA(lpnetresource : *const NETRESOURCEA, lpbuffer : *mut ::core::ffi::c_void, lpcbbuffer : *mut u32, lplpsystem : *mut ::windows_sys::core::PSTR) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetResourceInformationW(lpnetresource : *const NETRESOURCEW, lpbuffer : *mut ::core::ffi::c_void, lpcbbuffer : *mut u32, lplpsystem : *mut ::windows_sys::core::PWSTR) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetResourceParentA(lpnetresource : *const NETRESOURCEA, lpbuffer : *mut ::core::ffi::c_void, lpcbbuffer : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetResourceParentW(lpnetresource : *const NETRESOURCEW, lpbuffer : *mut ::core::ffi::c_void, lpcbbuffer : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetUniversalNameA(lplocalpath : ::windows_sys::core::PCSTR, dwinfolevel : UNC_INFO_LEVEL, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetUniversalNameW(lplocalpath : ::windows_sys::core::PCWSTR, dwinfolevel : UNC_INFO_LEVEL, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetUserA(lpname : ::windows_sys::core::PCSTR, lpusername : ::windows_sys::core::PSTR, lpnlength : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetUserW(lpname : ::windows_sys::core::PCWSTR, lpusername : ::windows_sys::core::PWSTR, lpnlength : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetOpenEnumA(dwscope : NET_RESOURCE_SCOPE, dwtype : NET_RESOURCE_TYPE, dwusage : WNET_OPEN_ENUM_USAGE, lpnetresource : *const NETRESOURCEA, lphenum : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetOpenEnumW(dwscope : NET_RESOURCE_SCOPE, dwtype : NET_RESOURCE_TYPE, dwusage : WNET_OPEN_ENUM_USAGE, lpnetresource : *const NETRESOURCEW, lphenum : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: WIN32_ERROR); +::windows_targets::link!("mpr.dll" "system" fn WNetSetLastErrorA(err : u32, lperror : ::windows_sys::core::PCSTR, lpproviders : ::windows_sys::core::PCSTR) -> ()); +::windows_targets::link!("mpr.dll" "system" fn WNetSetLastErrorW(err : u32, lperror : ::windows_sys::core::PCWSTR, lpproviders : ::windows_sys::core::PCWSTR) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetUseConnection4A(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEA, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32, lpaccessname : ::windows_sys::core::PSTR, lpbuffersize : *mut u32, lpresult : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetUseConnection4W(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32, lpaccessname : ::windows_sys::core::PWSTR, lpbuffersize : *mut u32, lpresult : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetUseConnectionA(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEA, lppassword : ::windows_sys::core::PCSTR, lpuserid : ::windows_sys::core::PCSTR, dwflags : NET_USE_CONNECT_FLAGS, lpaccessname : ::windows_sys::core::PSTR, lpbuffersize : *mut u32, lpresult : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetUseConnectionW(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, lppassword : ::windows_sys::core::PCWSTR, lpuserid : ::windows_sys::core::PCWSTR, dwflags : NET_USE_CONNECT_FLAGS, lpaccessname : ::windows_sys::core::PWSTR, lpbuffersize : *mut u32, lpresult : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +pub const CONNDLG_CONN_POINT: CONNECTDLGSTRUCT_FLAGS = 2u32; +pub const CONNDLG_HIDE_BOX: CONNECTDLGSTRUCT_FLAGS = 8u32; +pub const CONNDLG_NOT_PERSIST: CONNECTDLGSTRUCT_FLAGS = 32u32; +pub const CONNDLG_PERSIST: CONNECTDLGSTRUCT_FLAGS = 16u32; +pub const CONNDLG_RO_PATH: CONNECTDLGSTRUCT_FLAGS = 1u32; +pub const CONNDLG_USE_MRU: CONNECTDLGSTRUCT_FLAGS = 4u32; +pub const CONNECT_CMD_SAVECRED: NET_USE_CONNECT_FLAGS = 4096u32; +pub const CONNECT_COMMANDLINE: NET_USE_CONNECT_FLAGS = 2048u32; +pub const CONNECT_CRED_RESET: u32 = 8192u32; +pub const CONNECT_CURRENT_MEDIA: u32 = 512u32; +pub const CONNECT_DEFERRED: NET_USE_CONNECT_FLAGS = 1024u32; +pub const CONNECT_GLOBAL_MAPPING: u32 = 262144u32; +pub const CONNECT_INTERACTIVE: NET_USE_CONNECT_FLAGS = 8u32; +pub const CONNECT_LOCALDRIVE: u32 = 256u32; +pub const CONNECT_NEED_DRIVE: u32 = 32u32; +pub const CONNECT_PROMPT: NET_USE_CONNECT_FLAGS = 16u32; +pub const CONNECT_REDIRECT: NET_USE_CONNECT_FLAGS = 128u32; +pub const CONNECT_REFCOUNT: u32 = 64u32; +pub const CONNECT_REQUIRE_INTEGRITY: u32 = 16384u32; +pub const CONNECT_REQUIRE_PRIVACY: u32 = 32768u32; +pub const CONNECT_RESERVED: u32 = 4278190080u32; +pub const CONNECT_TEMPORARY: NET_USE_CONNECT_FLAGS = 4u32; +pub const CONNECT_UPDATE_PROFILE: NET_USE_CONNECT_FLAGS = 1u32; +pub const CONNECT_UPDATE_RECENT: NET_USE_CONNECT_FLAGS = 2u32; +pub const CONNECT_WRITE_THROUGH_SEMANTICS: u32 = 65536u32; +pub const DISC_NO_FORCE: DISCDLGSTRUCT_FLAGS = 64u32; +pub const DISC_UPDATE_PROFILE: DISCDLGSTRUCT_FLAGS = 1u32; +pub const NETINFO_DISKRED: NETINFOSTRUCT_CHARACTERISTICS = 4u32; +pub const NETINFO_DLL16: NETINFOSTRUCT_CHARACTERISTICS = 1u32; +pub const NETINFO_PRINTERRED: NETINFOSTRUCT_CHARACTERISTICS = 8u32; +pub const NETPROPERTY_PERSISTENT: u32 = 1u32; +pub const NOTIFY_POST: u32 = 2u32; +pub const NOTIFY_PRE: u32 = 1u32; +pub const REMOTE_NAME_INFO_LEVEL: UNC_INFO_LEVEL = 2u32; +pub const RESOURCEDISPLAYTYPE_DIRECTORY: u32 = 9u32; +pub const RESOURCEDISPLAYTYPE_NDSCONTAINER: u32 = 11u32; +pub const RESOURCEDISPLAYTYPE_NETWORK: u32 = 6u32; +pub const RESOURCEDISPLAYTYPE_ROOT: u32 = 7u32; +pub const RESOURCEDISPLAYTYPE_SHAREADMIN: u32 = 8u32; +pub const RESOURCETYPE_ANY: NET_RESOURCE_TYPE = 0u32; +pub const RESOURCETYPE_DISK: NET_RESOURCE_TYPE = 1u32; +pub const RESOURCETYPE_PRINT: NET_RESOURCE_TYPE = 2u32; +pub const RESOURCETYPE_RESERVED: u32 = 8u32; +pub const RESOURCETYPE_UNKNOWN: u32 = 4294967295u32; +pub const RESOURCEUSAGE_ALL: WNET_OPEN_ENUM_USAGE = 19u32; +pub const RESOURCEUSAGE_ATTACHED: WNET_OPEN_ENUM_USAGE = 16u32; +pub const RESOURCEUSAGE_CONNECTABLE: WNET_OPEN_ENUM_USAGE = 1u32; +pub const RESOURCEUSAGE_CONTAINER: WNET_OPEN_ENUM_USAGE = 2u32; +pub const RESOURCEUSAGE_NOLOCALDEVICE: u32 = 4u32; +pub const RESOURCEUSAGE_NONE: WNET_OPEN_ENUM_USAGE = 0u32; +pub const RESOURCEUSAGE_RESERVED: u32 = 2147483648u32; +pub const RESOURCEUSAGE_SIBLING: u32 = 8u32; +pub const RESOURCE_CONNECTED: NET_RESOURCE_SCOPE = 1u32; +pub const RESOURCE_CONTEXT: NET_RESOURCE_SCOPE = 5u32; +pub const RESOURCE_GLOBALNET: NET_RESOURCE_SCOPE = 2u32; +pub const RESOURCE_RECENT: u32 = 4u32; +pub const RESOURCE_REMEMBERED: NET_RESOURCE_SCOPE = 3u32; +pub const UNIVERSAL_NAME_INFO_LEVEL: UNC_INFO_LEVEL = 1u32; +pub const WNCON_DYNAMIC: u32 = 8u32; +pub const WNCON_FORNETCARD: u32 = 1u32; +pub const WNCON_NOTROUTED: u32 = 2u32; +pub const WNCON_SLOWLINK: u32 = 4u32; +pub const WNDN_MKDIR: NPDIRECTORY_NOTIFY_OPERATION = 1u32; +pub const WNDN_MVDIR: NPDIRECTORY_NOTIFY_OPERATION = 3u32; +pub const WNDN_RMDIR: NPDIRECTORY_NOTIFY_OPERATION = 2u32; +pub const WNDT_NETWORK: u32 = 1u32; +pub const WNDT_NORMAL: u32 = 0u32; +pub const WNFMT_ABBREVIATED: NETWORK_NAME_FORMAT_FLAGS = 2u32; +pub const WNFMT_CONNECTION: u32 = 32u32; +pub const WNFMT_INENUM: u32 = 16u32; +pub const WNFMT_MULTILINE: NETWORK_NAME_FORMAT_FLAGS = 1u32; +pub const WNGETCON_CONNECTED: u32 = 0u32; +pub const WNGETCON_DISCONNECTED: u32 = 1u32; +pub const WNNC_ADMIN: u32 = 9u32; +pub const WNNC_ADM_DIRECTORYNOTIFY: u32 = 2u32; +pub const WNNC_ADM_GETDIRECTORYTYPE: u32 = 1u32; +pub const WNNC_CONNECTION: u32 = 6u32; +pub const WNNC_CONNECTION_FLAGS: u32 = 13u32; +pub const WNNC_CON_ADDCONNECTION: u32 = 1u32; +pub const WNNC_CON_ADDCONNECTION3: u32 = 8u32; +pub const WNNC_CON_ADDCONNECTION4: u32 = 16u32; +pub const WNNC_CON_CANCELCONNECTION: u32 = 2u32; +pub const WNNC_CON_CANCELCONNECTION2: u32 = 32u32; +pub const WNNC_CON_DEFER: u32 = 128u32; +pub const WNNC_CON_GETCONNECTIONS: u32 = 4u32; +pub const WNNC_CON_GETPERFORMANCE: u32 = 64u32; +pub const WNNC_DIALOG: u32 = 8u32; +pub const WNNC_DLG_DEVICEMODE: u32 = 1u32; +pub const WNNC_DLG_FORMATNETWORKNAME: u32 = 128u32; +pub const WNNC_DLG_GETRESOURCEINFORMATION: u32 = 2048u32; +pub const WNNC_DLG_GETRESOURCEPARENT: u32 = 512u32; +pub const WNNC_DLG_PERMISSIONEDITOR: u32 = 256u32; +pub const WNNC_DLG_PROPERTYDIALOG: u32 = 32u32; +pub const WNNC_DLG_SEARCHDIALOG: u32 = 64u32; +pub const WNNC_DRIVER_VERSION: u32 = 3u32; +pub const WNNC_ENUMERATION: u32 = 11u32; +pub const WNNC_ENUM_CONTEXT: u32 = 4u32; +pub const WNNC_ENUM_GLOBAL: u32 = 1u32; +pub const WNNC_ENUM_LOCAL: u32 = 2u32; +pub const WNNC_ENUM_SHAREABLE: u32 = 8u32; +pub const WNNC_NET_NONE: u32 = 0u32; +pub const WNNC_NET_TYPE: u32 = 2u32; +pub const WNNC_SPEC_VERSION: u32 = 1u32; +pub const WNNC_SPEC_VERSION51: u32 = 327681u32; +pub const WNNC_START: u32 = 12u32; +pub const WNNC_USER: u32 = 4u32; +pub const WNNC_USR_GETUSER: u32 = 1u32; +pub const WNNC_WAIT_FOR_START: u32 = 1u32; +pub const WNPERMC_AUDIT: u32 = 2u32; +pub const WNPERMC_OWNER: u32 = 4u32; +pub const WNPERMC_PERM: u32 = 1u32; +pub const WNPERM_DLG_AUDIT: WNPERM_DLG = 1u32; +pub const WNPERM_DLG_OWNER: WNPERM_DLG = 2u32; +pub const WNPERM_DLG_PERM: WNPERM_DLG = 0u32; +pub const WNPS_DIR: NP_PROPERTY_DIALOG_SELECTION = 1u32; +pub const WNPS_FILE: NP_PROPERTY_DIALOG_SELECTION = 0u32; +pub const WNPS_MULT: NP_PROPERTY_DIALOG_SELECTION = 2u32; +pub const WNSRCH_REFRESH_FIRST_LEVEL: u32 = 1u32; +pub const WNTYPE_COMM: u32 = 4u32; +pub const WNTYPE_DRIVE: u32 = 1u32; +pub const WNTYPE_FILE: u32 = 2u32; +pub const WNTYPE_PRINTER: u32 = 3u32; +pub const WN_CREDENTIAL_CLASS: u32 = 2u32; +pub const WN_NETWORK_CLASS: u32 = 1u32; +pub const WN_NT_PASSWORD_CHANGED: u32 = 2u32; +pub const WN_PRIMARY_AUTHENT_CLASS: u32 = 4u32; +pub const WN_SERVICE_CLASS: u32 = 8u32; +pub const WN_VALID_LOGON_ACCOUNT: u32 = 1u32; +pub type CONNECTDLGSTRUCT_FLAGS = u32; +pub type DISCDLGSTRUCT_FLAGS = u32; +pub type NETINFOSTRUCT_CHARACTERISTICS = u32; +pub type NETWORK_NAME_FORMAT_FLAGS = u32; +pub type NET_RESOURCE_SCOPE = u32; +pub type NET_RESOURCE_TYPE = u32; +pub type NET_USE_CONNECT_FLAGS = u32; +pub type NPDIRECTORY_NOTIFY_OPERATION = u32; +pub type NP_PROPERTY_DIALOG_SELECTION = u32; +pub type UNC_INFO_LEVEL = u32; +pub type WNET_OPEN_ENUM_USAGE = u32; +pub type WNPERM_DLG = u32; +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct CONNECTDLGSTRUCTA { + pub cbStructure: u32, + pub hwndOwner: super::super::Foundation::HWND, + pub lpConnRes: *mut NETRESOURCEA, + pub dwFlags: CONNECTDLGSTRUCT_FLAGS, + pub dwDevNum: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for CONNECTDLGSTRUCTA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for CONNECTDLGSTRUCTA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct CONNECTDLGSTRUCTW { + pub cbStructure: u32, + pub hwndOwner: super::super::Foundation::HWND, + pub lpConnRes: *mut NETRESOURCEW, + pub dwFlags: CONNECTDLGSTRUCT_FLAGS, + pub dwDevNum: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for CONNECTDLGSTRUCTW {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for CONNECTDLGSTRUCTW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DISCDLGSTRUCTA { + pub cbStructure: u32, + pub hwndOwner: super::super::Foundation::HWND, + pub lpLocalName: ::windows_sys::core::PSTR, + pub lpRemoteName: ::windows_sys::core::PSTR, + pub dwFlags: DISCDLGSTRUCT_FLAGS, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DISCDLGSTRUCTA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DISCDLGSTRUCTA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DISCDLGSTRUCTW { + pub cbStructure: u32, + pub hwndOwner: super::super::Foundation::HWND, + pub lpLocalName: ::windows_sys::core::PWSTR, + pub lpRemoteName: ::windows_sys::core::PWSTR, + pub dwFlags: DISCDLGSTRUCT_FLAGS, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DISCDLGSTRUCTW {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DISCDLGSTRUCTW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NETCONNECTINFOSTRUCT { + pub cbStructure: u32, + pub dwFlags: u32, + pub dwSpeed: u32, + pub dwDelay: u32, + pub dwOptDataSize: u32, +} +impl ::core::marker::Copy for NETCONNECTINFOSTRUCT {} +impl ::core::clone::Clone for NETCONNECTINFOSTRUCT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct NETINFOSTRUCT { + pub cbStructure: u32, + pub dwProviderVersion: u32, + pub dwStatus: super::super::Foundation::WIN32_ERROR, + pub dwCharacteristics: NETINFOSTRUCT_CHARACTERISTICS, + pub dwHandle: usize, + pub wNetType: u16, + pub dwPrinters: u32, + pub dwDrives: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NETINFOSTRUCT {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NETINFOSTRUCT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NETRESOURCEA { + pub dwScope: NET_RESOURCE_SCOPE, + pub dwType: NET_RESOURCE_TYPE, + pub dwDisplayType: u32, + pub dwUsage: u32, + pub lpLocalName: ::windows_sys::core::PSTR, + pub lpRemoteName: ::windows_sys::core::PSTR, + pub lpComment: ::windows_sys::core::PSTR, + pub lpProvider: ::windows_sys::core::PSTR, +} +impl ::core::marker::Copy for NETRESOURCEA {} +impl ::core::clone::Clone for NETRESOURCEA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NETRESOURCEW { + pub dwScope: NET_RESOURCE_SCOPE, + pub dwType: NET_RESOURCE_TYPE, + pub dwDisplayType: u32, + pub dwUsage: u32, + pub lpLocalName: ::windows_sys::core::PWSTR, + pub lpRemoteName: ::windows_sys::core::PWSTR, + pub lpComment: ::windows_sys::core::PWSTR, + pub lpProvider: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for NETRESOURCEW {} +impl ::core::clone::Clone for NETRESOURCEW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct NOTIFYADD { + pub hwndOwner: super::super::Foundation::HWND, + pub NetResource: NETRESOURCEA, + pub dwAddFlags: NET_USE_CONNECT_FLAGS, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NOTIFYADD {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NOTIFYADD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct NOTIFYCANCEL { + pub lpName: ::windows_sys::core::PWSTR, + pub lpProvider: ::windows_sys::core::PWSTR, + pub dwFlags: u32, + pub fForce: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NOTIFYCANCEL {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NOTIFYCANCEL { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NOTIFYINFO { + pub dwNotifyStatus: u32, + pub dwOperationStatus: u32, + pub lpContext: *mut ::core::ffi::c_void, +} +impl ::core::marker::Copy for NOTIFYINFO {} +impl ::core::clone::Clone for NOTIFYINFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct REMOTE_NAME_INFOA { + pub lpUniversalName: ::windows_sys::core::PSTR, + pub lpConnectionName: ::windows_sys::core::PSTR, + pub lpRemainingPath: ::windows_sys::core::PSTR, +} +impl ::core::marker::Copy for REMOTE_NAME_INFOA {} +impl ::core::clone::Clone for REMOTE_NAME_INFOA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct REMOTE_NAME_INFOW { + pub lpUniversalName: ::windows_sys::core::PWSTR, + pub lpConnectionName: ::windows_sys::core::PWSTR, + pub lpRemainingPath: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for REMOTE_NAME_INFOW {} +impl ::core::clone::Clone for REMOTE_NAME_INFOW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct UNIVERSAL_NAME_INFOA { + pub lpUniversalName: ::windows_sys::core::PSTR, +} +impl ::core::marker::Copy for UNIVERSAL_NAME_INFOA {} +impl ::core::clone::Clone for UNIVERSAL_NAME_INFOA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct UNIVERSAL_NAME_INFOW { + pub lpUniversalName: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for UNIVERSAL_NAME_INFOW {} +impl ::core::clone::Clone for UNIVERSAL_NAME_INFOW { + fn clone(&self) -> Self { + *self + } +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PF_AddConnectNotify = ::core::option::Option<unsafe extern "system" fn(lpnotifyinfo: *mut NOTIFYINFO, lpaddinfo: *const NOTIFYADD) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PF_CancelConnectNotify = ::core::option::Option<unsafe extern "system" fn(lpnotifyinfo: *mut NOTIFYINFO, lpcancelinfo: *const NOTIFYCANCEL) -> u32>; +pub type PF_NPAddConnection = ::core::option::Option<unsafe extern "system" fn(lpnetresource: *const NETRESOURCEW, lppassword: ::windows_sys::core::PCWSTR, lpusername: ::windows_sys::core::PCWSTR) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PF_NPAddConnection3 = ::core::option::Option<unsafe extern "system" fn(hwndowner: super::super::Foundation::HWND, lpnetresource: *const NETRESOURCEW, lppassword: ::windows_sys::core::PCWSTR, lpusername: ::windows_sys::core::PCWSTR, dwflags: u32) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PF_NPAddConnection4 = ::core::option::Option<unsafe extern "system" fn(hwndowner: super::super::Foundation::HWND, lpnetresource: *const NETRESOURCEW, lpauthbuffer: *const ::core::ffi::c_void, cbauthbuffer: u32, dwflags: u32, lpuseoptions: *const u8, cbuseoptions: u32) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PF_NPCancelConnection = ::core::option::Option<unsafe extern "system" fn(lpname: ::windows_sys::core::PCWSTR, fforce: super::super::Foundation::BOOL) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PF_NPCancelConnection2 = ::core::option::Option<unsafe extern "system" fn(lpname: ::windows_sys::core::PCWSTR, fforce: super::super::Foundation::BOOL, dwflags: u32) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PF_NPCloseEnum = ::core::option::Option<unsafe extern "system" fn(henum: super::super::Foundation::HANDLE) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PF_NPDeviceMode = ::core::option::Option<unsafe extern "system" fn(hparent: super::super::Foundation::HWND) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PF_NPDirectoryNotify = ::core::option::Option<unsafe extern "system" fn(hwnd: super::super::Foundation::HWND, lpdir: ::windows_sys::core::PCWSTR, dwoper: u32) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PF_NPEnumResource = ::core::option::Option<unsafe extern "system" fn(henum: super::super::Foundation::HANDLE, lpccount: *mut u32, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PF_NPFMXEditPerm = ::core::option::Option<unsafe extern "system" fn(lpdrivename: ::windows_sys::core::PCWSTR, hwndfmx: super::super::Foundation::HWND, ndialogtype: u32) -> u32>; +pub type PF_NPFMXGetPermCaps = ::core::option::Option<unsafe extern "system" fn(lpdrivename: ::windows_sys::core::PCWSTR) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PF_NPFMXGetPermHelp = ::core::option::Option<unsafe extern "system" fn(lpdrivename: ::windows_sys::core::PCWSTR, ndialogtype: u32, fdirectory: super::super::Foundation::BOOL, lpfilenamebuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32, lpnhelpcontext: *mut u32) -> u32>; +pub type PF_NPFormatNetworkName = ::core::option::Option<unsafe extern "system" fn(lpremotename: ::windows_sys::core::PCWSTR, lpformattedname: ::windows_sys::core::PWSTR, lpnlength: *mut u32, dwflags: u32, dwavecharperline: u32) -> u32>; +pub type PF_NPGetCaps = ::core::option::Option<unsafe extern "system" fn(ndex: u32) -> u32>; +pub type PF_NPGetConnection = ::core::option::Option<unsafe extern "system" fn(lplocalname: ::windows_sys::core::PCWSTR, lpremotename: ::windows_sys::core::PWSTR, lpnbufferlen: *mut u32) -> u32>; +pub type PF_NPGetConnection3 = ::core::option::Option<unsafe extern "system" fn(lplocalname: ::windows_sys::core::PCWSTR, dwlevel: u32, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32) -> u32>; +pub type PF_NPGetConnectionPerformance = ::core::option::Option<unsafe extern "system" fn(lpremotename: ::windows_sys::core::PCWSTR, lpnetconnectinfo: *mut NETCONNECTINFOSTRUCT) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PF_NPGetDirectoryType = ::core::option::Option<unsafe extern "system" fn(lpname: ::windows_sys::core::PCWSTR, lptype: *const i32, bflushcache: super::super::Foundation::BOOL) -> u32>; +pub type PF_NPGetPersistentUseOptionsForConnection = ::core::option::Option<unsafe extern "system" fn(lpremotepath: ::windows_sys::core::PCWSTR, lpreaduseoptions: *const u8, cbreaduseoptions: u32, lpwriteuseoptions: *mut u8, lpsizewriteuseoptions: *mut u32) -> u32>; +pub type PF_NPGetPropertyText = ::core::option::Option<unsafe extern "system" fn(ibutton: u32, npropsel: u32, lpname: ::windows_sys::core::PCWSTR, lpbuttonname: ::windows_sys::core::PWSTR, nbuttonnamelen: u32, ntype: u32) -> u32>; +pub type PF_NPGetResourceInformation = ::core::option::Option<unsafe extern "system" fn(lpnetresource: *const NETRESOURCEW, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32, lplpsystem: *mut ::windows_sys::core::PWSTR) -> u32>; +pub type PF_NPGetResourceParent = ::core::option::Option<unsafe extern "system" fn(lpnetresource: *const NETRESOURCEW, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32) -> u32>; +pub type PF_NPGetUniversalName = ::core::option::Option<unsafe extern "system" fn(lplocalpath: ::windows_sys::core::PCWSTR, dwinfolevel: u32, lpbuffer: *mut ::core::ffi::c_void, lpnbuffersize: *mut u32) -> u32>; +pub type PF_NPGetUser = ::core::option::Option<unsafe extern "system" fn(lpname: ::windows_sys::core::PCWSTR, lpusername: ::windows_sys::core::PWSTR, lpnbufferlen: *mut u32) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PF_NPLogonNotify = ::core::option::Option<unsafe extern "system" fn(lplogonid: *const super::super::Foundation::LUID, lpauthentinfotype: ::windows_sys::core::PCWSTR, lpauthentinfo: *const ::core::ffi::c_void, lppreviousauthentinfotype: ::windows_sys::core::PCWSTR, lppreviousauthentinfo: *const ::core::ffi::c_void, lpstationname: ::windows_sys::core::PCWSTR, stationhandle: *const ::core::ffi::c_void, lplogonscript: *mut ::windows_sys::core::PWSTR) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PF_NPOpenEnum = ::core::option::Option<unsafe extern "system" fn(dwscope: u32, dwtype: u32, dwusage: u32, lpnetresource: *const NETRESOURCEW, lphenum: *mut super::super::Foundation::HANDLE) -> u32>; +pub type PF_NPPasswordChangeNotify = ::core::option::Option<unsafe extern "system" fn(lpauthentinfotype: ::windows_sys::core::PCWSTR, lpauthentinfo: *const ::core::ffi::c_void, lppreviousauthentinfotype: ::windows_sys::core::PCWSTR, lppreviousauthentinfo: *const ::core::ffi::c_void, lpstationname: ::windows_sys::core::PCWSTR, stationhandle: *const ::core::ffi::c_void, dwchangeinfo: u32) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PF_NPPropertyDialog = ::core::option::Option<unsafe extern "system" fn(hwndparent: super::super::Foundation::HWND, ibuttondlg: u32, npropsel: u32, lpfilename: ::windows_sys::core::PCWSTR, ntype: u32) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PF_NPSearchDialog = ::core::option::Option<unsafe extern "system" fn(hwndparent: super::super::Foundation::HWND, lpnetresource: *const NETRESOURCEW, lpbuffer: *mut ::core::ffi::c_void, cbbuffer: u32, lpnflags: *mut u32) -> u32>; diff --git a/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WebDav/mod.rs b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WebDav/mod.rs new file mode 100644 index 0000000..d2b9ad7 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WebDav/mod.rs @@ -0,0 +1,74 @@ +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DavAddConnection(connectionhandle : *mut super::super::Foundation:: HANDLE, remotename : ::windows_sys::core::PCWSTR, username : ::windows_sys::core::PCWSTR, password : ::windows_sys::core::PCWSTR, clientcert : *const u8, certsize : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("davclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DavCancelConnectionsToServer(lpname : ::windows_sys::core::PCWSTR, fforce : super::super::Foundation:: BOOL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DavDeleteConnection(connectionhandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DavFlushFile(hfile : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DavGetExtendedError(hfile : super::super::Foundation:: HANDLE, exterror : *mut u32, exterrorstring : ::windows_sys::core::PWSTR, cchsize : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn DavGetHTTPFromUNCPath(uncpath : ::windows_sys::core::PCWSTR, url : ::windows_sys::core::PWSTR, lpsize : *mut u32) -> u32); +::windows_targets::link!("davclnt.dll" "system" fn DavGetTheLockOwnerOfTheFile(filename : ::windows_sys::core::PCWSTR, lockownername : ::windows_sys::core::PWSTR, lockownernamelengthinbytes : *mut u32) -> u32); +::windows_targets::link!("netapi32.dll" "system" fn DavGetUNCFromHTTPPath(url : ::windows_sys::core::PCWSTR, uncpath : ::windows_sys::core::PWSTR, lpsize : *mut u32) -> u32); +::windows_targets::link!("davclnt.dll" "system" fn DavInvalidateCache(urlname : ::windows_sys::core::PCWSTR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("davclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DavRegisterAuthCallback(callback : PFNDAVAUTHCALLBACK, version : u32) -> u32); +::windows_targets::link!("davclnt.dll" "system" fn DavUnregisterAuthCallback(hcallback : u32) -> ()); +pub const CancelRequest: AUTHNEXTSTEP = 2i32; +pub const DAV_AUTHN_SCHEME_BASIC: u32 = 1u32; +pub const DAV_AUTHN_SCHEME_CERT: u32 = 65536u32; +pub const DAV_AUTHN_SCHEME_DIGEST: u32 = 8u32; +pub const DAV_AUTHN_SCHEME_FBA: u32 = 1048576u32; +pub const DAV_AUTHN_SCHEME_NEGOTIATE: u32 = 16u32; +pub const DAV_AUTHN_SCHEME_NTLM: u32 = 2u32; +pub const DAV_AUTHN_SCHEME_PASSPORT: u32 = 4u32; +pub const DefaultBehavior: AUTHNEXTSTEP = 0i32; +pub const RetryRequest: AUTHNEXTSTEP = 1i32; +pub type AUTHNEXTSTEP = i32; +#[repr(C)] +pub struct DAV_CALLBACK_AUTH_BLOB { + pub pBuffer: *mut ::core::ffi::c_void, + pub ulSize: u32, + pub ulType: u32, +} +impl ::core::marker::Copy for DAV_CALLBACK_AUTH_BLOB {} +impl ::core::clone::Clone for DAV_CALLBACK_AUTH_BLOB { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DAV_CALLBACK_AUTH_UNP { + pub pszUserName: ::windows_sys::core::PWSTR, + pub ulUserNameLength: u32, + pub pszPassword: ::windows_sys::core::PWSTR, + pub ulPasswordLength: u32, +} +impl ::core::marker::Copy for DAV_CALLBACK_AUTH_UNP {} +impl ::core::clone::Clone for DAV_CALLBACK_AUTH_UNP { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DAV_CALLBACK_CRED { + pub AuthBlob: DAV_CALLBACK_AUTH_BLOB, + pub UNPBlob: DAV_CALLBACK_AUTH_UNP, + pub bAuthBlobValid: super::super::Foundation::BOOL, + pub bSave: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DAV_CALLBACK_CRED {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DAV_CALLBACK_CRED { + fn clone(&self) -> Self { + *self + } +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PFNDAVAUTHCALLBACK = ::core::option::Option<unsafe extern "system" fn(lpwzservername: ::windows_sys::core::PCWSTR, lpwzremotename: ::windows_sys::core::PCWSTR, dwauthscheme: u32, dwflags: u32, pcallbackcred: *mut DAV_CALLBACK_CRED, nextstep: *mut AUTHNEXTSTEP, pfreecred: *mut PFNDAVAUTHCALLBACK_FREECRED) -> u32>; +pub type PFNDAVAUTHCALLBACK_FREECRED = ::core::option::Option<unsafe extern "system" fn(pbuffer: *const ::core::ffi::c_void) -> u32>; diff --git a/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WiFi/mod.rs b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WiFi/mod.rs new file mode 100644 index 0000000..2031c08 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WiFi/mod.rs @@ -0,0 +1,6327 @@ +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WFDCancelOpenSession(hsessionhandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WFDCloseHandle(hclienthandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WFDCloseSession(hsessionhandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WFDOpenHandle(dwclientversion : u32, pdwnegotiatedversion : *mut u32, phclienthandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WFDOpenLegacySession(hclienthandle : super::super::Foundation:: HANDLE, plegacymacaddress : *const *const u8, phsessionhandle : *mut super::super::Foundation:: HANDLE, pguidsessioninterface : *mut ::windows_sys::core::GUID) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WFDStartOpenSession(hclienthandle : super::super::Foundation:: HANDLE, pdeviceaddress : *const *const u8, pvcontext : *const ::core::ffi::c_void, pfncallback : WFD_OPEN_SESSION_COMPLETE_CALLBACK, phsessionhandle : *mut super::super::Foundation:: HANDLE) -> u32); +::windows_targets::link!("wlanapi.dll" "system" fn WFDUpdateDeviceVisibility(pdeviceaddress : *const *const u8) -> u32); +::windows_targets::link!("wlanapi.dll" "system" fn WlanAllocateMemory(dwmemorysize : u32) -> *mut ::core::ffi::c_void); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanCloseHandle(hclienthandle : super::super::Foundation:: HANDLE, preserved : *const ::core::ffi::c_void) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn WlanConnect(hclienthandle : super::super::Foundation:: HANDLE, pinterfaceguid : *const ::windows_sys::core::GUID, pconnectionparameters : *const WLAN_CONNECTION_PARAMETERS, preserved : *const ::core::ffi::c_void) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn WlanConnect2(hclienthandle : super::super::Foundation:: HANDLE, pinterfaceguid : *const ::windows_sys::core::GUID, pconnectionparameters : *const WLAN_CONNECTION_PARAMETERS_V2, preserved : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanDeleteProfile(hclienthandle : super::super::Foundation:: HANDLE, pinterfaceguid : *const ::windows_sys::core::GUID, strprofilename : ::windows_sys::core::PCWSTR, preserved : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanDeviceServiceCommand(hclienthandle : super::super::Foundation:: HANDLE, pinterfaceguid : *const ::windows_sys::core::GUID, pdeviceserviceguid : *const ::windows_sys::core::GUID, dwopcode : u32, dwinbuffersize : u32, pinbuffer : *const ::core::ffi::c_void, dwoutbuffersize : u32, poutbuffer : *mut ::core::ffi::c_void, pdwbytesreturned : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanDisconnect(hclienthandle : super::super::Foundation:: HANDLE, pinterfaceguid : *const ::windows_sys::core::GUID, preserved : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanEnumInterfaces(hclienthandle : super::super::Foundation:: HANDLE, preserved : *const ::core::ffi::c_void, ppinterfacelist : *mut *mut WLAN_INTERFACE_INFO_LIST) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanExtractPsdIEDataList(hclienthandle : super::super::Foundation:: HANDLE, dwiedatasize : u32, prawiedata : *const u8, strformat : ::windows_sys::core::PCWSTR, preserved : *const ::core::ffi::c_void, pppsdiedatalist : *mut *mut WLAN_RAW_DATA_LIST) -> u32); +::windows_targets::link!("wlanapi.dll" "system" fn WlanFreeMemory(pmemory : *const ::core::ffi::c_void) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanGetAvailableNetworkList(hclienthandle : super::super::Foundation:: HANDLE, pinterfaceguid : *const ::windows_sys::core::GUID, dwflags : u32, preserved : *const ::core::ffi::c_void, ppavailablenetworklist : *mut *mut WLAN_AVAILABLE_NETWORK_LIST) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanGetAvailableNetworkList2(hclienthandle : super::super::Foundation:: HANDLE, pinterfaceguid : *const ::windows_sys::core::GUID, dwflags : u32, preserved : *const ::core::ffi::c_void, ppavailablenetworklist : *mut *mut WLAN_AVAILABLE_NETWORK_LIST_V2) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanGetFilterList(hclienthandle : super::super::Foundation:: HANDLE, wlanfilterlisttype : WLAN_FILTER_LIST_TYPE, preserved : *const ::core::ffi::c_void, ppnetworklist : *mut *mut DOT11_NETWORK_LIST) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanGetInterfaceCapability(hclienthandle : super::super::Foundation:: HANDLE, pinterfaceguid : *const ::windows_sys::core::GUID, preserved : *const ::core::ffi::c_void, ppcapability : *mut *mut WLAN_INTERFACE_CAPABILITY) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanGetNetworkBssList(hclienthandle : super::super::Foundation:: HANDLE, pinterfaceguid : *const ::windows_sys::core::GUID, pdot11ssid : *const DOT11_SSID, dot11bsstype : DOT11_BSS_TYPE, bsecurityenabled : super::super::Foundation:: BOOL, preserved : *const ::core::ffi::c_void, ppwlanbsslist : *mut *mut WLAN_BSS_LIST) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanGetProfile(hclienthandle : super::super::Foundation:: HANDLE, pinterfaceguid : *const ::windows_sys::core::GUID, strprofilename : ::windows_sys::core::PCWSTR, preserved : *const ::core::ffi::c_void, pstrprofilexml : *mut ::windows_sys::core::PWSTR, pdwflags : *mut u32, pdwgrantedaccess : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanGetProfileCustomUserData(hclienthandle : super::super::Foundation:: HANDLE, pinterfaceguid : *const ::windows_sys::core::GUID, strprofilename : ::windows_sys::core::PCWSTR, preserved : *const ::core::ffi::c_void, pdwdatasize : *mut u32, ppdata : *mut *mut u8) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanGetProfileList(hclienthandle : super::super::Foundation:: HANDLE, pinterfaceguid : *const ::windows_sys::core::GUID, preserved : *const ::core::ffi::c_void, ppprofilelist : *mut *mut WLAN_PROFILE_INFO_LIST) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanGetSecuritySettings(hclienthandle : super::super::Foundation:: HANDLE, securableobject : WLAN_SECURABLE_OBJECT, pvaluetype : *mut WLAN_OPCODE_VALUE_TYPE, pstrcurrentsddl : *mut ::windows_sys::core::PWSTR, pdwgrantedaccess : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanGetSupportedDeviceServices(hclienthandle : super::super::Foundation:: HANDLE, pinterfaceguid : *const ::windows_sys::core::GUID, ppdevsvcguidlist : *mut *mut WLAN_DEVICE_SERVICE_GUID_LIST) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanHostedNetworkForceStart(hclienthandle : super::super::Foundation:: HANDLE, pfailreason : *mut WLAN_HOSTED_NETWORK_REASON, pvreserved : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanHostedNetworkForceStop(hclienthandle : super::super::Foundation:: HANDLE, pfailreason : *mut WLAN_HOSTED_NETWORK_REASON, pvreserved : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanHostedNetworkInitSettings(hclienthandle : super::super::Foundation:: HANDLE, pfailreason : *mut WLAN_HOSTED_NETWORK_REASON, pvreserved : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanHostedNetworkQueryProperty(hclienthandle : super::super::Foundation:: HANDLE, opcode : WLAN_HOSTED_NETWORK_OPCODE, pdwdatasize : *mut u32, ppvdata : *mut *mut ::core::ffi::c_void, pwlanopcodevaluetype : *mut WLAN_OPCODE_VALUE_TYPE, pvreserved : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanHostedNetworkQuerySecondaryKey(hclienthandle : super::super::Foundation:: HANDLE, pdwkeylength : *mut u32, ppuckeydata : *mut *mut u8, pbispassphrase : *mut super::super::Foundation:: BOOL, pbpersistent : *mut super::super::Foundation:: BOOL, pfailreason : *mut WLAN_HOSTED_NETWORK_REASON, pvreserved : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanHostedNetworkQueryStatus(hclienthandle : super::super::Foundation:: HANDLE, ppwlanhostednetworkstatus : *mut *mut WLAN_HOSTED_NETWORK_STATUS, pvreserved : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanHostedNetworkRefreshSecuritySettings(hclienthandle : super::super::Foundation:: HANDLE, pfailreason : *mut WLAN_HOSTED_NETWORK_REASON, pvreserved : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanHostedNetworkSetProperty(hclienthandle : super::super::Foundation:: HANDLE, opcode : WLAN_HOSTED_NETWORK_OPCODE, dwdatasize : u32, pvdata : *const ::core::ffi::c_void, pfailreason : *mut WLAN_HOSTED_NETWORK_REASON, pvreserved : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanHostedNetworkSetSecondaryKey(hclienthandle : super::super::Foundation:: HANDLE, dwkeylength : u32, puckeydata : *const u8, bispassphrase : super::super::Foundation:: BOOL, bpersistent : super::super::Foundation:: BOOL, pfailreason : *mut WLAN_HOSTED_NETWORK_REASON, pvreserved : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanHostedNetworkStartUsing(hclienthandle : super::super::Foundation:: HANDLE, pfailreason : *mut WLAN_HOSTED_NETWORK_REASON, pvreserved : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanHostedNetworkStopUsing(hclienthandle : super::super::Foundation:: HANDLE, pfailreason : *mut WLAN_HOSTED_NETWORK_REASON, pvreserved : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanIhvControl(hclienthandle : super::super::Foundation:: HANDLE, pinterfaceguid : *const ::windows_sys::core::GUID, r#type : WLAN_IHV_CONTROL_TYPE, dwinbuffersize : u32, pinbuffer : *const ::core::ffi::c_void, dwoutbuffersize : u32, poutbuffer : *mut ::core::ffi::c_void, pdwbytesreturned : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanOpenHandle(dwclientversion : u32, preserved : *const ::core::ffi::c_void, pdwnegotiatedversion : *mut u32, phclienthandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanQueryAutoConfigParameter(hclienthandle : super::super::Foundation:: HANDLE, opcode : WLAN_AUTOCONF_OPCODE, preserved : *const ::core::ffi::c_void, pdwdatasize : *mut u32, ppdata : *mut *mut ::core::ffi::c_void, pwlanopcodevaluetype : *mut WLAN_OPCODE_VALUE_TYPE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanQueryInterface(hclienthandle : super::super::Foundation:: HANDLE, pinterfaceguid : *const ::windows_sys::core::GUID, opcode : WLAN_INTF_OPCODE, preserved : *const ::core::ffi::c_void, pdwdatasize : *mut u32, ppdata : *mut *mut ::core::ffi::c_void, pwlanopcodevaluetype : *mut WLAN_OPCODE_VALUE_TYPE) -> u32); +::windows_targets::link!("wlanapi.dll" "system" fn WlanReasonCodeToString(dwreasoncode : u32, dwbuffersize : u32, pstringbuffer : ::windows_sys::core::PCWSTR, preserved : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanRegisterDeviceServiceNotification(hclienthandle : super::super::Foundation:: HANDLE, pdevsvcguidlist : *const WLAN_DEVICE_SERVICE_GUID_LIST) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanRegisterNotification(hclienthandle : super::super::Foundation:: HANDLE, dwnotifsource : WLAN_NOTIFICATION_SOURCES, bignoreduplicate : super::super::Foundation:: BOOL, funccallback : WLAN_NOTIFICATION_CALLBACK, pcallbackcontext : *const ::core::ffi::c_void, preserved : *const ::core::ffi::c_void, pdwprevnotifsource : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanRegisterVirtualStationNotification(hclienthandle : super::super::Foundation:: HANDLE, bregister : super::super::Foundation:: BOOL, preserved : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanRenameProfile(hclienthandle : super::super::Foundation:: HANDLE, pinterfaceguid : *const ::windows_sys::core::GUID, stroldprofilename : ::windows_sys::core::PCWSTR, strnewprofilename : ::windows_sys::core::PCWSTR, preserved : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanSaveTemporaryProfile(hclienthandle : super::super::Foundation:: HANDLE, pinterfaceguid : *const ::windows_sys::core::GUID, strprofilename : ::windows_sys::core::PCWSTR, stralluserprofilesecurity : ::windows_sys::core::PCWSTR, dwflags : u32, boverwrite : super::super::Foundation:: BOOL, preserved : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanScan(hclienthandle : super::super::Foundation:: HANDLE, pinterfaceguid : *const ::windows_sys::core::GUID, pdot11ssid : *const DOT11_SSID, piedata : *const WLAN_RAW_DATA, preserved : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanSetAutoConfigParameter(hclienthandle : super::super::Foundation:: HANDLE, opcode : WLAN_AUTOCONF_OPCODE, dwdatasize : u32, pdata : *const ::core::ffi::c_void, preserved : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanSetFilterList(hclienthandle : super::super::Foundation:: HANDLE, wlanfilterlisttype : WLAN_FILTER_LIST_TYPE, pnetworklist : *const DOT11_NETWORK_LIST, preserved : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanSetInterface(hclienthandle : super::super::Foundation:: HANDLE, pinterfaceguid : *const ::windows_sys::core::GUID, opcode : WLAN_INTF_OPCODE, dwdatasize : u32, pdata : *const ::core::ffi::c_void, preserved : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanSetProfile(hclienthandle : super::super::Foundation:: HANDLE, pinterfaceguid : *const ::windows_sys::core::GUID, dwflags : u32, strprofilexml : ::windows_sys::core::PCWSTR, stralluserprofilesecurity : ::windows_sys::core::PCWSTR, boverwrite : super::super::Foundation:: BOOL, preserved : *const ::core::ffi::c_void, pdwreasoncode : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanSetProfileCustomUserData(hclienthandle : super::super::Foundation:: HANDLE, pinterfaceguid : *const ::windows_sys::core::GUID, strprofilename : ::windows_sys::core::PCWSTR, dwdatasize : u32, pdata : *const u8, preserved : *const ::core::ffi::c_void) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_ExtensibleAuthenticationProtocol\"`"] fn WlanSetProfileEapUserData(hclienthandle : super::super::Foundation:: HANDLE, pinterfaceguid : *const ::windows_sys::core::GUID, strprofilename : ::windows_sys::core::PCWSTR, eaptype : super::super::Security::ExtensibleAuthenticationProtocol:: EAP_METHOD_TYPE, dwflags : WLAN_SET_EAPHOST_FLAGS, dweapuserdatasize : u32, pbeapuserdata : *const u8, preserved : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanSetProfileEapXmlUserData(hclienthandle : super::super::Foundation:: HANDLE, pinterfaceguid : *const ::windows_sys::core::GUID, strprofilename : ::windows_sys::core::PCWSTR, dwflags : WLAN_SET_EAPHOST_FLAGS, streapxmluserdata : ::windows_sys::core::PCWSTR, preserved : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanSetProfileList(hclienthandle : super::super::Foundation:: HANDLE, pinterfaceguid : *const ::windows_sys::core::GUID, dwitems : u32, strprofilenames : *const ::windows_sys::core::PCWSTR, preserved : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanSetProfilePosition(hclienthandle : super::super::Foundation:: HANDLE, pinterfaceguid : *const ::windows_sys::core::GUID, strprofilename : ::windows_sys::core::PCWSTR, dwposition : u32, preserved : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanSetPsdIEDataList(hclienthandle : super::super::Foundation:: HANDLE, strformat : ::windows_sys::core::PCWSTR, ppsdiedatalist : *const WLAN_RAW_DATA_LIST, preserved : *const ::core::ffi::c_void) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanSetSecuritySettings(hclienthandle : super::super::Foundation:: HANDLE, securableobject : WLAN_SECURABLE_OBJECT, strmodifiedsddl : ::windows_sys::core::PCWSTR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wlanui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WlanUIEditProfile(dwclientversion : u32, wstrprofilename : ::windows_sys::core::PCWSTR, pinterfaceguid : *const ::windows_sys::core::GUID, hwnd : super::super::Foundation:: HWND, wlstartpage : WL_DISPLAY_PAGES, preserved : *const ::core::ffi::c_void, pwlanreasoncode : *mut u32) -> u32); +pub type IDot11AdHocInterface = *mut ::core::ffi::c_void; +pub type IDot11AdHocInterfaceNotificationSink = *mut ::core::ffi::c_void; +pub type IDot11AdHocManager = *mut ::core::ffi::c_void; +pub type IDot11AdHocManagerNotificationSink = *mut ::core::ffi::c_void; +pub type IDot11AdHocNetwork = *mut ::core::ffi::c_void; +pub type IDot11AdHocNetworkNotificationSink = *mut ::core::ffi::c_void; +pub type IDot11AdHocSecuritySettings = *mut ::core::ffi::c_void; +pub type IEnumDot11AdHocInterfaces = *mut ::core::ffi::c_void; +pub type IEnumDot11AdHocNetworks = *mut ::core::ffi::c_void; +pub type IEnumDot11AdHocSecuritySettings = *mut ::core::ffi::c_void; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_InfraCast_AccessPointBssid: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 19 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_InfraCast_ChallengeAep: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 21 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_InfraCast_DevnodeAep: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 23 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_InfraCast_HostName_ResolutionMode: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 25 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_InfraCast_PinSupported: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 29 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_InfraCast_RtspTcpConnectionParametersSupported: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 30 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_InfraCast_SinkHostName: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 20 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_InfraCast_SinkIpAddress: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 26 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_InfraCast_StreamSecuritySupported: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 18 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_InfraCast_Supported: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 17 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_ASPMSupport: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 8 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_ClockPowerManagementSupport: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 9 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_CurrentSpeedAndMode: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 2 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_DeviceIDMessagingCapable: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 4 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_ExtendedConfigAvailable: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 6 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_ExtendedPCIConfigOpRegionSupport: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 7 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_MSISupport: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 11 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_NativePciExpressControl: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 17 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_PCIExpressAERControl: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 15 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_PCIExpressCapabilityControl: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 16 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_PCIExpressNativeHotPlugControl: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 12 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_PCIExpressNativePMEControl: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 14 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_PCISegmentGroupsSupport: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 10 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_SHPCNativeHotPlugControl: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 13 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_SecondaryBusWidth: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 5 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_SecondaryInterface: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 1 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_SupportedSpeedsAndModes: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 3 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_SystemMsiSupport: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 18 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFiDirectServices_AdvertisementId: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x31b37743_7c5e_4005_93e6_e953f92b82e9), pid: 5 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFiDirectServices_RequestServiceInformation: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x31b37743_7c5e_4005_93e6_e953f92b82e9), pid: 7 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFiDirectServices_ServiceAddress: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x31b37743_7c5e_4005_93e6_e953f92b82e9), pid: 2 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFiDirectServices_ServiceConfigMethods: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x31b37743_7c5e_4005_93e6_e953f92b82e9), pid: 6 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFiDirectServices_ServiceInformation: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x31b37743_7c5e_4005_93e6_e953f92b82e9), pid: 4 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFiDirectServices_ServiceName: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x31b37743_7c5e_4005_93e6_e953f92b82e9), pid: 3 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFiDirect_DeviceAddress: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 1 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFiDirect_DeviceAddressCopy: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 13 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFiDirect_FoundWsbService: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 24 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFiDirect_GroupId: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 4 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFiDirect_InformationElements: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 12 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFiDirect_InterfaceAddress: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 2 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFiDirect_InterfaceGuid: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 3 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFiDirect_IsConnected: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 5 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFiDirect_IsDMGCapable: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 22 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFiDirect_IsLegacyDevice: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 7 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFiDirect_IsMiracastLCPSupported: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 9 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFiDirect_IsRecentlyAssociated: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 14 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFiDirect_IsVisible: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 6 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFiDirect_LinkQuality: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 28 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFiDirect_MiracastVersion: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 8 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFiDirect_Miracast_SessionMgmtControlPort: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 31 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFiDirect_NoMiracastAutoProject: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 16 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFiDirect_RtspTcpConnectionParametersSupported: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 32 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFiDirect_Service_Aeps: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 15 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFiDirect_Services: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 10 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFiDirect_SupportedChannelList: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 11 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFiDirect_TransientAssociation: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 27 }; +#[doc = "Required features: `\"Win32_Devices_Properties\"`"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_WiFi_InterfaceGuid: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xef1167eb_cbfc_4341_a568_a7c91a68982c), pid: 2 }; +pub const DISCOVERY_FILTER_BITMASK_ANY: u32 = 15u32; +pub const DISCOVERY_FILTER_BITMASK_DEVICE: u32 = 1u32; +pub const DISCOVERY_FILTER_BITMASK_GO: u32 = 2u32; +pub const DOT11EXT_PSK_MAX_LENGTH: u32 = 64u32; +pub const DOT11_ADDITIONAL_IE_REVISION_1: u32 = 1u32; +pub const DOT11_ADHOC_AUTH_ALGO_80211_OPEN: DOT11_ADHOC_AUTH_ALGORITHM = 1i32; +pub const DOT11_ADHOC_AUTH_ALGO_INVALID: DOT11_ADHOC_AUTH_ALGORITHM = -1i32; +pub const DOT11_ADHOC_AUTH_ALGO_RSNA_PSK: DOT11_ADHOC_AUTH_ALGORITHM = 7i32; +pub const DOT11_ADHOC_CIPHER_ALGO_CCMP: DOT11_ADHOC_CIPHER_ALGORITHM = 4i32; +pub const DOT11_ADHOC_CIPHER_ALGO_INVALID: DOT11_ADHOC_CIPHER_ALGORITHM = -1i32; +pub const DOT11_ADHOC_CIPHER_ALGO_NONE: DOT11_ADHOC_CIPHER_ALGORITHM = 0i32; +pub const DOT11_ADHOC_CIPHER_ALGO_WEP: DOT11_ADHOC_CIPHER_ALGORITHM = 257i32; +pub const DOT11_ADHOC_CONNECT_FAIL_DOMAIN_MISMATCH: DOT11_ADHOC_CONNECT_FAIL_REASON = 0i32; +pub const DOT11_ADHOC_CONNECT_FAIL_OTHER: DOT11_ADHOC_CONNECT_FAIL_REASON = 2i32; +pub const DOT11_ADHOC_CONNECT_FAIL_PASSPHRASE_MISMATCH: DOT11_ADHOC_CONNECT_FAIL_REASON = 1i32; +pub const DOT11_ADHOC_NETWORK_CONNECTION_STATUS_CONNECTED: DOT11_ADHOC_NETWORK_CONNECTION_STATUS = 13i32; +pub const DOT11_ADHOC_NETWORK_CONNECTION_STATUS_CONNECTING: DOT11_ADHOC_NETWORK_CONNECTION_STATUS = 12i32; +pub const DOT11_ADHOC_NETWORK_CONNECTION_STATUS_DISCONNECTED: DOT11_ADHOC_NETWORK_CONNECTION_STATUS = 11i32; +pub const DOT11_ADHOC_NETWORK_CONNECTION_STATUS_FORMED: DOT11_ADHOC_NETWORK_CONNECTION_STATUS = 14i32; +pub const DOT11_ADHOC_NETWORK_CONNECTION_STATUS_INVALID: DOT11_ADHOC_NETWORK_CONNECTION_STATUS = 0i32; +pub const DOT11_ANQP_QUERY_COMPLETE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_ASSOCIATION_COMPLETION_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_ASSOCIATION_COMPLETION_PARAMETERS_REVISION_2: u32 = 2u32; +pub const DOT11_ASSOCIATION_INFO_LIST_REVISION_1: u32 = 1u32; +pub const DOT11_ASSOCIATION_PARAMS_REVISION_1: u32 = 1u32; +pub const DOT11_ASSOCIATION_START_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_ASSOC_ERROR_SOURCE_OS: u32 = 0u32; +pub const DOT11_ASSOC_ERROR_SOURCE_OTHER: u32 = 255u32; +pub const DOT11_ASSOC_ERROR_SOURCE_REMOTE: u32 = 1u32; +pub const DOT11_ASSOC_STATUS_SUCCESS: u32 = 0u32; +pub const DOT11_AUTH_ALGORITHM_LIST_REVISION_1: u32 = 1u32; +pub const DOT11_AUTH_ALGO_80211_OPEN: DOT11_AUTH_ALGORITHM = 1i32; +pub const DOT11_AUTH_ALGO_80211_SHARED_KEY: DOT11_AUTH_ALGORITHM = 2i32; +pub const DOT11_AUTH_ALGO_IHV_END: DOT11_AUTH_ALGORITHM = -1i32; +pub const DOT11_AUTH_ALGO_IHV_START: DOT11_AUTH_ALGORITHM = -2147483648i32; +pub const DOT11_AUTH_ALGO_MICHAEL: u32 = 1u32; +pub const DOT11_AUTH_ALGO_OWE: DOT11_AUTH_ALGORITHM = 10i32; +pub const DOT11_AUTH_ALGO_RSNA: DOT11_AUTH_ALGORITHM = 6i32; +pub const DOT11_AUTH_ALGO_RSNA_PSK: DOT11_AUTH_ALGORITHM = 7i32; +pub const DOT11_AUTH_ALGO_WPA: DOT11_AUTH_ALGORITHM = 3i32; +pub const DOT11_AUTH_ALGO_WPA3: DOT11_AUTH_ALGORITHM = 8i32; +pub const DOT11_AUTH_ALGO_WPA3_ENT: DOT11_AUTH_ALGORITHM = 11i32; +pub const DOT11_AUTH_ALGO_WPA3_ENT_192: DOT11_AUTH_ALGORITHM = 8i32; +pub const DOT11_AUTH_ALGO_WPA3_SAE: DOT11_AUTH_ALGORITHM = 9i32; +pub const DOT11_AUTH_ALGO_WPA_NONE: DOT11_AUTH_ALGORITHM = 5i32; +pub const DOT11_AUTH_ALGO_WPA_PSK: DOT11_AUTH_ALGORITHM = 4i32; +pub const DOT11_AUTH_CIPHER_PAIR_LIST_REVISION_1: u32 = 1u32; +pub const DOT11_AVAILABLE_CHANNEL_LIST_REVISION_1: u32 = 1u32; +pub const DOT11_AVAILABLE_FREQUENCY_LIST_REVISION_1: u32 = 1u32; +pub const DOT11_BSSID_LIST_REVISION_1: u32 = 1u32; +pub const DOT11_BSS_ENTRY_BYTE_ARRAY_REVISION_1: u32 = 1u32; +pub const DOT11_CAN_SUSTAIN_AP_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_CAN_SUSTAIN_AP_REASON_IHV_END: u32 = 4294967295u32; +pub const DOT11_CAN_SUSTAIN_AP_REASON_IHV_START: u32 = 4278190080u32; +pub const DOT11_CAPABILITY_CHANNEL_AGILITY: u32 = 128u32; +pub const DOT11_CAPABILITY_DSSSOFDM: u32 = 8192u32; +pub const DOT11_CAPABILITY_INFO_CF_POLLABLE: u32 = 4u32; +pub const DOT11_CAPABILITY_INFO_CF_POLL_REQ: u32 = 8u32; +pub const DOT11_CAPABILITY_INFO_ESS: u32 = 1u32; +pub const DOT11_CAPABILITY_INFO_IBSS: u32 = 2u32; +pub const DOT11_CAPABILITY_INFO_PRIVACY: u32 = 16u32; +pub const DOT11_CAPABILITY_PBCC: u32 = 64u32; +pub const DOT11_CAPABILITY_SHORT_PREAMBLE: u32 = 32u32; +pub const DOT11_CAPABILITY_SHORT_SLOT_TIME: u32 = 1024u32; +pub const DOT11_CCA_MODE_CS_ONLY: u32 = 2u32; +pub const DOT11_CCA_MODE_CS_WITH_TIMER: u32 = 8u32; +pub const DOT11_CCA_MODE_ED_ONLY: u32 = 1u32; +pub const DOT11_CCA_MODE_ED_and_CS: u32 = 4u32; +pub const DOT11_CCA_MODE_HRCS_AND_ED: u32 = 16u32; +pub const DOT11_CIPHER_ALGORITHM_LIST_REVISION_1: u32 = 1u32; +pub const DOT11_CIPHER_ALGO_BIP: DOT11_CIPHER_ALGORITHM = 6i32; +pub const DOT11_CIPHER_ALGO_BIP_CMAC_256: DOT11_CIPHER_ALGORITHM = 13i32; +pub const DOT11_CIPHER_ALGO_BIP_GMAC_128: DOT11_CIPHER_ALGORITHM = 11i32; +pub const DOT11_CIPHER_ALGO_BIP_GMAC_256: DOT11_CIPHER_ALGORITHM = 12i32; +pub const DOT11_CIPHER_ALGO_CCMP: DOT11_CIPHER_ALGORITHM = 4i32; +pub const DOT11_CIPHER_ALGO_CCMP_256: DOT11_CIPHER_ALGORITHM = 10i32; +pub const DOT11_CIPHER_ALGO_GCMP: DOT11_CIPHER_ALGORITHM = 8i32; +pub const DOT11_CIPHER_ALGO_GCMP_256: DOT11_CIPHER_ALGORITHM = 9i32; +pub const DOT11_CIPHER_ALGO_IHV_END: DOT11_CIPHER_ALGORITHM = -1i32; +pub const DOT11_CIPHER_ALGO_IHV_START: DOT11_CIPHER_ALGORITHM = -2147483648i32; +pub const DOT11_CIPHER_ALGO_NONE: DOT11_CIPHER_ALGORITHM = 0i32; +pub const DOT11_CIPHER_ALGO_RSN_USE_GROUP: DOT11_CIPHER_ALGORITHM = 256i32; +pub const DOT11_CIPHER_ALGO_TKIP: DOT11_CIPHER_ALGORITHM = 2i32; +pub const DOT11_CIPHER_ALGO_WEP: DOT11_CIPHER_ALGORITHM = 257i32; +pub const DOT11_CIPHER_ALGO_WEP104: DOT11_CIPHER_ALGORITHM = 5i32; +pub const DOT11_CIPHER_ALGO_WEP40: DOT11_CIPHER_ALGORITHM = 1i32; +pub const DOT11_CIPHER_ALGO_WPA_USE_GROUP: DOT11_CIPHER_ALGORITHM = 256i32; +pub const DOT11_CIPHER_DEFAULT_KEY_VALUE_REVISION_1: u32 = 1u32; +pub const DOT11_CIPHER_KEY_MAPPING_KEY_VALUE_BYTE_ARRAY_REVISION_1: u32 = 1u32; +pub const DOT11_CONF_ALGO_TKIP: u32 = 2u32; +pub const DOT11_CONF_ALGO_WEP_RC4: u32 = 1u32; +pub const DOT11_CONNECTION_COMPLETION_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_CONNECTION_START_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_CONNECTION_STATUS_SUCCESS: u32 = 0u32; +pub const DOT11_COUNTRY_OR_REGION_STRING_LIST_REVISION_1: u32 = 1u32; +pub const DOT11_DATA_RATE_MAPPING_TABLE_REVISION_1: u32 = 1u32; +pub const DOT11_DEVICE_ENTRY_BYTE_ARRAY_REVISION_1: u32 = 1u32; +pub const DOT11_DIR_BOTH: DOT11_DIRECTION = 3i32; +pub const DOT11_DIR_INBOUND: DOT11_DIRECTION = 1i32; +pub const DOT11_DIR_OUTBOUND: DOT11_DIRECTION = 2i32; +pub const DOT11_DISASSOCIATE_PEER_REQUEST_REVISION_1: u32 = 1u32; +pub const DOT11_DISASSOCIATION_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_DS_CHANGED: DOT11_DS_INFO = 0i32; +pub const DOT11_DS_UNCHANGED: DOT11_DS_INFO = 1i32; +pub const DOT11_DS_UNKNOWN: DOT11_DS_INFO = 2i32; +pub const DOT11_ENCAP_802_1H: u32 = 2u32; +pub const DOT11_ENCAP_RFC_1042: u32 = 1u32; +pub const DOT11_EXEMPT_ALWAYS: u32 = 1u32; +pub const DOT11_EXEMPT_BOTH: u32 = 3u32; +pub const DOT11_EXEMPT_MULTICAST: u32 = 2u32; +pub const DOT11_EXEMPT_NO_EXEMPTION: u32 = 0u32; +pub const DOT11_EXEMPT_ON_KEY_MAPPING_KEY_UNAVAILABLE: u32 = 2u32; +pub const DOT11_EXEMPT_UNICAST: u32 = 1u32; +pub const DOT11_EXTAP_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const DOT11_EXTAP_RECV_CONTEXT_REVISION_1: u32 = 1u32; +pub const DOT11_EXTAP_SEND_CONTEXT_REVISION_1: u32 = 1u32; +pub const DOT11_EXTSTA_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const DOT11_EXTSTA_ATTRIBUTES_REVISION_2: u32 = 2u32; +pub const DOT11_EXTSTA_ATTRIBUTES_REVISION_3: u32 = 3u32; +pub const DOT11_EXTSTA_ATTRIBUTES_REVISION_4: u32 = 4u32; +pub const DOT11_EXTSTA_ATTRIBUTES_SAFEMODE_CERTIFIED: u32 = 2u32; +pub const DOT11_EXTSTA_ATTRIBUTES_SAFEMODE_OID_SUPPORTED: u32 = 1u32; +pub const DOT11_EXTSTA_ATTRIBUTES_SAFEMODE_RESERVED: u32 = 12u32; +pub const DOT11_EXTSTA_CAPABILITY_REVISION_1: u32 = 1u32; +pub const DOT11_EXTSTA_RECV_CONTEXT_REVISION_1: u32 = 1u32; +pub const DOT11_EXTSTA_SEND_CONTEXT_REVISION_1: u32 = 1u32; +pub const DOT11_FLAGS_80211B_CHANNEL_AGILITY: u32 = 4u32; +pub const DOT11_FLAGS_80211B_PBCC: u32 = 2u32; +pub const DOT11_FLAGS_80211B_SHORT_PREAMBLE: u32 = 1u32; +pub const DOT11_FLAGS_80211G_BARKER_PREAMBLE_MODE: u32 = 128u32; +pub const DOT11_FLAGS_80211G_DSSS_OFDM: u32 = 16u32; +pub const DOT11_FLAGS_80211G_NON_ERP_PRESENT: u32 = 64u32; +pub const DOT11_FLAGS_80211G_USE_PROTECTION: u32 = 32u32; +pub const DOT11_FLAGS_PS_ON: u32 = 8u32; +pub const DOT11_FREQUENCY_BANDS_LOWER: u32 = 1u32; +pub const DOT11_FREQUENCY_BANDS_MIDDLE: u32 = 2u32; +pub const DOT11_FREQUENCY_BANDS_UPPER: u32 = 4u32; +pub const DOT11_GO_NEGOTIATION_CONFIRMATION_SEND_COMPLETE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_GO_NEGOTIATION_REQUEST_SEND_COMPLETE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_GO_NEGOTIATION_RESPONSE_SEND_COMPLETE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_HESSID_LENGTH: u32 = 6u32; +pub const DOT11_HR_CCA_MODE_CS_AND_ED: u32 = 4u32; +pub const DOT11_HR_CCA_MODE_CS_ONLY: u32 = 2u32; +pub const DOT11_HR_CCA_MODE_CS_WITH_TIMER: u32 = 8u32; +pub const DOT11_HR_CCA_MODE_ED_ONLY: u32 = 1u32; +pub const DOT11_HR_CCA_MODE_HRCS_AND_ED: u32 = 16u32; +pub const DOT11_HW_DEFRAGMENTATION_SUPPORTED: u32 = 8u32; +pub const DOT11_HW_FRAGMENTATION_SUPPORTED: u32 = 4u32; +pub const DOT11_HW_MSDU_AUTH_SUPPORTED_RX: u32 = 32u32; +pub const DOT11_HW_MSDU_AUTH_SUPPORTED_TX: u32 = 16u32; +pub const DOT11_HW_WEP_SUPPORTED_RX: u32 = 2u32; +pub const DOT11_HW_WEP_SUPPORTED_TX: u32 = 1u32; +pub const DOT11_IBSS_PARAMS_REVISION_1: u32 = 1u32; +pub const DOT11_INCOMING_ASSOC_COMPLETION_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_INCOMING_ASSOC_DECISION_REVISION_1: u32 = 1u32; +pub const DOT11_INCOMING_ASSOC_DECISION_REVISION_2: u32 = 2u32; +pub const DOT11_INCOMING_ASSOC_REQUEST_RECEIVED_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_INCOMING_ASSOC_STARTED_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_INVALID_CHANNEL_NUMBER: u32 = 0u32; +pub const DOT11_INVITATION_REQUEST_SEND_COMPLETE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_INVITATION_RESPONSE_SEND_COMPLETE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_LINK_QUALITY_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_MAC_ADDRESS_LIST_REVISION_1: u32 = 1u32; +pub const DOT11_MAC_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_MANUFACTURING_CALLBACK_REVISION_1: u32 = 1u32; +pub const DOT11_MANUFACTURING_SELF_TEST_TYPE_BT_COEXISTENCE: DOT11_MANUFACTURING_SELF_TEST_TYPE = 3i32; +pub const DOT11_MANUFACTURING_SELF_TEST_TYPE_INTERFACE: DOT11_MANUFACTURING_SELF_TEST_TYPE = 1i32; +pub const DOT11_MANUFACTURING_SELF_TEST_TYPE_RF_INTERFACE: DOT11_MANUFACTURING_SELF_TEST_TYPE = 2i32; +pub const DOT11_MANUFACTURING_TEST_REVISION_1: u32 = 1u32; +pub const DOT11_MAX_CHANNEL_HINTS: u32 = 4u32; +pub const DOT11_MAX_NUM_DEFAULT_KEY: u32 = 4u32; +pub const DOT11_MAX_NUM_DEFAULT_KEY_MFP: u32 = 6u32; +pub const DOT11_MAX_NUM_OF_FRAGMENTS: u32 = 16u32; +pub const DOT11_MAX_PDU_SIZE: u32 = 2346u32; +pub const DOT11_MAX_REQUESTED_SERVICE_INFORMATION_LENGTH: u32 = 255u32; +pub const DOT11_MIN_PDU_SIZE: u32 = 256u32; +pub const DOT11_MPDU_MAX_LENGTH_INDICATION_REVISION_1: u32 = 1u32; +pub const DOT11_MSONEX_FAILURE: DOT11_MSONEX_RESULT = 1i32; +pub const DOT11_MSONEX_IN_PROGRESS: DOT11_MSONEX_RESULT = 2i32; +pub const DOT11_MSONEX_SUCCESS: DOT11_MSONEX_RESULT = 0i32; +pub const DOT11_NLO_FLAG_SCAN_AT_SYSTEM_RESUME: u32 = 4u32; +pub const DOT11_NLO_FLAG_SCAN_ON_AOAC_PLATFORM: u32 = 2u32; +pub const DOT11_NLO_FLAG_STOP_NLO_INDICATION: u32 = 1u32; +pub const DOT11_OFFLOAD_NETWORK_LIST_REVISION_1: u32 = 1u32; +pub const DOT11_OFFLOAD_NETWORK_STATUS_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_OI_MAX_LENGTH: u32 = 5u32; +pub const DOT11_OI_MIN_LENGTH: u32 = 3u32; +pub const DOT11_OPERATION_MODE_AP: u32 = 2u32; +pub const DOT11_OPERATION_MODE_EXTENSIBLE_AP: u32 = 8u32; +pub const DOT11_OPERATION_MODE_EXTENSIBLE_STATION: u32 = 4u32; +pub const DOT11_OPERATION_MODE_MANUFACTURING: u32 = 1073741824u32; +pub const DOT11_OPERATION_MODE_NETWORK_MONITOR: u32 = 2147483648u32; +pub const DOT11_OPERATION_MODE_STATION: u32 = 1u32; +pub const DOT11_OPERATION_MODE_UNKNOWN: u32 = 0u32; +pub const DOT11_OPERATION_MODE_WFD_CLIENT: u32 = 64u32; +pub const DOT11_OPERATION_MODE_WFD_DEVICE: u32 = 16u32; +pub const DOT11_OPERATION_MODE_WFD_GROUP_OWNER: u32 = 32u32; +pub const DOT11_PACKET_TYPE_ALL_MULTICAST_CTRL: u32 = 4096u32; +pub const DOT11_PACKET_TYPE_ALL_MULTICAST_DATA: u32 = 16384u32; +pub const DOT11_PACKET_TYPE_ALL_MULTICAST_MGMT: u32 = 8192u32; +pub const DOT11_PACKET_TYPE_BROADCAST_CTRL: u32 = 64u32; +pub const DOT11_PACKET_TYPE_BROADCAST_DATA: u32 = 256u32; +pub const DOT11_PACKET_TYPE_BROADCAST_MGMT: u32 = 128u32; +pub const DOT11_PACKET_TYPE_DIRECTED_CTRL: u32 = 1u32; +pub const DOT11_PACKET_TYPE_DIRECTED_DATA: u32 = 4u32; +pub const DOT11_PACKET_TYPE_DIRECTED_MGMT: u32 = 2u32; +pub const DOT11_PACKET_TYPE_MULTICAST_CTRL: u32 = 8u32; +pub const DOT11_PACKET_TYPE_MULTICAST_DATA: u32 = 32u32; +pub const DOT11_PACKET_TYPE_MULTICAST_MGMT: u32 = 16u32; +pub const DOT11_PACKET_TYPE_PROMISCUOUS_CTRL: u32 = 512u32; +pub const DOT11_PACKET_TYPE_PROMISCUOUS_DATA: u32 = 2048u32; +pub const DOT11_PACKET_TYPE_PROMISCUOUS_MGMT: u32 = 1024u32; +pub const DOT11_PEER_INFO_LIST_REVISION_1: u32 = 1u32; +pub const DOT11_PHY_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const DOT11_PHY_FREQUENCY_ADOPTED_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_PHY_ID_LIST_REVISION_1: u32 = 1u32; +pub const DOT11_PHY_STATE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_PHY_TYPE_LIST_REVISION_1: u32 = 1u32; +pub const DOT11_PMKID_CANDIDATE_LIST_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_PMKID_LIST_REVISION_1: u32 = 1u32; +pub const DOT11_PORT_STATE_NOTIFICATION_REVISION_1: u32 = 1u32; +pub const DOT11_POWER_MGMT_AUTO_MODE_ENABLED_REVISION_1: u32 = 1u32; +pub const DOT11_POWER_MGMT_MODE_STATUS_INFO_REVISION_1: u32 = 1u32; +pub const DOT11_POWER_SAVE_LEVEL_FAST_PSP: u32 = 2u32; +pub const DOT11_POWER_SAVE_LEVEL_MAX_PSP: u32 = 1u32; +pub const DOT11_POWER_SAVING_FAST_PSP: u32 = 8u32; +pub const DOT11_POWER_SAVING_MAXIMUM_LEVEL: u32 = 24u32; +pub const DOT11_POWER_SAVING_MAX_PSP: u32 = 16u32; +pub const DOT11_POWER_SAVING_NO_POWER_SAVING: u32 = 0u32; +pub const DOT11_PRIORITY_CONTENTION: u32 = 0u32; +pub const DOT11_PRIORITY_CONTENTION_FREE: u32 = 1u32; +pub const DOT11_PRIVACY_EXEMPTION_LIST_REVISION_1: u32 = 1u32; +pub const DOT11_PROVISION_DISCOVERY_REQUEST_SEND_COMPLETE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_PROVISION_DISCOVERY_RESPONSE_SEND_COMPLETE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_PSD_IE_MAX_DATA_SIZE: u32 = 240u32; +pub const DOT11_PSD_IE_MAX_ENTRY_NUMBER: u32 = 5u32; +pub const DOT11_QOS_PARAMS_REVISION_1: u32 = 1u32; +pub const DOT11_RATE_SET_MAX_LENGTH: u32 = 126u32; +pub const DOT11_RECEIVED_GO_NEGOTIATION_CONFIRMATION_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_RECEIVED_GO_NEGOTIATION_REQUEST_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_RECEIVED_GO_NEGOTIATION_RESPONSE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_RECEIVED_INVITATION_REQUEST_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_RECEIVED_INVITATION_RESPONSE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_RECEIVED_PROVISION_DISCOVERY_REQUEST_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_RECEIVED_PROVISION_DISCOVERY_RESPONSE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_RECV_CONTEXT_REVISION_1: u32 = 1u32; +pub const DOT11_REG_DOMAIN_DOC: u32 = 32u32; +pub const DOT11_REG_DOMAIN_ETSI: u32 = 48u32; +pub const DOT11_REG_DOMAIN_FCC: u32 = 16u32; +pub const DOT11_REG_DOMAIN_FRANCE: u32 = 50u32; +pub const DOT11_REG_DOMAIN_MKK: u32 = 64u32; +pub const DOT11_REG_DOMAIN_OTHER: u32 = 0u32; +pub const DOT11_REG_DOMAIN_SPAIN: u32 = 49u32; +pub const DOT11_ROAMING_COMPLETION_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_ROAMING_START_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_SEND_CONTEXT_REVISION_1: u32 = 1u32; +pub const DOT11_SEND_GO_NEGOTIATION_CONFIRMATION_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_SEND_GO_NEGOTIATION_REQUEST_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_SEND_GO_NEGOTIATION_RESPONSE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_SEND_INVITATION_REQUEST_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_SEND_INVITATION_RESPONSE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_SEND_PROVISION_DISCOVERY_REQUEST_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_SEND_PROVISION_DISCOVERY_RESPONSE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_SERVICE_CLASS_REORDERABLE_MULTICAST: u32 = 0u32; +pub const DOT11_SERVICE_CLASS_STRICTLY_ORDERED: u32 = 1u32; +pub const DOT11_SSID_LIST_REVISION_1: u32 = 1u32; +pub const DOT11_SSID_MAX_LENGTH: u32 = 32u32; +pub const DOT11_STATISTICS_REVISION_1: u32 = 1u32; +pub const DOT11_STATUS_AP_JOIN_CONFIRM: u32 = 5u32; +pub const DOT11_STATUS_AUTH_FAILED: u32 = 131072u32; +pub const DOT11_STATUS_AUTH_NOT_VERIFIED: u32 = 32768u32; +pub const DOT11_STATUS_AUTH_VERIFIED: u32 = 65536u32; +pub const DOT11_STATUS_ENCRYPTION_FAILED: u32 = 512u32; +pub const DOT11_STATUS_EXCESSIVE_DATA_LENGTH: u32 = 256u32; +pub const DOT11_STATUS_GENERATE_AUTH_FAILED: u32 = 16384u32; +pub const DOT11_STATUS_ICV_VERIFIED: u32 = 2048u32; +pub const DOT11_STATUS_JOIN_CONFIRM: u32 = 2u32; +pub const DOT11_STATUS_MPDU_MAX_LENGTH_CHANGED: u32 = 6u32; +pub const DOT11_STATUS_PACKET_NOT_REASSEMBLED: u32 = 8192u32; +pub const DOT11_STATUS_PACKET_REASSEMBLED: u32 = 4096u32; +pub const DOT11_STATUS_PS_LIFETIME_EXPIRED: u32 = 262144u32; +pub const DOT11_STATUS_RESET_CONFIRM: u32 = 4u32; +pub const DOT11_STATUS_RETRY_LIMIT_EXCEEDED: u32 = 2u32; +pub const DOT11_STATUS_SCAN_CONFIRM: u32 = 1u32; +pub const DOT11_STATUS_START_CONFIRM: u32 = 3u32; +pub const DOT11_STATUS_SUCCESS: u32 = 1u32; +pub const DOT11_STATUS_UNAVAILABLE_BSS: u32 = 128u32; +pub const DOT11_STATUS_UNAVAILABLE_PRIORITY: u32 = 16u32; +pub const DOT11_STATUS_UNAVAILABLE_SERVICE_CLASS: u32 = 32u32; +pub const DOT11_STATUS_UNSUPPORTED_PRIORITY: u32 = 4u32; +pub const DOT11_STATUS_UNSUPPORTED_SERVICE_CLASS: u32 = 8u32; +pub const DOT11_STATUS_WEP_KEY_UNAVAILABLE: u32 = 1024u32; +pub const DOT11_STATUS_XMIT_MSDU_TIMER_EXPIRED: u32 = 64u32; +pub const DOT11_STOP_AP_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_STOP_AP_REASON_AP_ACTIVE: u32 = 3u32; +pub const DOT11_STOP_AP_REASON_CHANNEL_NOT_AVAILABLE: u32 = 2u32; +pub const DOT11_STOP_AP_REASON_FREQUENCY_NOT_AVAILABLE: u32 = 1u32; +pub const DOT11_STOP_AP_REASON_IHV_END: u32 = 4294967295u32; +pub const DOT11_STOP_AP_REASON_IHV_START: u32 = 4278190080u32; +pub const DOT11_TKIPMIC_FAILURE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_VWIFI_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const DOT11_VWIFI_COMBINATION_REVISION_1: u32 = 1u32; +pub const DOT11_VWIFI_COMBINATION_REVISION_2: u32 = 2u32; +pub const DOT11_VWIFI_COMBINATION_REVISION_3: u32 = 3u32; +pub const DOT11_WFD_ADDITIONAL_IE_REVISION_1: u32 = 1u32; +pub const DOT11_WFD_APS2_SERVICE_TYPE_MAX_LENGTH: u32 = 21u32; +pub const DOT11_WFD_ASP2_INSTANCE_NAME_MAX_LENGTH: u32 = 63u32; +pub const DOT11_WFD_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const DOT11_WFD_DEVICE_AUTO_AVAILABILITY: u32 = 16u32; +pub const DOT11_WFD_DEVICE_CAPABILITY_CONCURRENT_OPERATION: u32 = 4u32; +pub const DOT11_WFD_DEVICE_CAPABILITY_CONFIG_REVISION_1: u32 = 1u32; +pub const DOT11_WFD_DEVICE_CAPABILITY_P2P_CLIENT_DISCOVERABILITY: u32 = 2u32; +pub const DOT11_WFD_DEVICE_CAPABILITY_P2P_DEVICE_LIMIT: u32 = 16u32; +pub const DOT11_WFD_DEVICE_CAPABILITY_P2P_INFRASTRUCTURE_MANAGED: u32 = 8u32; +pub const DOT11_WFD_DEVICE_CAPABILITY_P2P_INVITATION_PROCEDURE: u32 = 32u32; +pub const DOT11_WFD_DEVICE_CAPABILITY_RESERVED_6: u32 = 64u32; +pub const DOT11_WFD_DEVICE_CAPABILITY_RESERVED_7: u32 = 128u32; +pub const DOT11_WFD_DEVICE_CAPABILITY_SERVICE_DISCOVERY: u32 = 1u32; +pub const DOT11_WFD_DEVICE_HIGH_AVAILABILITY: u32 = 24u32; +pub const DOT11_WFD_DEVICE_INFO_REVISION_1: u32 = 1u32; +pub const DOT11_WFD_DEVICE_LISTEN_CHANNEL_REVISION_1: u32 = 1u32; +pub const DOT11_WFD_DEVICE_NOT_DISCOVERABLE: u32 = 0u32; +pub const DOT11_WFD_DISCOVER_COMPLETE_MAX_LIST_SIZE: u32 = 128u32; +pub const DOT11_WFD_DISCOVER_COMPLETE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_WFD_DISCOVER_REQUEST_REVISION_1: u32 = 1u32; +pub const DOT11_WFD_GROUP_CAPABILITY_CROSS_CONNECTION_SUPPORTED: u32 = 16u32; +pub const DOT11_WFD_GROUP_CAPABILITY_EAPOL_KEY_IP_ADDRESS_ALLOCATION_SUPPORTED: u32 = 128u32; +pub const DOT11_WFD_GROUP_CAPABILITY_GROUP_LIMIT_REACHED: u32 = 4u32; +pub const DOT11_WFD_GROUP_CAPABILITY_GROUP_OWNER: u32 = 1u32; +pub const DOT11_WFD_GROUP_CAPABILITY_INTRABSS_DISTRIBUTION_SUPPORTED: u32 = 8u32; +pub const DOT11_WFD_GROUP_CAPABILITY_IN_GROUP_FORMATION: u32 = 64u32; +pub const DOT11_WFD_GROUP_CAPABILITY_NONE: u32 = 0u32; +pub const DOT11_WFD_GROUP_CAPABILITY_PERSISTENT_GROUP: u32 = 2u32; +pub const DOT11_WFD_GROUP_CAPABILITY_PERSISTENT_RECONNECT_SUPPORTED: u32 = 32u32; +pub const DOT11_WFD_GROUP_CAPABILITY_RESERVED_7: u32 = 128u32; +pub const DOT11_WFD_GROUP_JOIN_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_WFD_GROUP_OWNER_CAPABILITY_CONFIG_REVISION_1: u32 = 1u32; +pub const DOT11_WFD_GROUP_OWNER_CAPABILITY_CONFIG_REVISION_2: u32 = 2u32; +pub const DOT11_WFD_GROUP_START_PARAMETERS_REVISION_1: u32 = 1u32; +pub const DOT11_WFD_MINOR_REASON_DISASSOCIATED_FROM_WLAN_CROSS_CONNECTION_POLICY: u32 = 1u32; +pub const DOT11_WFD_MINOR_REASON_DISASSOCIATED_INFRASTRUCTURE_MANAGED_POLICY: u32 = 4u32; +pub const DOT11_WFD_MINOR_REASON_DISASSOCIATED_NOT_MANAGED_INFRASTRUCTURE_CAPABLE: u32 = 2u32; +pub const DOT11_WFD_MINOR_REASON_DISASSOCIATED_WFD_COEXISTENCE_POLICY: u32 = 3u32; +pub const DOT11_WFD_MINOR_REASON_SUCCESS: u32 = 0u32; +pub const DOT11_WFD_SECONDARY_DEVICE_TYPE_LIST_REVISION_1: u32 = 1u32; +pub const DOT11_WFD_SERVICE_INFORMATION_MAX_LENGTH: u32 = 65535u32; +pub const DOT11_WFD_SERVICE_NAME_MAX_LENGTH: u32 = 255u32; +pub const DOT11_WFD_SESSION_INFO_MAX_LENGTH: u32 = 144u32; +pub const DOT11_WFD_STATUS_FAILED_INCOMPATIBLE_PARAMETERS: u32 = 2u32; +pub const DOT11_WFD_STATUS_FAILED_INCOMPATIBLE_PROVISIONING_METHOD: u32 = 10u32; +pub const DOT11_WFD_STATUS_FAILED_INFORMATION_IS_UNAVAILABLE: u32 = 1u32; +pub const DOT11_WFD_STATUS_FAILED_INVALID_PARAMETERS: u32 = 4u32; +pub const DOT11_WFD_STATUS_FAILED_LIMIT_REACHED: u32 = 3u32; +pub const DOT11_WFD_STATUS_FAILED_MATCHING_MAX_INTENT: u32 = 9u32; +pub const DOT11_WFD_STATUS_FAILED_NO_COMMON_CHANNELS: u32 = 7u32; +pub const DOT11_WFD_STATUS_FAILED_PREVIOUS_PROTOCOL_ERROR: u32 = 6u32; +pub const DOT11_WFD_STATUS_FAILED_REJECTED_BY_USER: u32 = 11u32; +pub const DOT11_WFD_STATUS_FAILED_UNABLE_TO_ACCOMODATE_REQUEST: u32 = 5u32; +pub const DOT11_WFD_STATUS_FAILED_UNKNOWN_WFD_GROUP: u32 = 8u32; +pub const DOT11_WFD_STATUS_SUCCESS: u32 = 0u32; +pub const DOT11_WFD_STATUS_SUCCESS_ACCEPTED_BY_USER: u32 = 12u32; +pub const DOT11_WME_PACKET: u32 = 256u32; +pub const DOT11_WPS_CONFIG_METHOD_DISPLAY: DOT11_WPS_CONFIG_METHOD = 8i32; +pub const DOT11_WPS_CONFIG_METHOD_KEYPAD: DOT11_WPS_CONFIG_METHOD = 256i32; +pub const DOT11_WPS_CONFIG_METHOD_NFC_INTERFACE: DOT11_WPS_CONFIG_METHOD = 64i32; +pub const DOT11_WPS_CONFIG_METHOD_NFC_TAG: DOT11_WPS_CONFIG_METHOD = 32i32; +pub const DOT11_WPS_CONFIG_METHOD_NULL: DOT11_WPS_CONFIG_METHOD = 0i32; +pub const DOT11_WPS_CONFIG_METHOD_PUSHBUTTON: DOT11_WPS_CONFIG_METHOD = 128i32; +pub const DOT11_WPS_CONFIG_METHOD_WFDS_DEFAULT: DOT11_WPS_CONFIG_METHOD = 4096i32; +pub const DOT11_WPS_DEVICE_NAME_MAX_LENGTH: u32 = 32u32; +pub const DOT11_WPS_MAX_MODEL_NAME_LENGTH: u32 = 32u32; +pub const DOT11_WPS_MAX_MODEL_NUMBER_LENGTH: u32 = 32u32; +pub const DOT11_WPS_MAX_PASSKEY_LENGTH: u32 = 8u32; +pub const DOT11_WPS_PASSWORD_ID_DEFAULT: DOT11_WPS_DEVICE_PASSWORD_ID = 0i32; +pub const DOT11_WPS_PASSWORD_ID_MACHINE_SPECIFIED: DOT11_WPS_DEVICE_PASSWORD_ID = 2i32; +pub const DOT11_WPS_PASSWORD_ID_NFC_CONNECTION_HANDOVER: DOT11_WPS_DEVICE_PASSWORD_ID = 7i32; +pub const DOT11_WPS_PASSWORD_ID_OOB_RANGE_MAX: DOT11_WPS_DEVICE_PASSWORD_ID = 65535i32; +pub const DOT11_WPS_PASSWORD_ID_OOB_RANGE_MIN: DOT11_WPS_DEVICE_PASSWORD_ID = 16i32; +pub const DOT11_WPS_PASSWORD_ID_PUSHBUTTON: DOT11_WPS_DEVICE_PASSWORD_ID = 4i32; +pub const DOT11_WPS_PASSWORD_ID_REGISTRAR_SPECIFIED: DOT11_WPS_DEVICE_PASSWORD_ID = 5i32; +pub const DOT11_WPS_PASSWORD_ID_REKEY: DOT11_WPS_DEVICE_PASSWORD_ID = 3i32; +pub const DOT11_WPS_PASSWORD_ID_USER_SPECIFIED: DOT11_WPS_DEVICE_PASSWORD_ID = 1i32; +pub const DOT11_WPS_PASSWORD_ID_WFD_SERVICES: DOT11_WPS_DEVICE_PASSWORD_ID = 8i32; +pub const DOT11_WPS_VERSION_1_0: u32 = 1u32; +pub const DOT11_WPS_VERSION_2_0: u32 = 2u32; +pub const DevProp_PciDevice_AcsCompatibleUpHierarchy_Enhanced: DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY = 4u32; +pub const DevProp_PciDevice_AcsCompatibleUpHierarchy_NoP2PSupported: DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY = 2u32; +pub const DevProp_PciDevice_AcsCompatibleUpHierarchy_NotSupported: DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY = 0u32; +pub const DevProp_PciDevice_AcsCompatibleUpHierarchy_SingleFunctionSupported: DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY = 1u32; +pub const DevProp_PciDevice_AcsCompatibleUpHierarchy_Supported: DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY = 3u32; +pub const DevProp_PciDevice_AcsSupport_Missing: DEVPROP_PCIDEVICE_ACSSUPPORT = 2u32; +pub const DevProp_PciDevice_AcsSupport_NotNeeded: DEVPROP_PCIDEVICE_ACSSUPPORT = 1u32; +pub const DevProp_PciDevice_AcsSupport_Present: DEVPROP_PCIDEVICE_ACSSUPPORT = 0u32; +pub const DevProp_PciDevice_BridgeType_PciConventional: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 6u32; +pub const DevProp_PciDevice_BridgeType_PciExpressDownstreamSwitchPort: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 10u32; +pub const DevProp_PciDevice_BridgeType_PciExpressEventCollector: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 14u32; +pub const DevProp_PciDevice_BridgeType_PciExpressRootPort: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 8u32; +pub const DevProp_PciDevice_BridgeType_PciExpressToPciXBridge: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 11u32; +pub const DevProp_PciDevice_BridgeType_PciExpressTreatedAsPci: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 13u32; +pub const DevProp_PciDevice_BridgeType_PciExpressUpstreamSwitchPort: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 9u32; +pub const DevProp_PciDevice_BridgeType_PciX: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 7u32; +pub const DevProp_PciDevice_BridgeType_PciXToExpressBridge: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 12u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_100Mhz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 2u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_133MHZ: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 3u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_66Mhz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 1u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_ECC_100Mhz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 6u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_ECC_133Mhz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 7u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_ECC_66Mhz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 5u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_266_100MHz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 10u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_266_133MHz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 11u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_266_66MHz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 9u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_533_100MHz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 14u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_533_133MHz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 15u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_533_66MHz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 13u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode_Conventional_Pci: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 0u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_Pci_Conventional_33MHz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 0u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_Pci_Conventional_66MHz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 1u32; +pub const DevProp_PciDevice_DeviceType_PciConventional: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 0u32; +pub const DevProp_PciDevice_DeviceType_PciExpressEndpoint: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 2u32; +pub const DevProp_PciDevice_DeviceType_PciExpressLegacyEndpoint: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 3u32; +pub const DevProp_PciDevice_DeviceType_PciExpressRootComplexIntegratedEndpoint: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 4u32; +pub const DevProp_PciDevice_DeviceType_PciExpressTreatedAsPci: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 5u32; +pub const DevProp_PciDevice_DeviceType_PciX: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 1u32; +pub const DevProp_PciDevice_InterruptType_LineBased: DEVPROP_PCIDEVICE_INTERRUPTTYPE = 1u32; +pub const DevProp_PciDevice_InterruptType_Msi: DEVPROP_PCIDEVICE_INTERRUPTTYPE = 2u32; +pub const DevProp_PciDevice_InterruptType_MsiX: DEVPROP_PCIDEVICE_INTERRUPTTYPE = 4u32; +pub const DevProp_PciDevice_SriovSupport_DidntGetVfBarSpace: DEVPROP_PCIDEVICE_SRIOVSUPPORT = 4u32; +pub const DevProp_PciDevice_SriovSupport_MissingAcs: DEVPROP_PCIDEVICE_SRIOVSUPPORT = 1u32; +pub const DevProp_PciDevice_SriovSupport_MissingPfDriver: DEVPROP_PCIDEVICE_SRIOVSUPPORT = 2u32; +pub const DevProp_PciDevice_SriovSupport_NoBusResource: DEVPROP_PCIDEVICE_SRIOVSUPPORT = 3u32; +pub const DevProp_PciDevice_SriovSupport_Ok: DEVPROP_PCIDEVICE_SRIOVSUPPORT = 0u32; +pub const DevProp_PciExpressDevice_LinkSpeed_Five_Gbps: DEVPROP_PCIEXPRESSDEVICE_LINKSPEED = 2u32; +pub const DevProp_PciExpressDevice_LinkSpeed_TwoAndHalf_Gbps: DEVPROP_PCIEXPRESSDEVICE_LINKSPEED = 1u32; +pub const DevProp_PciExpressDevice_LinkWidth_By_1: DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH = 1u32; +pub const DevProp_PciExpressDevice_LinkWidth_By_12: DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH = 12u32; +pub const DevProp_PciExpressDevice_LinkWidth_By_16: DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH = 16u32; +pub const DevProp_PciExpressDevice_LinkWidth_By_2: DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH = 2u32; +pub const DevProp_PciExpressDevice_LinkWidth_By_32: DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH = 32u32; +pub const DevProp_PciExpressDevice_LinkWidth_By_4: DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH = 4u32; +pub const DevProp_PciExpressDevice_LinkWidth_By_8: DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH = 8u32; +pub const DevProp_PciExpressDevice_PayloadOrRequestSize_1024Bytes: DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE = 3u32; +pub const DevProp_PciExpressDevice_PayloadOrRequestSize_128Bytes: DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE = 0u32; +pub const DevProp_PciExpressDevice_PayloadOrRequestSize_2048Bytes: DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE = 4u32; +pub const DevProp_PciExpressDevice_PayloadOrRequestSize_256Bytes: DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE = 1u32; +pub const DevProp_PciExpressDevice_PayloadOrRequestSize_4096Bytes: DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE = 5u32; +pub const DevProp_PciExpressDevice_PayloadOrRequestSize_512Bytes: DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE = 2u32; +pub const DevProp_PciExpressDevice_Spec_Version_10: DEVPROP_PCIEXPRESSDEVICE_SPEC_VERSION = 1u32; +pub const DevProp_PciExpressDevice_Spec_Version_11: DEVPROP_PCIEXPRESSDEVICE_SPEC_VERSION = 2u32; +pub const DevProp_PciRootBus_BusWidth_32Bits: DEVPROP_PCIROOTBUS_BUSWIDTH = 0u32; +pub const DevProp_PciRootBus_BusWidth_64Bits: DEVPROP_PCIROOTBUS_BUSWIDTH = 1u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_Conventional_33Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = 0u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_Conventional_66Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = 1u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_266_Mode2_100Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = 9u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_266_Mode2_133Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = 10u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_266_Mode2_66Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = 8u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_533_Mode2_100Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = 12u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_533_Mode2_133Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = 13u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_533_Mode2_66Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = 11u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_100Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = 3u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_133Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = 4u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_66Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = 2u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_ECC_100Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = 6u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_ECC_133Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = 7u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_ECC_66Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = 5u32; +pub const DevProp_PciRootBus_SecondaryInterface_PciConventional: DEVPROP_PCIROOTBUS_SECONDARYINTERFACE = 0u32; +pub const DevProp_PciRootBus_SecondaryInterface_PciExpress: DEVPROP_PCIROOTBUS_SECONDARYINTERFACE = 3u32; +pub const DevProp_PciRootBus_SecondaryInterface_PciXMode1: DEVPROP_PCIROOTBUS_SECONDARYINTERFACE = 1u32; +pub const DevProp_PciRootBus_SecondaryInterface_PciXMode2: DEVPROP_PCIROOTBUS_SECONDARYINTERFACE = 2u32; +pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_Conventional_33Mhz: DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES = 1u32; +pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_Conventional_66Mhz: DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES = 2u32; +pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_X_133Mhz: DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES = 8u32; +pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_X_266Mhz: DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES = 16u32; +pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_X_533Mhz: DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES = 32u32; +pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_X_66Mhz: DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES = 4u32; +pub const Dot11AdHocManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xdd06a84f_83bd_4d01_8ab9_2389fea0869e); +pub const GUID_AEPSERVICE_WIFIDIRECT_DEVICE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xcc29827c_9caf_4928_99a9_18f7c2381389); +pub const GUID_DEVINTERFACE_ASP_INFRA_DEVICE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xff823995_7a72_4c80_8757_c67ee13d1a49); +pub const GUID_DEVINTERFACE_WIFIDIRECT_DEVICE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x439b20af_8955_405b_99f0_a62af0c68d43); +pub const IHV_INIT_FUNCTION_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Dot11ExtIhvInitService"); +pub const IHV_INIT_VS_FUNCTION_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Dot11ExtIhvInitVirtualStation"); +pub const IHV_VERSION_FUNCTION_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Dot11ExtIhvGetVersionInfo"); +pub const IndicationTypeLinkQuality: DOT11EXT_IHV_INDICATION_TYPE = 4i32; +pub const IndicationTypeNicSpecificNotification: DOT11EXT_IHV_INDICATION_TYPE = 0i32; +pub const IndicationTypePhyStateChange: DOT11EXT_IHV_INDICATION_TYPE = 3i32; +pub const IndicationTypePmkidCandidateList: DOT11EXT_IHV_INDICATION_TYPE = 1i32; +pub const IndicationTypeTkipMicFailure: DOT11EXT_IHV_INDICATION_TYPE = 2i32; +pub const L2_NOTIFICATION_CODE_GROUP_SIZE: u32 = 4096u32; +pub const L2_NOTIFICATION_CODE_PUBLIC_BEGIN: u32 = 0u32; +pub const L2_NOTIFICATION_SOURCE_ALL: u32 = 65535u32; +pub const L2_NOTIFICATION_SOURCE_DOT3_AUTO_CONFIG: u32 = 1u32; +pub const L2_NOTIFICATION_SOURCE_NONE: u32 = 0u32; +pub const L2_NOTIFICATION_SOURCE_ONEX: u32 = 4u32; +pub const L2_NOTIFICATION_SOURCE_SECURITY: u32 = 2u32; +pub const L2_NOTIFICATION_SOURCE_WCM: u32 = 256u32; +pub const L2_NOTIFICATION_SOURCE_WCM_CSP: u32 = 512u32; +pub const L2_NOTIFICATION_SOURCE_WFD: u32 = 1024u32; +pub const L2_NOTIFICATION_SOURCE_WLAN_ACM: u32 = 8u32; +pub const L2_NOTIFICATION_SOURCE_WLAN_DEVICE_SERVICE: u32 = 2048u32; +pub const L2_NOTIFICATION_SOURCE_WLAN_HNWK: u32 = 128u32; +pub const L2_NOTIFICATION_SOURCE_WLAN_IHV: u32 = 64u32; +pub const L2_NOTIFICATION_SOURCE_WLAN_MSM: u32 = 16u32; +pub const L2_NOTIFICATION_SOURCE_WLAN_SECURITY: u32 = 32u32; +pub const L2_PROFILE_MAX_NAME_LENGTH: u32 = 256u32; +pub const L2_REASON_CODE_DOT11_AC_BASE: u32 = 131072u32; +pub const L2_REASON_CODE_DOT11_MSM_BASE: u32 = 196608u32; +pub const L2_REASON_CODE_DOT11_SECURITY_BASE: u32 = 262144u32; +pub const L2_REASON_CODE_DOT3_AC_BASE: u32 = 393216u32; +pub const L2_REASON_CODE_DOT3_MSM_BASE: u32 = 458752u32; +pub const L2_REASON_CODE_GEN_BASE: u32 = 65536u32; +pub const L2_REASON_CODE_GROUP_SIZE: u32 = 65536u32; +pub const L2_REASON_CODE_IHV_BASE: u32 = 589824u32; +pub const L2_REASON_CODE_ONEX_BASE: u32 = 327680u32; +pub const L2_REASON_CODE_PROFILE_BASE: u32 = 524288u32; +pub const L2_REASON_CODE_PROFILE_MISSING: u32 = 1u32; +pub const L2_REASON_CODE_RESERVED_BASE: u32 = 720896u32; +pub const L2_REASON_CODE_SUCCESS: u32 = 0u32; +pub const L2_REASON_CODE_UNKNOWN: u32 = 65537u32; +pub const L2_REASON_CODE_WIMAX_BASE: u32 = 655360u32; +pub const MAX_NUM_SUPPORTED_RATES: u32 = 8u32; +pub const MAX_NUM_SUPPORTED_RATES_V2: u32 = 255u32; +pub const MS_MAX_PROFILE_NAME_LENGTH: u32 = 256u32; +pub const MS_PROFILE_GROUP_POLICY: u32 = 1u32; +pub const MS_PROFILE_USER: u32 = 2u32; +pub const NDIS_PACKET_TYPE_802_11_ALL_MULTICAST_DATA: u32 = 4u32; +pub const NDIS_PACKET_TYPE_802_11_BROADCAST_DATA: u32 = 8u32; +pub const NDIS_PACKET_TYPE_802_11_DIRECTED_DATA: u32 = 1u32; +pub const NDIS_PACKET_TYPE_802_11_MULTICAST_DATA: u32 = 2u32; +pub const NDIS_PACKET_TYPE_802_11_PROMISCUOUS_DATA: u32 = 32u32; +pub const OID_DOT11_AP_JOIN_REQUEST: u32 = 218170205u32; +pub const OID_DOT11_ATIM_WINDOW: u32 = 218170122u32; +pub const OID_DOT11_BEACON_PERIOD: u32 = 218170139u32; +pub const OID_DOT11_CCA_MODE_SUPPORTED: u32 = 218170166u32; +pub const OID_DOT11_CCA_WATCHDOG_COUNT_MAX: u32 = 218170170u32; +pub const OID_DOT11_CCA_WATCHDOG_COUNT_MIN: u32 = 218170172u32; +pub const OID_DOT11_CCA_WATCHDOG_TIMER_MAX: u32 = 218170169u32; +pub const OID_DOT11_CCA_WATCHDOG_TIMER_MIN: u32 = 218170171u32; +pub const OID_DOT11_CFP_MAX_DURATION: u32 = 218170136u32; +pub const OID_DOT11_CFP_PERIOD: u32 = 218170135u32; +pub const OID_DOT11_CF_POLLABLE: u32 = 218170134u32; +pub const OID_DOT11_CHANNEL_AGILITY_ENABLED: u32 = 218170184u32; +pub const OID_DOT11_CHANNEL_AGILITY_PRESENT: u32 = 218170183u32; +pub const OID_DOT11_COUNTERS_ENTRY: u32 = 218170149u32; +pub const OID_DOT11_COUNTRY_STRING: u32 = 218170188u32; +pub const OID_DOT11_CURRENT_ADDRESS: u32 = 218171138u32; +pub const OID_DOT11_CURRENT_CCA_MODE: u32 = 218170167u32; +pub const OID_DOT11_CURRENT_CHANNEL: u32 = 218170165u32; +pub const OID_DOT11_CURRENT_CHANNEL_NUMBER: u32 = 218170159u32; +pub const OID_DOT11_CURRENT_DWELL_TIME: u32 = 218170161u32; +pub const OID_DOT11_CURRENT_FREQUENCY: u32 = 218170178u32; +pub const OID_DOT11_CURRENT_INDEX: u32 = 218170164u32; +pub const OID_DOT11_CURRENT_OFFLOAD_CAPABILITY: u32 = 218170113u32; +pub const OID_DOT11_CURRENT_OPERATION_MODE: u32 = 218170120u32; +pub const OID_DOT11_CURRENT_OPTIONAL_CAPABILITY: u32 = 218170131u32; +pub const OID_DOT11_CURRENT_PACKET_FILTER: u32 = 218170121u32; +pub const OID_DOT11_CURRENT_PATTERN: u32 = 218170163u32; +pub const OID_DOT11_CURRENT_PHY_TYPE: u32 = 218170124u32; +pub const OID_DOT11_CURRENT_REG_DOMAIN: u32 = 218170151u32; +pub const OID_DOT11_CURRENT_RX_ANTENNA: u32 = 218170155u32; +pub const OID_DOT11_CURRENT_SET: u32 = 218170162u32; +pub const OID_DOT11_CURRENT_TX_ANTENNA: u32 = 218170153u32; +pub const OID_DOT11_CURRENT_TX_POWER_LEVEL: u32 = 218170157u32; +pub const OID_DOT11_DEFAULT_WEP_OFFLOAD: u32 = 218170116u32; +pub const OID_DOT11_DEFAULT_WEP_UPLOAD: u32 = 218170117u32; +pub const OID_DOT11_DIVERSITY_SELECTION_RX: u32 = 218170176u32; +pub const OID_DOT11_DIVERSITY_SUPPORT: u32 = 218170154u32; +pub const OID_DOT11_DSSS_OFDM_OPTION_ENABLED: u32 = 218170209u32; +pub const OID_DOT11_DSSS_OFDM_OPTION_IMPLEMENTED: u32 = 218170208u32; +pub const OID_DOT11_DTIM_PERIOD: u32 = 218170140u32; +pub const OID_DOT11_ED_THRESHOLD: u32 = 218170168u32; +pub const OID_DOT11_EHCC_CAPABILITY_ENABLED: u32 = 218170193u32; +pub const OID_DOT11_EHCC_CAPABILITY_IMPLEMENTED: u32 = 218170192u32; +pub const OID_DOT11_EHCC_NUMBER_OF_CHANNELS_FAMILY_INDEX: u32 = 218170191u32; +pub const OID_DOT11_EHCC_PRIME_RADIX: u32 = 218170190u32; +pub const OID_DOT11_ERP_PBCC_OPTION_ENABLED: u32 = 218170207u32; +pub const OID_DOT11_ERP_PBCC_OPTION_IMPLEMENTED: u32 = 218170206u32; +pub const OID_DOT11_FRAGMENTATION_THRESHOLD: u32 = 218170146u32; +pub const OID_DOT11_FREQUENCY_BANDS_SUPPORTED: u32 = 218170180u32; +pub const OID_DOT11_HOPPING_PATTERN: u32 = 218170199u32; +pub const OID_DOT11_HOP_ALGORITHM_ADOPTED: u32 = 218170194u32; +pub const OID_DOT11_HOP_MODULUS: u32 = 218170197u32; +pub const OID_DOT11_HOP_OFFSET: u32 = 218170198u32; +pub const OID_DOT11_HOP_TIME: u32 = 218170158u32; +pub const OID_DOT11_HR_CCA_MODE_SUPPORTED: u32 = 218170185u32; +pub const OID_DOT11_JOIN_REQUEST: u32 = 218170125u32; +pub const OID_DOT11_LONG_RETRY_LIMIT: u32 = 218170145u32; +pub const OID_DOT11_MAC_ADDRESS: u32 = 218170142u32; +pub const OID_DOT11_MAXIMUM_LIST_SIZE: u32 = 218171141u32; +pub const OID_DOT11_MAX_DWELL_TIME: u32 = 218170160u32; +pub const OID_DOT11_MAX_MAC_ADDRESS_STATES: u32 = 218170212u32; +pub const OID_DOT11_MAX_RECEIVE_LIFETIME: u32 = 218170148u32; +pub const OID_DOT11_MAX_TRANSMIT_MSDU_LIFETIME: u32 = 218170147u32; +pub const OID_DOT11_MEDIUM_OCCUPANCY_LIMIT: u32 = 218170133u32; +pub const OID_DOT11_MPDU_MAX_LENGTH: u32 = 218170118u32; +pub const OID_DOT11_MULTICAST_LIST: u32 = 218171140u32; +pub const OID_DOT11_MULTI_DOMAIN_CAPABILITY: u32 = 218170189u32; +pub const OID_DOT11_MULTI_DOMAIN_CAPABILITY_ENABLED: u32 = 218170187u32; +pub const OID_DOT11_MULTI_DOMAIN_CAPABILITY_IMPLEMENTED: u32 = 218170186u32; +pub const OID_DOT11_NDIS_START: u32 = 218170112u32; +pub const OID_DOT11_NIC_POWER_STATE: u32 = 218170129u32; +pub const OID_DOT11_NIC_SPECIFIC_EXTENSION: u32 = 218170204u32; +pub const OID_DOT11_NUMBER_OF_HOPPING_SETS: u32 = 218170196u32; +pub const OID_DOT11_OFFLOAD_CAPABILITY: u32 = 218170112u32; +pub const OID_DOT11_OPERATIONAL_RATE_SET: u32 = 218170138u32; +pub const OID_DOT11_OPERATION_MODE_CAPABILITY: u32 = 218170119u32; +pub const OID_DOT11_OPTIONAL_CAPABILITY: u32 = 218170130u32; +pub const OID_DOT11_PBCC_OPTION_IMPLEMENTED: u32 = 218170182u32; +pub const OID_DOT11_PERMANENT_ADDRESS: u32 = 218171139u32; +pub const OID_DOT11_POWER_MGMT_MODE: u32 = 218170137u32; +pub const OID_DOT11_PRIVATE_OIDS_START: u32 = 218171136u32; +pub const OID_DOT11_QOS_TX_DURATION: u32 = 218170219u32; +pub const OID_DOT11_QOS_TX_MEDIUM_TIME: u32 = 218170220u32; +pub const OID_DOT11_QOS_TX_QUEUES_SUPPORTED: u32 = 218170218u32; +pub const OID_DOT11_RANDOM_TABLE_FIELD_NUMBER: u32 = 218170200u32; +pub const OID_DOT11_RANDOM_TABLE_FLAG: u32 = 218170195u32; +pub const OID_DOT11_RECV_SENSITIVITY_LIST: u32 = 218170213u32; +pub const OID_DOT11_REG_DOMAINS_SUPPORT_VALUE: u32 = 218170173u32; +pub const OID_DOT11_RESET_REQUEST: u32 = 218170128u32; +pub const OID_DOT11_RF_USAGE: u32 = 218170203u32; +pub const OID_DOT11_RSSI_RANGE: u32 = 218170202u32; +pub const OID_DOT11_RTS_THRESHOLD: u32 = 218170143u32; +pub const OID_DOT11_SCAN_REQUEST: u32 = 218170123u32; +pub const OID_DOT11_SHORT_PREAMBLE_OPTION_IMPLEMENTED: u32 = 218170181u32; +pub const OID_DOT11_SHORT_RETRY_LIMIT: u32 = 218170144u32; +pub const OID_DOT11_SHORT_SLOT_TIME_OPTION_ENABLED: u32 = 218170211u32; +pub const OID_DOT11_SHORT_SLOT_TIME_OPTION_IMPLEMENTED: u32 = 218170210u32; +pub const OID_DOT11_START_REQUEST: u32 = 218170126u32; +pub const OID_DOT11_STATION_ID: u32 = 218170132u32; +pub const OID_DOT11_SUPPORTED_DATA_RATES_VALUE: u32 = 218170177u32; +pub const OID_DOT11_SUPPORTED_DSSS_CHANNEL_LIST: u32 = 218170222u32; +pub const OID_DOT11_SUPPORTED_OFDM_FREQUENCY_LIST: u32 = 218170221u32; +pub const OID_DOT11_SUPPORTED_PHY_TYPES: u32 = 218170150u32; +pub const OID_DOT11_SUPPORTED_POWER_LEVELS: u32 = 218170156u32; +pub const OID_DOT11_SUPPORTED_RX_ANTENNA: u32 = 218170175u32; +pub const OID_DOT11_SUPPORTED_TX_ANTENNA: u32 = 218170174u32; +pub const OID_DOT11_TEMP_TYPE: u32 = 218170152u32; +pub const OID_DOT11_TI_THRESHOLD: u32 = 218170179u32; +pub const OID_DOT11_UPDATE_IE: u32 = 218170127u32; +pub const OID_DOT11_WEP_ICV_ERROR_COUNT: u32 = 218170141u32; +pub const OID_DOT11_WEP_OFFLOAD: u32 = 218170114u32; +pub const OID_DOT11_WEP_UPLOAD: u32 = 218170115u32; +pub const OID_DOT11_WME_AC_PARAMETERS: u32 = 218170216u32; +pub const OID_DOT11_WME_ENABLED: u32 = 218170215u32; +pub const OID_DOT11_WME_IMPLEMENTED: u32 = 218170214u32; +pub const OID_DOT11_WME_UPDATE_IE: u32 = 218170217u32; +pub const OID_DOT11_WPA_TSC: u32 = 218170201u32; +pub const ONEX_AUTHENTICATOR_NO_LONGER_PRESENT: ONEX_REASON_CODE = 327686i32; +pub const ONEX_EAP_FAILURE_RECEIVED: ONEX_REASON_CODE = 327685i32; +pub const ONEX_IDENTITY_NOT_FOUND: ONEX_REASON_CODE = 327682i32; +pub const ONEX_NO_RESPONSE_TO_IDENTITY: ONEX_REASON_CODE = 327687i32; +pub const ONEX_PROFILE_DISALLOWED_EAP_TYPE: ONEX_REASON_CODE = 327690i32; +pub const ONEX_PROFILE_EXPIRED_EXPLICIT_CREDENTIALS: ONEX_REASON_CODE = 327699i32; +pub const ONEX_PROFILE_INVALID_AUTH_MODE: ONEX_REASON_CODE = 327695i32; +pub const ONEX_PROFILE_INVALID_EAP_CONNECTION_PROPERTIES: ONEX_REASON_CODE = 327696i32; +pub const ONEX_PROFILE_INVALID_EAP_TYPE_OR_FLAG: ONEX_REASON_CODE = 327691i32; +pub const ONEX_PROFILE_INVALID_EXPLICIT_CREDENTIALS: ONEX_REASON_CODE = 327698i32; +pub const ONEX_PROFILE_INVALID_LENGTH: ONEX_REASON_CODE = 327689i32; +pub const ONEX_PROFILE_INVALID_ONEX_FLAGS: ONEX_REASON_CODE = 327692i32; +pub const ONEX_PROFILE_INVALID_SUPPLICANT_MODE: ONEX_REASON_CODE = 327694i32; +pub const ONEX_PROFILE_INVALID_TIMER_VALUE: ONEX_REASON_CODE = 327693i32; +pub const ONEX_PROFILE_VERSION_NOT_SUPPORTED: ONEX_REASON_CODE = 327688i32; +pub const ONEX_REASON_CODE_SUCCESS: ONEX_REASON_CODE = 0i32; +pub const ONEX_REASON_START: ONEX_REASON_CODE = 327680i32; +pub const ONEX_UI_CANCELLED: ONEX_REASON_CODE = 327697i32; +pub const ONEX_UI_DISABLED: ONEX_REASON_CODE = 327683i32; +pub const ONEX_UI_FAILURE: ONEX_REASON_CODE = 327684i32; +pub const ONEX_UI_NOT_PERMITTED: ONEX_REASON_CODE = 327700i32; +pub const ONEX_UNABLE_TO_IDENTIFY_USER: ONEX_REASON_CODE = 327681i32; +pub const OneXAuthFailure: ONEX_AUTH_STATUS = 4i32; +pub const OneXAuthIdentityExplicitUser: ONEX_AUTH_IDENTITY = 3i32; +pub const OneXAuthIdentityGuest: ONEX_AUTH_IDENTITY = 4i32; +pub const OneXAuthIdentityInvalid: ONEX_AUTH_IDENTITY = 5i32; +pub const OneXAuthIdentityMachine: ONEX_AUTH_IDENTITY = 1i32; +pub const OneXAuthIdentityNone: ONEX_AUTH_IDENTITY = 0i32; +pub const OneXAuthIdentityUser: ONEX_AUTH_IDENTITY = 2i32; +pub const OneXAuthInProgress: ONEX_AUTH_STATUS = 1i32; +pub const OneXAuthInvalid: ONEX_AUTH_STATUS = 5i32; +pub const OneXAuthNoAuthenticatorFound: ONEX_AUTH_STATUS = 2i32; +pub const OneXAuthNotStarted: ONEX_AUTH_STATUS = 0i32; +pub const OneXAuthSuccess: ONEX_AUTH_STATUS = 3i32; +pub const OneXEapMethodBackendSupportUnknown: ONEX_EAP_METHOD_BACKEND_SUPPORT = 0i32; +pub const OneXEapMethodBackendSupported: ONEX_EAP_METHOD_BACKEND_SUPPORT = 1i32; +pub const OneXEapMethodBackendUnsupported: ONEX_EAP_METHOD_BACKEND_SUPPORT = 2i32; +pub const OneXNotificationTypeAuthRestarted: ONEX_NOTIFICATION_TYPE = 2i32; +pub const OneXNotificationTypeEventInvalid: ONEX_NOTIFICATION_TYPE = 3i32; +pub const OneXNotificationTypeResultUpdate: ONEX_NOTIFICATION_TYPE = 1i32; +pub const OneXNumNotifications: ONEX_NOTIFICATION_TYPE = 3i32; +pub const OneXPublicNotificationBase: ONEX_NOTIFICATION_TYPE = 0i32; +pub const OneXRestartReasonAltCredsTrial: ONEX_AUTH_RESTART_REASON = 7i32; +pub const OneXRestartReasonInvalid: ONEX_AUTH_RESTART_REASON = 8i32; +pub const OneXRestartReasonMsmInitiated: ONEX_AUTH_RESTART_REASON = 1i32; +pub const OneXRestartReasonOneXAuthTimeout: ONEX_AUTH_RESTART_REASON = 3i32; +pub const OneXRestartReasonOneXConfigurationChanged: ONEX_AUTH_RESTART_REASON = 4i32; +pub const OneXRestartReasonOneXHeldStateTimeout: ONEX_AUTH_RESTART_REASON = 2i32; +pub const OneXRestartReasonOneXUserChanged: ONEX_AUTH_RESTART_REASON = 5i32; +pub const OneXRestartReasonPeerInitiated: ONEX_AUTH_RESTART_REASON = 0i32; +pub const OneXRestartReasonQuarantineStateChanged: ONEX_AUTH_RESTART_REASON = 6i32; +pub const WDIAG_IHV_WLAN_ID_FLAG_SECURITY_ENABLED: u32 = 1u32; +pub const WFDSVC_CONNECTION_CAPABILITY_CLIENT: u32 = 2u32; +pub const WFDSVC_CONNECTION_CAPABILITY_GO: u32 = 4u32; +pub const WFDSVC_CONNECTION_CAPABILITY_NEW: u32 = 1u32; +pub const WFD_API_VERSION: u32 = 1u32; +pub const WFD_API_VERSION_1_0: u32 = 1u32; +pub const WFD_ROLE_TYPE_CLIENT: WFD_ROLE_TYPE = 4i32; +pub const WFD_ROLE_TYPE_DEVICE: WFD_ROLE_TYPE = 1i32; +pub const WFD_ROLE_TYPE_GROUP_OWNER: WFD_ROLE_TYPE = 2i32; +pub const WFD_ROLE_TYPE_MAX: WFD_ROLE_TYPE = 5i32; +pub const WFD_ROLE_TYPE_NONE: WFD_ROLE_TYPE = 0i32; +pub const WLAN_API_VERSION: u32 = 2u32; +pub const WLAN_API_VERSION_1_0: u32 = 1u32; +pub const WLAN_API_VERSION_2_0: u32 = 2u32; +pub const WLAN_AVAILABLE_NETWORK_ANQP_SUPPORTED: u32 = 32u32; +pub const WLAN_AVAILABLE_NETWORK_AUTO_CONNECT_FAILED: u32 = 256u32; +pub const WLAN_AVAILABLE_NETWORK_CONNECTED: u32 = 1u32; +pub const WLAN_AVAILABLE_NETWORK_CONSOLE_USER_PROFILE: u32 = 4u32; +pub const WLAN_AVAILABLE_NETWORK_HAS_PROFILE: u32 = 2u32; +pub const WLAN_AVAILABLE_NETWORK_HOTSPOT2_DOMAIN: u32 = 64u32; +pub const WLAN_AVAILABLE_NETWORK_HOTSPOT2_ENABLED: u32 = 16u32; +pub const WLAN_AVAILABLE_NETWORK_HOTSPOT2_ROAMING: u32 = 128u32; +pub const WLAN_AVAILABLE_NETWORK_INCLUDE_ALL_ADHOC_PROFILES: u32 = 1u32; +pub const WLAN_AVAILABLE_NETWORK_INCLUDE_ALL_MANUAL_HIDDEN_PROFILES: u32 = 2u32; +pub const WLAN_AVAILABLE_NETWORK_INTERWORKING_SUPPORTED: u32 = 8u32; +pub const WLAN_CONNECTION_ADHOC_JOIN_ONLY: u32 = 2u32; +pub const WLAN_CONNECTION_EAPOL_PASSTHROUGH: u32 = 8u32; +pub const WLAN_CONNECTION_HIDDEN_NETWORK: u32 = 1u32; +pub const WLAN_CONNECTION_IGNORE_PRIVACY_BIT: u32 = 4u32; +pub const WLAN_CONNECTION_NOTIFICATION_ADHOC_NETWORK_FORMED: WLAN_CONNECTION_NOTIFICATION_FLAGS = 1u32; +pub const WLAN_CONNECTION_NOTIFICATION_CONSOLE_USER_PROFILE: WLAN_CONNECTION_NOTIFICATION_FLAGS = 4u32; +pub const WLAN_CONNECTION_PERSIST_DISCOVERY_PROFILE: u32 = 16u32; +pub const WLAN_CONNECTION_PERSIST_DISCOVERY_PROFILE_CONNECTION_MODE_AUTO: u32 = 32u32; +pub const WLAN_CONNECTION_PERSIST_DISCOVERY_PROFILE_OVERWRITE_EXISTING: u32 = 64u32; +pub const WLAN_MAX_NAME_LENGTH: u32 = 256u32; +pub const WLAN_MAX_PHY_INDEX: u32 = 64u32; +pub const WLAN_MAX_PHY_TYPE_NUMBER: u32 = 8u32; +pub const WLAN_NOTIFICATION_SOURCE_ACM: WLAN_NOTIFICATION_SOURCES = 8u32; +pub const WLAN_NOTIFICATION_SOURCE_ALL: WLAN_NOTIFICATION_SOURCES = 65535u32; +pub const WLAN_NOTIFICATION_SOURCE_DEVICE_SERVICE: WLAN_NOTIFICATION_SOURCES = 2048u32; +pub const WLAN_NOTIFICATION_SOURCE_HNWK: WLAN_NOTIFICATION_SOURCES = 128u32; +pub const WLAN_NOTIFICATION_SOURCE_IHV: WLAN_NOTIFICATION_SOURCES = 64u32; +pub const WLAN_NOTIFICATION_SOURCE_MSM: WLAN_NOTIFICATION_SOURCES = 16u32; +pub const WLAN_NOTIFICATION_SOURCE_NONE: WLAN_NOTIFICATION_SOURCES = 0u32; +pub const WLAN_NOTIFICATION_SOURCE_ONEX: WLAN_NOTIFICATION_SOURCES = 4u32; +pub const WLAN_NOTIFICATION_SOURCE_SECURITY: WLAN_NOTIFICATION_SOURCES = 32u32; +pub const WLAN_PROFILE_CONNECTION_MODE_AUTO: u32 = 131072u32; +pub const WLAN_PROFILE_CONNECTION_MODE_SET_BY_CLIENT: u32 = 65536u32; +pub const WLAN_PROFILE_GET_PLAINTEXT_KEY: u32 = 4u32; +pub const WLAN_PROFILE_GROUP_POLICY: u32 = 1u32; +pub const WLAN_PROFILE_USER: u32 = 2u32; +pub const WLAN_REASON_CODE_AC_BASE: u32 = 131072u32; +pub const WLAN_REASON_CODE_AC_CONNECT_BASE: u32 = 163840u32; +pub const WLAN_REASON_CODE_AC_END: u32 = 196607u32; +pub const WLAN_REASON_CODE_ADHOC_SECURITY_FAILURE: u32 = 229386u32; +pub const WLAN_REASON_CODE_AP_PROFILE_NOT_ALLOWED: u32 = 163856u32; +pub const WLAN_REASON_CODE_AP_PROFILE_NOT_ALLOWED_FOR_CLIENT: u32 = 163855u32; +pub const WLAN_REASON_CODE_AP_STARTING_FAILURE: u32 = 229395u32; +pub const WLAN_REASON_CODE_ASSOCIATION_FAILURE: u32 = 229378u32; +pub const WLAN_REASON_CODE_ASSOCIATION_TIMEOUT: u32 = 229379u32; +pub const WLAN_REASON_CODE_AUTO_AP_PROFILE_NOT_ALLOWED: u32 = 524313u32; +pub const WLAN_REASON_CODE_AUTO_CONNECTION_NOT_ALLOWED: u32 = 524314u32; +pub const WLAN_REASON_CODE_AUTO_SWITCH_SET_FOR_ADHOC: u32 = 524304u32; +pub const WLAN_REASON_CODE_AUTO_SWITCH_SET_FOR_MANUAL_CONNECTION: u32 = 524305u32; +pub const WLAN_REASON_CODE_BAD_MAX_NUMBER_OF_CLIENTS_FOR_AP: u32 = 524310u32; +pub const WLAN_REASON_CODE_BASE: u32 = 131072u32; +pub const WLAN_REASON_CODE_BSS_TYPE_NOT_ALLOWED: u32 = 163845u32; +pub const WLAN_REASON_CODE_BSS_TYPE_UNMATCH: u32 = 196611u32; +pub const WLAN_REASON_CODE_CONFLICT_SECURITY: u32 = 524299u32; +pub const WLAN_REASON_CODE_CONNECT_CALL_FAIL: u32 = 163849u32; +pub const WLAN_REASON_CODE_DATARATE_UNMATCH: u32 = 196613u32; +pub const WLAN_REASON_CODE_DISCONNECT_TIMEOUT: u32 = 229391u32; +pub const WLAN_REASON_CODE_DRIVER_DISCONNECTED: u32 = 229387u32; +pub const WLAN_REASON_CODE_DRIVER_OPERATION_FAILURE: u32 = 229388u32; +pub const WLAN_REASON_CODE_GP_DENIED: u32 = 163843u32; +pub const WLAN_REASON_CODE_HOTSPOT2_PROFILE_DENIED: u32 = 163857u32; +pub const WLAN_REASON_CODE_HOTSPOT2_PROFILE_NOT_ALLOWED: u32 = 524315u32; +pub const WLAN_REASON_CODE_IHV_CONNECTIVITY_NOT_SUPPORTED: u32 = 524309u32; +pub const WLAN_REASON_CODE_IHV_NOT_AVAILABLE: u32 = 229389u32; +pub const WLAN_REASON_CODE_IHV_NOT_RESPONDING: u32 = 229390u32; +pub const WLAN_REASON_CODE_IHV_OUI_MISMATCH: u32 = 524296u32; +pub const WLAN_REASON_CODE_IHV_OUI_MISSING: u32 = 524297u32; +pub const WLAN_REASON_CODE_IHV_SECURITY_NOT_SUPPORTED: u32 = 524295u32; +pub const WLAN_REASON_CODE_IHV_SECURITY_ONEX_MISSING: u32 = 524306u32; +pub const WLAN_REASON_CODE_IHV_SETTINGS_MISSING: u32 = 524298u32; +pub const WLAN_REASON_CODE_INTERNAL_FAILURE: u32 = 229392u32; +pub const WLAN_REASON_CODE_INVALID_ADHOC_CONNECTION_MODE: u32 = 524302u32; +pub const WLAN_REASON_CODE_INVALID_BSS_TYPE: u32 = 524301u32; +pub const WLAN_REASON_CODE_INVALID_CHANNEL: u32 = 524311u32; +pub const WLAN_REASON_CODE_INVALID_PHY_TYPE: u32 = 524293u32; +pub const WLAN_REASON_CODE_INVALID_PROFILE_NAME: u32 = 524291u32; +pub const WLAN_REASON_CODE_INVALID_PROFILE_SCHEMA: u32 = 524289u32; +pub const WLAN_REASON_CODE_INVALID_PROFILE_TYPE: u32 = 524292u32; +pub const WLAN_REASON_CODE_IN_BLOCKED_LIST: u32 = 163847u32; +pub const WLAN_REASON_CODE_IN_FAILED_LIST: u32 = 163846u32; +pub const WLAN_REASON_CODE_KEY_MISMATCH: u32 = 163853u32; +pub const WLAN_REASON_CODE_MSMSEC_AUTH_START_TIMEOUT: u32 = 294914u32; +pub const WLAN_REASON_CODE_MSMSEC_AUTH_SUCCESS_TIMEOUT: u32 = 294915u32; +pub const WLAN_REASON_CODE_MSMSEC_AUTH_WCN_COMPLETED: u32 = 294937u32; +pub const WLAN_REASON_CODE_MSMSEC_BASE: u32 = 262144u32; +pub const WLAN_REASON_CODE_MSMSEC_CANCELLED: u32 = 294929u32; +pub const WLAN_REASON_CODE_MSMSEC_CAPABILITY_DISCOVERY: u32 = 262165u32; +pub const WLAN_REASON_CODE_MSMSEC_CAPABILITY_MFP_NW_NIC: u32 = 262181u32; +pub const WLAN_REASON_CODE_MSMSEC_CAPABILITY_NETWORK: u32 = 262162u32; +pub const WLAN_REASON_CODE_MSMSEC_CAPABILITY_NIC: u32 = 262163u32; +pub const WLAN_REASON_CODE_MSMSEC_CAPABILITY_PROFILE: u32 = 262164u32; +pub const WLAN_REASON_CODE_MSMSEC_CAPABILITY_PROFILE_AUTH: u32 = 262174u32; +pub const WLAN_REASON_CODE_MSMSEC_CAPABILITY_PROFILE_CIPHER: u32 = 262175u32; +pub const WLAN_REASON_CODE_MSMSEC_CAPABILITY_PROFILE_SAFE_MODE_NIC: u32 = 262177u32; +pub const WLAN_REASON_CODE_MSMSEC_CAPABILITY_PROFILE_SAFE_MODE_NW: u32 = 262178u32; +pub const WLAN_REASON_CODE_MSMSEC_CONNECT_BASE: u32 = 294912u32; +pub const WLAN_REASON_CODE_MSMSEC_DOWNGRADE_DETECTED: u32 = 294931u32; +pub const WLAN_REASON_CODE_MSMSEC_END: u32 = 327679u32; +pub const WLAN_REASON_CODE_MSMSEC_FORCED_FAILURE: u32 = 294933u32; +pub const WLAN_REASON_CODE_MSMSEC_G1_MISSING_GRP_KEY: u32 = 294925u32; +pub const WLAN_REASON_CODE_MSMSEC_G1_MISSING_KEY_DATA: u32 = 294924u32; +pub const WLAN_REASON_CODE_MSMSEC_G1_MISSING_MGMT_GRP_KEY: u32 = 294939u32; +pub const WLAN_REASON_CODE_MSMSEC_KEY_FORMAT: u32 = 294930u32; +pub const WLAN_REASON_CODE_MSMSEC_KEY_START_TIMEOUT: u32 = 294916u32; +pub const WLAN_REASON_CODE_MSMSEC_KEY_SUCCESS_TIMEOUT: u32 = 294917u32; +pub const WLAN_REASON_CODE_MSMSEC_M2_MISSING_IE: u32 = 294936u32; +pub const WLAN_REASON_CODE_MSMSEC_M2_MISSING_KEY_DATA: u32 = 294935u32; +pub const WLAN_REASON_CODE_MSMSEC_M3_MISSING_GRP_KEY: u32 = 294920u32; +pub const WLAN_REASON_CODE_MSMSEC_M3_MISSING_IE: u32 = 294919u32; +pub const WLAN_REASON_CODE_MSMSEC_M3_MISSING_KEY_DATA: u32 = 294918u32; +pub const WLAN_REASON_CODE_MSMSEC_M3_MISSING_MGMT_GRP_KEY: u32 = 294938u32; +pub const WLAN_REASON_CODE_MSMSEC_M3_TOO_MANY_RSNIE: u32 = 294934u32; +pub const WLAN_REASON_CODE_MSMSEC_MAX: u32 = 327679u32; +pub const WLAN_REASON_CODE_MSMSEC_MIN: u32 = 262144u32; +pub const WLAN_REASON_CODE_MSMSEC_MIXED_CELL: u32 = 262169u32; +pub const WLAN_REASON_CODE_MSMSEC_NIC_FAILURE: u32 = 294928u32; +pub const WLAN_REASON_CODE_MSMSEC_NO_AUTHENTICATOR: u32 = 294927u32; +pub const WLAN_REASON_CODE_MSMSEC_NO_PAIRWISE_KEY: u32 = 294923u32; +pub const WLAN_REASON_CODE_MSMSEC_PEER_INDICATED_INSECURE: u32 = 294926u32; +pub const WLAN_REASON_CODE_MSMSEC_PROFILE_AUTH_TIMERS_INVALID: u32 = 262170u32; +pub const WLAN_REASON_CODE_MSMSEC_PROFILE_DUPLICATE_AUTH_CIPHER: u32 = 262151u32; +pub const WLAN_REASON_CODE_MSMSEC_PROFILE_INVALID_AUTH_CIPHER: u32 = 262153u32; +pub const WLAN_REASON_CODE_MSMSEC_PROFILE_INVALID_GKEY_INTV: u32 = 262171u32; +pub const WLAN_REASON_CODE_MSMSEC_PROFILE_INVALID_KEY_INDEX: u32 = 262145u32; +pub const WLAN_REASON_CODE_MSMSEC_PROFILE_INVALID_PMKCACHE_MODE: u32 = 262156u32; +pub const WLAN_REASON_CODE_MSMSEC_PROFILE_INVALID_PMKCACHE_SIZE: u32 = 262157u32; +pub const WLAN_REASON_CODE_MSMSEC_PROFILE_INVALID_PMKCACHE_TTL: u32 = 262158u32; +pub const WLAN_REASON_CODE_MSMSEC_PROFILE_INVALID_PREAUTH_MODE: u32 = 262159u32; +pub const WLAN_REASON_CODE_MSMSEC_PROFILE_INVALID_PREAUTH_THROTTLE: u32 = 262160u32; +pub const WLAN_REASON_CODE_MSMSEC_PROFILE_KEYMATERIAL_CHAR: u32 = 262167u32; +pub const WLAN_REASON_CODE_MSMSEC_PROFILE_KEY_LENGTH: u32 = 262147u32; +pub const WLAN_REASON_CODE_MSMSEC_PROFILE_KEY_UNMAPPED_CHAR: u32 = 262173u32; +pub const WLAN_REASON_CODE_MSMSEC_PROFILE_NO_AUTH_CIPHER_SPECIFIED: u32 = 262149u32; +pub const WLAN_REASON_CODE_MSMSEC_PROFILE_ONEX_DISABLED: u32 = 262154u32; +pub const WLAN_REASON_CODE_MSMSEC_PROFILE_ONEX_ENABLED: u32 = 262155u32; +pub const WLAN_REASON_CODE_MSMSEC_PROFILE_PASSPHRASE_CHAR: u32 = 262166u32; +pub const WLAN_REASON_CODE_MSMSEC_PROFILE_PREAUTH_ONLY_ENABLED: u32 = 262161u32; +pub const WLAN_REASON_CODE_MSMSEC_PROFILE_PSK_LENGTH: u32 = 262148u32; +pub const WLAN_REASON_CODE_MSMSEC_PROFILE_PSK_PRESENT: u32 = 262146u32; +pub const WLAN_REASON_CODE_MSMSEC_PROFILE_RAWDATA_INVALID: u32 = 262152u32; +pub const WLAN_REASON_CODE_MSMSEC_PROFILE_SAFE_MODE: u32 = 262176u32; +pub const WLAN_REASON_CODE_MSMSEC_PROFILE_TOO_MANY_AUTH_CIPHER_SPECIFIED: u32 = 262150u32; +pub const WLAN_REASON_CODE_MSMSEC_PROFILE_UNSUPPORTED_AUTH: u32 = 262179u32; +pub const WLAN_REASON_CODE_MSMSEC_PROFILE_UNSUPPORTED_CIPHER: u32 = 262180u32; +pub const WLAN_REASON_CODE_MSMSEC_PROFILE_WRONG_KEYTYPE: u32 = 262168u32; +pub const WLAN_REASON_CODE_MSMSEC_PR_IE_MATCHING: u32 = 294921u32; +pub const WLAN_REASON_CODE_MSMSEC_PSK_MISMATCH_SUSPECTED: u32 = 294932u32; +pub const WLAN_REASON_CODE_MSMSEC_SEC_IE_MATCHING: u32 = 294922u32; +pub const WLAN_REASON_CODE_MSMSEC_TRANSITION_NETWORK: u32 = 262172u32; +pub const WLAN_REASON_CODE_MSMSEC_UI_REQUEST_FAILURE: u32 = 294913u32; +pub const WLAN_REASON_CODE_MSM_BASE: u32 = 196608u32; +pub const WLAN_REASON_CODE_MSM_CONNECT_BASE: u32 = 229376u32; +pub const WLAN_REASON_CODE_MSM_END: u32 = 262143u32; +pub const WLAN_REASON_CODE_MSM_SECURITY_MISSING: u32 = 524294u32; +pub const WLAN_REASON_CODE_NETWORK_NOT_AVAILABLE: u32 = 163851u32; +pub const WLAN_REASON_CODE_NETWORK_NOT_COMPATIBLE: u32 = 131073u32; +pub const WLAN_REASON_CODE_NON_BROADCAST_SET_FOR_ADHOC: u32 = 524303u32; +pub const WLAN_REASON_CODE_NOT_VISIBLE: u32 = 163842u32; +pub const WLAN_REASON_CODE_NO_AUTO_CONNECTION: u32 = 163841u32; +pub const WLAN_REASON_CODE_NO_VISIBLE_AP: u32 = 229396u32; +pub const WLAN_REASON_CODE_OPERATION_MODE_NOT_SUPPORTED: u32 = 524312u32; +pub const WLAN_REASON_CODE_PHY_TYPE_UNMATCH: u32 = 196612u32; +pub const WLAN_REASON_CODE_PRE_SECURITY_FAILURE: u32 = 229380u32; +pub const WLAN_REASON_CODE_PROFILE_BASE: u32 = 524288u32; +pub const WLAN_REASON_CODE_PROFILE_CHANGED_OR_DELETED: u32 = 163852u32; +pub const WLAN_REASON_CODE_PROFILE_CONNECT_BASE: u32 = 557056u32; +pub const WLAN_REASON_CODE_PROFILE_END: u32 = 589823u32; +pub const WLAN_REASON_CODE_PROFILE_MISSING: u32 = 524290u32; +pub const WLAN_REASON_CODE_PROFILE_NOT_COMPATIBLE: u32 = 131074u32; +pub const WLAN_REASON_CODE_PROFILE_SSID_INVALID: u32 = 524307u32; +pub const WLAN_REASON_CODE_RANGE_SIZE: u32 = 65536u32; +pub const WLAN_REASON_CODE_RESERVED_BASE: u32 = 720896u32; +pub const WLAN_REASON_CODE_RESERVED_END: u32 = 786431u32; +pub const WLAN_REASON_CODE_ROAMING_FAILURE: u32 = 229384u32; +pub const WLAN_REASON_CODE_ROAMING_SECURITY_FAILURE: u32 = 229385u32; +pub const WLAN_REASON_CODE_SCAN_CALL_FAIL: u32 = 163850u32; +pub const WLAN_REASON_CODE_SECURITY_FAILURE: u32 = 229382u32; +pub const WLAN_REASON_CODE_SECURITY_MISSING: u32 = 524300u32; +pub const WLAN_REASON_CODE_SECURITY_TIMEOUT: u32 = 229383u32; +pub const WLAN_REASON_CODE_SSID_LIST_TOO_LONG: u32 = 163848u32; +pub const WLAN_REASON_CODE_START_SECURITY_FAILURE: u32 = 229381u32; +pub const WLAN_REASON_CODE_SUCCESS: u32 = 0u32; +pub const WLAN_REASON_CODE_TOO_MANY_SECURITY_ATTEMPTS: u32 = 229394u32; +pub const WLAN_REASON_CODE_TOO_MANY_SSID: u32 = 524308u32; +pub const WLAN_REASON_CODE_UI_REQUEST_TIMEOUT: u32 = 229393u32; +pub const WLAN_REASON_CODE_UNKNOWN: u32 = 65537u32; +pub const WLAN_REASON_CODE_UNSUPPORTED_SECURITY_SET: u32 = 196610u32; +pub const WLAN_REASON_CODE_UNSUPPORTED_SECURITY_SET_BY_OS: u32 = 196609u32; +pub const WLAN_REASON_CODE_USER_CANCELLED: u32 = 229377u32; +pub const WLAN_REASON_CODE_USER_DENIED: u32 = 163844u32; +pub const WLAN_REASON_CODE_USER_NOT_RESPOND: u32 = 163854u32; +pub const WLAN_SECURABLE_OBJECT_COUNT: WLAN_SECURABLE_OBJECT = 17i32; +pub const WLAN_SET_EAPHOST_DATA_ALL_USERS: WLAN_SET_EAPHOST_FLAGS = 1u32; +pub const WLAN_UI_API_INITIAL_VERSION: u32 = 1u32; +pub const WLAN_UI_API_VERSION: u32 = 1u32; +pub const WLAdvPage: WL_DISPLAY_PAGES = 2i32; +pub const WLConnectionPage: WL_DISPLAY_PAGES = 0i32; +pub const WLSecurityPage: WL_DISPLAY_PAGES = 1i32; +pub const ch_description_type_center_frequency: CH_DESCRIPTION_TYPE = 2i32; +pub const ch_description_type_logical: CH_DESCRIPTION_TYPE = 1i32; +pub const ch_description_type_phy_specific: CH_DESCRIPTION_TYPE = 3i32; +pub const connection_phase_any: DOT11EXT_IHV_CONNECTION_PHASE = 0i32; +pub const connection_phase_initial_connection: DOT11EXT_IHV_CONNECTION_PHASE = 1i32; +pub const connection_phase_post_l3_connection: DOT11EXT_IHV_CONNECTION_PHASE = 2i32; +pub const dot11_AC_param_BE: DOT11_AC_PARAM = 0i32; +pub const dot11_AC_param_BK: DOT11_AC_PARAM = 1i32; +pub const dot11_AC_param_VI: DOT11_AC_PARAM = 2i32; +pub const dot11_AC_param_VO: DOT11_AC_PARAM = 3i32; +pub const dot11_AC_param_max: DOT11_AC_PARAM = 4i32; +pub const dot11_ANQP_query_result_access_issues: DOT11_ANQP_QUERY_RESULT = 7i32; +pub const dot11_ANQP_query_result_advertisement_protocol_not_supported_on_remote: DOT11_ANQP_QUERY_RESULT = 4i32; +pub const dot11_ANQP_query_result_advertisement_server_not_responding: DOT11_ANQP_QUERY_RESULT = 6i32; +pub const dot11_ANQP_query_result_failure: DOT11_ANQP_QUERY_RESULT = 1i32; +pub const dot11_ANQP_query_result_gas_protocol_failure: DOT11_ANQP_QUERY_RESULT = 5i32; +pub const dot11_ANQP_query_result_resources: DOT11_ANQP_QUERY_RESULT = 3i32; +pub const dot11_ANQP_query_result_success: DOT11_ANQP_QUERY_RESULT = 0i32; +pub const dot11_ANQP_query_result_timed_out: DOT11_ANQP_QUERY_RESULT = 2i32; +pub const dot11_BSS_type_any: DOT11_BSS_TYPE = 3i32; +pub const dot11_BSS_type_independent: DOT11_BSS_TYPE = 2i32; +pub const dot11_BSS_type_infrastructure: DOT11_BSS_TYPE = 1i32; +pub const dot11_assoc_state_auth_assoc: DOT11_ASSOCIATION_STATE = 3i32; +pub const dot11_assoc_state_auth_unassoc: DOT11_ASSOCIATION_STATE = 2i32; +pub const dot11_assoc_state_unauth_unassoc: DOT11_ASSOCIATION_STATE = 1i32; +pub const dot11_assoc_state_zero: DOT11_ASSOCIATION_STATE = 0i32; +pub const dot11_band_2p4g: DOT11_BAND = 1i32; +pub const dot11_band_4p9g: DOT11_BAND = 2i32; +pub const dot11_band_5g: DOT11_BAND = 3i32; +pub const dot11_diversity_support_dynamic: DOT11_DIVERSITY_SUPPORT = 3i32; +pub const dot11_diversity_support_fixedlist: DOT11_DIVERSITY_SUPPORT = 1i32; +pub const dot11_diversity_support_notsupported: DOT11_DIVERSITY_SUPPORT = 2i32; +pub const dot11_diversity_support_unknown: DOT11_DIVERSITY_SUPPORT = 0i32; +pub const dot11_hop_algo_current: DOT11_HOP_ALGO_ADOPTED = 0i32; +pub const dot11_hop_algo_hcc: DOT11_HOP_ALGO_ADOPTED = 2i32; +pub const dot11_hop_algo_hop_index: DOT11_HOP_ALGO_ADOPTED = 1i32; +pub const dot11_key_direction_both: DOT11_KEY_DIRECTION = 1i32; +pub const dot11_key_direction_inbound: DOT11_KEY_DIRECTION = 2i32; +pub const dot11_key_direction_outbound: DOT11_KEY_DIRECTION = 3i32; +pub const dot11_manufacturing_callback_IHV_end: DOT11_MANUFACTURING_CALLBACK_TYPE = -1i32; +pub const dot11_manufacturing_callback_IHV_start: DOT11_MANUFACTURING_CALLBACK_TYPE = -2147483648i32; +pub const dot11_manufacturing_callback_self_test_complete: DOT11_MANUFACTURING_CALLBACK_TYPE = 1i32; +pub const dot11_manufacturing_callback_sleep_complete: DOT11_MANUFACTURING_CALLBACK_TYPE = 2i32; +pub const dot11_manufacturing_callback_unknown: DOT11_MANUFACTURING_CALLBACK_TYPE = 0i32; +pub const dot11_manufacturing_test_IHV_end: DOT11_MANUFACTURING_TEST_TYPE = -1i32; +pub const dot11_manufacturing_test_IHV_start: DOT11_MANUFACTURING_TEST_TYPE = -2147483648i32; +pub const dot11_manufacturing_test_awake: DOT11_MANUFACTURING_TEST_TYPE = 9i32; +pub const dot11_manufacturing_test_query_adc: DOT11_MANUFACTURING_TEST_TYPE = 5i32; +pub const dot11_manufacturing_test_query_data: DOT11_MANUFACTURING_TEST_TYPE = 7i32; +pub const dot11_manufacturing_test_rx: DOT11_MANUFACTURING_TEST_TYPE = 3i32; +pub const dot11_manufacturing_test_self_query_result: DOT11_MANUFACTURING_TEST_TYPE = 2i32; +pub const dot11_manufacturing_test_self_start: DOT11_MANUFACTURING_TEST_TYPE = 1i32; +pub const dot11_manufacturing_test_set_data: DOT11_MANUFACTURING_TEST_TYPE = 6i32; +pub const dot11_manufacturing_test_sleep: DOT11_MANUFACTURING_TEST_TYPE = 8i32; +pub const dot11_manufacturing_test_tx: DOT11_MANUFACTURING_TEST_TYPE = 4i32; +pub const dot11_manufacturing_test_unknown: DOT11_MANUFACTURING_TEST_TYPE = 0i32; +pub const dot11_offload_type_auth: DOT11_OFFLOAD_TYPE = 2i32; +pub const dot11_offload_type_wep: DOT11_OFFLOAD_TYPE = 1i32; +pub const dot11_phy_type_IHV_end: DOT11_PHY_TYPE = -1i32; +pub const dot11_phy_type_IHV_start: DOT11_PHY_TYPE = -2147483648i32; +pub const dot11_phy_type_any: DOT11_PHY_TYPE = 0i32; +pub const dot11_phy_type_dmg: DOT11_PHY_TYPE = 9i32; +pub const dot11_phy_type_dsss: DOT11_PHY_TYPE = 2i32; +pub const dot11_phy_type_eht: DOT11_PHY_TYPE = 11i32; +pub const dot11_phy_type_erp: DOT11_PHY_TYPE = 6i32; +pub const dot11_phy_type_fhss: DOT11_PHY_TYPE = 1i32; +pub const dot11_phy_type_he: DOT11_PHY_TYPE = 10i32; +pub const dot11_phy_type_hrdsss: DOT11_PHY_TYPE = 5i32; +pub const dot11_phy_type_ht: DOT11_PHY_TYPE = 7i32; +pub const dot11_phy_type_irbaseband: DOT11_PHY_TYPE = 3i32; +pub const dot11_phy_type_ofdm: DOT11_PHY_TYPE = 4i32; +pub const dot11_phy_type_unknown: DOT11_PHY_TYPE = 0i32; +pub const dot11_phy_type_vht: DOT11_PHY_TYPE = 8i32; +pub const dot11_power_mode_active: DOT11_POWER_MODE = 1i32; +pub const dot11_power_mode_powersave: DOT11_POWER_MODE = 2i32; +pub const dot11_power_mode_reason_compliant_AP: DOT11_POWER_MODE_REASON = 3i32; +pub const dot11_power_mode_reason_compliant_WFD_device: DOT11_POWER_MODE_REASON = 4i32; +pub const dot11_power_mode_reason_legacy_WFD_device: DOT11_POWER_MODE_REASON = 2i32; +pub const dot11_power_mode_reason_no_change: DOT11_POWER_MODE_REASON = 0i32; +pub const dot11_power_mode_reason_noncompliant_AP: DOT11_POWER_MODE_REASON = 1i32; +pub const dot11_power_mode_reason_others: DOT11_POWER_MODE_REASON = 5i32; +pub const dot11_power_mode_unknown: DOT11_POWER_MODE = 0i32; +pub const dot11_radio_state_off: DOT11_RADIO_STATE = 2i32; +pub const dot11_radio_state_on: DOT11_RADIO_STATE = 1i32; +pub const dot11_radio_state_unknown: DOT11_RADIO_STATE = 0i32; +pub const dot11_reset_type_mac: DOT11_RESET_TYPE = 2i32; +pub const dot11_reset_type_phy: DOT11_RESET_TYPE = 1i32; +pub const dot11_reset_type_phy_and_mac: DOT11_RESET_TYPE = 3i32; +pub const dot11_scan_type_active: DOT11_SCAN_TYPE = 1i32; +pub const dot11_scan_type_auto: DOT11_SCAN_TYPE = 3i32; +pub const dot11_scan_type_forced: DOT11_SCAN_TYPE = -2147483648i32; +pub const dot11_scan_type_passive: DOT11_SCAN_TYPE = 2i32; +pub const dot11_temp_type_1: DOT11_TEMP_TYPE = 1i32; +pub const dot11_temp_type_2: DOT11_TEMP_TYPE = 2i32; +pub const dot11_temp_type_unknown: DOT11_TEMP_TYPE = 0i32; +pub const dot11_update_ie_op_create_replace: DOT11_UPDATE_IE_OP = 1i32; +pub const dot11_update_ie_op_delete: DOT11_UPDATE_IE_OP = 2i32; +pub const dot11_wfd_discover_type_auto: DOT11_WFD_DISCOVER_TYPE = 3i32; +pub const dot11_wfd_discover_type_find_only: DOT11_WFD_DISCOVER_TYPE = 2i32; +pub const dot11_wfd_discover_type_forced: DOT11_WFD_DISCOVER_TYPE = -2147483648i32; +pub const dot11_wfd_discover_type_scan_only: DOT11_WFD_DISCOVER_TYPE = 1i32; +pub const dot11_wfd_discover_type_scan_social_channels: DOT11_WFD_DISCOVER_TYPE = 4i32; +pub const dot11_wfd_scan_type_active: DOT11_WFD_SCAN_TYPE = 1i32; +pub const dot11_wfd_scan_type_auto: DOT11_WFD_SCAN_TYPE = 3i32; +pub const dot11_wfd_scan_type_passive: DOT11_WFD_SCAN_TYPE = 2i32; +pub const wlan_adhoc_network_state_connected: WLAN_ADHOC_NETWORK_STATE = 1i32; +pub const wlan_adhoc_network_state_formed: WLAN_ADHOC_NETWORK_STATE = 0i32; +pub const wlan_autoconf_opcode_allow_explicit_creds: WLAN_AUTOCONF_OPCODE = 4i32; +pub const wlan_autoconf_opcode_allow_virtual_station_extensibility: WLAN_AUTOCONF_OPCODE = 6i32; +pub const wlan_autoconf_opcode_block_period: WLAN_AUTOCONF_OPCODE = 5i32; +pub const wlan_autoconf_opcode_end: WLAN_AUTOCONF_OPCODE = 7i32; +pub const wlan_autoconf_opcode_only_use_gp_profiles_for_allowed_networks: WLAN_AUTOCONF_OPCODE = 3i32; +pub const wlan_autoconf_opcode_power_setting: WLAN_AUTOCONF_OPCODE = 2i32; +pub const wlan_autoconf_opcode_show_denied_networks: WLAN_AUTOCONF_OPCODE = 1i32; +pub const wlan_autoconf_opcode_start: WLAN_AUTOCONF_OPCODE = 0i32; +pub const wlan_connection_mode_auto: WLAN_CONNECTION_MODE = 4i32; +pub const wlan_connection_mode_discovery_secure: WLAN_CONNECTION_MODE = 2i32; +pub const wlan_connection_mode_discovery_unsecure: WLAN_CONNECTION_MODE = 3i32; +pub const wlan_connection_mode_invalid: WLAN_CONNECTION_MODE = 5i32; +pub const wlan_connection_mode_profile: WLAN_CONNECTION_MODE = 0i32; +pub const wlan_connection_mode_temporary_profile: WLAN_CONNECTION_MODE = 1i32; +pub const wlan_filter_list_type_gp_deny: WLAN_FILTER_LIST_TYPE = 1i32; +pub const wlan_filter_list_type_gp_permit: WLAN_FILTER_LIST_TYPE = 0i32; +pub const wlan_filter_list_type_user_deny: WLAN_FILTER_LIST_TYPE = 3i32; +pub const wlan_filter_list_type_user_permit: WLAN_FILTER_LIST_TYPE = 2i32; +pub const wlan_hosted_network_active: WLAN_HOSTED_NETWORK_STATE = 2i32; +pub const wlan_hosted_network_idle: WLAN_HOSTED_NETWORK_STATE = 1i32; +pub const wlan_hosted_network_opcode_connection_settings: WLAN_HOSTED_NETWORK_OPCODE = 0i32; +pub const wlan_hosted_network_opcode_enable: WLAN_HOSTED_NETWORK_OPCODE = 3i32; +pub const wlan_hosted_network_opcode_security_settings: WLAN_HOSTED_NETWORK_OPCODE = 1i32; +pub const wlan_hosted_network_opcode_station_profile: WLAN_HOSTED_NETWORK_OPCODE = 2i32; +pub const wlan_hosted_network_peer_state_authenticated: WLAN_HOSTED_NETWORK_PEER_AUTH_STATE = 1i32; +pub const wlan_hosted_network_peer_state_change: WLAN_HOSTED_NETWORK_NOTIFICATION_CODE = 4097i32; +pub const wlan_hosted_network_peer_state_invalid: WLAN_HOSTED_NETWORK_PEER_AUTH_STATE = 0i32; +pub const wlan_hosted_network_radio_state_change: WLAN_HOSTED_NETWORK_NOTIFICATION_CODE = 4098i32; +pub const wlan_hosted_network_reason_ap_start_failed: WLAN_HOSTED_NETWORK_REASON = 19i32; +pub const wlan_hosted_network_reason_bad_parameters: WLAN_HOSTED_NETWORK_REASON = 2i32; +pub const wlan_hosted_network_reason_client_abort: WLAN_HOSTED_NETWORK_REASON = 18i32; +pub const wlan_hosted_network_reason_crypt_error: WLAN_HOSTED_NETWORK_REASON = 8i32; +pub const wlan_hosted_network_reason_device_change: WLAN_HOSTED_NETWORK_REASON = 25i32; +pub const wlan_hosted_network_reason_elevation_required: WLAN_HOSTED_NETWORK_REASON = 5i32; +pub const wlan_hosted_network_reason_gp_denied: WLAN_HOSTED_NETWORK_REASON = 23i32; +pub const wlan_hosted_network_reason_impersonation: WLAN_HOSTED_NETWORK_REASON = 9i32; +pub const wlan_hosted_network_reason_incompatible_connection_started: WLAN_HOSTED_NETWORK_REASON = 15i32; +pub const wlan_hosted_network_reason_incompatible_connection_stopped: WLAN_HOSTED_NETWORK_REASON = 16i32; +pub const wlan_hosted_network_reason_insufficient_resources: WLAN_HOSTED_NETWORK_REASON = 4i32; +pub const wlan_hosted_network_reason_interface_available: WLAN_HOSTED_NETWORK_REASON = 11i32; +pub const wlan_hosted_network_reason_interface_unavailable: WLAN_HOSTED_NETWORK_REASON = 12i32; +pub const wlan_hosted_network_reason_miniport_started: WLAN_HOSTED_NETWORK_REASON = 14i32; +pub const wlan_hosted_network_reason_miniport_stopped: WLAN_HOSTED_NETWORK_REASON = 13i32; +pub const wlan_hosted_network_reason_peer_arrived: WLAN_HOSTED_NETWORK_REASON = 20i32; +pub const wlan_hosted_network_reason_peer_departed: WLAN_HOSTED_NETWORK_REASON = 21i32; +pub const wlan_hosted_network_reason_peer_timeout: WLAN_HOSTED_NETWORK_REASON = 22i32; +pub const wlan_hosted_network_reason_persistence_failed: WLAN_HOSTED_NETWORK_REASON = 7i32; +pub const wlan_hosted_network_reason_properties_change: WLAN_HOSTED_NETWORK_REASON = 26i32; +pub const wlan_hosted_network_reason_read_only: WLAN_HOSTED_NETWORK_REASON = 6i32; +pub const wlan_hosted_network_reason_service_available_on_virtual_station: WLAN_HOSTED_NETWORK_REASON = 28i32; +pub const wlan_hosted_network_reason_service_shutting_down: WLAN_HOSTED_NETWORK_REASON = 3i32; +pub const wlan_hosted_network_reason_service_unavailable: WLAN_HOSTED_NETWORK_REASON = 24i32; +pub const wlan_hosted_network_reason_stop_before_start: WLAN_HOSTED_NETWORK_REASON = 10i32; +pub const wlan_hosted_network_reason_success: WLAN_HOSTED_NETWORK_REASON = 0i32; +pub const wlan_hosted_network_reason_unspecified: WLAN_HOSTED_NETWORK_REASON = 1i32; +pub const wlan_hosted_network_reason_user_action: WLAN_HOSTED_NETWORK_REASON = 17i32; +pub const wlan_hosted_network_reason_virtual_station_blocking_use: WLAN_HOSTED_NETWORK_REASON = 27i32; +pub const wlan_hosted_network_state_change: WLAN_HOSTED_NETWORK_NOTIFICATION_CODE = 4096i32; +pub const wlan_hosted_network_unavailable: WLAN_HOSTED_NETWORK_STATE = 0i32; +pub const wlan_ihv_control_type_driver: WLAN_IHV_CONTROL_TYPE = 1i32; +pub const wlan_ihv_control_type_service: WLAN_IHV_CONTROL_TYPE = 0i32; +pub const wlan_interface_state_ad_hoc_network_formed: WLAN_INTERFACE_STATE = 2i32; +pub const wlan_interface_state_associating: WLAN_INTERFACE_STATE = 5i32; +pub const wlan_interface_state_authenticating: WLAN_INTERFACE_STATE = 7i32; +pub const wlan_interface_state_connected: WLAN_INTERFACE_STATE = 1i32; +pub const wlan_interface_state_disconnected: WLAN_INTERFACE_STATE = 4i32; +pub const wlan_interface_state_disconnecting: WLAN_INTERFACE_STATE = 3i32; +pub const wlan_interface_state_discovering: WLAN_INTERFACE_STATE = 6i32; +pub const wlan_interface_state_not_ready: WLAN_INTERFACE_STATE = 0i32; +pub const wlan_interface_type_emulated_802_11: WLAN_INTERFACE_TYPE = 0i32; +pub const wlan_interface_type_invalid: WLAN_INTERFACE_TYPE = 2i32; +pub const wlan_interface_type_native_802_11: WLAN_INTERFACE_TYPE = 1i32; +pub const wlan_intf_opcode_autoconf_enabled: WLAN_INTF_OPCODE = 1i32; +pub const wlan_intf_opcode_autoconf_end: WLAN_INTF_OPCODE = 268435455i32; +pub const wlan_intf_opcode_autoconf_start: WLAN_INTF_OPCODE = 0i32; +pub const wlan_intf_opcode_background_scan_enabled: WLAN_INTF_OPCODE = 2i32; +pub const wlan_intf_opcode_bss_type: WLAN_INTF_OPCODE = 5i32; +pub const wlan_intf_opcode_certified_safe_mode: WLAN_INTF_OPCODE = 14i32; +pub const wlan_intf_opcode_channel_number: WLAN_INTF_OPCODE = 8i32; +pub const wlan_intf_opcode_current_connection: WLAN_INTF_OPCODE = 7i32; +pub const wlan_intf_opcode_current_operation_mode: WLAN_INTF_OPCODE = 12i32; +pub const wlan_intf_opcode_hosted_network_capable: WLAN_INTF_OPCODE = 15i32; +pub const wlan_intf_opcode_ihv_end: WLAN_INTF_OPCODE = 1073741823i32; +pub const wlan_intf_opcode_ihv_start: WLAN_INTF_OPCODE = 805306368i32; +pub const wlan_intf_opcode_interface_state: WLAN_INTF_OPCODE = 6i32; +pub const wlan_intf_opcode_management_frame_protection_capable: WLAN_INTF_OPCODE = 16i32; +pub const wlan_intf_opcode_media_streaming_mode: WLAN_INTF_OPCODE = 3i32; +pub const wlan_intf_opcode_msm_end: WLAN_INTF_OPCODE = 536870911i32; +pub const wlan_intf_opcode_msm_start: WLAN_INTF_OPCODE = 268435712i32; +pub const wlan_intf_opcode_radio_state: WLAN_INTF_OPCODE = 4i32; +pub const wlan_intf_opcode_rssi: WLAN_INTF_OPCODE = 268435714i32; +pub const wlan_intf_opcode_secondary_sta_interfaces: WLAN_INTF_OPCODE = 17i32; +pub const wlan_intf_opcode_secondary_sta_synchronized_connections: WLAN_INTF_OPCODE = 18i32; +pub const wlan_intf_opcode_security_end: WLAN_INTF_OPCODE = 805306367i32; +pub const wlan_intf_opcode_security_start: WLAN_INTF_OPCODE = 536936448i32; +pub const wlan_intf_opcode_statistics: WLAN_INTF_OPCODE = 268435713i32; +pub const wlan_intf_opcode_supported_adhoc_auth_cipher_pairs: WLAN_INTF_OPCODE = 10i32; +pub const wlan_intf_opcode_supported_country_or_region_string_list: WLAN_INTF_OPCODE = 11i32; +pub const wlan_intf_opcode_supported_infrastructure_auth_cipher_pairs: WLAN_INTF_OPCODE = 9i32; +pub const wlan_intf_opcode_supported_safe_mode: WLAN_INTF_OPCODE = 13i32; +pub const wlan_notification_acm_adhoc_network_state_change: WLAN_NOTIFICATION_ACM = 22i32; +pub const wlan_notification_acm_autoconf_disabled: WLAN_NOTIFICATION_ACM = 2i32; +pub const wlan_notification_acm_autoconf_enabled: WLAN_NOTIFICATION_ACM = 1i32; +pub const wlan_notification_acm_background_scan_disabled: WLAN_NOTIFICATION_ACM = 4i32; +pub const wlan_notification_acm_background_scan_enabled: WLAN_NOTIFICATION_ACM = 3i32; +pub const wlan_notification_acm_bss_type_change: WLAN_NOTIFICATION_ACM = 5i32; +pub const wlan_notification_acm_connection_attempt_fail: WLAN_NOTIFICATION_ACM = 11i32; +pub const wlan_notification_acm_connection_complete: WLAN_NOTIFICATION_ACM = 10i32; +pub const wlan_notification_acm_connection_start: WLAN_NOTIFICATION_ACM = 9i32; +pub const wlan_notification_acm_disconnected: WLAN_NOTIFICATION_ACM = 21i32; +pub const wlan_notification_acm_disconnecting: WLAN_NOTIFICATION_ACM = 20i32; +pub const wlan_notification_acm_end: WLAN_NOTIFICATION_ACM = 28i32; +pub const wlan_notification_acm_filter_list_change: WLAN_NOTIFICATION_ACM = 12i32; +pub const wlan_notification_acm_interface_arrival: WLAN_NOTIFICATION_ACM = 13i32; +pub const wlan_notification_acm_interface_removal: WLAN_NOTIFICATION_ACM = 14i32; +pub const wlan_notification_acm_network_available: WLAN_NOTIFICATION_ACM = 19i32; +pub const wlan_notification_acm_network_not_available: WLAN_NOTIFICATION_ACM = 18i32; +pub const wlan_notification_acm_operational_state_change: WLAN_NOTIFICATION_ACM = 27i32; +pub const wlan_notification_acm_power_setting_change: WLAN_NOTIFICATION_ACM = 6i32; +pub const wlan_notification_acm_profile_blocked: WLAN_NOTIFICATION_ACM = 25i32; +pub const wlan_notification_acm_profile_change: WLAN_NOTIFICATION_ACM = 15i32; +pub const wlan_notification_acm_profile_name_change: WLAN_NOTIFICATION_ACM = 16i32; +pub const wlan_notification_acm_profile_unblocked: WLAN_NOTIFICATION_ACM = 23i32; +pub const wlan_notification_acm_profiles_exhausted: WLAN_NOTIFICATION_ACM = 17i32; +pub const wlan_notification_acm_scan_complete: WLAN_NOTIFICATION_ACM = 7i32; +pub const wlan_notification_acm_scan_fail: WLAN_NOTIFICATION_ACM = 8i32; +pub const wlan_notification_acm_scan_list_refresh: WLAN_NOTIFICATION_ACM = 26i32; +pub const wlan_notification_acm_screen_power_change: WLAN_NOTIFICATION_ACM = 24i32; +pub const wlan_notification_acm_start: WLAN_NOTIFICATION_ACM = 0i32; +pub const wlan_notification_msm_adapter_operation_mode_change: WLAN_NOTIFICATION_MSM = 14i32; +pub const wlan_notification_msm_adapter_removal: WLAN_NOTIFICATION_MSM = 13i32; +pub const wlan_notification_msm_associated: WLAN_NOTIFICATION_MSM = 2i32; +pub const wlan_notification_msm_associating: WLAN_NOTIFICATION_MSM = 1i32; +pub const wlan_notification_msm_authenticating: WLAN_NOTIFICATION_MSM = 3i32; +pub const wlan_notification_msm_connected: WLAN_NOTIFICATION_MSM = 4i32; +pub const wlan_notification_msm_disassociating: WLAN_NOTIFICATION_MSM = 9i32; +pub const wlan_notification_msm_disconnected: WLAN_NOTIFICATION_MSM = 10i32; +pub const wlan_notification_msm_end: WLAN_NOTIFICATION_MSM = 17i32; +pub const wlan_notification_msm_link_degraded: WLAN_NOTIFICATION_MSM = 15i32; +pub const wlan_notification_msm_link_improved: WLAN_NOTIFICATION_MSM = 16i32; +pub const wlan_notification_msm_peer_join: WLAN_NOTIFICATION_MSM = 11i32; +pub const wlan_notification_msm_peer_leave: WLAN_NOTIFICATION_MSM = 12i32; +pub const wlan_notification_msm_radio_state_change: WLAN_NOTIFICATION_MSM = 7i32; +pub const wlan_notification_msm_roaming_end: WLAN_NOTIFICATION_MSM = 6i32; +pub const wlan_notification_msm_roaming_start: WLAN_NOTIFICATION_MSM = 5i32; +pub const wlan_notification_msm_signal_quality_change: WLAN_NOTIFICATION_MSM = 8i32; +pub const wlan_notification_msm_start: WLAN_NOTIFICATION_MSM = 0i32; +pub const wlan_notification_security_end: WLAN_NOTIFICATION_SECURITY = 1i32; +pub const wlan_notification_security_start: WLAN_NOTIFICATION_SECURITY = 0i32; +pub const wlan_opcode_value_type_invalid: WLAN_OPCODE_VALUE_TYPE = 3i32; +pub const wlan_opcode_value_type_query_only: WLAN_OPCODE_VALUE_TYPE = 0i32; +pub const wlan_opcode_value_type_set_by_group_policy: WLAN_OPCODE_VALUE_TYPE = 1i32; +pub const wlan_opcode_value_type_set_by_user: WLAN_OPCODE_VALUE_TYPE = 2i32; +pub const wlan_operational_state_going_off: WLAN_OPERATIONAL_STATE = 3i32; +pub const wlan_operational_state_going_on: WLAN_OPERATIONAL_STATE = 4i32; +pub const wlan_operational_state_off: WLAN_OPERATIONAL_STATE = 1i32; +pub const wlan_operational_state_on: WLAN_OPERATIONAL_STATE = 2i32; +pub const wlan_operational_state_unknown: WLAN_OPERATIONAL_STATE = 0i32; +pub const wlan_power_setting_invalid: WLAN_POWER_SETTING = 4i32; +pub const wlan_power_setting_low_saving: WLAN_POWER_SETTING = 1i32; +pub const wlan_power_setting_maximum_saving: WLAN_POWER_SETTING = 3i32; +pub const wlan_power_setting_medium_saving: WLAN_POWER_SETTING = 2i32; +pub const wlan_power_setting_no_saving: WLAN_POWER_SETTING = 0i32; +pub const wlan_secure_ac_enabled: WLAN_SECURABLE_OBJECT = 2i32; +pub const wlan_secure_add_new_all_user_profiles: WLAN_SECURABLE_OBJECT = 9i32; +pub const wlan_secure_add_new_per_user_profiles: WLAN_SECURABLE_OBJECT = 10i32; +pub const wlan_secure_all_user_profiles_order: WLAN_SECURABLE_OBJECT = 8i32; +pub const wlan_secure_bc_scan_enabled: WLAN_SECURABLE_OBJECT = 3i32; +pub const wlan_secure_bss_type: WLAN_SECURABLE_OBJECT = 4i32; +pub const wlan_secure_current_operation_mode: WLAN_SECURABLE_OBJECT = 12i32; +pub const wlan_secure_deny_list: WLAN_SECURABLE_OBJECT = 1i32; +pub const wlan_secure_get_plaintext_key: WLAN_SECURABLE_OBJECT = 13i32; +pub const wlan_secure_hosted_network_elevated_access: WLAN_SECURABLE_OBJECT = 14i32; +pub const wlan_secure_ihv_control: WLAN_SECURABLE_OBJECT = 7i32; +pub const wlan_secure_interface_properties: WLAN_SECURABLE_OBJECT = 6i32; +pub const wlan_secure_media_streaming_mode_enabled: WLAN_SECURABLE_OBJECT = 11i32; +pub const wlan_secure_permit_list: WLAN_SECURABLE_OBJECT = 0i32; +pub const wlan_secure_show_denied: WLAN_SECURABLE_OBJECT = 5i32; +pub const wlan_secure_virtual_station_extensibility: WLAN_SECURABLE_OBJECT = 15i32; +pub const wlan_secure_wfd_elevated_access: WLAN_SECURABLE_OBJECT = 16i32; +pub type CH_DESCRIPTION_TYPE = i32; +pub type DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY = u32; +pub type DEVPROP_PCIDEVICE_ACSSUPPORT = u32; +pub type DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = u32; +pub type DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = u32; +pub type DEVPROP_PCIDEVICE_INTERRUPTTYPE = u32; +pub type DEVPROP_PCIDEVICE_SRIOVSUPPORT = u32; +pub type DEVPROP_PCIEXPRESSDEVICE_LINKSPEED = u32; +pub type DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH = u32; +pub type DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE = u32; +pub type DEVPROP_PCIEXPRESSDEVICE_SPEC_VERSION = u32; +pub type DEVPROP_PCIROOTBUS_BUSWIDTH = u32; +pub type DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = u32; +pub type DEVPROP_PCIROOTBUS_SECONDARYINTERFACE = u32; +pub type DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES = u32; +pub type DOT11EXT_IHV_CONNECTION_PHASE = i32; +pub type DOT11EXT_IHV_INDICATION_TYPE = i32; +pub type DOT11_AC_PARAM = i32; +pub type DOT11_ADHOC_AUTH_ALGORITHM = i32; +pub type DOT11_ADHOC_CIPHER_ALGORITHM = i32; +pub type DOT11_ADHOC_CONNECT_FAIL_REASON = i32; +pub type DOT11_ADHOC_NETWORK_CONNECTION_STATUS = i32; +pub type DOT11_ANQP_QUERY_RESULT = i32; +pub type DOT11_ASSOCIATION_STATE = i32; +pub type DOT11_AUTH_ALGORITHM = i32; +pub type DOT11_BAND = i32; +pub type DOT11_BSS_TYPE = i32; +pub type DOT11_CIPHER_ALGORITHM = i32; +pub type DOT11_DIRECTION = i32; +pub type DOT11_DIVERSITY_SUPPORT = i32; +pub type DOT11_DS_INFO = i32; +pub type DOT11_HOP_ALGO_ADOPTED = i32; +pub type DOT11_KEY_DIRECTION = i32; +pub type DOT11_MANUFACTURING_CALLBACK_TYPE = i32; +pub type DOT11_MANUFACTURING_SELF_TEST_TYPE = i32; +pub type DOT11_MANUFACTURING_TEST_TYPE = i32; +pub type DOT11_MSONEX_RESULT = i32; +pub type DOT11_OFFLOAD_TYPE = i32; +pub type DOT11_PHY_TYPE = i32; +pub type DOT11_POWER_MODE = i32; +pub type DOT11_POWER_MODE_REASON = i32; +pub type DOT11_RADIO_STATE = i32; +pub type DOT11_RESET_TYPE = i32; +pub type DOT11_SCAN_TYPE = i32; +pub type DOT11_TEMP_TYPE = i32; +pub type DOT11_UPDATE_IE_OP = i32; +pub type DOT11_WFD_DISCOVER_TYPE = i32; +pub type DOT11_WFD_SCAN_TYPE = i32; +pub type DOT11_WPS_CONFIG_METHOD = i32; +pub type DOT11_WPS_DEVICE_PASSWORD_ID = i32; +pub type ONEX_AUTH_IDENTITY = i32; +pub type ONEX_AUTH_RESTART_REASON = i32; +pub type ONEX_AUTH_STATUS = i32; +pub type ONEX_EAP_METHOD_BACKEND_SUPPORT = i32; +pub type ONEX_NOTIFICATION_TYPE = i32; +pub type ONEX_REASON_CODE = i32; +pub type WFD_ROLE_TYPE = i32; +pub type WLAN_ADHOC_NETWORK_STATE = i32; +pub type WLAN_AUTOCONF_OPCODE = i32; +pub type WLAN_CONNECTION_MODE = i32; +pub type WLAN_CONNECTION_NOTIFICATION_FLAGS = u32; +pub type WLAN_FILTER_LIST_TYPE = i32; +pub type WLAN_HOSTED_NETWORK_NOTIFICATION_CODE = i32; +pub type WLAN_HOSTED_NETWORK_OPCODE = i32; +pub type WLAN_HOSTED_NETWORK_PEER_AUTH_STATE = i32; +pub type WLAN_HOSTED_NETWORK_REASON = i32; +pub type WLAN_HOSTED_NETWORK_STATE = i32; +pub type WLAN_IHV_CONTROL_TYPE = i32; +pub type WLAN_INTERFACE_STATE = i32; +pub type WLAN_INTERFACE_TYPE = i32; +pub type WLAN_INTF_OPCODE = i32; +pub type WLAN_NOTIFICATION_ACM = i32; +pub type WLAN_NOTIFICATION_MSM = i32; +pub type WLAN_NOTIFICATION_SECURITY = i32; +pub type WLAN_NOTIFICATION_SOURCES = u32; +pub type WLAN_OPCODE_VALUE_TYPE = i32; +pub type WLAN_OPERATIONAL_STATE = i32; +pub type WLAN_POWER_SETTING = i32; +pub type WLAN_SECURABLE_OBJECT = i32; +pub type WLAN_SET_EAPHOST_FLAGS = u32; +pub type WL_DISPLAY_PAGES = i32; +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Security_ExtensibleAuthenticationProtocol\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] +pub struct DOT11EXT_APIS { + pub Dot11ExtAllocateBuffer: DOT11EXT_ALLOCATE_BUFFER, + pub Dot11ExtFreeBuffer: DOT11EXT_FREE_BUFFER, + pub Dot11ExtSetProfileCustomUserData: DOT11EXT_SET_PROFILE_CUSTOM_USER_DATA, + pub Dot11ExtGetProfileCustomUserData: DOT11EXT_GET_PROFILE_CUSTOM_USER_DATA, + pub Dot11ExtSetCurrentProfile: DOT11EXT_SET_CURRENT_PROFILE, + pub Dot11ExtSendUIRequest: DOT11EXT_SEND_UI_REQUEST, + pub Dot11ExtPreAssociateCompletion: DOT11EXT_PRE_ASSOCIATE_COMPLETION, + pub Dot11ExtPostAssociateCompletion: DOT11EXT_POST_ASSOCIATE_COMPLETION, + pub Dot11ExtSendNotification: DOT11EXT_SEND_NOTIFICATION, + pub Dot11ExtSendPacket: DOT11EXT_SEND_PACKET, + pub Dot11ExtSetEtherTypeHandling: DOT11EXT_SET_ETHERTYPE_HANDLING, + pub Dot11ExtSetAuthAlgorithm: DOT11EXT_SET_AUTH_ALGORITHM, + pub Dot11ExtSetUnicastCipherAlgorithm: DOT11EXT_SET_UNICAST_CIPHER_ALGORITHM, + pub Dot11ExtSetMulticastCipherAlgorithm: DOT11EXT_SET_MULTICAST_CIPHER_ALGORITHM, + pub Dot11ExtSetDefaultKey: DOT11EXT_SET_DEFAULT_KEY, + pub Dot11ExtSetKeyMappingKey: DOT11EXT_SET_KEY_MAPPING_KEY, + pub Dot11ExtSetDefaultKeyId: DOT11EXT_SET_DEFAULT_KEY_ID, + pub Dot11ExtNicSpecificExtension: DOT11EXT_NIC_SPECIFIC_EXTENSION, + pub Dot11ExtSetExcludeUnencrypted: DOT11EXT_SET_EXCLUDE_UNENCRYPTED, + pub Dot11ExtStartOneX: DOT11EXT_ONEX_START, + pub Dot11ExtStopOneX: DOT11EXT_ONEX_STOP, + pub Dot11ExtProcessSecurityPacket: DOT11EXT_PROCESS_ONEX_PACKET, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] +impl ::core::marker::Copy for DOT11EXT_APIS {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] +impl ::core::clone::Clone for DOT11EXT_APIS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11EXT_IHV_CONNECTIVITY_PROFILE { + pub pszXmlFragmentIhvConnectivity: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for DOT11EXT_IHV_CONNECTIVITY_PROFILE {} +impl ::core::clone::Clone for DOT11EXT_IHV_CONNECTIVITY_PROFILE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11EXT_IHV_DISCOVERY_PROFILE { + pub IhvConnectivityProfile: DOT11EXT_IHV_CONNECTIVITY_PROFILE, + pub IhvSecurityProfile: DOT11EXT_IHV_SECURITY_PROFILE, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11EXT_IHV_DISCOVERY_PROFILE {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11EXT_IHV_DISCOVERY_PROFILE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11EXT_IHV_DISCOVERY_PROFILE_LIST { + pub dwCount: u32, + pub pIhvDiscoveryProfiles: *mut DOT11EXT_IHV_DISCOVERY_PROFILE, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11EXT_IHV_DISCOVERY_PROFILE_LIST {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11EXT_IHV_DISCOVERY_PROFILE_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_System_RemoteDesktop\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Security_ExtensibleAuthenticationProtocol", feature = "Win32_System_RemoteDesktop"))] +pub struct DOT11EXT_IHV_HANDLERS { + pub Dot11ExtIhvDeinitService: DOT11EXTIHV_DEINIT_SERVICE, + pub Dot11ExtIhvInitAdapter: DOT11EXTIHV_INIT_ADAPTER, + pub Dot11ExtIhvDeinitAdapter: DOT11EXTIHV_DEINIT_ADAPTER, + pub Dot11ExtIhvPerformPreAssociate: DOT11EXTIHV_PERFORM_PRE_ASSOCIATE, + pub Dot11ExtIhvAdapterReset: DOT11EXTIHV_ADAPTER_RESET, + pub Dot11ExtIhvPerformPostAssociate: DOT11EXTIHV_PERFORM_POST_ASSOCIATE, + pub Dot11ExtIhvStopPostAssociate: DOT11EXTIHV_STOP_POST_ASSOCIATE, + pub Dot11ExtIhvValidateProfile: DOT11EXTIHV_VALIDATE_PROFILE, + pub Dot11ExtIhvPerformCapabilityMatch: DOT11EXTIHV_PERFORM_CAPABILITY_MATCH, + pub Dot11ExtIhvCreateDiscoveryProfiles: DOT11EXTIHV_CREATE_DISCOVERY_PROFILES, + pub Dot11ExtIhvProcessSessionChange: DOT11EXTIHV_PROCESS_SESSION_CHANGE, + pub Dot11ExtIhvReceiveIndication: DOT11EXTIHV_RECEIVE_INDICATION, + pub Dot11ExtIhvReceivePacket: DOT11EXTIHV_RECEIVE_PACKET, + pub Dot11ExtIhvSendPacketCompletion: DOT11EXTIHV_SEND_PACKET_COMPLETION, + pub Dot11ExtIhvIsUIRequestPending: DOT11EXTIHV_IS_UI_REQUEST_PENDING, + pub Dot11ExtIhvProcessUIResponse: DOT11EXTIHV_PROCESS_UI_RESPONSE, + pub Dot11ExtIhvQueryUIRequest: DOT11EXTIHV_QUERY_UI_REQUEST, + pub Dot11ExtIhvOnexIndicateResult: DOT11EXTIHV_ONEX_INDICATE_RESULT, + pub Dot11ExtIhvControl: DOT11EXTIHV_CONTROL, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Security_ExtensibleAuthenticationProtocol", feature = "Win32_System_RemoteDesktop"))] +impl ::core::marker::Copy for DOT11EXT_IHV_HANDLERS {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Security_ExtensibleAuthenticationProtocol", feature = "Win32_System_RemoteDesktop"))] +impl ::core::clone::Clone for DOT11EXT_IHV_HANDLERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_ExtensibleAuthenticationProtocol\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] +pub struct DOT11EXT_IHV_PARAMS { + pub dot11ExtIhvProfileParams: DOT11EXT_IHV_PROFILE_PARAMS, + pub wstrProfileName: [u16; 256], + pub dwProfileTypeFlags: u32, + pub interfaceGuid: ::windows_sys::core::GUID, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] +impl ::core::marker::Copy for DOT11EXT_IHV_PARAMS {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] +impl ::core::clone::Clone for DOT11EXT_IHV_PARAMS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_ExtensibleAuthenticationProtocol\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] +pub struct DOT11EXT_IHV_PROFILE_PARAMS { + pub pSsidList: *mut DOT11EXT_IHV_SSID_LIST, + pub BssType: DOT11_BSS_TYPE, + pub pMSSecuritySettings: *mut DOT11_MSSECURITY_SETTINGS, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] +impl ::core::marker::Copy for DOT11EXT_IHV_PROFILE_PARAMS {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] +impl ::core::clone::Clone for DOT11EXT_IHV_PROFILE_PARAMS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11EXT_IHV_SECURITY_PROFILE { + pub pszXmlFragmentIhvSecurity: ::windows_sys::core::PWSTR, + pub bUseMSOnex: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11EXT_IHV_SECURITY_PROFILE {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11EXT_IHV_SECURITY_PROFILE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11EXT_IHV_SSID_LIST { + pub ulCount: u32, + pub SSIDs: [DOT11_SSID; 1], +} +impl ::core::marker::Copy for DOT11EXT_IHV_SSID_LIST {} +impl ::core::clone::Clone for DOT11EXT_IHV_SSID_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11EXT_IHV_UI_REQUEST { + pub dwSessionId: u32, + pub guidUIRequest: ::windows_sys::core::GUID, + pub UIPageClsid: ::windows_sys::core::GUID, + pub dwByteCount: u32, + pub pvUIRequest: *mut u8, +} +impl ::core::marker::Copy for DOT11EXT_IHV_UI_REQUEST {} +impl ::core::clone::Clone for DOT11EXT_IHV_UI_REQUEST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11EXT_VIRTUAL_STATION_APIS { + pub Dot11ExtRequestVirtualStation: DOT11EXT_REQUEST_VIRTUAL_STATION, + pub Dot11ExtReleaseVirtualStation: DOT11EXT_RELEASE_VIRTUAL_STATION, + pub Dot11ExtQueryVirtualStationProperties: DOT11EXT_QUERY_VIRTUAL_STATION_PROPERTIES, + pub Dot11ExtSetVirtualStationAPProperties: DOT11EXT_SET_VIRTUAL_STATION_AP_PROPERTIES, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11EXT_VIRTUAL_STATION_APIS {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11EXT_VIRTUAL_STATION_APIS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11EXT_VIRTUAL_STATION_AP_PROPERTY { + pub dot11SSID: DOT11_SSID, + pub dot11AuthAlgo: DOT11_AUTH_ALGORITHM, + pub dot11CipherAlgo: DOT11_CIPHER_ALGORITHM, + pub bIsPassPhrase: super::super::Foundation::BOOL, + pub dwKeyLength: u32, + pub ucKeyData: [u8; 64], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11EXT_VIRTUAL_STATION_AP_PROPERTY {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11EXT_VIRTUAL_STATION_AP_PROPERTY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_ACCESSNETWORKOPTIONS { + pub AccessNetworkType: u8, + pub Internet: u8, + pub ASRA: u8, + pub ESR: u8, + pub UESA: u8, +} +impl ::core::marker::Copy for DOT11_ACCESSNETWORKOPTIONS {} +impl ::core::clone::Clone for DOT11_ACCESSNETWORKOPTIONS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_ADAPTER { + pub gAdapterId: ::windows_sys::core::GUID, + pub pszDescription: ::windows_sys::core::PWSTR, + pub Dot11CurrentOpMode: DOT11_CURRENT_OPERATION_MODE, +} +impl ::core::marker::Copy for DOT11_ADAPTER {} +impl ::core::clone::Clone for DOT11_ADAPTER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_ADDITIONAL_IE { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uBeaconIEsOffset: u32, + pub uBeaconIEsLength: u32, + pub uResponseIEsOffset: u32, + pub uResponseIEsLength: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_ADDITIONAL_IE {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_ADDITIONAL_IE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub struct DOT11_ANQP_QUERY_COMPLETE_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub Status: DOT11_ANQP_QUERY_RESULT, + pub hContext: super::super::Foundation::HANDLE, + pub uResponseLength: u32, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::marker::Copy for DOT11_ANQP_QUERY_COMPLETE_PARAMETERS {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::clone::Clone for DOT11_ANQP_QUERY_COMPLETE_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_AP_JOIN_REQUEST { + pub uJoinFailureTimeout: u32, + pub OperationalRateSet: DOT11_RATE_SET, + pub uChCenterFrequency: u32, + pub dot11BSSDescription: DOT11_BSS_DESCRIPTION, +} +impl ::core::marker::Copy for DOT11_AP_JOIN_REQUEST {} +impl ::core::clone::Clone for DOT11_AP_JOIN_REQUEST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub struct DOT11_ASSOCIATION_COMPLETION_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub MacAddr: [u8; 6], + pub uStatus: u32, + pub bReAssocReq: super::super::Foundation::BOOLEAN, + pub bReAssocResp: super::super::Foundation::BOOLEAN, + pub uAssocReqOffset: u32, + pub uAssocReqSize: u32, + pub uAssocRespOffset: u32, + pub uAssocRespSize: u32, + pub uBeaconOffset: u32, + pub uBeaconSize: u32, + pub uIHVDataOffset: u32, + pub uIHVDataSize: u32, + pub AuthAlgo: DOT11_AUTH_ALGORITHM, + pub UnicastCipher: DOT11_CIPHER_ALGORITHM, + pub MulticastCipher: DOT11_CIPHER_ALGORITHM, + pub uActivePhyListOffset: u32, + pub uActivePhyListSize: u32, + pub bFourAddressSupported: super::super::Foundation::BOOLEAN, + pub bPortAuthorized: super::super::Foundation::BOOLEAN, + pub ucActiveQoSProtocol: u8, + pub DSInfo: DOT11_DS_INFO, + pub uEncapTableOffset: u32, + pub uEncapTableSize: u32, + pub MulticastMgmtCipher: DOT11_CIPHER_ALGORITHM, + pub uAssocComebackTime: u32, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::marker::Copy for DOT11_ASSOCIATION_COMPLETION_PARAMETERS {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::clone::Clone for DOT11_ASSOCIATION_COMPLETION_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_ASSOCIATION_INFO_EX { + pub PeerMacAddress: [u8; 6], + pub BSSID: [u8; 6], + pub usCapabilityInformation: u16, + pub usListenInterval: u16, + pub ucPeerSupportedRates: [u8; 255], + pub usAssociationID: u16, + pub dot11AssociationState: DOT11_ASSOCIATION_STATE, + pub dot11PowerMode: DOT11_POWER_MODE, + pub liAssociationUpTime: i64, + pub ullNumOfTxPacketSuccesses: u64, + pub ullNumOfTxPacketFailures: u64, + pub ullNumOfRxPacketSuccesses: u64, + pub ullNumOfRxPacketFailures: u64, +} +impl ::core::marker::Copy for DOT11_ASSOCIATION_INFO_EX {} +impl ::core::clone::Clone for DOT11_ASSOCIATION_INFO_EX { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_ASSOCIATION_INFO_LIST { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uNumOfEntries: u32, + pub uTotalNumOfEntries: u32, + pub dot11AssocInfo: [DOT11_ASSOCIATION_INFO_EX; 1], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_ASSOCIATION_INFO_LIST {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_ASSOCIATION_INFO_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_ASSOCIATION_PARAMS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub BSSID: [u8; 6], + pub uAssocRequestIEsOffset: u32, + pub uAssocRequestIEsLength: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_ASSOCIATION_PARAMS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_ASSOCIATION_PARAMS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_ASSOCIATION_START_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub MacAddr: [u8; 6], + pub SSID: DOT11_SSID, + pub uIHVDataOffset: u32, + pub uIHVDataSize: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_ASSOCIATION_START_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_ASSOCIATION_START_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_AUTH_ALGORITHM_LIST { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uNumOfEntries: u32, + pub uTotalNumOfEntries: u32, + pub AlgorithmIds: [DOT11_AUTH_ALGORITHM; 1], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_AUTH_ALGORITHM_LIST {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_AUTH_ALGORITHM_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_AUTH_CIPHER_PAIR { + pub AuthAlgoId: DOT11_AUTH_ALGORITHM, + pub CipherAlgoId: DOT11_CIPHER_ALGORITHM, +} +impl ::core::marker::Copy for DOT11_AUTH_CIPHER_PAIR {} +impl ::core::clone::Clone for DOT11_AUTH_CIPHER_PAIR { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_AUTH_CIPHER_PAIR_LIST { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uNumOfEntries: u32, + pub uTotalNumOfEntries: u32, + pub AuthCipherPairs: [DOT11_AUTH_CIPHER_PAIR; 1], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_AUTH_CIPHER_PAIR_LIST {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_AUTH_CIPHER_PAIR_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_AVAILABLE_CHANNEL_LIST { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uNumOfEntries: u32, + pub uTotalNumOfEntries: u32, + pub uChannelNumber: [u32; 1], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_AVAILABLE_CHANNEL_LIST {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_AVAILABLE_CHANNEL_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_AVAILABLE_FREQUENCY_LIST { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uNumOfEntries: u32, + pub uTotalNumOfEntries: u32, + pub uFrequencyValue: [u32; 1], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_AVAILABLE_FREQUENCY_LIST {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_AVAILABLE_FREQUENCY_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_BSSID_CANDIDATE { + pub BSSID: [u8; 6], + pub uFlags: u32, +} +impl ::core::marker::Copy for DOT11_BSSID_CANDIDATE {} +impl ::core::clone::Clone for DOT11_BSSID_CANDIDATE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_BSSID_LIST { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uNumOfEntries: u32, + pub uTotalNumOfEntries: u32, + pub BSSIDs: [u8; 6], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_BSSID_LIST {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_BSSID_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_BSS_DESCRIPTION { + pub uReserved: u32, + pub dot11BSSID: [u8; 6], + pub dot11BSSType: DOT11_BSS_TYPE, + pub usBeaconPeriod: u16, + pub ullTimestamp: u64, + pub usCapabilityInformation: u16, + pub uBufferLength: u32, + pub ucBuffer: [u8; 1], +} +impl ::core::marker::Copy for DOT11_BSS_DESCRIPTION {} +impl ::core::clone::Clone for DOT11_BSS_DESCRIPTION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11_BSS_ENTRY { + pub uPhyId: u32, + pub PhySpecificInfo: DOT11_BSS_ENTRY_PHY_SPECIFIC_INFO, + pub dot11BSSID: [u8; 6], + pub dot11BSSType: DOT11_BSS_TYPE, + pub lRSSI: i32, + pub uLinkQuality: u32, + pub bInRegDomain: super::super::Foundation::BOOLEAN, + pub usBeaconPeriod: u16, + pub ullTimestamp: u64, + pub ullHostTimestamp: u64, + pub usCapabilityInformation: u16, + pub uBufferLength: u32, + pub ucBuffer: [u8; 1], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11_BSS_ENTRY {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11_BSS_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union DOT11_BSS_ENTRY_PHY_SPECIFIC_INFO { + pub uChCenterFrequency: u32, + pub FHSS: DOT11_BSS_ENTRY_PHY_SPECIFIC_INFO_0, +} +impl ::core::marker::Copy for DOT11_BSS_ENTRY_PHY_SPECIFIC_INFO {} +impl ::core::clone::Clone for DOT11_BSS_ENTRY_PHY_SPECIFIC_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_BSS_ENTRY_PHY_SPECIFIC_INFO_0 { + pub uHopPattern: u32, + pub uHopSet: u32, + pub uDwellTime: u32, +} +impl ::core::marker::Copy for DOT11_BSS_ENTRY_PHY_SPECIFIC_INFO_0 {} +impl ::core::clone::Clone for DOT11_BSS_ENTRY_PHY_SPECIFIC_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_BSS_LIST { + pub uNumOfBytes: u32, + pub pucBuffer: *mut u8, +} +impl ::core::marker::Copy for DOT11_BSS_LIST {} +impl ::core::clone::Clone for DOT11_BSS_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_BYTE_ARRAY { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uNumOfBytes: u32, + pub uTotalNumOfBytes: u32, + pub ucBuffer: [u8; 1], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_BYTE_ARRAY {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_BYTE_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_CAN_SUSTAIN_AP_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub ulReason: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_CAN_SUSTAIN_AP_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_CAN_SUSTAIN_AP_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_CHANNEL_HINT { + pub Dot11PhyType: DOT11_PHY_TYPE, + pub uChannelNumber: u32, +} +impl ::core::marker::Copy for DOT11_CHANNEL_HINT {} +impl ::core::clone::Clone for DOT11_CHANNEL_HINT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_CIPHER_ALGORITHM_LIST { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uNumOfEntries: u32, + pub uTotalNumOfEntries: u32, + pub AlgorithmIds: [DOT11_CIPHER_ALGORITHM; 1], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_CIPHER_ALGORITHM_LIST {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_CIPHER_ALGORITHM_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub struct DOT11_CIPHER_DEFAULT_KEY_VALUE { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uKeyIndex: u32, + pub AlgorithmId: DOT11_CIPHER_ALGORITHM, + pub MacAddr: [u8; 6], + pub bDelete: super::super::Foundation::BOOLEAN, + pub bStatic: super::super::Foundation::BOOLEAN, + pub usKeyLength: u16, + pub ucKey: [u8; 1], +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::marker::Copy for DOT11_CIPHER_DEFAULT_KEY_VALUE {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::clone::Clone for DOT11_CIPHER_DEFAULT_KEY_VALUE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11_CIPHER_KEY_MAPPING_KEY_VALUE { + pub PeerMacAddr: [u8; 6], + pub AlgorithmId: DOT11_CIPHER_ALGORITHM, + pub Direction: DOT11_DIRECTION, + pub bDelete: super::super::Foundation::BOOLEAN, + pub bStatic: super::super::Foundation::BOOLEAN, + pub usKeyLength: u16, + pub ucKey: [u8; 1], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11_CIPHER_KEY_MAPPING_KEY_VALUE {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11_CIPHER_KEY_MAPPING_KEY_VALUE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_CONNECTION_COMPLETION_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uStatus: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_CONNECTION_COMPLETION_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_CONNECTION_COMPLETION_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_CONNECTION_START_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub BSSType: DOT11_BSS_TYPE, + pub AdhocBSSID: [u8; 6], + pub AdhocSSID: DOT11_SSID, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_CONNECTION_START_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_CONNECTION_START_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_COUNTERS_ENTRY { + pub uTransmittedFragmentCount: u32, + pub uMulticastTransmittedFrameCount: u32, + pub uFailedCount: u32, + pub uRetryCount: u32, + pub uMultipleRetryCount: u32, + pub uFrameDuplicateCount: u32, + pub uRTSSuccessCount: u32, + pub uRTSFailureCount: u32, + pub uACKFailureCount: u32, + pub uReceivedFragmentCount: u32, + pub uMulticastReceivedFrameCount: u32, + pub uFCSErrorCount: u32, + pub uTransmittedFrameCount: u32, +} +impl ::core::marker::Copy for DOT11_COUNTERS_ENTRY {} +impl ::core::clone::Clone for DOT11_COUNTERS_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_COUNTRY_OR_REGION_STRING_LIST { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uNumOfEntries: u32, + pub uTotalNumOfEntries: u32, + pub CountryOrRegionStrings: [u8; 3], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_COUNTRY_OR_REGION_STRING_LIST {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_COUNTRY_OR_REGION_STRING_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_CURRENT_OFFLOAD_CAPABILITY { + pub uReserved: u32, + pub uFlags: u32, +} +impl ::core::marker::Copy for DOT11_CURRENT_OFFLOAD_CAPABILITY {} +impl ::core::clone::Clone for DOT11_CURRENT_OFFLOAD_CAPABILITY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_CURRENT_OPERATION_MODE { + pub uReserved: u32, + pub uCurrentOpMode: u32, +} +impl ::core::marker::Copy for DOT11_CURRENT_OPERATION_MODE {} +impl ::core::clone::Clone for DOT11_CURRENT_OPERATION_MODE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11_CURRENT_OPTIONAL_CAPABILITY { + pub uReserved: u32, + pub bDot11CFPollable: super::super::Foundation::BOOLEAN, + pub bDot11PCF: super::super::Foundation::BOOLEAN, + pub bDot11PCFMPDUTransferToPC: super::super::Foundation::BOOLEAN, + pub bStrictlyOrderedServiceClass: super::super::Foundation::BOOLEAN, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11_CURRENT_OPTIONAL_CAPABILITY {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11_CURRENT_OPTIONAL_CAPABILITY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_DATA_RATE_MAPPING_ENTRY { + pub ucDataRateIndex: u8, + pub ucDataRateFlag: u8, + pub usDataRateValue: u16, +} +impl ::core::marker::Copy for DOT11_DATA_RATE_MAPPING_ENTRY {} +impl ::core::clone::Clone for DOT11_DATA_RATE_MAPPING_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_DATA_RATE_MAPPING_TABLE { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uDataRateMappingLength: u32, + pub DataRateMappingEntries: [DOT11_DATA_RATE_MAPPING_ENTRY; 126], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_DATA_RATE_MAPPING_TABLE {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_DATA_RATE_MAPPING_TABLE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11_DEFAULT_WEP_OFFLOAD { + pub uReserved: u32, + pub hOffloadContext: super::super::Foundation::HANDLE, + pub hOffload: super::super::Foundation::HANDLE, + pub dwIndex: u32, + pub dot11OffloadType: DOT11_OFFLOAD_TYPE, + pub dwAlgorithm: u32, + pub uFlags: u32, + pub dot11KeyDirection: DOT11_KEY_DIRECTION, + pub ucMacAddress: [u8; 6], + pub uNumOfRWsOnMe: u32, + pub dot11IV48Counters: [DOT11_IV48_COUNTER; 16], + pub usDot11RWBitMaps: [u16; 16], + pub usKeyLength: u16, + pub ucKey: [u8; 1], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11_DEFAULT_WEP_OFFLOAD {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11_DEFAULT_WEP_OFFLOAD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11_DEFAULT_WEP_UPLOAD { + pub uReserved: u32, + pub dot11OffloadType: DOT11_OFFLOAD_TYPE, + pub hOffload: super::super::Foundation::HANDLE, + pub uNumOfRWsUsed: u32, + pub dot11IV48Counters: [DOT11_IV48_COUNTER; 16], + pub usDot11RWBitMaps: [u16; 16], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11_DEFAULT_WEP_UPLOAD {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11_DEFAULT_WEP_UPLOAD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_DISASSOCIATE_PEER_REQUEST { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub PeerMacAddr: [u8; 6], + pub usReason: u16, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_DISASSOCIATE_PEER_REQUEST {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_DISASSOCIATE_PEER_REQUEST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_DISASSOCIATION_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub MacAddr: [u8; 6], + pub uReason: u32, + pub uIHVDataOffset: u32, + pub uIHVDataSize: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_DISASSOCIATION_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_DISASSOCIATION_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11_DIVERSITY_SELECTION_RX { + pub uAntennaListIndex: u32, + pub bDiversitySelectionRX: super::super::Foundation::BOOLEAN, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11_DIVERSITY_SELECTION_RX {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11_DIVERSITY_SELECTION_RX { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11_DIVERSITY_SELECTION_RX_LIST { + pub uNumOfEntries: u32, + pub uTotalNumOfEntries: u32, + pub dot11DiversitySelectionRx: [DOT11_DIVERSITY_SELECTION_RX; 1], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11_DIVERSITY_SELECTION_RX_LIST {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11_DIVERSITY_SELECTION_RX_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`"] +#[cfg(feature = "Win32_Security_ExtensibleAuthenticationProtocol")] +pub struct DOT11_EAP_RESULT { + pub dwFailureReasonCode: u32, + pub pAttribArray: *mut super::super::Security::ExtensibleAuthenticationProtocol::EAP_ATTRIBUTES, +} +#[cfg(feature = "Win32_Security_ExtensibleAuthenticationProtocol")] +impl ::core::marker::Copy for DOT11_EAP_RESULT {} +#[cfg(feature = "Win32_Security_ExtensibleAuthenticationProtocol")] +impl ::core::clone::Clone for DOT11_EAP_RESULT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_ENCAP_ENTRY { + pub usEtherType: u16, + pub usEncapType: u16, +} +impl ::core::marker::Copy for DOT11_ENCAP_ENTRY {} +impl ::core::clone::Clone for DOT11_ENCAP_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11_ERP_PHY_ATTRIBUTES { + pub HRDSSSAttributes: DOT11_HRDSSS_PHY_ATTRIBUTES, + pub bERPPBCCOptionImplemented: super::super::Foundation::BOOLEAN, + pub bDSSSOFDMOptionImplemented: super::super::Foundation::BOOLEAN, + pub bShortSlotTimeOptionImplemented: super::super::Foundation::BOOLEAN, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11_ERP_PHY_ATTRIBUTES {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11_ERP_PHY_ATTRIBUTES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub struct DOT11_EXTAP_ATTRIBUTES { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uScanSSIDListSize: u32, + pub uDesiredSSIDListSize: u32, + pub uPrivacyExemptionListSize: u32, + pub uAssociationTableSize: u32, + pub uDefaultKeyTableSize: u32, + pub uWEPKeyValueMaxLength: u32, + pub bStrictlyOrderedServiceClassImplemented: super::super::Foundation::BOOLEAN, + pub uNumSupportedCountryOrRegionStrings: u32, + pub pSupportedCountryOrRegionStrings: *mut u8, + pub uInfraNumSupportedUcastAlgoPairs: u32, + pub pInfraSupportedUcastAlgoPairs: *mut DOT11_AUTH_CIPHER_PAIR, + pub uInfraNumSupportedMcastAlgoPairs: u32, + pub pInfraSupportedMcastAlgoPairs: *mut DOT11_AUTH_CIPHER_PAIR, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::marker::Copy for DOT11_EXTAP_ATTRIBUTES {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::clone::Clone for DOT11_EXTAP_ATTRIBUTES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub struct DOT11_EXTSTA_ATTRIBUTES { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uScanSSIDListSize: u32, + pub uDesiredBSSIDListSize: u32, + pub uDesiredSSIDListSize: u32, + pub uExcludedMacAddressListSize: u32, + pub uPrivacyExemptionListSize: u32, + pub uKeyMappingTableSize: u32, + pub uDefaultKeyTableSize: u32, + pub uWEPKeyValueMaxLength: u32, + pub uPMKIDCacheSize: u32, + pub uMaxNumPerSTADefaultKeyTables: u32, + pub bStrictlyOrderedServiceClassImplemented: super::super::Foundation::BOOLEAN, + pub ucSupportedQoSProtocolFlags: u8, + pub bSafeModeImplemented: super::super::Foundation::BOOLEAN, + pub uNumSupportedCountryOrRegionStrings: u32, + pub pSupportedCountryOrRegionStrings: *mut u8, + pub uInfraNumSupportedUcastAlgoPairs: u32, + pub pInfraSupportedUcastAlgoPairs: *mut DOT11_AUTH_CIPHER_PAIR, + pub uInfraNumSupportedMcastAlgoPairs: u32, + pub pInfraSupportedMcastAlgoPairs: *mut DOT11_AUTH_CIPHER_PAIR, + pub uAdhocNumSupportedUcastAlgoPairs: u32, + pub pAdhocSupportedUcastAlgoPairs: *mut DOT11_AUTH_CIPHER_PAIR, + pub uAdhocNumSupportedMcastAlgoPairs: u32, + pub pAdhocSupportedMcastAlgoPairs: *mut DOT11_AUTH_CIPHER_PAIR, + pub bAutoPowerSaveMode: super::super::Foundation::BOOLEAN, + pub uMaxNetworkOffloadListSize: u32, + pub bMFPCapable: super::super::Foundation::BOOLEAN, + pub uInfraNumSupportedMcastMgmtAlgoPairs: u32, + pub pInfraSupportedMcastMgmtAlgoPairs: *mut DOT11_AUTH_CIPHER_PAIR, + pub bNeighborReportSupported: super::super::Foundation::BOOLEAN, + pub bAPChannelReportSupported: super::super::Foundation::BOOLEAN, + pub bActionFramesSupported: super::super::Foundation::BOOLEAN, + pub bANQPQueryOffloadSupported: super::super::Foundation::BOOLEAN, + pub bHESSIDConnectionSupported: super::super::Foundation::BOOLEAN, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::marker::Copy for DOT11_EXTSTA_ATTRIBUTES {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::clone::Clone for DOT11_EXTSTA_ATTRIBUTES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_EXTSTA_CAPABILITY { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uScanSSIDListSize: u32, + pub uDesiredBSSIDListSize: u32, + pub uDesiredSSIDListSize: u32, + pub uExcludedMacAddressListSize: u32, + pub uPrivacyExemptionListSize: u32, + pub uKeyMappingTableSize: u32, + pub uDefaultKeyTableSize: u32, + pub uWEPKeyValueMaxLength: u32, + pub uPMKIDCacheSize: u32, + pub uMaxNumPerSTADefaultKeyTables: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_EXTSTA_CAPABILITY {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_EXTSTA_CAPABILITY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_EXTSTA_RECV_CONTEXT { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uReceiveFlags: u32, + pub uPhyId: u32, + pub uChCenterFrequency: u32, + pub usNumberOfMPDUsReceived: u16, + pub lRSSI: i32, + pub ucDataRate: u8, + pub uSizeMediaSpecificInfo: u32, + pub pvMediaSpecificInfo: *mut ::core::ffi::c_void, + pub ullTimestamp: u64, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_EXTSTA_RECV_CONTEXT {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_EXTSTA_RECV_CONTEXT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_EXTSTA_SEND_CONTEXT { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub usExemptionActionType: u16, + pub uPhyId: u32, + pub uDelayedSleepValue: u32, + pub pvMediaSpecificInfo: *mut ::core::ffi::c_void, + pub uSendFlags: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_EXTSTA_SEND_CONTEXT {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_EXTSTA_SEND_CONTEXT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_FRAGMENT_DESCRIPTOR { + pub uOffset: u32, + pub uLength: u32, +} +impl ::core::marker::Copy for DOT11_FRAGMENT_DESCRIPTOR {} +impl ::core::clone::Clone for DOT11_FRAGMENT_DESCRIPTOR { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_GO_NEGOTIATION_CONFIRMATION_SEND_COMPLETE_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub PeerDeviceAddress: [u8; 6], + pub DialogToken: u8, + pub Status: i32, + pub uIEsOffset: u32, + pub uIEsLength: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_GO_NEGOTIATION_CONFIRMATION_SEND_COMPLETE_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_GO_NEGOTIATION_CONFIRMATION_SEND_COMPLETE_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_GO_NEGOTIATION_REQUEST_SEND_COMPLETE_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub PeerDeviceAddress: [u8; 6], + pub DialogToken: u8, + pub Status: i32, + pub uIEsOffset: u32, + pub uIEsLength: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_GO_NEGOTIATION_REQUEST_SEND_COMPLETE_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_GO_NEGOTIATION_REQUEST_SEND_COMPLETE_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_GO_NEGOTIATION_RESPONSE_SEND_COMPLETE_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub PeerDeviceAddress: [u8; 6], + pub DialogToken: u8, + pub Status: i32, + pub uIEsOffset: u32, + pub uIEsLength: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_GO_NEGOTIATION_RESPONSE_SEND_COMPLETE_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_GO_NEGOTIATION_RESPONSE_SEND_COMPLETE_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_HOPPING_PATTERN_ENTRY { + pub uHoppingPatternIndex: u32, + pub uRandomTableFieldNumber: u32, +} +impl ::core::marker::Copy for DOT11_HOPPING_PATTERN_ENTRY {} +impl ::core::clone::Clone for DOT11_HOPPING_PATTERN_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_HOPPING_PATTERN_ENTRY_LIST { + pub uNumOfEntries: u32, + pub uTotalNumOfEntries: u32, + pub dot11HoppingPatternEntry: [DOT11_HOPPING_PATTERN_ENTRY; 1], +} +impl ::core::marker::Copy for DOT11_HOPPING_PATTERN_ENTRY_LIST {} +impl ::core::clone::Clone for DOT11_HOPPING_PATTERN_ENTRY_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11_HRDSSS_PHY_ATTRIBUTES { + pub bShortPreambleOptionImplemented: super::super::Foundation::BOOLEAN, + pub bPBCCOptionImplemented: super::super::Foundation::BOOLEAN, + pub bChannelAgilityPresent: super::super::Foundation::BOOLEAN, + pub uHRCCAModeSupported: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11_HRDSSS_PHY_ATTRIBUTES {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11_HRDSSS_PHY_ATTRIBUTES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub struct DOT11_IBSS_PARAMS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub bJoinOnly: super::super::Foundation::BOOLEAN, + pub uIEsOffset: u32, + pub uIEsLength: u32, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::marker::Copy for DOT11_IBSS_PARAMS {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::clone::Clone for DOT11_IBSS_PARAMS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_IHV_VERSION_INFO { + pub dwVerMin: u32, + pub dwVerMax: u32, +} +impl ::core::marker::Copy for DOT11_IHV_VERSION_INFO {} +impl ::core::clone::Clone for DOT11_IHV_VERSION_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub struct DOT11_INCOMING_ASSOC_COMPLETION_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub PeerMacAddr: [u8; 6], + pub uStatus: u32, + pub ucErrorSource: u8, + pub bReAssocReq: super::super::Foundation::BOOLEAN, + pub bReAssocResp: super::super::Foundation::BOOLEAN, + pub uAssocReqOffset: u32, + pub uAssocReqSize: u32, + pub uAssocRespOffset: u32, + pub uAssocRespSize: u32, + pub AuthAlgo: DOT11_AUTH_ALGORITHM, + pub UnicastCipher: DOT11_CIPHER_ALGORITHM, + pub MulticastCipher: DOT11_CIPHER_ALGORITHM, + pub uActivePhyListOffset: u32, + pub uActivePhyListSize: u32, + pub uBeaconOffset: u32, + pub uBeaconSize: u32, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::marker::Copy for DOT11_INCOMING_ASSOC_COMPLETION_PARAMETERS {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::clone::Clone for DOT11_INCOMING_ASSOC_COMPLETION_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub struct DOT11_INCOMING_ASSOC_DECISION { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub PeerMacAddr: [u8; 6], + pub bAccept: super::super::Foundation::BOOLEAN, + pub usReasonCode: u16, + pub uAssocResponseIEsOffset: u32, + pub uAssocResponseIEsLength: u32, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::marker::Copy for DOT11_INCOMING_ASSOC_DECISION {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::clone::Clone for DOT11_INCOMING_ASSOC_DECISION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub struct DOT11_INCOMING_ASSOC_DECISION_V2 { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub PeerMacAddr: [u8; 6], + pub bAccept: super::super::Foundation::BOOLEAN, + pub usReasonCode: u16, + pub uAssocResponseIEsOffset: u32, + pub uAssocResponseIEsLength: u32, + pub WFDStatus: u8, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::marker::Copy for DOT11_INCOMING_ASSOC_DECISION_V2 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::clone::Clone for DOT11_INCOMING_ASSOC_DECISION_V2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub struct DOT11_INCOMING_ASSOC_REQUEST_RECEIVED_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub PeerMacAddr: [u8; 6], + pub bReAssocReq: super::super::Foundation::BOOLEAN, + pub uAssocReqOffset: u32, + pub uAssocReqSize: u32, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::marker::Copy for DOT11_INCOMING_ASSOC_REQUEST_RECEIVED_PARAMETERS {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::clone::Clone for DOT11_INCOMING_ASSOC_REQUEST_RECEIVED_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_INCOMING_ASSOC_STARTED_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub PeerMacAddr: [u8; 6], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_INCOMING_ASSOC_STARTED_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_INCOMING_ASSOC_STARTED_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_INVITATION_REQUEST_SEND_COMPLETE_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub PeerDeviceAddress: [u8; 6], + pub ReceiverAddress: [u8; 6], + pub DialogToken: u8, + pub Status: i32, + pub uIEsOffset: u32, + pub uIEsLength: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_INVITATION_REQUEST_SEND_COMPLETE_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_INVITATION_REQUEST_SEND_COMPLETE_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_INVITATION_RESPONSE_SEND_COMPLETE_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub ReceiverDeviceAddress: [u8; 6], + pub DialogToken: u8, + pub Status: i32, + pub uIEsOffset: u32, + pub uIEsLength: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_INVITATION_RESPONSE_SEND_COMPLETE_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_INVITATION_RESPONSE_SEND_COMPLETE_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_IV48_COUNTER { + pub uIV32Counter: u32, + pub usIV16Counter: u16, +} +impl ::core::marker::Copy for DOT11_IV48_COUNTER {} +impl ::core::clone::Clone for DOT11_IV48_COUNTER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_JOIN_REQUEST { + pub uJoinFailureTimeout: u32, + pub OperationalRateSet: DOT11_RATE_SET, + pub uChCenterFrequency: u32, + pub dot11BSSDescription: DOT11_BSS_DESCRIPTION, +} +impl ::core::marker::Copy for DOT11_JOIN_REQUEST {} +impl ::core::clone::Clone for DOT11_JOIN_REQUEST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_KEY_ALGO_BIP { + pub ucIPN: [u8; 6], + pub ulBIPKeyLength: u32, + pub ucBIPKey: [u8; 1], +} +impl ::core::marker::Copy for DOT11_KEY_ALGO_BIP {} +impl ::core::clone::Clone for DOT11_KEY_ALGO_BIP { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_KEY_ALGO_BIP_GMAC_256 { + pub ucIPN: [u8; 6], + pub ulBIPGmac256KeyLength: u32, + pub ucBIPGmac256Key: [u8; 1], +} +impl ::core::marker::Copy for DOT11_KEY_ALGO_BIP_GMAC_256 {} +impl ::core::clone::Clone for DOT11_KEY_ALGO_BIP_GMAC_256 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_KEY_ALGO_CCMP { + pub ucIV48Counter: [u8; 6], + pub ulCCMPKeyLength: u32, + pub ucCCMPKey: [u8; 1], +} +impl ::core::marker::Copy for DOT11_KEY_ALGO_CCMP {} +impl ::core::clone::Clone for DOT11_KEY_ALGO_CCMP { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_KEY_ALGO_GCMP { + pub ucIV48Counter: [u8; 6], + pub ulGCMPKeyLength: u32, + pub ucGCMPKey: [u8; 1], +} +impl ::core::marker::Copy for DOT11_KEY_ALGO_GCMP {} +impl ::core::clone::Clone for DOT11_KEY_ALGO_GCMP { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_KEY_ALGO_GCMP_256 { + pub ucIV48Counter: [u8; 6], + pub ulGCMP256KeyLength: u32, + pub ucGCMP256Key: [u8; 1], +} +impl ::core::marker::Copy for DOT11_KEY_ALGO_GCMP_256 {} +impl ::core::clone::Clone for DOT11_KEY_ALGO_GCMP_256 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_KEY_ALGO_TKIP_MIC { + pub ucIV48Counter: [u8; 6], + pub ulTKIPKeyLength: u32, + pub ulMICKeyLength: u32, + pub ucTKIPMICKeys: [u8; 1], +} +impl ::core::marker::Copy for DOT11_KEY_ALGO_TKIP_MIC {} +impl ::core::clone::Clone for DOT11_KEY_ALGO_TKIP_MIC { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_LINK_QUALITY_ENTRY { + pub PeerMacAddr: [u8; 6], + pub ucLinkQuality: u8, +} +impl ::core::marker::Copy for DOT11_LINK_QUALITY_ENTRY {} +impl ::core::clone::Clone for DOT11_LINK_QUALITY_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_LINK_QUALITY_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uLinkQualityListSize: u32, + pub uLinkQualityListOffset: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_LINK_QUALITY_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_LINK_QUALITY_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_MAC_ADDRESS_LIST { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uNumOfEntries: u32, + pub uTotalNumOfEntries: u32, + pub MacAddrs: [u8; 6], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_MAC_ADDRESS_LIST {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_MAC_ADDRESS_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_MAC_FRAME_STATISTICS { + pub ullTransmittedFrameCount: u64, + pub ullReceivedFrameCount: u64, + pub ullTransmittedFailureFrameCount: u64, + pub ullReceivedFailureFrameCount: u64, + pub ullWEPExcludedCount: u64, + pub ullTKIPLocalMICFailures: u64, + pub ullTKIPReplays: u64, + pub ullTKIPICVErrorCount: u64, + pub ullCCMPReplays: u64, + pub ullCCMPDecryptErrors: u64, + pub ullWEPUndecryptableCount: u64, + pub ullWEPICVErrorCount: u64, + pub ullDecryptSuccessCount: u64, + pub ullDecryptFailureCount: u64, +} +impl ::core::marker::Copy for DOT11_MAC_FRAME_STATISTICS {} +impl ::core::clone::Clone for DOT11_MAC_FRAME_STATISTICS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_MAC_INFO { + pub uReserved: u32, + pub uNdisPortNumber: u32, + pub MacAddr: [u8; 6], +} +impl ::core::marker::Copy for DOT11_MAC_INFO {} +impl ::core::clone::Clone for DOT11_MAC_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_MAC_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uOpmodeMask: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_MAC_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_MAC_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_MANUFACTURING_CALLBACK_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub dot11ManufacturingCallbackType: DOT11_MANUFACTURING_CALLBACK_TYPE, + pub uStatus: u32, + pub pvContext: *mut ::core::ffi::c_void, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_MANUFACTURING_CALLBACK_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_MANUFACTURING_CALLBACK_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_MANUFACTURING_FUNCTIONAL_TEST_QUERY_ADC { + pub Dot11Band: DOT11_BAND, + pub uChannel: u32, + pub ADCPowerLevel: i32, +} +impl ::core::marker::Copy for DOT11_MANUFACTURING_FUNCTIONAL_TEST_QUERY_ADC {} +impl ::core::clone::Clone for DOT11_MANUFACTURING_FUNCTIONAL_TEST_QUERY_ADC { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11_MANUFACTURING_FUNCTIONAL_TEST_RX { + pub bEnabled: super::super::Foundation::BOOLEAN, + pub Dot11Band: DOT11_BAND, + pub uChannel: u32, + pub PowerLevel: i32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11_MANUFACTURING_FUNCTIONAL_TEST_RX {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11_MANUFACTURING_FUNCTIONAL_TEST_RX { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11_MANUFACTURING_FUNCTIONAL_TEST_TX { + pub bEnable: super::super::Foundation::BOOLEAN, + pub bOpenLoop: super::super::Foundation::BOOLEAN, + pub Dot11Band: DOT11_BAND, + pub uChannel: u32, + pub uSetPowerLevel: u32, + pub ADCPowerLevel: i32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11_MANUFACTURING_FUNCTIONAL_TEST_TX {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11_MANUFACTURING_FUNCTIONAL_TEST_TX { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11_MANUFACTURING_SELF_TEST_QUERY_RESULTS { + pub SelfTestType: DOT11_MANUFACTURING_SELF_TEST_TYPE, + pub uTestID: u32, + pub bResult: super::super::Foundation::BOOLEAN, + pub uPinFailedBitMask: u32, + pub pvContext: *mut ::core::ffi::c_void, + pub uBytesWrittenOut: u32, + pub ucBufferOut: [u8; 1], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11_MANUFACTURING_SELF_TEST_QUERY_RESULTS {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11_MANUFACTURING_SELF_TEST_QUERY_RESULTS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_MANUFACTURING_SELF_TEST_SET_PARAMS { + pub SelfTestType: DOT11_MANUFACTURING_SELF_TEST_TYPE, + pub uTestID: u32, + pub uPinBitMask: u32, + pub pvContext: *mut ::core::ffi::c_void, + pub uBufferLength: u32, + pub ucBufferIn: [u8; 1], +} +impl ::core::marker::Copy for DOT11_MANUFACTURING_SELF_TEST_SET_PARAMS {} +impl ::core::clone::Clone for DOT11_MANUFACTURING_SELF_TEST_SET_PARAMS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_MANUFACTURING_TEST { + pub dot11ManufacturingTestType: DOT11_MANUFACTURING_TEST_TYPE, + pub uBufferLength: u32, + pub ucBuffer: [u8; 1], +} +impl ::core::marker::Copy for DOT11_MANUFACTURING_TEST {} +impl ::core::clone::Clone for DOT11_MANUFACTURING_TEST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_MANUFACTURING_TEST_QUERY_DATA { + pub uKey: u32, + pub uOffset: u32, + pub uBufferLength: u32, + pub uBytesRead: u32, + pub ucBufferOut: [u8; 1], +} +impl ::core::marker::Copy for DOT11_MANUFACTURING_TEST_QUERY_DATA {} +impl ::core::clone::Clone for DOT11_MANUFACTURING_TEST_QUERY_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_MANUFACTURING_TEST_SET_DATA { + pub uKey: u32, + pub uOffset: u32, + pub uBufferLength: u32, + pub ucBufferIn: [u8; 1], +} +impl ::core::marker::Copy for DOT11_MANUFACTURING_TEST_SET_DATA {} +impl ::core::clone::Clone for DOT11_MANUFACTURING_TEST_SET_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_MANUFACTURING_TEST_SLEEP { + pub uSleepTime: u32, + pub pvContext: *mut ::core::ffi::c_void, +} +impl ::core::marker::Copy for DOT11_MANUFACTURING_TEST_SLEEP {} +impl ::core::clone::Clone for DOT11_MANUFACTURING_TEST_SLEEP { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_MD_CAPABILITY_ENTRY_LIST { + pub uNumOfEntries: u32, + pub uTotalNumOfEntries: u32, + pub dot11MDCapabilityEntry: [DOT11_MULTI_DOMAIN_CAPABILITY_ENTRY; 1], +} +impl ::core::marker::Copy for DOT11_MD_CAPABILITY_ENTRY_LIST {} +impl ::core::clone::Clone for DOT11_MD_CAPABILITY_ENTRY_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_MPDU_MAX_LENGTH_INDICATION { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uPhyId: u32, + pub uMPDUMaxLength: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_MPDU_MAX_LENGTH_INDICATION {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_MPDU_MAX_LENGTH_INDICATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`"] +#[cfg(feature = "Win32_Security_ExtensibleAuthenticationProtocol")] +pub struct DOT11_MSONEX_RESULT_PARAMS { + pub Dot11OnexAuthStatus: ONEX_AUTH_STATUS, + pub Dot11OneXReasonCode: ONEX_REASON_CODE, + pub pbMPPESendKey: *mut u8, + pub dwMPPESendKeyLen: u32, + pub pbMPPERecvKey: *mut u8, + pub dwMPPERecvKeyLen: u32, + pub pDot11EapResult: *mut DOT11_EAP_RESULT, +} +#[cfg(feature = "Win32_Security_ExtensibleAuthenticationProtocol")] +impl ::core::marker::Copy for DOT11_MSONEX_RESULT_PARAMS {} +#[cfg(feature = "Win32_Security_ExtensibleAuthenticationProtocol")] +impl ::core::clone::Clone for DOT11_MSONEX_RESULT_PARAMS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_ExtensibleAuthenticationProtocol\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] +pub struct DOT11_MSSECURITY_SETTINGS { + pub dot11AuthAlgorithm: DOT11_AUTH_ALGORITHM, + pub dot11CipherAlgorithm: DOT11_CIPHER_ALGORITHM, + pub fOneXEnabled: super::super::Foundation::BOOL, + pub eapMethodType: super::super::Security::ExtensibleAuthenticationProtocol::EAP_METHOD_TYPE, + pub dwEapConnectionDataLen: u32, + pub pEapConnectionData: *mut u8, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] +impl ::core::marker::Copy for DOT11_MSSECURITY_SETTINGS {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] +impl ::core::clone::Clone for DOT11_MSSECURITY_SETTINGS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_MULTI_DOMAIN_CAPABILITY_ENTRY { + pub uMultiDomainCapabilityIndex: u32, + pub uFirstChannelNumber: u32, + pub uNumberOfChannels: u32, + pub lMaximumTransmitPowerLevel: i32, +} +impl ::core::marker::Copy for DOT11_MULTI_DOMAIN_CAPABILITY_ENTRY {} +impl ::core::clone::Clone for DOT11_MULTI_DOMAIN_CAPABILITY_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_NETWORK { + pub dot11Ssid: DOT11_SSID, + pub dot11BssType: DOT11_BSS_TYPE, +} +impl ::core::marker::Copy for DOT11_NETWORK {} +impl ::core::clone::Clone for DOT11_NETWORK { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_NETWORK_LIST { + pub dwNumberOfItems: u32, + pub dwIndex: u32, + pub Network: [DOT11_NETWORK; 1], +} +impl ::core::marker::Copy for DOT11_NETWORK_LIST {} +impl ::core::clone::Clone for DOT11_NETWORK_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_NIC_SPECIFIC_EXTENSION { + pub uBufferLength: u32, + pub uTotalBufferLength: u32, + pub ucBuffer: [u8; 1], +} +impl ::core::marker::Copy for DOT11_NIC_SPECIFIC_EXTENSION {} +impl ::core::clone::Clone for DOT11_NIC_SPECIFIC_EXTENSION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_OFDM_PHY_ATTRIBUTES { + pub uFrequencyBandsSupported: u32, +} +impl ::core::marker::Copy for DOT11_OFDM_PHY_ATTRIBUTES {} +impl ::core::clone::Clone for DOT11_OFDM_PHY_ATTRIBUTES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_OFFLOAD_CAPABILITY { + pub uReserved: u32, + pub uFlags: u32, + pub uSupportedWEPAlgorithms: u32, + pub uNumOfReplayWindows: u32, + pub uMaxWEPKeyMappingLength: u32, + pub uSupportedAuthAlgorithms: u32, + pub uMaxAuthKeyMappingLength: u32, +} +impl ::core::marker::Copy for DOT11_OFFLOAD_CAPABILITY {} +impl ::core::clone::Clone for DOT11_OFFLOAD_CAPABILITY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_OFFLOAD_NETWORK { + pub Ssid: DOT11_SSID, + pub UnicastCipher: DOT11_CIPHER_ALGORITHM, + pub AuthAlgo: DOT11_AUTH_ALGORITHM, + pub Dot11ChannelHints: [DOT11_CHANNEL_HINT; 4], +} +impl ::core::marker::Copy for DOT11_OFFLOAD_NETWORK {} +impl ::core::clone::Clone for DOT11_OFFLOAD_NETWORK { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_OFFLOAD_NETWORK_LIST_INFO { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub ulFlags: u32, + pub FastScanPeriod: u32, + pub FastScanIterations: u32, + pub SlowScanPeriod: u32, + pub uNumOfEntries: u32, + pub offloadNetworkList: [DOT11_OFFLOAD_NETWORK; 1], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_OFFLOAD_NETWORK_LIST_INFO {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_OFFLOAD_NETWORK_LIST_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_OFFLOAD_NETWORK_STATUS_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub Status: i32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_OFFLOAD_NETWORK_STATUS_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_OFFLOAD_NETWORK_STATUS_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_OI { + pub OILength: u16, + pub OI: [u8; 5], +} +impl ::core::marker::Copy for DOT11_OI {} +impl ::core::clone::Clone for DOT11_OI { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_OPERATION_MODE_CAPABILITY { + pub uReserved: u32, + pub uMajorVersion: u32, + pub uMinorVersion: u32, + pub uNumOfTXBuffers: u32, + pub uNumOfRXBuffers: u32, + pub uOpModeCapability: u32, +} +impl ::core::marker::Copy for DOT11_OPERATION_MODE_CAPABILITY {} +impl ::core::clone::Clone for DOT11_OPERATION_MODE_CAPABILITY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11_OPTIONAL_CAPABILITY { + pub uReserved: u32, + pub bDot11PCF: super::super::Foundation::BOOLEAN, + pub bDot11PCFMPDUTransferToPC: super::super::Foundation::BOOLEAN, + pub bStrictlyOrderedServiceClass: super::super::Foundation::BOOLEAN, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11_OPTIONAL_CAPABILITY {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11_OPTIONAL_CAPABILITY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11_PEER_INFO { + pub MacAddress: [u8; 6], + pub usCapabilityInformation: u16, + pub AuthAlgo: DOT11_AUTH_ALGORITHM, + pub UnicastCipherAlgo: DOT11_CIPHER_ALGORITHM, + pub MulticastCipherAlgo: DOT11_CIPHER_ALGORITHM, + pub bWpsEnabled: super::super::Foundation::BOOLEAN, + pub usListenInterval: u16, + pub ucSupportedRates: [u8; 255], + pub usAssociationID: u16, + pub AssociationState: DOT11_ASSOCIATION_STATE, + pub PowerMode: DOT11_POWER_MODE, + pub liAssociationUpTime: i64, + pub Statistics: DOT11_PEER_STATISTICS, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11_PEER_INFO {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11_PEER_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub struct DOT11_PEER_INFO_LIST { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uNumOfEntries: u32, + pub uTotalNumOfEntries: u32, + pub PeerInfo: [DOT11_PEER_INFO; 1], +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::marker::Copy for DOT11_PEER_INFO_LIST {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::clone::Clone for DOT11_PEER_INFO_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_PEER_STATISTICS { + pub ullDecryptSuccessCount: u64, + pub ullDecryptFailureCount: u64, + pub ullTxPacketSuccessCount: u64, + pub ullTxPacketFailureCount: u64, + pub ullRxPacketSuccessCount: u64, + pub ullRxPacketFailureCount: u64, +} +impl ::core::marker::Copy for DOT11_PEER_STATISTICS {} +impl ::core::clone::Clone for DOT11_PEER_STATISTICS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_PER_MSDU_COUNTERS { + pub uTransmittedFragmentCount: u32, + pub uRetryCount: u32, + pub uRTSSuccessCount: u32, + pub uRTSFailureCount: u32, + pub uACKFailureCount: u32, +} +impl ::core::marker::Copy for DOT11_PER_MSDU_COUNTERS {} +impl ::core::clone::Clone for DOT11_PER_MSDU_COUNTERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub struct DOT11_PHY_ATTRIBUTES { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub PhyType: DOT11_PHY_TYPE, + pub bHardwarePhyState: super::super::Foundation::BOOLEAN, + pub bSoftwarePhyState: super::super::Foundation::BOOLEAN, + pub bCFPollable: super::super::Foundation::BOOLEAN, + pub uMPDUMaxLength: u32, + pub TempType: DOT11_TEMP_TYPE, + pub DiversitySupport: DOT11_DIVERSITY_SUPPORT, + pub PhySpecificAttributes: DOT11_PHY_ATTRIBUTES_0, + pub uNumberSupportedPowerLevels: u32, + pub TxPowerLevels: [u32; 8], + pub uNumDataRateMappingEntries: u32, + pub DataRateMappingEntries: [DOT11_DATA_RATE_MAPPING_ENTRY; 126], + pub SupportedDataRatesValue: DOT11_SUPPORTED_DATA_RATES_VALUE_V2, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::marker::Copy for DOT11_PHY_ATTRIBUTES {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::clone::Clone for DOT11_PHY_ATTRIBUTES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub union DOT11_PHY_ATTRIBUTES_0 { + pub HRDSSSAttributes: DOT11_HRDSSS_PHY_ATTRIBUTES, + pub OFDMAttributes: DOT11_OFDM_PHY_ATTRIBUTES, + pub ERPAttributes: DOT11_ERP_PHY_ATTRIBUTES, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::marker::Copy for DOT11_PHY_ATTRIBUTES_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::clone::Clone for DOT11_PHY_ATTRIBUTES_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_PHY_FRAME_STATISTICS { + pub ullTransmittedFrameCount: u64, + pub ullMulticastTransmittedFrameCount: u64, + pub ullFailedCount: u64, + pub ullRetryCount: u64, + pub ullMultipleRetryCount: u64, + pub ullMaxTXLifetimeExceededCount: u64, + pub ullTransmittedFragmentCount: u64, + pub ullRTSSuccessCount: u64, + pub ullRTSFailureCount: u64, + pub ullACKFailureCount: u64, + pub ullReceivedFrameCount: u64, + pub ullMulticastReceivedFrameCount: u64, + pub ullPromiscuousReceivedFrameCount: u64, + pub ullMaxRXLifetimeExceededCount: u64, + pub ullFrameDuplicateCount: u64, + pub ullReceivedFragmentCount: u64, + pub ullPromiscuousReceivedFragmentCount: u64, + pub ullFCSErrorCount: u64, +} +impl ::core::marker::Copy for DOT11_PHY_FRAME_STATISTICS {} +impl ::core::clone::Clone for DOT11_PHY_FRAME_STATISTICS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_PHY_FREQUENCY_ADOPTED_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub ulPhyId: u32, + pub Anonymous: DOT11_PHY_FREQUENCY_ADOPTED_PARAMETERS_0, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_PHY_FREQUENCY_ADOPTED_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_PHY_FREQUENCY_ADOPTED_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub union DOT11_PHY_FREQUENCY_ADOPTED_PARAMETERS_0 { + pub ulChannel: u32, + pub ulFrequency: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_PHY_FREQUENCY_ADOPTED_PARAMETERS_0 {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_PHY_FREQUENCY_ADOPTED_PARAMETERS_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_PHY_ID_LIST { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uNumOfEntries: u32, + pub uTotalNumOfEntries: u32, + pub dot11PhyId: [u32; 1], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_PHY_ID_LIST {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_PHY_ID_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub struct DOT11_PHY_STATE_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uPhyId: u32, + pub bHardwarePhyState: super::super::Foundation::BOOLEAN, + pub bSoftwarePhyState: super::super::Foundation::BOOLEAN, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::marker::Copy for DOT11_PHY_STATE_PARAMETERS {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::clone::Clone for DOT11_PHY_STATE_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11_PHY_TYPE_INFO { + pub dot11PhyType: DOT11_PHY_TYPE, + pub bUseParameters: super::super::Foundation::BOOLEAN, + pub uProbeDelay: u32, + pub uMinChannelTime: u32, + pub uMaxChannelTime: u32, + pub ChDescriptionType: CH_DESCRIPTION_TYPE, + pub uChannelListSize: u32, + pub ucChannelListBuffer: [u8; 1], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11_PHY_TYPE_INFO {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11_PHY_TYPE_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_PHY_TYPE_LIST { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uNumOfEntries: u32, + pub uTotalNumOfEntries: u32, + pub dot11PhyType: [DOT11_PHY_TYPE; 1], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_PHY_TYPE_LIST {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_PHY_TYPE_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_PMKID_CANDIDATE_LIST_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uCandidateListSize: u32, + pub uCandidateListOffset: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_PMKID_CANDIDATE_LIST_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_PMKID_CANDIDATE_LIST_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_PMKID_ENTRY { + pub BSSID: [u8; 6], + pub PMKID: [u8; 16], + pub uFlags: u32, +} +impl ::core::marker::Copy for DOT11_PMKID_ENTRY {} +impl ::core::clone::Clone for DOT11_PMKID_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_PMKID_LIST { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uNumOfEntries: u32, + pub uTotalNumOfEntries: u32, + pub PMKIDs: [DOT11_PMKID_ENTRY; 1], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_PMKID_LIST {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_PMKID_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11_PORT_STATE { + pub PeerMacAddress: [u8; 6], + pub uSessionId: u32, + pub bPortControlled: super::super::Foundation::BOOL, + pub bPortAuthorized: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11_PORT_STATE {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11_PORT_STATE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub struct DOT11_PORT_STATE_NOTIFICATION { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub PeerMac: [u8; 6], + pub bOpen: super::super::Foundation::BOOLEAN, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::marker::Copy for DOT11_PORT_STATE_NOTIFICATION {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::clone::Clone for DOT11_PORT_STATE_NOTIFICATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub struct DOT11_POWER_MGMT_AUTO_MODE_ENABLED_INFO { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub bEnabled: super::super::Foundation::BOOLEAN, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::marker::Copy for DOT11_POWER_MGMT_AUTO_MODE_ENABLED_INFO {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::clone::Clone for DOT11_POWER_MGMT_AUTO_MODE_ENABLED_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11_POWER_MGMT_MODE { + pub dot11PowerMode: DOT11_POWER_MODE, + pub uPowerSaveLevel: u32, + pub usListenInterval: u16, + pub usAID: u16, + pub bReceiveDTIMs: super::super::Foundation::BOOLEAN, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11_POWER_MGMT_MODE {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11_POWER_MGMT_MODE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_POWER_MGMT_MODE_STATUS_INFO { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub PowerSaveMode: DOT11_POWER_MODE, + pub uPowerSaveLevel: u32, + pub Reason: DOT11_POWER_MODE_REASON, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_POWER_MGMT_MODE_STATUS_INFO {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_POWER_MGMT_MODE_STATUS_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_PRIVACY_EXEMPTION { + pub usEtherType: u16, + pub usExemptionActionType: u16, + pub usExemptionPacketType: u16, +} +impl ::core::marker::Copy for DOT11_PRIVACY_EXEMPTION {} +impl ::core::clone::Clone for DOT11_PRIVACY_EXEMPTION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_PRIVACY_EXEMPTION_LIST { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uNumOfEntries: u32, + pub uTotalNumOfEntries: u32, + pub PrivacyExemptionEntries: [DOT11_PRIVACY_EXEMPTION; 1], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_PRIVACY_EXEMPTION_LIST {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_PRIVACY_EXEMPTION_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_PROVISION_DISCOVERY_REQUEST_SEND_COMPLETE_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub PeerDeviceAddress: [u8; 6], + pub ReceiverAddress: [u8; 6], + pub DialogToken: u8, + pub Status: i32, + pub uIEsOffset: u32, + pub uIEsLength: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_PROVISION_DISCOVERY_REQUEST_SEND_COMPLETE_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_PROVISION_DISCOVERY_REQUEST_SEND_COMPLETE_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_PROVISION_DISCOVERY_RESPONSE_SEND_COMPLETE_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub ReceiverDeviceAddress: [u8; 6], + pub DialogToken: u8, + pub Status: i32, + pub uIEsOffset: u32, + pub uIEsLength: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_PROVISION_DISCOVERY_RESPONSE_SEND_COMPLETE_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_PROVISION_DISCOVERY_RESPONSE_SEND_COMPLETE_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_QOS_PARAMS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub ucEnabledQoSProtocolFlags: u8, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_QOS_PARAMS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_QOS_PARAMS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_QOS_TX_DURATION { + pub uNominalMSDUSize: u32, + pub uMinPHYRate: u32, + pub uDuration: u32, +} +impl ::core::marker::Copy for DOT11_QOS_TX_DURATION {} +impl ::core::clone::Clone for DOT11_QOS_TX_DURATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_QOS_TX_MEDIUM_TIME { + pub dot11PeerAddress: [u8; 6], + pub ucQoSPriority: u8, + pub uMediumTimeAdmited: u32, +} +impl ::core::marker::Copy for DOT11_QOS_TX_MEDIUM_TIME {} +impl ::core::clone::Clone for DOT11_QOS_TX_MEDIUM_TIME { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_RATE_SET { + pub uRateSetLength: u32, + pub ucRateSet: [u8; 126], +} +impl ::core::marker::Copy for DOT11_RATE_SET {} +impl ::core::clone::Clone for DOT11_RATE_SET { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_RECEIVED_GO_NEGOTIATION_CONFIRMATION_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub PeerDeviceAddress: [u8; 6], + pub DialogToken: u8, + pub uIEsOffset: u32, + pub uIEsLength: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_RECEIVED_GO_NEGOTIATION_CONFIRMATION_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_RECEIVED_GO_NEGOTIATION_CONFIRMATION_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_RECEIVED_GO_NEGOTIATION_REQUEST_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub PeerDeviceAddress: [u8; 6], + pub DialogToken: u8, + pub RequestContext: *mut ::core::ffi::c_void, + pub uIEsOffset: u32, + pub uIEsLength: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_RECEIVED_GO_NEGOTIATION_REQUEST_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_RECEIVED_GO_NEGOTIATION_REQUEST_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_RECEIVED_GO_NEGOTIATION_RESPONSE_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub PeerDeviceAddress: [u8; 6], + pub DialogToken: u8, + pub ResponseContext: *mut ::core::ffi::c_void, + pub uIEsOffset: u32, + pub uIEsLength: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_RECEIVED_GO_NEGOTIATION_RESPONSE_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_RECEIVED_GO_NEGOTIATION_RESPONSE_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_RECEIVED_INVITATION_REQUEST_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub TransmitterDeviceAddress: [u8; 6], + pub BSSID: [u8; 6], + pub DialogToken: u8, + pub RequestContext: *mut ::core::ffi::c_void, + pub uIEsOffset: u32, + pub uIEsLength: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_RECEIVED_INVITATION_REQUEST_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_RECEIVED_INVITATION_REQUEST_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_RECEIVED_INVITATION_RESPONSE_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub TransmitterDeviceAddress: [u8; 6], + pub BSSID: [u8; 6], + pub DialogToken: u8, + pub uIEsOffset: u32, + pub uIEsLength: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_RECEIVED_INVITATION_RESPONSE_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_RECEIVED_INVITATION_RESPONSE_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_RECEIVED_PROVISION_DISCOVERY_REQUEST_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub TransmitterDeviceAddress: [u8; 6], + pub BSSID: [u8; 6], + pub DialogToken: u8, + pub RequestContext: *mut ::core::ffi::c_void, + pub uIEsOffset: u32, + pub uIEsLength: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_RECEIVED_PROVISION_DISCOVERY_REQUEST_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_RECEIVED_PROVISION_DISCOVERY_REQUEST_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_RECEIVED_PROVISION_DISCOVERY_RESPONSE_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub TransmitterDeviceAddress: [u8; 6], + pub BSSID: [u8; 6], + pub DialogToken: u8, + pub uIEsOffset: u32, + pub uIEsLength: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_RECEIVED_PROVISION_DISCOVERY_RESPONSE_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_RECEIVED_PROVISION_DISCOVERY_RESPONSE_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11_RECV_EXTENSION_INFO { + pub uVersion: u32, + pub pvReserved: *mut ::core::ffi::c_void, + pub dot11PhyType: DOT11_PHY_TYPE, + pub uChCenterFrequency: u32, + pub lRSSI: i32, + pub lRSSIMin: i32, + pub lRSSIMax: i32, + pub uRSSI: u32, + pub ucPriority: u8, + pub ucDataRate: u8, + pub ucPeerMacAddress: [u8; 6], + pub dwExtendedStatus: u32, + pub hWEPOffloadContext: super::super::Foundation::HANDLE, + pub hAuthOffloadContext: super::super::Foundation::HANDLE, + pub usWEPAppliedMask: u16, + pub usWPAMSDUPriority: u16, + pub dot11LowestIV48Counter: DOT11_IV48_COUNTER, + pub usDot11LeftRWBitMap: u16, + pub dot11HighestIV48Counter: DOT11_IV48_COUNTER, + pub usDot11RightRWBitMap: u16, + pub usNumberOfMPDUsReceived: u16, + pub usNumberOfFragments: u16, + pub pNdisPackets: [*mut ::core::ffi::c_void; 1], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11_RECV_EXTENSION_INFO {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11_RECV_EXTENSION_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11_RECV_EXTENSION_INFO_V2 { + pub uVersion: u32, + pub pvReserved: *mut ::core::ffi::c_void, + pub dot11PhyType: DOT11_PHY_TYPE, + pub uChCenterFrequency: u32, + pub lRSSI: i32, + pub uRSSI: u32, + pub ucPriority: u8, + pub ucDataRate: u8, + pub ucPeerMacAddress: [u8; 6], + pub dwExtendedStatus: u32, + pub hWEPOffloadContext: super::super::Foundation::HANDLE, + pub hAuthOffloadContext: super::super::Foundation::HANDLE, + pub usWEPAppliedMask: u16, + pub usWPAMSDUPriority: u16, + pub dot11LowestIV48Counter: DOT11_IV48_COUNTER, + pub usDot11LeftRWBitMap: u16, + pub dot11HighestIV48Counter: DOT11_IV48_COUNTER, + pub usDot11RightRWBitMap: u16, + pub usNumberOfMPDUsReceived: u16, + pub usNumberOfFragments: u16, + pub pNdisPackets: [*mut ::core::ffi::c_void; 1], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11_RECV_EXTENSION_INFO_V2 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11_RECV_EXTENSION_INFO_V2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_RECV_SENSITIVITY { + pub ucDataRate: u8, + pub lRSSIMin: i32, + pub lRSSIMax: i32, +} +impl ::core::marker::Copy for DOT11_RECV_SENSITIVITY {} +impl ::core::clone::Clone for DOT11_RECV_SENSITIVITY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_RECV_SENSITIVITY_LIST { + pub Anonymous: DOT11_RECV_SENSITIVITY_LIST_0, + pub uNumOfEntries: u32, + pub uTotalNumOfEntries: u32, + pub dot11RecvSensitivity: [DOT11_RECV_SENSITIVITY; 1], +} +impl ::core::marker::Copy for DOT11_RECV_SENSITIVITY_LIST {} +impl ::core::clone::Clone for DOT11_RECV_SENSITIVITY_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union DOT11_RECV_SENSITIVITY_LIST_0 { + pub dot11PhyType: DOT11_PHY_TYPE, + pub uPhyId: u32, +} +impl ::core::marker::Copy for DOT11_RECV_SENSITIVITY_LIST_0 {} +impl ::core::clone::Clone for DOT11_RECV_SENSITIVITY_LIST_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_REG_DOMAINS_SUPPORT_VALUE { + pub uNumOfEntries: u32, + pub uTotalNumOfEntries: u32, + pub dot11RegDomainValue: [DOT11_REG_DOMAIN_VALUE; 1], +} +impl ::core::marker::Copy for DOT11_REG_DOMAINS_SUPPORT_VALUE {} +impl ::core::clone::Clone for DOT11_REG_DOMAINS_SUPPORT_VALUE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_REG_DOMAIN_VALUE { + pub uRegDomainsSupportIndex: u32, + pub uRegDomainsSupportValue: u32, +} +impl ::core::marker::Copy for DOT11_REG_DOMAIN_VALUE {} +impl ::core::clone::Clone for DOT11_REG_DOMAIN_VALUE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11_RESET_REQUEST { + pub dot11ResetType: DOT11_RESET_TYPE, + pub dot11MacAddress: [u8; 6], + pub bSetDefaultMIB: super::super::Foundation::BOOLEAN, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11_RESET_REQUEST {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11_RESET_REQUEST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_ROAMING_COMPLETION_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uStatus: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_ROAMING_COMPLETION_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_ROAMING_COMPLETION_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_ROAMING_START_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub AdhocBSSID: [u8; 6], + pub AdhocSSID: DOT11_SSID, + pub uRoamingReason: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_ROAMING_START_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_ROAMING_START_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_RSSI_RANGE { + pub dot11PhyType: DOT11_PHY_TYPE, + pub uRSSIMin: u32, + pub uRSSIMax: u32, +} +impl ::core::marker::Copy for DOT11_RSSI_RANGE {} +impl ::core::clone::Clone for DOT11_RSSI_RANGE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11_SCAN_REQUEST { + pub dot11BSSType: DOT11_BSS_TYPE, + pub dot11BSSID: [u8; 6], + pub dot11SSID: DOT11_SSID, + pub dot11ScanType: DOT11_SCAN_TYPE, + pub bRestrictedScan: super::super::Foundation::BOOLEAN, + pub bUseRequestIE: super::super::Foundation::BOOLEAN, + pub uRequestIDsOffset: u32, + pub uNumOfRequestIDs: u32, + pub uPhyTypesOffset: u32, + pub uNumOfPhyTypes: u32, + pub uIEsOffset: u32, + pub uIEsLength: u32, + pub ucBuffer: [u8; 1], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11_SCAN_REQUEST {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11_SCAN_REQUEST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11_SCAN_REQUEST_V2 { + pub dot11BSSType: DOT11_BSS_TYPE, + pub dot11BSSID: [u8; 6], + pub dot11ScanType: DOT11_SCAN_TYPE, + pub bRestrictedScan: super::super::Foundation::BOOLEAN, + pub udot11SSIDsOffset: u32, + pub uNumOfdot11SSIDs: u32, + pub bUseRequestIE: super::super::Foundation::BOOLEAN, + pub uRequestIDsOffset: u32, + pub uNumOfRequestIDs: u32, + pub uPhyTypeInfosOffset: u32, + pub uNumOfPhyTypeInfos: u32, + pub uIEsOffset: u32, + pub uIEsLength: u32, + pub ucBuffer: [u8; 1], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11_SCAN_REQUEST_V2 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11_SCAN_REQUEST_V2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +pub struct DOT11_SECURITY_PACKET_HEADER { + pub PeerMac: [u8; 6], + pub usEtherType: u16, + pub Data: [u8; 1], +} +impl ::core::marker::Copy for DOT11_SECURITY_PACKET_HEADER {} +impl ::core::clone::Clone for DOT11_SECURITY_PACKET_HEADER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub struct DOT11_SEND_GO_NEGOTIATION_CONFIRMATION_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub PeerDeviceAddress: [u8; 6], + pub DialogToken: u8, + pub ResponseContext: *mut ::core::ffi::c_void, + pub uSendTimeout: u32, + pub Status: u8, + pub GroupCapability: u8, + pub GroupID: DOT11_WFD_GROUP_ID, + pub bUseGroupID: super::super::Foundation::BOOLEAN, + pub uIEsOffset: u32, + pub uIEsLength: u32, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::marker::Copy for DOT11_SEND_GO_NEGOTIATION_CONFIRMATION_PARAMETERS {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::clone::Clone for DOT11_SEND_GO_NEGOTIATION_CONFIRMATION_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_SEND_GO_NEGOTIATION_REQUEST_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub PeerDeviceAddress: [u8; 6], + pub DialogToken: u8, + pub uSendTimeout: u32, + pub GroupOwnerIntent: DOT11_WFD_GO_INTENT, + pub MinimumConfigTimeout: DOT11_WFD_CONFIGURATION_TIMEOUT, + pub IntendedInterfaceAddress: [u8; 6], + pub GroupCapability: u8, + pub uIEsOffset: u32, + pub uIEsLength: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_SEND_GO_NEGOTIATION_REQUEST_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_SEND_GO_NEGOTIATION_REQUEST_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub struct DOT11_SEND_GO_NEGOTIATION_RESPONSE_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub PeerDeviceAddress: [u8; 6], + pub DialogToken: u8, + pub RequestContext: *mut ::core::ffi::c_void, + pub uSendTimeout: u32, + pub Status: u8, + pub GroupOwnerIntent: DOT11_WFD_GO_INTENT, + pub MinimumConfigTimeout: DOT11_WFD_CONFIGURATION_TIMEOUT, + pub IntendedInterfaceAddress: [u8; 6], + pub GroupCapability: u8, + pub GroupID: DOT11_WFD_GROUP_ID, + pub bUseGroupID: super::super::Foundation::BOOLEAN, + pub uIEsOffset: u32, + pub uIEsLength: u32, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::marker::Copy for DOT11_SEND_GO_NEGOTIATION_RESPONSE_PARAMETERS {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::clone::Clone for DOT11_SEND_GO_NEGOTIATION_RESPONSE_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub struct DOT11_SEND_INVITATION_REQUEST_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub DialogToken: u8, + pub PeerDeviceAddress: [u8; 6], + pub uSendTimeout: u32, + pub MinimumConfigTimeout: DOT11_WFD_CONFIGURATION_TIMEOUT, + pub InvitationFlags: DOT11_WFD_INVITATION_FLAGS, + pub GroupBSSID: [u8; 6], + pub bUseGroupBSSID: super::super::Foundation::BOOLEAN, + pub OperatingChannel: DOT11_WFD_CHANNEL, + pub bUseSpecifiedOperatingChannel: super::super::Foundation::BOOLEAN, + pub GroupID: DOT11_WFD_GROUP_ID, + pub bLocalGO: super::super::Foundation::BOOLEAN, + pub uIEsOffset: u32, + pub uIEsLength: u32, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::marker::Copy for DOT11_SEND_INVITATION_REQUEST_PARAMETERS {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::clone::Clone for DOT11_SEND_INVITATION_REQUEST_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub struct DOT11_SEND_INVITATION_RESPONSE_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub ReceiverDeviceAddress: [u8; 6], + pub DialogToken: u8, + pub RequestContext: *mut ::core::ffi::c_void, + pub uSendTimeout: u32, + pub Status: u8, + pub MinimumConfigTimeout: DOT11_WFD_CONFIGURATION_TIMEOUT, + pub GroupBSSID: [u8; 6], + pub bUseGroupBSSID: super::super::Foundation::BOOLEAN, + pub OperatingChannel: DOT11_WFD_CHANNEL, + pub bUseSpecifiedOperatingChannel: super::super::Foundation::BOOLEAN, + pub uIEsOffset: u32, + pub uIEsLength: u32, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::marker::Copy for DOT11_SEND_INVITATION_RESPONSE_PARAMETERS {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::clone::Clone for DOT11_SEND_INVITATION_RESPONSE_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub struct DOT11_SEND_PROVISION_DISCOVERY_REQUEST_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub DialogToken: u8, + pub PeerDeviceAddress: [u8; 6], + pub uSendTimeout: u32, + pub GroupCapability: u8, + pub GroupID: DOT11_WFD_GROUP_ID, + pub bUseGroupID: super::super::Foundation::BOOLEAN, + pub uIEsOffset: u32, + pub uIEsLength: u32, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::marker::Copy for DOT11_SEND_PROVISION_DISCOVERY_REQUEST_PARAMETERS {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::clone::Clone for DOT11_SEND_PROVISION_DISCOVERY_REQUEST_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_SEND_PROVISION_DISCOVERY_RESPONSE_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub ReceiverDeviceAddress: [u8; 6], + pub DialogToken: u8, + pub RequestContext: *mut ::core::ffi::c_void, + pub uSendTimeout: u32, + pub uIEsOffset: u32, + pub uIEsLength: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_SEND_PROVISION_DISCOVERY_RESPONSE_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_SEND_PROVISION_DISCOVERY_RESPONSE_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_SSID { + pub uSSIDLength: u32, + pub ucSSID: [u8; 32], +} +impl ::core::marker::Copy for DOT11_SSID {} +impl ::core::clone::Clone for DOT11_SSID { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_SSID_LIST { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uNumOfEntries: u32, + pub uTotalNumOfEntries: u32, + pub SSIDs: [DOT11_SSID; 1], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_SSID_LIST {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_SSID_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_START_REQUEST { + pub uStartFailureTimeout: u32, + pub OperationalRateSet: DOT11_RATE_SET, + pub uChCenterFrequency: u32, + pub dot11BSSDescription: DOT11_BSS_DESCRIPTION, +} +impl ::core::marker::Copy for DOT11_START_REQUEST {} +impl ::core::clone::Clone for DOT11_START_REQUEST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_STATISTICS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub ullFourWayHandshakeFailures: u64, + pub ullTKIPCounterMeasuresInvoked: u64, + pub ullReserved: u64, + pub MacUcastCounters: DOT11_MAC_FRAME_STATISTICS, + pub MacMcastCounters: DOT11_MAC_FRAME_STATISTICS, + pub PhyCounters: [DOT11_PHY_FRAME_STATISTICS; 1], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_STATISTICS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_STATISTICS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_STATUS_INDICATION { + pub uStatusType: u32, + pub ndisStatus: i32, +} +impl ::core::marker::Copy for DOT11_STATUS_INDICATION {} +impl ::core::clone::Clone for DOT11_STATUS_INDICATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_STOP_AP_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub ulReason: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_STOP_AP_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_STOP_AP_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11_SUPPORTED_ANTENNA { + pub uAntennaListIndex: u32, + pub bSupportedAntenna: super::super::Foundation::BOOLEAN, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11_SUPPORTED_ANTENNA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11_SUPPORTED_ANTENNA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11_SUPPORTED_ANTENNA_LIST { + pub uNumOfEntries: u32, + pub uTotalNumOfEntries: u32, + pub dot11SupportedAntenna: [DOT11_SUPPORTED_ANTENNA; 1], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11_SUPPORTED_ANTENNA_LIST {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11_SUPPORTED_ANTENNA_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_SUPPORTED_DATA_RATES_VALUE { + pub ucSupportedTxDataRatesValue: [u8; 8], + pub ucSupportedRxDataRatesValue: [u8; 8], +} +impl ::core::marker::Copy for DOT11_SUPPORTED_DATA_RATES_VALUE {} +impl ::core::clone::Clone for DOT11_SUPPORTED_DATA_RATES_VALUE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_SUPPORTED_DATA_RATES_VALUE_V2 { + pub ucSupportedTxDataRatesValue: [u8; 255], + pub ucSupportedRxDataRatesValue: [u8; 255], +} +impl ::core::marker::Copy for DOT11_SUPPORTED_DATA_RATES_VALUE_V2 {} +impl ::core::clone::Clone for DOT11_SUPPORTED_DATA_RATES_VALUE_V2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_SUPPORTED_DSSS_CHANNEL { + pub uChannel: u32, +} +impl ::core::marker::Copy for DOT11_SUPPORTED_DSSS_CHANNEL {} +impl ::core::clone::Clone for DOT11_SUPPORTED_DSSS_CHANNEL { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_SUPPORTED_DSSS_CHANNEL_LIST { + pub uNumOfEntries: u32, + pub uTotalNumOfEntries: u32, + pub dot11SupportedDSSSChannel: [DOT11_SUPPORTED_DSSS_CHANNEL; 1], +} +impl ::core::marker::Copy for DOT11_SUPPORTED_DSSS_CHANNEL_LIST {} +impl ::core::clone::Clone for DOT11_SUPPORTED_DSSS_CHANNEL_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_SUPPORTED_OFDM_FREQUENCY { + pub uCenterFrequency: u32, +} +impl ::core::marker::Copy for DOT11_SUPPORTED_OFDM_FREQUENCY {} +impl ::core::clone::Clone for DOT11_SUPPORTED_OFDM_FREQUENCY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_SUPPORTED_OFDM_FREQUENCY_LIST { + pub uNumOfEntries: u32, + pub uTotalNumOfEntries: u32, + pub dot11SupportedOFDMFrequency: [DOT11_SUPPORTED_OFDM_FREQUENCY; 1], +} +impl ::core::marker::Copy for DOT11_SUPPORTED_OFDM_FREQUENCY_LIST {} +impl ::core::clone::Clone for DOT11_SUPPORTED_OFDM_FREQUENCY_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_SUPPORTED_PHY_TYPES { + pub uNumOfEntries: u32, + pub uTotalNumOfEntries: u32, + pub dot11PHYType: [DOT11_PHY_TYPE; 1], +} +impl ::core::marker::Copy for DOT11_SUPPORTED_PHY_TYPES {} +impl ::core::clone::Clone for DOT11_SUPPORTED_PHY_TYPES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_SUPPORTED_POWER_LEVELS { + pub uNumOfSupportedPowerLevels: u32, + pub uTxPowerLevelValues: [u32; 8], +} +impl ::core::marker::Copy for DOT11_SUPPORTED_POWER_LEVELS {} +impl ::core::clone::Clone for DOT11_SUPPORTED_POWER_LEVELS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub struct DOT11_TKIPMIC_FAILURE_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub bDefaultKeyFailure: super::super::Foundation::BOOLEAN, + pub uKeyIndex: u32, + pub PeerMac: [u8; 6], +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::marker::Copy for DOT11_TKIPMIC_FAILURE_PARAMETERS {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::clone::Clone for DOT11_TKIPMIC_FAILURE_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_UPDATE_IE { + pub dot11UpdateIEOp: DOT11_UPDATE_IE_OP, + pub uBufferLength: u32, + pub ucBuffer: [u8; 1], +} +impl ::core::marker::Copy for DOT11_UPDATE_IE {} +impl ::core::clone::Clone for DOT11_UPDATE_IE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_VENUEINFO { + pub VenueGroup: u8, + pub VenueType: u8, +} +impl ::core::marker::Copy for DOT11_VENUEINFO {} +impl ::core::clone::Clone for DOT11_VENUEINFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_VWIFI_ATTRIBUTES { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uTotalNumOfEntries: u32, + pub Combinations: [DOT11_VWIFI_COMBINATION; 1], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_VWIFI_ATTRIBUTES {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_VWIFI_ATTRIBUTES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_VWIFI_COMBINATION { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uNumInfrastructure: u32, + pub uNumAdhoc: u32, + pub uNumSoftAP: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_VWIFI_COMBINATION {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_VWIFI_COMBINATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_VWIFI_COMBINATION_V2 { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uNumInfrastructure: u32, + pub uNumAdhoc: u32, + pub uNumSoftAP: u32, + pub uNumVirtualStation: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_VWIFI_COMBINATION_V2 {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_VWIFI_COMBINATION_V2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_VWIFI_COMBINATION_V3 { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uNumInfrastructure: u32, + pub uNumAdhoc: u32, + pub uNumSoftAP: u32, + pub uNumVirtualStation: u32, + pub uNumWFDGroup: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_VWIFI_COMBINATION_V3 {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_VWIFI_COMBINATION_V3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11_WEP_OFFLOAD { + pub uReserved: u32, + pub hOffloadContext: super::super::Foundation::HANDLE, + pub hOffload: super::super::Foundation::HANDLE, + pub dot11OffloadType: DOT11_OFFLOAD_TYPE, + pub dwAlgorithm: u32, + pub bRowIsOutbound: super::super::Foundation::BOOLEAN, + pub bUseDefault: super::super::Foundation::BOOLEAN, + pub uFlags: u32, + pub ucMacAddress: [u8; 6], + pub uNumOfRWsOnPeer: u32, + pub uNumOfRWsOnMe: u32, + pub dot11IV48Counters: [DOT11_IV48_COUNTER; 16], + pub usDot11RWBitMaps: [u16; 16], + pub usKeyLength: u16, + pub ucKey: [u8; 1], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11_WEP_OFFLOAD {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11_WEP_OFFLOAD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11_WEP_UPLOAD { + pub uReserved: u32, + pub dot11OffloadType: DOT11_OFFLOAD_TYPE, + pub hOffload: super::super::Foundation::HANDLE, + pub uNumOfRWsUsed: u32, + pub dot11IV48Counters: [DOT11_IV48_COUNTER; 16], + pub usDot11RWBitMaps: [u16; 16], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11_WEP_UPLOAD {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11_WEP_UPLOAD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_WFD_ADDITIONAL_IE { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uBeaconIEsOffset: u32, + pub uBeaconIEsLength: u32, + pub uProbeResponseIEsOffset: u32, + pub uProbeResponseIEsLength: u32, + pub uDefaultRequestIEsOffset: u32, + pub uDefaultRequestIEsLength: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_WFD_ADDITIONAL_IE {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_WFD_ADDITIONAL_IE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_WFD_ADVERTISED_SERVICE_DESCRIPTOR { + pub AdvertisementID: u32, + pub ConfigMethods: u16, + pub ServiceNameLength: u8, + pub ServiceName: [u8; 255], +} +impl ::core::marker::Copy for DOT11_WFD_ADVERTISED_SERVICE_DESCRIPTOR {} +impl ::core::clone::Clone for DOT11_WFD_ADVERTISED_SERVICE_DESCRIPTOR { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_WFD_ADVERTISED_SERVICE_LIST { + pub ServiceCount: u16, + pub AdvertisedService: [DOT11_WFD_ADVERTISED_SERVICE_DESCRIPTOR; 1], +} +impl ::core::marker::Copy for DOT11_WFD_ADVERTISED_SERVICE_LIST {} +impl ::core::clone::Clone for DOT11_WFD_ADVERTISED_SERVICE_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_WFD_ADVERTISEMENT_ID { + pub AdvertisementID: u32, + pub ServiceAddress: [u8; 6], +} +impl ::core::marker::Copy for DOT11_WFD_ADVERTISEMENT_ID {} +impl ::core::clone::Clone for DOT11_WFD_ADVERTISEMENT_ID { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub struct DOT11_WFD_ATTRIBUTES { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uNumConcurrentGORole: u32, + pub uNumConcurrentClientRole: u32, + pub WPSVersionsSupported: u32, + pub bServiceDiscoverySupported: super::super::Foundation::BOOLEAN, + pub bClientDiscoverabilitySupported: super::super::Foundation::BOOLEAN, + pub bInfrastructureManagementSupported: super::super::Foundation::BOOLEAN, + pub uMaxSecondaryDeviceTypeListSize: u32, + pub DeviceAddress: [u8; 6], + pub uInterfaceAddressListCount: u32, + pub pInterfaceAddressList: *mut u8, + pub uNumSupportedCountryOrRegionStrings: u32, + pub pSupportedCountryOrRegionStrings: *mut u8, + pub uDiscoveryFilterListSize: u32, + pub uGORoleClientTableSize: u32, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::marker::Copy for DOT11_WFD_ATTRIBUTES {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::clone::Clone for DOT11_WFD_ATTRIBUTES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_WFD_CHANNEL { + pub CountryRegionString: [u8; 3], + pub OperatingClass: u8, + pub ChannelNumber: u8, +} +impl ::core::marker::Copy for DOT11_WFD_CHANNEL {} +impl ::core::clone::Clone for DOT11_WFD_CHANNEL { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_WFD_CONFIGURATION_TIMEOUT { + pub GOTimeout: u8, + pub ClientTimeout: u8, +} +impl ::core::marker::Copy for DOT11_WFD_CONFIGURATION_TIMEOUT {} +impl ::core::clone::Clone for DOT11_WFD_CONFIGURATION_TIMEOUT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub struct DOT11_WFD_DEVICE_CAPABILITY_CONFIG { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub bServiceDiscoveryEnabled: super::super::Foundation::BOOLEAN, + pub bClientDiscoverabilityEnabled: super::super::Foundation::BOOLEAN, + pub bConcurrentOperationSupported: super::super::Foundation::BOOLEAN, + pub bInfrastructureManagementEnabled: super::super::Foundation::BOOLEAN, + pub bDeviceLimitReached: super::super::Foundation::BOOLEAN, + pub bInvitationProcedureEnabled: super::super::Foundation::BOOLEAN, + pub WPSVersionsEnabled: u32, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::marker::Copy for DOT11_WFD_DEVICE_CAPABILITY_CONFIG {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::clone::Clone for DOT11_WFD_DEVICE_CAPABILITY_CONFIG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_WFD_DEVICE_ENTRY { + pub uPhyId: u32, + pub PhySpecificInfo: DOT11_BSS_ENTRY_PHY_SPECIFIC_INFO, + pub dot11BSSID: [u8; 6], + pub dot11BSSType: DOT11_BSS_TYPE, + pub TransmitterAddress: [u8; 6], + pub lRSSI: i32, + pub uLinkQuality: u32, + pub usBeaconPeriod: u16, + pub ullTimestamp: u64, + pub ullBeaconHostTimestamp: u64, + pub ullProbeResponseHostTimestamp: u64, + pub usCapabilityInformation: u16, + pub uBeaconIEsOffset: u32, + pub uBeaconIEsLength: u32, + pub uProbeResponseIEsOffset: u32, + pub uProbeResponseIEsLength: u32, +} +impl ::core::marker::Copy for DOT11_WFD_DEVICE_ENTRY {} +impl ::core::clone::Clone for DOT11_WFD_DEVICE_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_WFD_DEVICE_INFO { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub DeviceAddress: [u8; 6], + pub ConfigMethods: u16, + pub PrimaryDeviceType: DOT11_WFD_DEVICE_TYPE, + pub DeviceName: DOT11_WPS_DEVICE_NAME, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_WFD_DEVICE_INFO {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_WFD_DEVICE_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_WFD_DEVICE_LISTEN_CHANNEL { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub ChannelNumber: u8, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_WFD_DEVICE_LISTEN_CHANNEL {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_WFD_DEVICE_LISTEN_CHANNEL { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_WFD_DEVICE_TYPE { + pub CategoryID: u16, + pub SubCategoryID: u16, + pub OUI: [u8; 4], +} +impl ::core::marker::Copy for DOT11_WFD_DEVICE_TYPE {} +impl ::core::clone::Clone for DOT11_WFD_DEVICE_TYPE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_WFD_DISCOVER_COMPLETE_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub Status: i32, + pub uNumOfEntries: u32, + pub uTotalNumOfEntries: u32, + pub uListOffset: u32, + pub uListLength: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_WFD_DISCOVER_COMPLETE_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_WFD_DISCOVER_COMPLETE_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_WFD_DISCOVER_DEVICE_FILTER { + pub DeviceID: [u8; 6], + pub ucBitmask: u8, + pub GroupSSID: DOT11_SSID, +} +impl ::core::marker::Copy for DOT11_WFD_DISCOVER_DEVICE_FILTER {} +impl ::core::clone::Clone for DOT11_WFD_DISCOVER_DEVICE_FILTER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub struct DOT11_WFD_DISCOVER_REQUEST { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub DiscoverType: DOT11_WFD_DISCOVER_TYPE, + pub ScanType: DOT11_WFD_SCAN_TYPE, + pub uDiscoverTimeout: u32, + pub uDeviceFilterListOffset: u32, + pub uNumDeviceFilters: u32, + pub uIEsOffset: u32, + pub uIEsLength: u32, + pub bForceScanLegacyNetworks: super::super::Foundation::BOOLEAN, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::marker::Copy for DOT11_WFD_DISCOVER_REQUEST {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::clone::Clone for DOT11_WFD_DISCOVER_REQUEST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_WFD_GO_INTENT { + pub _bitfield: u8, +} +impl ::core::marker::Copy for DOT11_WFD_GO_INTENT {} +impl ::core::clone::Clone for DOT11_WFD_GO_INTENT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_WFD_GROUP_ID { + pub DeviceAddress: [u8; 6], + pub SSID: DOT11_SSID, +} +impl ::core::marker::Copy for DOT11_WFD_GROUP_ID {} +impl ::core::clone::Clone for DOT11_WFD_GROUP_ID { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub struct DOT11_WFD_GROUP_JOIN_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub GOOperatingChannel: DOT11_WFD_CHANNEL, + pub GOConfigTime: u32, + pub bInGroupFormation: super::super::Foundation::BOOLEAN, + pub bWaitForWPSReady: super::super::Foundation::BOOLEAN, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::marker::Copy for DOT11_WFD_GROUP_JOIN_PARAMETERS {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::clone::Clone for DOT11_WFD_GROUP_JOIN_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub struct DOT11_WFD_GROUP_OWNER_CAPABILITY_CONFIG { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub bPersistentGroupEnabled: super::super::Foundation::BOOLEAN, + pub bIntraBSSDistributionSupported: super::super::Foundation::BOOLEAN, + pub bCrossConnectionSupported: super::super::Foundation::BOOLEAN, + pub bPersistentReconnectSupported: super::super::Foundation::BOOLEAN, + pub bGroupFormationEnabled: super::super::Foundation::BOOLEAN, + pub uMaximumGroupLimit: u32, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::marker::Copy for DOT11_WFD_GROUP_OWNER_CAPABILITY_CONFIG {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::clone::Clone for DOT11_WFD_GROUP_OWNER_CAPABILITY_CONFIG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub struct DOT11_WFD_GROUP_OWNER_CAPABILITY_CONFIG_V2 { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub bPersistentGroupEnabled: super::super::Foundation::BOOLEAN, + pub bIntraBSSDistributionSupported: super::super::Foundation::BOOLEAN, + pub bCrossConnectionSupported: super::super::Foundation::BOOLEAN, + pub bPersistentReconnectSupported: super::super::Foundation::BOOLEAN, + pub bGroupFormationEnabled: super::super::Foundation::BOOLEAN, + pub uMaximumGroupLimit: u32, + pub bEapolKeyIpAddressAllocationSupported: super::super::Foundation::BOOLEAN, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::marker::Copy for DOT11_WFD_GROUP_OWNER_CAPABILITY_CONFIG_V2 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +impl ::core::clone::Clone for DOT11_WFD_GROUP_OWNER_CAPABILITY_CONFIG_V2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_WFD_GROUP_START_PARAMETERS { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub AdvertisedOperatingChannel: DOT11_WFD_CHANNEL, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_WFD_GROUP_START_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_WFD_GROUP_START_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_WFD_INVITATION_FLAGS { + pub _bitfield: u8, +} +impl ::core::marker::Copy for DOT11_WFD_INVITATION_FLAGS {} +impl ::core::clone::Clone for DOT11_WFD_INVITATION_FLAGS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct DOT11_WFD_SECONDARY_DEVICE_TYPE_LIST { + pub Header: super::Ndis::NDIS_OBJECT_HEADER, + pub uNumOfEntries: u32, + pub uTotalNumOfEntries: u32, + pub SecondaryDeviceTypes: [DOT11_WFD_DEVICE_TYPE; 1], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for DOT11_WFD_SECONDARY_DEVICE_TYPE_LIST {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for DOT11_WFD_SECONDARY_DEVICE_TYPE_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_WFD_SERVICE_HASH_LIST { + pub ServiceHashCount: u16, + pub ServiceHash: [u8; 6], +} +impl ::core::marker::Copy for DOT11_WFD_SERVICE_HASH_LIST {} +impl ::core::clone::Clone for DOT11_WFD_SERVICE_HASH_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_WFD_SESSION_ID { + pub SessionID: u32, + pub SessionAddress: [u8; 6], +} +impl ::core::marker::Copy for DOT11_WFD_SESSION_ID {} +impl ::core::clone::Clone for DOT11_WFD_SESSION_ID { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_WFD_SESSION_INFO { + pub uSessionInfoLength: u16, + pub ucSessionInfo: [u8; 144], +} +impl ::core::marker::Copy for DOT11_WFD_SESSION_INFO {} +impl ::core::clone::Clone for DOT11_WFD_SESSION_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_WME_AC_PARAMETERS { + pub ucAccessCategoryIndex: u8, + pub ucAIFSN: u8, + pub ucECWmin: u8, + pub ucECWmax: u8, + pub usTXOPLimit: u16, +} +impl ::core::marker::Copy for DOT11_WME_AC_PARAMETERS {} +impl ::core::clone::Clone for DOT11_WME_AC_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_WME_AC_PARAMETERS_LIST { + pub uNumOfEntries: u32, + pub uTotalNumOfEntries: u32, + pub dot11WMEACParameters: [DOT11_WME_AC_PARAMETERS; 1], +} +impl ::core::marker::Copy for DOT11_WME_AC_PARAMETERS_LIST {} +impl ::core::clone::Clone for DOT11_WME_AC_PARAMETERS_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_WME_UPDATE_IE { + pub uParamElemMinBeaconIntervals: u32, + pub uWMEInfoElemOffset: u32, + pub uWMEInfoElemLength: u32, + pub uWMEParamElemOffset: u32, + pub uWMEParamElemLength: u32, + pub ucBuffer: [u8; 1], +} +impl ::core::marker::Copy for DOT11_WME_UPDATE_IE {} +impl ::core::clone::Clone for DOT11_WME_UPDATE_IE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DOT11_WPA_TSC { + pub uReserved: u32, + pub dot11OffloadType: DOT11_OFFLOAD_TYPE, + pub hOffload: super::super::Foundation::HANDLE, + pub dot11IV48Counter: DOT11_IV48_COUNTER, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DOT11_WPA_TSC {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DOT11_WPA_TSC { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct DOT11_WPS_DEVICE_NAME { + pub uDeviceNameLength: u32, + pub ucDeviceName: [u8; 32], +} +impl ::core::marker::Copy for DOT11_WPS_DEVICE_NAME {} +impl ::core::clone::Clone for DOT11_WPS_DEVICE_NAME { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct L2_NOTIFICATION_DATA { + pub NotificationSource: WLAN_NOTIFICATION_SOURCES, + pub NotificationCode: u32, + pub InterfaceGuid: ::windows_sys::core::GUID, + pub dwDataSize: u32, + pub pData: *mut ::core::ffi::c_void, +} +impl ::core::marker::Copy for L2_NOTIFICATION_DATA {} +impl ::core::clone::Clone for L2_NOTIFICATION_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct ONEX_AUTH_PARAMS { + pub fUpdatePending: super::super::Foundation::BOOL, + pub oneXConnProfile: ONEX_VARIABLE_BLOB, + pub authIdentity: ONEX_AUTH_IDENTITY, + pub dwQuarantineState: u32, + pub _bitfield: u32, + pub dwSessionId: u32, + pub hUserToken: super::super::Foundation::HANDLE, + pub OneXUserProfile: ONEX_VARIABLE_BLOB, + pub Identity: ONEX_VARIABLE_BLOB, + pub UserName: ONEX_VARIABLE_BLOB, + pub Domain: ONEX_VARIABLE_BLOB, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for ONEX_AUTH_PARAMS {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for ONEX_AUTH_PARAMS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`"] +#[cfg(feature = "Win32_Security_ExtensibleAuthenticationProtocol")] +pub struct ONEX_EAP_ERROR { + pub dwWinError: u32, + pub r#type: super::super::Security::ExtensibleAuthenticationProtocol::EAP_METHOD_TYPE, + pub dwReasonCode: u32, + pub rootCauseGuid: ::windows_sys::core::GUID, + pub repairGuid: ::windows_sys::core::GUID, + pub helpLinkGuid: ::windows_sys::core::GUID, + pub _bitfield: u32, + pub RootCauseString: ONEX_VARIABLE_BLOB, + pub RepairString: ONEX_VARIABLE_BLOB, +} +#[cfg(feature = "Win32_Security_ExtensibleAuthenticationProtocol")] +impl ::core::marker::Copy for ONEX_EAP_ERROR {} +#[cfg(feature = "Win32_Security_ExtensibleAuthenticationProtocol")] +impl ::core::clone::Clone for ONEX_EAP_ERROR { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct ONEX_RESULT_UPDATE_DATA { + pub oneXStatus: ONEX_STATUS, + pub BackendSupport: ONEX_EAP_METHOD_BACKEND_SUPPORT, + pub fBackendEngaged: super::super::Foundation::BOOL, + pub _bitfield: u32, + pub authParams: ONEX_VARIABLE_BLOB, + pub eapError: ONEX_VARIABLE_BLOB, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for ONEX_RESULT_UPDATE_DATA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for ONEX_RESULT_UPDATE_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct ONEX_STATUS { + pub authStatus: ONEX_AUTH_STATUS, + pub dwReason: u32, + pub dwError: u32, +} +impl ::core::marker::Copy for ONEX_STATUS {} +impl ::core::clone::Clone for ONEX_STATUS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct ONEX_USER_INFO { + pub authIdentity: ONEX_AUTH_IDENTITY, + pub _bitfield: u32, + pub UserName: ONEX_VARIABLE_BLOB, + pub DomainName: ONEX_VARIABLE_BLOB, +} +impl ::core::marker::Copy for ONEX_USER_INFO {} +impl ::core::clone::Clone for ONEX_USER_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct ONEX_VARIABLE_BLOB { + pub dwSize: u32, + pub dwOffset: u32, +} +impl ::core::marker::Copy for ONEX_VARIABLE_BLOB {} +impl ::core::clone::Clone for ONEX_VARIABLE_BLOB { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WDIAG_IHV_WLAN_ID { + pub strProfileName: [u16; 256], + pub Ssid: DOT11_SSID, + pub BssType: DOT11_BSS_TYPE, + pub dwFlags: u32, + pub dwReasonCode: u32, +} +impl ::core::marker::Copy for WDIAG_IHV_WLAN_ID {} +impl ::core::clone::Clone for WDIAG_IHV_WLAN_ID { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WFDSVC_CONNECTION_CAPABILITY { + pub bNew: super::super::Foundation::BOOLEAN, + pub bClient: super::super::Foundation::BOOLEAN, + pub bGO: super::super::Foundation::BOOLEAN, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WFDSVC_CONNECTION_CAPABILITY {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WFDSVC_CONNECTION_CAPABILITY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WFD_GROUP_ID { + pub DeviceAddress: [u8; 6], + pub GroupSSID: DOT11_SSID, +} +impl ::core::marker::Copy for WFD_GROUP_ID {} +impl ::core::clone::Clone for WFD_GROUP_ID { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WLAN_ASSOCIATION_ATTRIBUTES { + pub dot11Ssid: DOT11_SSID, + pub dot11BssType: DOT11_BSS_TYPE, + pub dot11Bssid: [u8; 6], + pub dot11PhyType: DOT11_PHY_TYPE, + pub uDot11PhyIndex: u32, + pub wlanSignalQuality: u32, + pub ulRxRate: u32, + pub ulTxRate: u32, +} +impl ::core::marker::Copy for WLAN_ASSOCIATION_ATTRIBUTES {} +impl ::core::clone::Clone for WLAN_ASSOCIATION_ATTRIBUTES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WLAN_AUTH_CIPHER_PAIR_LIST { + pub dwNumberOfItems: u32, + pub pAuthCipherPairList: [DOT11_AUTH_CIPHER_PAIR; 1], +} +impl ::core::marker::Copy for WLAN_AUTH_CIPHER_PAIR_LIST {} +impl ::core::clone::Clone for WLAN_AUTH_CIPHER_PAIR_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WLAN_AVAILABLE_NETWORK { + pub strProfileName: [u16; 256], + pub dot11Ssid: DOT11_SSID, + pub dot11BssType: DOT11_BSS_TYPE, + pub uNumberOfBssids: u32, + pub bNetworkConnectable: super::super::Foundation::BOOL, + pub wlanNotConnectableReason: u32, + pub uNumberOfPhyTypes: u32, + pub dot11PhyTypes: [DOT11_PHY_TYPE; 8], + pub bMorePhyTypes: super::super::Foundation::BOOL, + pub wlanSignalQuality: u32, + pub bSecurityEnabled: super::super::Foundation::BOOL, + pub dot11DefaultAuthAlgorithm: DOT11_AUTH_ALGORITHM, + pub dot11DefaultCipherAlgorithm: DOT11_CIPHER_ALGORITHM, + pub dwFlags: u32, + pub dwReserved: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WLAN_AVAILABLE_NETWORK {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WLAN_AVAILABLE_NETWORK { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WLAN_AVAILABLE_NETWORK_LIST { + pub dwNumberOfItems: u32, + pub dwIndex: u32, + pub Network: [WLAN_AVAILABLE_NETWORK; 1], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WLAN_AVAILABLE_NETWORK_LIST {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WLAN_AVAILABLE_NETWORK_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WLAN_AVAILABLE_NETWORK_LIST_V2 { + pub dwNumberOfItems: u32, + pub dwIndex: u32, + pub Network: [WLAN_AVAILABLE_NETWORK_V2; 1], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WLAN_AVAILABLE_NETWORK_LIST_V2 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WLAN_AVAILABLE_NETWORK_LIST_V2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WLAN_AVAILABLE_NETWORK_V2 { + pub strProfileName: [u16; 256], + pub dot11Ssid: DOT11_SSID, + pub dot11BssType: DOT11_BSS_TYPE, + pub uNumberOfBssids: u32, + pub bNetworkConnectable: super::super::Foundation::BOOL, + pub wlanNotConnectableReason: u32, + pub uNumberOfPhyTypes: u32, + pub dot11PhyTypes: [DOT11_PHY_TYPE; 8], + pub bMorePhyTypes: super::super::Foundation::BOOL, + pub wlanSignalQuality: u32, + pub bSecurityEnabled: super::super::Foundation::BOOL, + pub dot11DefaultAuthAlgorithm: DOT11_AUTH_ALGORITHM, + pub dot11DefaultCipherAlgorithm: DOT11_CIPHER_ALGORITHM, + pub dwFlags: u32, + pub AccessNetworkOptions: DOT11_ACCESSNETWORKOPTIONS, + pub dot11HESSID: [u8; 6], + pub VenueInfo: DOT11_VENUEINFO, + pub dwReserved: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WLAN_AVAILABLE_NETWORK_V2 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WLAN_AVAILABLE_NETWORK_V2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WLAN_BSS_ENTRY { + pub dot11Ssid: DOT11_SSID, + pub uPhyId: u32, + pub dot11Bssid: [u8; 6], + pub dot11BssType: DOT11_BSS_TYPE, + pub dot11BssPhyType: DOT11_PHY_TYPE, + pub lRssi: i32, + pub uLinkQuality: u32, + pub bInRegDomain: super::super::Foundation::BOOLEAN, + pub usBeaconPeriod: u16, + pub ullTimestamp: u64, + pub ullHostTimestamp: u64, + pub usCapabilityInformation: u16, + pub ulChCenterFrequency: u32, + pub wlanRateSet: WLAN_RATE_SET, + pub ulIeOffset: u32, + pub ulIeSize: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WLAN_BSS_ENTRY {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WLAN_BSS_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WLAN_BSS_LIST { + pub dwTotalSize: u32, + pub dwNumberOfItems: u32, + pub wlanBssEntries: [WLAN_BSS_ENTRY; 1], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WLAN_BSS_LIST {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WLAN_BSS_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WLAN_CONNECTION_ATTRIBUTES { + pub isState: WLAN_INTERFACE_STATE, + pub wlanConnectionMode: WLAN_CONNECTION_MODE, + pub strProfileName: [u16; 256], + pub wlanAssociationAttributes: WLAN_ASSOCIATION_ATTRIBUTES, + pub wlanSecurityAttributes: WLAN_SECURITY_ATTRIBUTES, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WLAN_CONNECTION_ATTRIBUTES {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WLAN_CONNECTION_ATTRIBUTES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WLAN_CONNECTION_NOTIFICATION_DATA { + pub wlanConnectionMode: WLAN_CONNECTION_MODE, + pub strProfileName: [u16; 256], + pub dot11Ssid: DOT11_SSID, + pub dot11BssType: DOT11_BSS_TYPE, + pub bSecurityEnabled: super::super::Foundation::BOOL, + pub wlanReasonCode: u32, + pub dwFlags: WLAN_CONNECTION_NOTIFICATION_FLAGS, + pub strProfileXml: [u16; 1], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WLAN_CONNECTION_NOTIFICATION_DATA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WLAN_CONNECTION_NOTIFICATION_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct WLAN_CONNECTION_PARAMETERS { + pub wlanConnectionMode: WLAN_CONNECTION_MODE, + pub strProfile: ::windows_sys::core::PCWSTR, + pub pDot11Ssid: *mut DOT11_SSID, + pub pDesiredBssidList: *mut DOT11_BSSID_LIST, + pub dot11BssType: DOT11_BSS_TYPE, + pub dwFlags: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for WLAN_CONNECTION_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for WLAN_CONNECTION_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct WLAN_CONNECTION_PARAMETERS_V2 { + pub wlanConnectionMode: WLAN_CONNECTION_MODE, + pub strProfile: ::windows_sys::core::PCWSTR, + pub pDot11Ssid: *mut DOT11_SSID, + pub pDot11Hessid: *mut u8, + pub pDesiredBssidList: *mut DOT11_BSSID_LIST, + pub dot11BssType: DOT11_BSS_TYPE, + pub dwFlags: u32, + pub pDot11AccessNetworkOptions: *mut DOT11_ACCESSNETWORKOPTIONS, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for WLAN_CONNECTION_PARAMETERS_V2 {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for WLAN_CONNECTION_PARAMETERS_V2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WLAN_COUNTRY_OR_REGION_STRING_LIST { + pub dwNumberOfItems: u32, + pub pCountryOrRegionStringList: [u8; 3], +} +impl ::core::marker::Copy for WLAN_COUNTRY_OR_REGION_STRING_LIST {} +impl ::core::clone::Clone for WLAN_COUNTRY_OR_REGION_STRING_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WLAN_DEVICE_SERVICE_GUID_LIST { + pub dwNumberOfItems: u32, + pub dwIndex: u32, + pub DeviceService: [::windows_sys::core::GUID; 1], +} +impl ::core::marker::Copy for WLAN_DEVICE_SERVICE_GUID_LIST {} +impl ::core::clone::Clone for WLAN_DEVICE_SERVICE_GUID_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WLAN_DEVICE_SERVICE_NOTIFICATION_DATA { + pub DeviceService: ::windows_sys::core::GUID, + pub dwOpCode: u32, + pub dwDataSize: u32, + pub DataBlob: [u8; 1], +} +impl ::core::marker::Copy for WLAN_DEVICE_SERVICE_NOTIFICATION_DATA {} +impl ::core::clone::Clone for WLAN_DEVICE_SERVICE_NOTIFICATION_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WLAN_HOSTED_NETWORK_CONNECTION_SETTINGS { + pub hostedNetworkSSID: DOT11_SSID, + pub dwMaxNumberOfPeers: u32, +} +impl ::core::marker::Copy for WLAN_HOSTED_NETWORK_CONNECTION_SETTINGS {} +impl ::core::clone::Clone for WLAN_HOSTED_NETWORK_CONNECTION_SETTINGS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WLAN_HOSTED_NETWORK_DATA_PEER_STATE_CHANGE { + pub OldState: WLAN_HOSTED_NETWORK_PEER_STATE, + pub NewState: WLAN_HOSTED_NETWORK_PEER_STATE, + pub PeerStateChangeReason: WLAN_HOSTED_NETWORK_REASON, +} +impl ::core::marker::Copy for WLAN_HOSTED_NETWORK_DATA_PEER_STATE_CHANGE {} +impl ::core::clone::Clone for WLAN_HOSTED_NETWORK_DATA_PEER_STATE_CHANGE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WLAN_HOSTED_NETWORK_PEER_STATE { + pub PeerMacAddress: [u8; 6], + pub PeerAuthState: WLAN_HOSTED_NETWORK_PEER_AUTH_STATE, +} +impl ::core::marker::Copy for WLAN_HOSTED_NETWORK_PEER_STATE {} +impl ::core::clone::Clone for WLAN_HOSTED_NETWORK_PEER_STATE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WLAN_HOSTED_NETWORK_RADIO_STATE { + pub dot11SoftwareRadioState: DOT11_RADIO_STATE, + pub dot11HardwareRadioState: DOT11_RADIO_STATE, +} +impl ::core::marker::Copy for WLAN_HOSTED_NETWORK_RADIO_STATE {} +impl ::core::clone::Clone for WLAN_HOSTED_NETWORK_RADIO_STATE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WLAN_HOSTED_NETWORK_SECURITY_SETTINGS { + pub dot11AuthAlgo: DOT11_AUTH_ALGORITHM, + pub dot11CipherAlgo: DOT11_CIPHER_ALGORITHM, +} +impl ::core::marker::Copy for WLAN_HOSTED_NETWORK_SECURITY_SETTINGS {} +impl ::core::clone::Clone for WLAN_HOSTED_NETWORK_SECURITY_SETTINGS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WLAN_HOSTED_NETWORK_STATE_CHANGE { + pub OldState: WLAN_HOSTED_NETWORK_STATE, + pub NewState: WLAN_HOSTED_NETWORK_STATE, + pub StateChangeReason: WLAN_HOSTED_NETWORK_REASON, +} +impl ::core::marker::Copy for WLAN_HOSTED_NETWORK_STATE_CHANGE {} +impl ::core::clone::Clone for WLAN_HOSTED_NETWORK_STATE_CHANGE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WLAN_HOSTED_NETWORK_STATUS { + pub HostedNetworkState: WLAN_HOSTED_NETWORK_STATE, + pub IPDeviceID: ::windows_sys::core::GUID, + pub wlanHostedNetworkBSSID: [u8; 6], + pub dot11PhyType: DOT11_PHY_TYPE, + pub ulChannelFrequency: u32, + pub dwNumberOfPeers: u32, + pub PeerList: [WLAN_HOSTED_NETWORK_PEER_STATE; 1], +} +impl ::core::marker::Copy for WLAN_HOSTED_NETWORK_STATUS {} +impl ::core::clone::Clone for WLAN_HOSTED_NETWORK_STATUS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WLAN_INTERFACE_CAPABILITY { + pub interfaceType: WLAN_INTERFACE_TYPE, + pub bDot11DSupported: super::super::Foundation::BOOL, + pub dwMaxDesiredSsidListSize: u32, + pub dwMaxDesiredBssidListSize: u32, + pub dwNumberOfSupportedPhys: u32, + pub dot11PhyTypes: [DOT11_PHY_TYPE; 64], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WLAN_INTERFACE_CAPABILITY {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WLAN_INTERFACE_CAPABILITY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WLAN_INTERFACE_INFO { + pub InterfaceGuid: ::windows_sys::core::GUID, + pub strInterfaceDescription: [u16; 256], + pub isState: WLAN_INTERFACE_STATE, +} +impl ::core::marker::Copy for WLAN_INTERFACE_INFO {} +impl ::core::clone::Clone for WLAN_INTERFACE_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WLAN_INTERFACE_INFO_LIST { + pub dwNumberOfItems: u32, + pub dwIndex: u32, + pub InterfaceInfo: [WLAN_INTERFACE_INFO; 1], +} +impl ::core::marker::Copy for WLAN_INTERFACE_INFO_LIST {} +impl ::core::clone::Clone for WLAN_INTERFACE_INFO_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WLAN_MAC_FRAME_STATISTICS { + pub ullTransmittedFrameCount: u64, + pub ullReceivedFrameCount: u64, + pub ullWEPExcludedCount: u64, + pub ullTKIPLocalMICFailures: u64, + pub ullTKIPReplays: u64, + pub ullTKIPICVErrorCount: u64, + pub ullCCMPReplays: u64, + pub ullCCMPDecryptErrors: u64, + pub ullWEPUndecryptableCount: u64, + pub ullWEPICVErrorCount: u64, + pub ullDecryptSuccessCount: u64, + pub ullDecryptFailureCount: u64, +} +impl ::core::marker::Copy for WLAN_MAC_FRAME_STATISTICS {} +impl ::core::clone::Clone for WLAN_MAC_FRAME_STATISTICS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WLAN_MSM_NOTIFICATION_DATA { + pub wlanConnectionMode: WLAN_CONNECTION_MODE, + pub strProfileName: [u16; 256], + pub dot11Ssid: DOT11_SSID, + pub dot11BssType: DOT11_BSS_TYPE, + pub dot11MacAddr: [u8; 6], + pub bSecurityEnabled: super::super::Foundation::BOOL, + pub bFirstPeer: super::super::Foundation::BOOL, + pub bLastPeer: super::super::Foundation::BOOL, + pub wlanReasonCode: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WLAN_MSM_NOTIFICATION_DATA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WLAN_MSM_NOTIFICATION_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WLAN_PHY_FRAME_STATISTICS { + pub ullTransmittedFrameCount: u64, + pub ullMulticastTransmittedFrameCount: u64, + pub ullFailedCount: u64, + pub ullRetryCount: u64, + pub ullMultipleRetryCount: u64, + pub ullMaxTXLifetimeExceededCount: u64, + pub ullTransmittedFragmentCount: u64, + pub ullRTSSuccessCount: u64, + pub ullRTSFailureCount: u64, + pub ullACKFailureCount: u64, + pub ullReceivedFrameCount: u64, + pub ullMulticastReceivedFrameCount: u64, + pub ullPromiscuousReceivedFrameCount: u64, + pub ullMaxRXLifetimeExceededCount: u64, + pub ullFrameDuplicateCount: u64, + pub ullReceivedFragmentCount: u64, + pub ullPromiscuousReceivedFragmentCount: u64, + pub ullFCSErrorCount: u64, +} +impl ::core::marker::Copy for WLAN_PHY_FRAME_STATISTICS {} +impl ::core::clone::Clone for WLAN_PHY_FRAME_STATISTICS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WLAN_PHY_RADIO_STATE { + pub dwPhyIndex: u32, + pub dot11SoftwareRadioState: DOT11_RADIO_STATE, + pub dot11HardwareRadioState: DOT11_RADIO_STATE, +} +impl ::core::marker::Copy for WLAN_PHY_RADIO_STATE {} +impl ::core::clone::Clone for WLAN_PHY_RADIO_STATE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WLAN_PROFILE_INFO { + pub strProfileName: [u16; 256], + pub dwFlags: u32, +} +impl ::core::marker::Copy for WLAN_PROFILE_INFO {} +impl ::core::clone::Clone for WLAN_PROFILE_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WLAN_PROFILE_INFO_LIST { + pub dwNumberOfItems: u32, + pub dwIndex: u32, + pub ProfileInfo: [WLAN_PROFILE_INFO; 1], +} +impl ::core::marker::Copy for WLAN_PROFILE_INFO_LIST {} +impl ::core::clone::Clone for WLAN_PROFILE_INFO_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WLAN_RADIO_STATE { + pub dwNumberOfPhys: u32, + pub PhyRadioState: [WLAN_PHY_RADIO_STATE; 64], +} +impl ::core::marker::Copy for WLAN_RADIO_STATE {} +impl ::core::clone::Clone for WLAN_RADIO_STATE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WLAN_RATE_SET { + pub uRateSetLength: u32, + pub usRateSet: [u16; 126], +} +impl ::core::marker::Copy for WLAN_RATE_SET {} +impl ::core::clone::Clone for WLAN_RATE_SET { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WLAN_RAW_DATA { + pub dwDataSize: u32, + pub DataBlob: [u8; 1], +} +impl ::core::marker::Copy for WLAN_RAW_DATA {} +impl ::core::clone::Clone for WLAN_RAW_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WLAN_RAW_DATA_LIST { + pub dwTotalSize: u32, + pub dwNumberOfItems: u32, + pub DataList: [WLAN_RAW_DATA_LIST_0; 1], +} +impl ::core::marker::Copy for WLAN_RAW_DATA_LIST {} +impl ::core::clone::Clone for WLAN_RAW_DATA_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WLAN_RAW_DATA_LIST_0 { + pub dwDataOffset: u32, + pub dwDataSize: u32, +} +impl ::core::marker::Copy for WLAN_RAW_DATA_LIST_0 {} +impl ::core::clone::Clone for WLAN_RAW_DATA_LIST_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WLAN_SECURITY_ATTRIBUTES { + pub bSecurityEnabled: super::super::Foundation::BOOL, + pub bOneXEnabled: super::super::Foundation::BOOL, + pub dot11AuthAlgorithm: DOT11_AUTH_ALGORITHM, + pub dot11CipherAlgorithm: DOT11_CIPHER_ALGORITHM, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WLAN_SECURITY_ATTRIBUTES {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WLAN_SECURITY_ATTRIBUTES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WLAN_STATISTICS { + pub ullFourWayHandshakeFailures: u64, + pub ullTKIPCounterMeasuresInvoked: u64, + pub ullReserved: u64, + pub MacUcastCounters: WLAN_MAC_FRAME_STATISTICS, + pub MacMcastCounters: WLAN_MAC_FRAME_STATISTICS, + pub dwNumberOfPhys: u32, + pub PhyCounters: [WLAN_PHY_FRAME_STATISTICS; 1], +} +impl ::core::marker::Copy for WLAN_STATISTICS {} +impl ::core::clone::Clone for WLAN_STATISTICS { + fn clone(&self) -> Self { + *self + } +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXTIHV_ADAPTER_RESET = ::core::option::Option<unsafe extern "system" fn(hihvextadapter: super::super::Foundation::HANDLE) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXTIHV_CONTROL = ::core::option::Option<unsafe extern "system" fn(hihvextadapter: super::super::Foundation::HANDLE, dwinbuffersize: u32, pinbuffer: *const u8, dwoutbuffersize: u32, poutbuffer: *mut u8, pdwbytesreturned: *mut u32) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_ExtensibleAuthenticationProtocol\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] +pub type DOT11EXTIHV_CREATE_DISCOVERY_PROFILES = ::core::option::Option<unsafe extern "system" fn(hihvextadapter: super::super::Foundation::HANDLE, binsecure: super::super::Foundation::BOOL, pihvprofileparams: *const DOT11EXT_IHV_PROFILE_PARAMS, pconnectablebssid: *const DOT11_BSS_LIST, pihvdiscoveryprofilelist: *mut DOT11EXT_IHV_DISCOVERY_PROFILE_LIST, pdwreasoncode: *mut u32) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXTIHV_DEINIT_ADAPTER = ::core::option::Option<unsafe extern "system" fn(hihvextadapter: super::super::Foundation::HANDLE) -> ()>; +pub type DOT11EXTIHV_DEINIT_SERVICE = ::core::option::Option<unsafe extern "system" fn() -> ()>; +pub type DOT11EXTIHV_GET_VERSION_INFO = ::core::option::Option<unsafe extern "system" fn(pdot11ihvversioninfo: *mut DOT11_IHV_VERSION_INFO) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXTIHV_INIT_ADAPTER = ::core::option::Option<unsafe extern "system" fn(pdot11adapter: *const DOT11_ADAPTER, hdot11svchandle: super::super::Foundation::HANDLE, phihvextadapter: *mut super::super::Foundation::HANDLE) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_System_RemoteDesktop\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Security_ExtensibleAuthenticationProtocol", feature = "Win32_System_RemoteDesktop"))] +pub type DOT11EXTIHV_INIT_SERVICE = ::core::option::Option<unsafe extern "system" fn(dwvernumused: u32, pdot11extapi: *const DOT11EXT_APIS, pvreserved: *const ::core::ffi::c_void, pdot11ihvhandlers: *mut DOT11EXT_IHV_HANDLERS) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXTIHV_INIT_VIRTUAL_STATION = ::core::option::Option<unsafe extern "system" fn(pdot11extvsapi: *const DOT11EXT_VIRTUAL_STATION_APIS, pvreserved: *const ::core::ffi::c_void) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXTIHV_IS_UI_REQUEST_PENDING = ::core::option::Option<unsafe extern "system" fn(guiduirequest: ::windows_sys::core::GUID, pbisrequestpending: *mut super::super::Foundation::BOOL) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_ExtensibleAuthenticationProtocol\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] +pub type DOT11EXTIHV_ONEX_INDICATE_RESULT = ::core::option::Option<unsafe extern "system" fn(hihvextadapter: super::super::Foundation::HANDLE, msonexresult: DOT11_MSONEX_RESULT, pdot11msonexresultparams: *const DOT11_MSONEX_RESULT_PARAMS) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_ExtensibleAuthenticationProtocol\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] +pub type DOT11EXTIHV_PERFORM_CAPABILITY_MATCH = ::core::option::Option<unsafe extern "system" fn(hihvextadapter: super::super::Foundation::HANDLE, pihvprofileparams: *const DOT11EXT_IHV_PROFILE_PARAMS, pihvconnprofile: *const DOT11EXT_IHV_CONNECTIVITY_PROFILE, pihvsecprofile: *const DOT11EXT_IHV_SECURITY_PROFILE, pconnectablebssid: *const DOT11_BSS_LIST, pdwreasoncode: *mut u32) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub type DOT11EXTIHV_PERFORM_POST_ASSOCIATE = ::core::option::Option<unsafe extern "system" fn(hihvextadapter: super::super::Foundation::HANDLE, hsecuritysessionid: super::super::Foundation::HANDLE, pportstate: *const DOT11_PORT_STATE, udot11assocparamsbytes: u32, pdot11assocparams: *const DOT11_ASSOCIATION_COMPLETION_PARAMETERS) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_ExtensibleAuthenticationProtocol\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] +pub type DOT11EXTIHV_PERFORM_PRE_ASSOCIATE = ::core::option::Option<unsafe extern "system" fn(hihvextadapter: super::super::Foundation::HANDLE, hconnectsession: super::super::Foundation::HANDLE, pihvprofileparams: *const DOT11EXT_IHV_PROFILE_PARAMS, pihvconnprofile: *const DOT11EXT_IHV_CONNECTIVITY_PROFILE, pihvsecprofile: *const DOT11EXT_IHV_SECURITY_PROFILE, pconnectablebssid: *const DOT11_BSS_LIST, pdwreasoncode: *mut u32) -> u32>; +#[doc = "Required features: `\"Win32_System_RemoteDesktop\"`"] +#[cfg(feature = "Win32_System_RemoteDesktop")] +pub type DOT11EXTIHV_PROCESS_SESSION_CHANGE = ::core::option::Option<unsafe extern "system" fn(ueventtype: u32, psessionnotification: *const super::super::System::RemoteDesktop::WTSSESSION_NOTIFICATION) -> u32>; +pub type DOT11EXTIHV_PROCESS_UI_RESPONSE = ::core::option::Option<unsafe extern "system" fn(guiduirequest: ::windows_sys::core::GUID, dwbytecount: u32, pvresponsebuffer: *const ::core::ffi::c_void) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXTIHV_QUERY_UI_REQUEST = ::core::option::Option<unsafe extern "system" fn(hihvextadapter: super::super::Foundation::HANDLE, connectionphase: DOT11EXT_IHV_CONNECTION_PHASE, ppihvuirequest: *mut *mut DOT11EXT_IHV_UI_REQUEST) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXTIHV_RECEIVE_INDICATION = ::core::option::Option<unsafe extern "system" fn(hihvextadapter: super::super::Foundation::HANDLE, indicationtype: DOT11EXT_IHV_INDICATION_TYPE, ubufferlength: u32, pvbuffer: *const ::core::ffi::c_void) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXTIHV_RECEIVE_PACKET = ::core::option::Option<unsafe extern "system" fn(hihvextadapter: super::super::Foundation::HANDLE, dwinbuffersize: u32, pvinbuffer: *const ::core::ffi::c_void) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXTIHV_SEND_PACKET_COMPLETION = ::core::option::Option<unsafe extern "system" fn(hsendcompletion: super::super::Foundation::HANDLE) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXTIHV_STOP_POST_ASSOCIATE = ::core::option::Option<unsafe extern "system" fn(hihvextadapter: super::super::Foundation::HANDLE, ppeer: *const *const u8, dot11assocstatus: u32) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_ExtensibleAuthenticationProtocol\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] +pub type DOT11EXTIHV_VALIDATE_PROFILE = ::core::option::Option<unsafe extern "system" fn(hihvextadapter: super::super::Foundation::HANDLE, pihvprofileparams: *const DOT11EXT_IHV_PROFILE_PARAMS, pihvconnprofile: *const DOT11EXT_IHV_CONNECTIVITY_PROFILE, pihvsecprofile: *const DOT11EXT_IHV_SECURITY_PROFILE, pdwreasoncode: *mut u32) -> u32>; +pub type DOT11EXT_ALLOCATE_BUFFER = ::core::option::Option<unsafe extern "system" fn(dwbytecount: u32, ppvbuffer: *mut *mut ::core::ffi::c_void) -> u32>; +pub type DOT11EXT_FREE_BUFFER = ::core::option::Option<unsafe extern "system" fn(pvmemory: *const ::core::ffi::c_void) -> ()>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXT_GET_PROFILE_CUSTOM_USER_DATA = ::core::option::Option<unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, hconnectsession: super::super::Foundation::HANDLE, dwsessionid: u32, pdwdatasize: *mut u32, ppvdata: *mut *mut ::core::ffi::c_void) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXT_NIC_SPECIFIC_EXTENSION = ::core::option::Option<unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, dwinbuffersize: u32, pvinbuffer: *const ::core::ffi::c_void, pdwoutbuffersize: *mut u32, pvoutbuffer: *mut ::core::ffi::c_void) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_ExtensibleAuthenticationProtocol\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] +pub type DOT11EXT_ONEX_START = ::core::option::Option<unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, peapattributes: *const super::super::Security::ExtensibleAuthenticationProtocol::EAP_ATTRIBUTES) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXT_ONEX_STOP = ::core::option::Option<unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXT_POST_ASSOCIATE_COMPLETION = ::core::option::Option<unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, hsecuritysessionid: super::super::Foundation::HANDLE, ppeer: *const *const u8, dwreasoncode: u32, dwwin32error: u32) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXT_PRE_ASSOCIATE_COMPLETION = ::core::option::Option<unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, hconnectsession: super::super::Foundation::HANDLE, dwreasoncode: u32, dwwin32error: u32) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXT_PROCESS_ONEX_PACKET = ::core::option::Option<unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, dwinpacketsize: u32, pvinpacket: *const ::core::ffi::c_void) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXT_QUERY_VIRTUAL_STATION_PROPERTIES = ::core::option::Option<unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, pbisvirtualstation: *mut super::super::Foundation::BOOL, pgprimary: *mut ::windows_sys::core::GUID, pvreserved: *const ::core::ffi::c_void) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXT_RELEASE_VIRTUAL_STATION = ::core::option::Option<unsafe extern "system" fn(hdot11primaryhandle: super::super::Foundation::HANDLE, pvreserved: *const ::core::ffi::c_void) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXT_REQUEST_VIRTUAL_STATION = ::core::option::Option<unsafe extern "system" fn(hdot11primaryhandle: super::super::Foundation::HANDLE, pvreserved: *const ::core::ffi::c_void) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXT_SEND_NOTIFICATION = ::core::option::Option<unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, pnotificationdata: *const L2_NOTIFICATION_DATA) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXT_SEND_PACKET = ::core::option::Option<unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, upacketlen: u32, pvpacket: *const ::core::ffi::c_void, hsendcompletion: super::super::Foundation::HANDLE) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXT_SEND_UI_REQUEST = ::core::option::Option<unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, pihvuirequest: *const DOT11EXT_IHV_UI_REQUEST) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXT_SET_AUTH_ALGORITHM = ::core::option::Option<unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, dwauthalgo: u32) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXT_SET_CURRENT_PROFILE = ::core::option::Option<unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, hconnectsession: super::super::Foundation::HANDLE, pihvconnprofile: *const DOT11EXT_IHV_CONNECTIVITY_PROFILE, pihvsecprofile: *const DOT11EXT_IHV_SECURITY_PROFILE) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] +pub type DOT11EXT_SET_DEFAULT_KEY = ::core::option::Option<unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, pkey: *const DOT11_CIPHER_DEFAULT_KEY_VALUE, dot11direction: DOT11_DIRECTION) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXT_SET_DEFAULT_KEY_ID = ::core::option::Option<unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, udefaultkeyid: u32) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXT_SET_ETHERTYPE_HANDLING = ::core::option::Option<unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, umaxbacklog: u32, unumofexemption: u32, pexemption: *const DOT11_PRIVACY_EXEMPTION, unumofregistration: u32, pusregistration: *const u16) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXT_SET_EXCLUDE_UNENCRYPTED = ::core::option::Option<unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, bexcludeunencrypted: super::super::Foundation::BOOL) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXT_SET_KEY_MAPPING_KEY = ::core::option::Option<unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, pkey: *const DOT11_CIPHER_KEY_MAPPING_KEY_VALUE) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXT_SET_MULTICAST_CIPHER_ALGORITHM = ::core::option::Option<unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, dwmulticastcipheralgo: u32) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXT_SET_PROFILE_CUSTOM_USER_DATA = ::core::option::Option<unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, hconnectsession: super::super::Foundation::HANDLE, dwsessionid: u32, dwdatasize: u32, pvdata: *const ::core::ffi::c_void) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXT_SET_UNICAST_CIPHER_ALGORITHM = ::core::option::Option<unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, dwunicastcipheralgo: u32) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type DOT11EXT_SET_VIRTUAL_STATION_AP_PROPERTIES = ::core::option::Option<unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, hconnectsession: super::super::Foundation::HANDLE, dwnumproperties: u32, pproperties: *const DOT11EXT_VIRTUAL_STATION_AP_PROPERTY, pvreserved: *const ::core::ffi::c_void) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type WFD_OPEN_SESSION_COMPLETE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(hsessionhandle: super::super::Foundation::HANDLE, pvcontext: *const ::core::ffi::c_void, guidsessioninterface: ::windows_sys::core::GUID, dwerror: u32, dwreasoncode: u32) -> ()>; +pub type WLAN_NOTIFICATION_CALLBACK = ::core::option::Option<unsafe extern "system" fn(param0: *mut L2_NOTIFICATION_DATA, param1: *mut ::core::ffi::c_void) -> ()>; diff --git a/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WindowsConnectionManager/mod.rs b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WindowsConnectionManager/mod.rs new file mode 100644 index 0000000..55175f4 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WindowsConnectionManager/mod.rs @@ -0,0 +1,194 @@ +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ondemandconnroutehelper.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FreeInterfaceContextTable(interfacecontexttable : *const NET_INTERFACE_CONTEXT_TABLE) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ondemandconnroutehelper.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetInterfaceContextTableForHostName(hostname : ::windows_sys::core::PCWSTR, proxyname : ::windows_sys::core::PCWSTR, flags : u32, connectionprofilefilterrawdata : *const u8, connectionprofilefilterrawdatasize : u32, interfacecontexttable : *mut *mut NET_INTERFACE_CONTEXT_TABLE) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ondemandconnroutehelper.dll" "system" fn OnDemandGetRoutingHint(destinationhostname : ::windows_sys::core::PCWSTR, interfaceindex : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ondemandconnroutehelper.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OnDemandRegisterNotification(callback : ONDEMAND_NOTIFICATION_CALLBACK, callbackcontext : *const ::core::ffi::c_void, registrationhandle : *mut super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ondemandconnroutehelper.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OnDemandUnRegisterNotification(registrationhandle : super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("wcmapi.dll" "system" fn WcmFreeMemory(pmemory : *mut ::core::ffi::c_void) -> ()); +::windows_targets::link!("wcmapi.dll" "system" fn WcmGetProfileList(preserved : *const ::core::ffi::c_void, ppprofilelist : *mut *mut WCM_PROFILE_INFO_LIST) -> u32); +::windows_targets::link!("wcmapi.dll" "system" fn WcmQueryProperty(pinterface : *const ::windows_sys::core::GUID, strprofilename : ::windows_sys::core::PCWSTR, property : WCM_PROPERTY, preserved : *const ::core::ffi::c_void, pdwdatasize : *mut u32, ppdata : *mut *mut u8) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wcmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WcmSetProfileList(pprofilelist : *const WCM_PROFILE_INFO_LIST, dwposition : u32, fignoreunknownprofiles : super::super::Foundation:: BOOL, preserved : *const ::core::ffi::c_void) -> u32); +::windows_targets::link!("wcmapi.dll" "system" fn WcmSetProperty(pinterface : *const ::windows_sys::core::GUID, strprofilename : ::windows_sys::core::PCWSTR, property : WCM_PROPERTY, preserved : *const ::core::ffi::c_void, dwdatasize : u32, pbdata : *const u8) -> u32); +pub const NET_INTERFACE_FLAG_CONNECT_IF_NEEDED: u32 = 1u32; +pub const NET_INTERFACE_FLAG_NONE: u32 = 0u32; +pub const WCM_API_VERSION: u32 = 1u32; +pub const WCM_API_VERSION_1_0: u32 = 1u32; +pub const WCM_CONNECTION_COST_APPROACHINGDATALIMIT: WCM_CONNECTION_COST = 524288i32; +pub const WCM_CONNECTION_COST_CONGESTED: WCM_CONNECTION_COST = 131072i32; +pub const WCM_CONNECTION_COST_FIXED: WCM_CONNECTION_COST = 2i32; +pub const WCM_CONNECTION_COST_OVERDATALIMIT: WCM_CONNECTION_COST = 65536i32; +pub const WCM_CONNECTION_COST_ROAMING: WCM_CONNECTION_COST = 262144i32; +pub const WCM_CONNECTION_COST_SOURCE_DEFAULT: WCM_CONNECTION_COST_SOURCE = 0i32; +pub const WCM_CONNECTION_COST_SOURCE_GP: WCM_CONNECTION_COST_SOURCE = 1i32; +pub const WCM_CONNECTION_COST_SOURCE_OPERATOR: WCM_CONNECTION_COST_SOURCE = 3i32; +pub const WCM_CONNECTION_COST_SOURCE_USER: WCM_CONNECTION_COST_SOURCE = 2i32; +pub const WCM_CONNECTION_COST_UNKNOWN: WCM_CONNECTION_COST = 0i32; +pub const WCM_CONNECTION_COST_UNRESTRICTED: WCM_CONNECTION_COST = 1i32; +pub const WCM_CONNECTION_COST_VARIABLE: WCM_CONNECTION_COST = 4i32; +pub const WCM_MAX_PROFILE_NAME: u32 = 256u32; +pub const WCM_UNKNOWN_DATAPLAN_STATUS: u32 = 4294967295u32; +pub const wcm_global_property_domain_policy: WCM_PROPERTY = 0i32; +pub const wcm_global_property_minimize_policy: WCM_PROPERTY = 1i32; +pub const wcm_global_property_powermanagement_policy: WCM_PROPERTY = 3i32; +pub const wcm_global_property_roaming_policy: WCM_PROPERTY = 2i32; +pub const wcm_intf_property_connection_cost: WCM_PROPERTY = 4i32; +pub const wcm_intf_property_dataplan_status: WCM_PROPERTY = 5i32; +pub const wcm_intf_property_hotspot_profile: WCM_PROPERTY = 6i32; +pub const wcm_media_ethernet: WCM_MEDIA_TYPE = 1i32; +pub const wcm_media_invalid: WCM_MEDIA_TYPE = 4i32; +pub const wcm_media_max: WCM_MEDIA_TYPE = 5i32; +pub const wcm_media_mbn: WCM_MEDIA_TYPE = 3i32; +pub const wcm_media_unknown: WCM_MEDIA_TYPE = 0i32; +pub const wcm_media_wlan: WCM_MEDIA_TYPE = 2i32; +pub type WCM_CONNECTION_COST = i32; +pub type WCM_CONNECTION_COST_SOURCE = i32; +pub type WCM_MEDIA_TYPE = i32; +pub type WCM_PROPERTY = i32; +#[repr(C)] +pub struct NET_INTERFACE_CONTEXT { + pub InterfaceIndex: u32, + pub ConfigurationName: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for NET_INTERFACE_CONTEXT {} +impl ::core::clone::Clone for NET_INTERFACE_CONTEXT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct NET_INTERFACE_CONTEXT_TABLE { + pub InterfaceContextHandle: super::super::Foundation::HANDLE, + pub NumberOfEntries: u32, + pub InterfaceContextArray: *mut NET_INTERFACE_CONTEXT, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NET_INTERFACE_CONTEXT_TABLE {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NET_INTERFACE_CONTEXT_TABLE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WCM_BILLING_CYCLE_INFO { + pub StartDate: super::super::Foundation::FILETIME, + pub Duration: WCM_TIME_INTERVAL, + pub Reset: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WCM_BILLING_CYCLE_INFO {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WCM_BILLING_CYCLE_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WCM_CONNECTION_COST_DATA { + pub ConnectionCost: u32, + pub CostSource: WCM_CONNECTION_COST_SOURCE, +} +impl ::core::marker::Copy for WCM_CONNECTION_COST_DATA {} +impl ::core::clone::Clone for WCM_CONNECTION_COST_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WCM_DATAPLAN_STATUS { + pub UsageData: WCM_USAGE_DATA, + pub DataLimitInMegabytes: u32, + pub InboundBandwidthInKbps: u32, + pub OutboundBandwidthInKbps: u32, + pub BillingCycle: WCM_BILLING_CYCLE_INFO, + pub MaxTransferSizeInMegabytes: u32, + pub Reserved: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WCM_DATAPLAN_STATUS {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WCM_DATAPLAN_STATUS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WCM_POLICY_VALUE { + pub fValue: super::super::Foundation::BOOL, + pub fIsGroupPolicy: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WCM_POLICY_VALUE {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WCM_POLICY_VALUE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WCM_PROFILE_INFO { + pub strProfileName: [u16; 256], + pub AdapterGUID: ::windows_sys::core::GUID, + pub Media: WCM_MEDIA_TYPE, +} +impl ::core::marker::Copy for WCM_PROFILE_INFO {} +impl ::core::clone::Clone for WCM_PROFILE_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WCM_PROFILE_INFO_LIST { + pub dwNumberOfItems: u32, + pub ProfileInfo: [WCM_PROFILE_INFO; 1], +} +impl ::core::marker::Copy for WCM_PROFILE_INFO_LIST {} +impl ::core::clone::Clone for WCM_PROFILE_INFO_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WCM_TIME_INTERVAL { + pub wYear: u16, + pub wMonth: u16, + pub wDay: u16, + pub wHour: u16, + pub wMinute: u16, + pub wSecond: u16, + pub wMilliseconds: u16, +} +impl ::core::marker::Copy for WCM_TIME_INTERVAL {} +impl ::core::clone::Clone for WCM_TIME_INTERVAL { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct WCM_USAGE_DATA { + pub UsageInMegabytes: u32, + pub LastSyncTime: super::super::Foundation::FILETIME, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for WCM_USAGE_DATA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for WCM_USAGE_DATA { + fn clone(&self) -> Self { + *self + } +} +pub type ONDEMAND_NOTIFICATION_CALLBACK = ::core::option::Option<unsafe extern "system" fn(param0: *const ::core::ffi::c_void) -> ()>; diff --git a/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WindowsFilteringPlatform/mod.rs b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WindowsFilteringPlatform/mod.rs new file mode 100644 index 0000000..9b13e59 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WindowsFilteringPlatform/mod.rs @@ -0,0 +1,5625 @@ +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmCalloutAdd0(enginehandle : super::super::Foundation:: HANDLE, callout : *const FWPM_CALLOUT0, sd : super::super::Security:: PSECURITY_DESCRIPTOR, id : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmCalloutCreateEnumHandle0(enginehandle : super::super::Foundation:: HANDLE, enumtemplate : *const FWPM_CALLOUT_ENUM_TEMPLATE0, enumhandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmCalloutDeleteById0(enginehandle : super::super::Foundation:: HANDLE, id : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmCalloutDeleteByKey0(enginehandle : super::super::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmCalloutDestroyEnumHandle0(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmCalloutEnum0(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut FWPM_CALLOUT0, numentriesreturned : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmCalloutGetById0(enginehandle : super::super::Foundation:: HANDLE, id : u32, callout : *mut *mut FWPM_CALLOUT0) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmCalloutGetByKey0(enginehandle : super::super::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, callout : *mut *mut FWPM_CALLOUT0) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmCalloutGetSecurityInfoByKey0(enginehandle : super::super::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, securityinfo : u32, sidowner : *mut super::super::Foundation:: PSID, sidgroup : *mut super::super::Foundation:: PSID, dacl : *mut *mut super::super::Security:: ACL, sacl : *mut *mut super::super::Security:: ACL, securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmCalloutSetSecurityInfoByKey0(enginehandle : super::super::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, securityinfo : u32, sidowner : *const super::super::Security:: SID, sidgroup : *const super::super::Security:: SID, dacl : *const super::super::Security:: ACL, sacl : *const super::super::Security:: ACL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmCalloutSubscribeChanges0(enginehandle : super::super::Foundation:: HANDLE, subscription : *const FWPM_CALLOUT_SUBSCRIPTION0, callback : FWPM_CALLOUT_CHANGE_CALLBACK0, context : *const ::core::ffi::c_void, changehandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmCalloutSubscriptionsGet0(enginehandle : super::super::Foundation:: HANDLE, entries : *mut *mut *mut FWPM_CALLOUT_SUBSCRIPTION0, numentries : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmCalloutUnsubscribeChanges0(enginehandle : super::super::Foundation:: HANDLE, changehandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmConnectionCreateEnumHandle0(enginehandle : super::super::Foundation:: HANDLE, enumtemplate : *const FWPM_CONNECTION_ENUM_TEMPLATE0, enumhandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmConnectionDestroyEnumHandle0(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmConnectionEnum0(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut FWPM_CONNECTION0, numentriesreturned : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmConnectionGetById0(enginehandle : super::super::Foundation:: HANDLE, id : u64, connection : *mut *mut FWPM_CONNECTION0) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmConnectionGetSecurityInfo0(enginehandle : super::super::Foundation:: HANDLE, securityinfo : u32, sidowner : *mut super::super::Foundation:: PSID, sidgroup : *mut super::super::Foundation:: PSID, dacl : *mut *mut super::super::Security:: ACL, sacl : *mut *mut super::super::Security:: ACL, securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmConnectionSetSecurityInfo0(enginehandle : super::super::Foundation:: HANDLE, securityinfo : u32, sidowner : *const super::super::Security:: SID, sidgroup : *const super::super::Security:: SID, dacl : *const super::super::Security:: ACL, sacl : *const super::super::Security:: ACL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmConnectionSubscribe0(enginehandle : super::super::Foundation:: HANDLE, subscription : *const FWPM_CONNECTION_SUBSCRIPTION0, callback : FWPM_CONNECTION_CALLBACK0, context : *const ::core::ffi::c_void, eventshandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmConnectionUnsubscribe0(enginehandle : super::super::Foundation:: HANDLE, eventshandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmDynamicKeywordSubscribe0(flags : u32, callback : FWPM_DYNAMIC_KEYWORD_CALLBACK0, context : *const ::core::ffi::c_void, subscriptionhandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmDynamicKeywordUnsubscribe0(subscriptionhandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmEngineClose0(enginehandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmEngineGetOption0(enginehandle : super::super::Foundation:: HANDLE, option : FWPM_ENGINE_OPTION, value : *mut *mut FWP_VALUE0) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmEngineGetSecurityInfo0(enginehandle : super::super::Foundation:: HANDLE, securityinfo : u32, sidowner : *mut super::super::Foundation:: PSID, sidgroup : *mut super::super::Foundation:: PSID, dacl : *mut *mut super::super::Security:: ACL, sacl : *mut *mut super::super::Security:: ACL, securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_Rpc"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_Rpc\"`"] fn FwpmEngineOpen0(servername : ::windows_sys::core::PCWSTR, authnservice : u32, authidentity : *const super::super::System::Rpc:: SEC_WINNT_AUTH_IDENTITY_W, session : *const FWPM_SESSION0, enginehandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmEngineSetOption0(enginehandle : super::super::Foundation:: HANDLE, option : FWPM_ENGINE_OPTION, newvalue : *const FWP_VALUE0) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmEngineSetSecurityInfo0(enginehandle : super::super::Foundation:: HANDLE, securityinfo : u32, sidowner : *const super::super::Security:: SID, sidgroup : *const super::super::Security:: SID, dacl : *const super::super::Security:: ACL, sacl : *const super::super::Security:: ACL) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmFilterAdd0(enginehandle : super::super::Foundation:: HANDLE, filter : *const FWPM_FILTER0, sd : super::super::Security:: PSECURITY_DESCRIPTOR, id : *mut u64) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmFilterCreateEnumHandle0(enginehandle : super::super::Foundation:: HANDLE, enumtemplate : *const FWPM_FILTER_ENUM_TEMPLATE0, enumhandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmFilterDeleteById0(enginehandle : super::super::Foundation:: HANDLE, id : u64) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmFilterDeleteByKey0(enginehandle : super::super::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmFilterDestroyEnumHandle0(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmFilterEnum0(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut FWPM_FILTER0, numentriesreturned : *mut u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmFilterGetById0(enginehandle : super::super::Foundation:: HANDLE, id : u64, filter : *mut *mut FWPM_FILTER0) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmFilterGetByKey0(enginehandle : super::super::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, filter : *mut *mut FWPM_FILTER0) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmFilterGetSecurityInfoByKey0(enginehandle : super::super::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, securityinfo : u32, sidowner : *mut super::super::Foundation:: PSID, sidgroup : *mut super::super::Foundation:: PSID, dacl : *mut *mut super::super::Security:: ACL, sacl : *mut *mut super::super::Security:: ACL, securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmFilterSetSecurityInfoByKey0(enginehandle : super::super::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, securityinfo : u32, sidowner : *const super::super::Security:: SID, sidgroup : *const super::super::Security:: SID, dacl : *const super::super::Security:: ACL, sacl : *const super::super::Security:: ACL) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmFilterSubscribeChanges0(enginehandle : super::super::Foundation:: HANDLE, subscription : *const FWPM_FILTER_SUBSCRIPTION0, callback : FWPM_FILTER_CHANGE_CALLBACK0, context : *const ::core::ffi::c_void, changehandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmFilterSubscriptionsGet0(enginehandle : super::super::Foundation:: HANDLE, entries : *mut *mut *mut FWPM_FILTER_SUBSCRIPTION0, numentries : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmFilterUnsubscribeChanges0(enginehandle : super::super::Foundation:: HANDLE, changehandle : super::super::Foundation:: HANDLE) -> u32); +::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmFreeMemory0(p : *mut *mut ::core::ffi::c_void) -> ()); +::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmGetAppIdFromFileName0(filename : ::windows_sys::core::PCWSTR, appid : *mut *mut FWP_BYTE_BLOB) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmIPsecTunnelAdd0(enginehandle : super::super::Foundation:: HANDLE, flags : u32, mainmodepolicy : *const FWPM_PROVIDER_CONTEXT0, tunnelpolicy : *const FWPM_PROVIDER_CONTEXT0, numfilterconditions : u32, filterconditions : *const FWPM_FILTER_CONDITION0, sd : super::super::Security:: PSECURITY_DESCRIPTOR) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmIPsecTunnelAdd1(enginehandle : super::super::Foundation:: HANDLE, flags : u32, mainmodepolicy : *const FWPM_PROVIDER_CONTEXT1, tunnelpolicy : *const FWPM_PROVIDER_CONTEXT1, numfilterconditions : u32, filterconditions : *const FWPM_FILTER_CONDITION0, keymodkey : *const ::windows_sys::core::GUID, sd : super::super::Security:: PSECURITY_DESCRIPTOR) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmIPsecTunnelAdd2(enginehandle : super::super::Foundation:: HANDLE, flags : u32, mainmodepolicy : *const FWPM_PROVIDER_CONTEXT2, tunnelpolicy : *const FWPM_PROVIDER_CONTEXT2, numfilterconditions : u32, filterconditions : *const FWPM_FILTER_CONDITION0, keymodkey : *const ::windows_sys::core::GUID, sd : super::super::Security:: PSECURITY_DESCRIPTOR) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmIPsecTunnelAdd3(enginehandle : super::super::Foundation:: HANDLE, flags : u32, mainmodepolicy : *const FWPM_PROVIDER_CONTEXT3, tunnelpolicy : *const FWPM_PROVIDER_CONTEXT3, numfilterconditions : u32, filterconditions : *const FWPM_FILTER_CONDITION0, keymodkey : *const ::windows_sys::core::GUID, sd : super::super::Security:: PSECURITY_DESCRIPTOR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmIPsecTunnelDeleteByKey0(enginehandle : super::super::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmLayerCreateEnumHandle0(enginehandle : super::super::Foundation:: HANDLE, enumtemplate : *const FWPM_LAYER_ENUM_TEMPLATE0, enumhandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmLayerDestroyEnumHandle0(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmLayerEnum0(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut FWPM_LAYER0, numentriesreturned : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmLayerGetById0(enginehandle : super::super::Foundation:: HANDLE, id : u16, layer : *mut *mut FWPM_LAYER0) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmLayerGetByKey0(enginehandle : super::super::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, layer : *mut *mut FWPM_LAYER0) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmLayerGetSecurityInfoByKey0(enginehandle : super::super::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, securityinfo : u32, sidowner : *mut super::super::Foundation:: PSID, sidgroup : *mut super::super::Foundation:: PSID, dacl : *mut *mut super::super::Security:: ACL, sacl : *mut *mut super::super::Security:: ACL, securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmLayerSetSecurityInfoByKey0(enginehandle : super::super::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, securityinfo : u32, sidowner : *const super::super::Security:: SID, sidgroup : *const super::super::Security:: SID, dacl : *const super::super::Security:: ACL, sacl : *const super::super::Security:: ACL) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmNetEventCreateEnumHandle0(enginehandle : super::super::Foundation:: HANDLE, enumtemplate : *const FWPM_NET_EVENT_ENUM_TEMPLATE0, enumhandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmNetEventDestroyEnumHandle0(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmNetEventEnum0(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut FWPM_NET_EVENT0, numentriesreturned : *mut u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmNetEventEnum1(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut FWPM_NET_EVENT1, numentriesreturned : *mut u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmNetEventEnum2(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut FWPM_NET_EVENT2, numentriesreturned : *mut u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmNetEventEnum3(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut FWPM_NET_EVENT3, numentriesreturned : *mut u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmNetEventEnum4(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut FWPM_NET_EVENT4, numentriesreturned : *mut u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmNetEventEnum5(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut FWPM_NET_EVENT5, numentriesreturned : *mut u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmNetEventSubscribe0(enginehandle : super::super::Foundation:: HANDLE, subscription : *const FWPM_NET_EVENT_SUBSCRIPTION0, callback : FWPM_NET_EVENT_CALLBACK0, context : *const ::core::ffi::c_void, eventshandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmNetEventSubscribe1(enginehandle : super::super::Foundation:: HANDLE, subscription : *const FWPM_NET_EVENT_SUBSCRIPTION0, callback : FWPM_NET_EVENT_CALLBACK1, context : *const ::core::ffi::c_void, eventshandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmNetEventSubscribe2(enginehandle : super::super::Foundation:: HANDLE, subscription : *const FWPM_NET_EVENT_SUBSCRIPTION0, callback : FWPM_NET_EVENT_CALLBACK2, context : *const ::core::ffi::c_void, eventshandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmNetEventSubscribe3(enginehandle : super::super::Foundation:: HANDLE, subscription : *const FWPM_NET_EVENT_SUBSCRIPTION0, callback : FWPM_NET_EVENT_CALLBACK3, context : *const ::core::ffi::c_void, eventshandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmNetEventSubscribe4(enginehandle : super::super::Foundation:: HANDLE, subscription : *const FWPM_NET_EVENT_SUBSCRIPTION0, callback : FWPM_NET_EVENT_CALLBACK4, context : *const ::core::ffi::c_void, eventshandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmNetEventSubscriptionsGet0(enginehandle : super::super::Foundation:: HANDLE, entries : *mut *mut *mut FWPM_NET_EVENT_SUBSCRIPTION0, numentries : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmNetEventUnsubscribe0(enginehandle : super::super::Foundation:: HANDLE, eventshandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmNetEventsGetSecurityInfo0(enginehandle : super::super::Foundation:: HANDLE, securityinfo : u32, sidowner : *mut super::super::Foundation:: PSID, sidgroup : *mut super::super::Foundation:: PSID, dacl : *mut *mut super::super::Security:: ACL, sacl : *mut *mut super::super::Security:: ACL, securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmNetEventsSetSecurityInfo0(enginehandle : super::super::Foundation:: HANDLE, securityinfo : u32, sidowner : *const super::super::Security:: SID, sidgroup : *const super::super::Security:: SID, dacl : *const super::super::Security:: ACL, sacl : *const super::super::Security:: ACL) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmProviderAdd0(enginehandle : super::super::Foundation:: HANDLE, provider : *const FWPM_PROVIDER0, sd : super::super::Security:: PSECURITY_DESCRIPTOR) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmProviderContextAdd0(enginehandle : super::super::Foundation:: HANDLE, providercontext : *const FWPM_PROVIDER_CONTEXT0, sd : super::super::Security:: PSECURITY_DESCRIPTOR, id : *mut u64) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmProviderContextAdd1(enginehandle : super::super::Foundation:: HANDLE, providercontext : *const FWPM_PROVIDER_CONTEXT1, sd : super::super::Security:: PSECURITY_DESCRIPTOR, id : *mut u64) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmProviderContextAdd2(enginehandle : super::super::Foundation:: HANDLE, providercontext : *const FWPM_PROVIDER_CONTEXT2, sd : super::super::Security:: PSECURITY_DESCRIPTOR, id : *mut u64) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmProviderContextAdd3(enginehandle : super::super::Foundation:: HANDLE, providercontext : *const FWPM_PROVIDER_CONTEXT3, sd : super::super::Security:: PSECURITY_DESCRIPTOR, id : *mut u64) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmProviderContextCreateEnumHandle0(enginehandle : super::super::Foundation:: HANDLE, enumtemplate : *const FWPM_PROVIDER_CONTEXT_ENUM_TEMPLATE0, enumhandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmProviderContextDeleteById0(enginehandle : super::super::Foundation:: HANDLE, id : u64) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmProviderContextDeleteByKey0(enginehandle : super::super::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmProviderContextDestroyEnumHandle0(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmProviderContextEnum0(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut FWPM_PROVIDER_CONTEXT0, numentriesreturned : *mut u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmProviderContextEnum1(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut FWPM_PROVIDER_CONTEXT1, numentriesreturned : *mut u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmProviderContextEnum2(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut FWPM_PROVIDER_CONTEXT2, numentriesreturned : *mut u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmProviderContextEnum3(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut FWPM_PROVIDER_CONTEXT3, numentriesreturned : *mut u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmProviderContextGetById0(enginehandle : super::super::Foundation:: HANDLE, id : u64, providercontext : *mut *mut FWPM_PROVIDER_CONTEXT0) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmProviderContextGetById1(enginehandle : super::super::Foundation:: HANDLE, id : u64, providercontext : *mut *mut FWPM_PROVIDER_CONTEXT1) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmProviderContextGetById2(enginehandle : super::super::Foundation:: HANDLE, id : u64, providercontext : *mut *mut FWPM_PROVIDER_CONTEXT2) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmProviderContextGetById3(enginehandle : super::super::Foundation:: HANDLE, id : u64, providercontext : *mut *mut FWPM_PROVIDER_CONTEXT3) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmProviderContextGetByKey0(enginehandle : super::super::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, providercontext : *mut *mut FWPM_PROVIDER_CONTEXT0) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmProviderContextGetByKey1(enginehandle : super::super::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, providercontext : *mut *mut FWPM_PROVIDER_CONTEXT1) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmProviderContextGetByKey2(enginehandle : super::super::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, providercontext : *mut *mut FWPM_PROVIDER_CONTEXT2) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmProviderContextGetByKey3(enginehandle : super::super::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, providercontext : *mut *mut FWPM_PROVIDER_CONTEXT3) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmProviderContextGetSecurityInfoByKey0(enginehandle : super::super::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, securityinfo : u32, sidowner : *mut super::super::Foundation:: PSID, sidgroup : *mut super::super::Foundation:: PSID, dacl : *mut *mut super::super::Security:: ACL, sacl : *mut *mut super::super::Security:: ACL, securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmProviderContextSetSecurityInfoByKey0(enginehandle : super::super::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, securityinfo : u32, sidowner : *const super::super::Security:: SID, sidgroup : *const super::super::Security:: SID, dacl : *const super::super::Security:: ACL, sacl : *const super::super::Security:: ACL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmProviderContextSubscribeChanges0(enginehandle : super::super::Foundation:: HANDLE, subscription : *const FWPM_PROVIDER_CONTEXT_SUBSCRIPTION0, callback : FWPM_PROVIDER_CONTEXT_CHANGE_CALLBACK0, context : *const ::core::ffi::c_void, changehandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmProviderContextSubscriptionsGet0(enginehandle : super::super::Foundation:: HANDLE, entries : *mut *mut *mut FWPM_PROVIDER_CONTEXT_SUBSCRIPTION0, numentries : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmProviderContextUnsubscribeChanges0(enginehandle : super::super::Foundation:: HANDLE, changehandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmProviderCreateEnumHandle0(enginehandle : super::super::Foundation:: HANDLE, enumtemplate : *const FWPM_PROVIDER_ENUM_TEMPLATE0, enumhandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmProviderDeleteByKey0(enginehandle : super::super::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmProviderDestroyEnumHandle0(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmProviderEnum0(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut FWPM_PROVIDER0, numentriesreturned : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmProviderGetByKey0(enginehandle : super::super::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, provider : *mut *mut FWPM_PROVIDER0) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmProviderGetSecurityInfoByKey0(enginehandle : super::super::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, securityinfo : u32, sidowner : *mut super::super::Foundation:: PSID, sidgroup : *mut super::super::Foundation:: PSID, dacl : *mut *mut super::super::Security:: ACL, sacl : *mut *mut super::super::Security:: ACL, securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmProviderSetSecurityInfoByKey0(enginehandle : super::super::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, securityinfo : u32, sidowner : *const super::super::Security:: SID, sidgroup : *const super::super::Security:: SID, dacl : *const super::super::Security:: ACL, sacl : *const super::super::Security:: ACL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmProviderSubscribeChanges0(enginehandle : super::super::Foundation:: HANDLE, subscription : *const FWPM_PROVIDER_SUBSCRIPTION0, callback : FWPM_PROVIDER_CHANGE_CALLBACK0, context : *const ::core::ffi::c_void, changehandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmProviderSubscriptionsGet0(enginehandle : super::super::Foundation:: HANDLE, entries : *mut *mut *mut FWPM_PROVIDER_SUBSCRIPTION0, numentries : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmProviderUnsubscribeChanges0(enginehandle : super::super::Foundation:: HANDLE, changehandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmSessionCreateEnumHandle0(enginehandle : super::super::Foundation:: HANDLE, enumtemplate : *const FWPM_SESSION_ENUM_TEMPLATE0, enumhandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmSessionDestroyEnumHandle0(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmSessionEnum0(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut FWPM_SESSION0, numentriesreturned : *mut u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmSubLayerAdd0(enginehandle : super::super::Foundation:: HANDLE, sublayer : *const FWPM_SUBLAYER0, sd : super::super::Security:: PSECURITY_DESCRIPTOR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmSubLayerCreateEnumHandle0(enginehandle : super::super::Foundation:: HANDLE, enumtemplate : *const FWPM_SUBLAYER_ENUM_TEMPLATE0, enumhandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmSubLayerDeleteByKey0(enginehandle : super::super::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmSubLayerDestroyEnumHandle0(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmSubLayerEnum0(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut FWPM_SUBLAYER0, numentriesreturned : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmSubLayerGetByKey0(enginehandle : super::super::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, sublayer : *mut *mut FWPM_SUBLAYER0) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmSubLayerGetSecurityInfoByKey0(enginehandle : super::super::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, securityinfo : u32, sidowner : *mut super::super::Foundation:: PSID, sidgroup : *mut super::super::Foundation:: PSID, dacl : *mut *mut super::super::Security:: ACL, sacl : *mut *mut super::super::Security:: ACL, securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmSubLayerSetSecurityInfoByKey0(enginehandle : super::super::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, securityinfo : u32, sidowner : *const super::super::Security:: SID, sidgroup : *const super::super::Security:: SID, dacl : *const super::super::Security:: ACL, sacl : *const super::super::Security:: ACL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmSubLayerSubscribeChanges0(enginehandle : super::super::Foundation:: HANDLE, subscription : *const FWPM_SUBLAYER_SUBSCRIPTION0, callback : FWPM_SUBLAYER_CHANGE_CALLBACK0, context : *const ::core::ffi::c_void, changehandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmSubLayerSubscriptionsGet0(enginehandle : super::super::Foundation:: HANDLE, entries : *mut *mut *mut FWPM_SUBLAYER_SUBSCRIPTION0, numentries : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmSubLayerUnsubscribeChanges0(enginehandle : super::super::Foundation:: HANDLE, changehandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmSystemPortsGet0(enginehandle : super::super::Foundation:: HANDLE, sysports : *mut *mut FWPM_SYSTEM_PORTS0) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmSystemPortsSubscribe0(enginehandle : super::super::Foundation:: HANDLE, reserved : *const ::core::ffi::c_void, callback : FWPM_SYSTEM_PORTS_CALLBACK0, context : *const ::core::ffi::c_void, sysportshandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmSystemPortsUnsubscribe0(enginehandle : super::super::Foundation:: HANDLE, sysportshandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmTransactionAbort0(enginehandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmTransactionBegin0(enginehandle : super::super::Foundation:: HANDLE, flags : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmTransactionCommit0(enginehandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmvSwitchEventSubscribe0(enginehandle : super::super::Foundation:: HANDLE, subscription : *const FWPM_VSWITCH_EVENT_SUBSCRIPTION0, callback : FWPM_VSWITCH_EVENT_CALLBACK0, context : *const ::core::ffi::c_void, subscriptionhandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmvSwitchEventUnsubscribe0(enginehandle : super::super::Foundation:: HANDLE, subscriptionhandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmvSwitchEventsGetSecurityInfo0(enginehandle : super::super::Foundation:: HANDLE, securityinfo : u32, sidowner : *mut super::super::Foundation:: PSID, sidgroup : *mut super::super::Foundation:: PSID, dacl : *mut *mut super::super::Security:: ACL, sacl : *mut *mut super::super::Security:: ACL, securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmvSwitchEventsSetSecurityInfo0(enginehandle : super::super::Foundation:: HANDLE, securityinfo : u32, sidowner : *const super::super::Security:: SID, sidgroup : *const super::super::Security:: SID, dacl : *const super::super::Security:: ACL, sacl : *const super::super::Security:: ACL) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn IPsecDospGetSecurityInfo0(enginehandle : super::super::Foundation:: HANDLE, securityinfo : u32, sidowner : *mut super::super::Foundation:: PSID, sidgroup : *mut super::super::Foundation:: PSID, dacl : *mut *mut super::super::Security:: ACL, sacl : *mut *mut super::super::Security:: ACL, securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IPsecDospGetStatistics0(enginehandle : super::super::Foundation:: HANDLE, idpstatistics : *mut IPSEC_DOSP_STATISTICS0) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn IPsecDospSetSecurityInfo0(enginehandle : super::super::Foundation:: HANDLE, securityinfo : u32, sidowner : *const super::super::Security:: SID, sidgroup : *const super::super::Security:: SID, dacl : *const super::super::Security:: ACL, sacl : *const super::super::Security:: ACL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IPsecDospStateCreateEnumHandle0(enginehandle : super::super::Foundation:: HANDLE, enumtemplate : *const IPSEC_DOSP_STATE_ENUM_TEMPLATE0, enumhandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IPsecDospStateDestroyEnumHandle0(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IPsecDospStateEnum0(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut IPSEC_DOSP_STATE0, numentries : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IPsecGetStatistics0(enginehandle : super::super::Foundation:: HANDLE, ipsecstatistics : *mut IPSEC_STATISTICS0) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IPsecGetStatistics1(enginehandle : super::super::Foundation:: HANDLE, ipsecstatistics : *mut IPSEC_STATISTICS1) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn IPsecKeyManagerAddAndRegister0(enginehandle : super::super::Foundation:: HANDLE, keymanager : *const IPSEC_KEY_MANAGER0, keymanagercallbacks : *const IPSEC_KEY_MANAGER_CALLBACKS0, keymgmthandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn IPsecKeyManagerGetSecurityInfoByKey0(enginehandle : super::super::Foundation:: HANDLE, reserved : *const ::core::ffi::c_void, securityinfo : u32, sidowner : *mut super::super::Foundation:: PSID, sidgroup : *mut super::super::Foundation:: PSID, dacl : *mut *mut super::super::Security:: ACL, sacl : *mut *mut super::super::Security:: ACL, securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn IPsecKeyManagerSetSecurityInfoByKey0(enginehandle : super::super::Foundation:: HANDLE, reserved : *const ::core::ffi::c_void, securityinfo : u32, sidowner : *const super::super::Security:: SID, sidgroup : *const super::super::Security:: SID, dacl : *const super::super::Security:: ACL, sacl : *const super::super::Security:: ACL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IPsecKeyManagerUnregisterAndDelete0(enginehandle : super::super::Foundation:: HANDLE, keymgmthandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IPsecKeyManagersGet0(enginehandle : super::super::Foundation:: HANDLE, entries : *mut *mut *mut IPSEC_KEY_MANAGER0, numentries : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IPsecSaContextAddInbound0(enginehandle : super::super::Foundation:: HANDLE, id : u64, inboundbundle : *const IPSEC_SA_BUNDLE0) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IPsecSaContextAddInbound1(enginehandle : super::super::Foundation:: HANDLE, id : u64, inboundbundle : *const IPSEC_SA_BUNDLE1) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IPsecSaContextAddOutbound0(enginehandle : super::super::Foundation:: HANDLE, id : u64, outboundbundle : *const IPSEC_SA_BUNDLE0) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IPsecSaContextAddOutbound1(enginehandle : super::super::Foundation:: HANDLE, id : u64, outboundbundle : *const IPSEC_SA_BUNDLE1) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IPsecSaContextCreate0(enginehandle : super::super::Foundation:: HANDLE, outboundtraffic : *const IPSEC_TRAFFIC0, inboundfilterid : *mut u64, id : *mut u64) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IPsecSaContextCreate1(enginehandle : super::super::Foundation:: HANDLE, outboundtraffic : *const IPSEC_TRAFFIC1, virtualiftunnelinfo : *const IPSEC_VIRTUAL_IF_TUNNEL_INFO0, inboundfilterid : *mut u64, id : *mut u64) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn IPsecSaContextCreateEnumHandle0(enginehandle : super::super::Foundation:: HANDLE, enumtemplate : *const IPSEC_SA_CONTEXT_ENUM_TEMPLATE0, enumhandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IPsecSaContextDeleteById0(enginehandle : super::super::Foundation:: HANDLE, id : u64) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IPsecSaContextDestroyEnumHandle0(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn IPsecSaContextEnum0(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut IPSEC_SA_CONTEXT0, numentriesreturned : *mut u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn IPsecSaContextEnum1(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut IPSEC_SA_CONTEXT1, numentriesreturned : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IPsecSaContextExpire0(enginehandle : super::super::Foundation:: HANDLE, id : u64) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn IPsecSaContextGetById0(enginehandle : super::super::Foundation:: HANDLE, id : u64, sacontext : *mut *mut IPSEC_SA_CONTEXT0) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn IPsecSaContextGetById1(enginehandle : super::super::Foundation:: HANDLE, id : u64, sacontext : *mut *mut IPSEC_SA_CONTEXT1) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IPsecSaContextGetSpi0(enginehandle : super::super::Foundation:: HANDLE, id : u64, getspi : *const IPSEC_GETSPI0, inboundspi : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IPsecSaContextGetSpi1(enginehandle : super::super::Foundation:: HANDLE, id : u64, getspi : *const IPSEC_GETSPI1, inboundspi : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IPsecSaContextSetSpi0(enginehandle : super::super::Foundation:: HANDLE, id : u64, getspi : *const IPSEC_GETSPI1, inboundspi : u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn IPsecSaContextSubscribe0(enginehandle : super::super::Foundation:: HANDLE, subscription : *const IPSEC_SA_CONTEXT_SUBSCRIPTION0, callback : IPSEC_SA_CONTEXT_CALLBACK0, context : *const ::core::ffi::c_void, eventshandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn IPsecSaContextSubscriptionsGet0(enginehandle : super::super::Foundation:: HANDLE, entries : *mut *mut *mut IPSEC_SA_CONTEXT_SUBSCRIPTION0, numentries : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IPsecSaContextUnsubscribe0(enginehandle : super::super::Foundation:: HANDLE, eventshandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn IPsecSaContextUpdate0(enginehandle : super::super::Foundation:: HANDLE, flags : u64, newvalues : *const IPSEC_SA_CONTEXT1) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IPsecSaCreateEnumHandle0(enginehandle : super::super::Foundation:: HANDLE, enumtemplate : *const IPSEC_SA_ENUM_TEMPLATE0, enumhandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn IPsecSaDbGetSecurityInfo0(enginehandle : super::super::Foundation:: HANDLE, securityinfo : u32, sidowner : *mut super::super::Foundation:: PSID, sidgroup : *mut super::super::Foundation:: PSID, dacl : *mut *mut super::super::Security:: ACL, sacl : *mut *mut super::super::Security:: ACL, securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn IPsecSaDbSetSecurityInfo0(enginehandle : super::super::Foundation:: HANDLE, securityinfo : u32, sidowner : *const super::super::Security:: SID, sidgroup : *const super::super::Security:: SID, dacl : *const super::super::Security:: ACL, sacl : *const super::super::Security:: ACL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IPsecSaDestroyEnumHandle0(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn IPsecSaEnum0(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut IPSEC_SA_DETAILS0, numentriesreturned : *mut u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn IPsecSaEnum1(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut IPSEC_SA_DETAILS1, numentriesreturned : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IkeextGetStatistics0(enginehandle : super::super::Foundation:: HANDLE, ikeextstatistics : *mut IKEEXT_STATISTICS0) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IkeextGetStatistics1(enginehandle : super::super::Foundation:: HANDLE, ikeextstatistics : *mut IKEEXT_STATISTICS1) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn IkeextSaCreateEnumHandle0(enginehandle : super::super::Foundation:: HANDLE, enumtemplate : *const IKEEXT_SA_ENUM_TEMPLATE0, enumhandle : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn IkeextSaDbGetSecurityInfo0(enginehandle : super::super::Foundation:: HANDLE, securityinfo : u32, sidowner : *mut super::super::Foundation:: PSID, sidgroup : *mut super::super::Foundation:: PSID, dacl : *mut *mut super::super::Security:: ACL, sacl : *mut *mut super::super::Security:: ACL, securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn IkeextSaDbSetSecurityInfo0(enginehandle : super::super::Foundation:: HANDLE, securityinfo : u32, sidowner : *const super::super::Security:: SID, sidgroup : *const super::super::Security:: SID, dacl : *const super::super::Security:: ACL, sacl : *const super::super::Security:: ACL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IkeextSaDeleteById0(enginehandle : super::super::Foundation:: HANDLE, id : u64) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IkeextSaDestroyEnumHandle0(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IkeextSaEnum0(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut IKEEXT_SA_DETAILS0, numentriesreturned : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IkeextSaEnum1(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut IKEEXT_SA_DETAILS1, numentriesreturned : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IkeextSaEnum2(enginehandle : super::super::Foundation:: HANDLE, enumhandle : super::super::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut IKEEXT_SA_DETAILS2, numentriesreturned : *mut u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IkeextSaGetById0(enginehandle : super::super::Foundation:: HANDLE, id : u64, sa : *mut *mut IKEEXT_SA_DETAILS0) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IkeextSaGetById1(enginehandle : super::super::Foundation:: HANDLE, id : u64, salookupcontext : *const ::windows_sys::core::GUID, sa : *mut *mut IKEEXT_SA_DETAILS1) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IkeextSaGetById2(enginehandle : super::super::Foundation:: HANDLE, id : u64, salookupcontext : *const ::windows_sys::core::GUID, sa : *mut *mut IKEEXT_SA_DETAILS2) -> u32); +pub const DlBroadcast: DL_ADDRESS_TYPE = 2i32; +pub const DlMulticast: DL_ADDRESS_TYPE = 1i32; +pub const DlUnicast: DL_ADDRESS_TYPE = 0i32; +pub const FWPM_ACTRL_ADD: u32 = 1u32; +pub const FWPM_ACTRL_ADD_LINK: u32 = 2u32; +pub const FWPM_ACTRL_BEGIN_READ_TXN: u32 = 4u32; +pub const FWPM_ACTRL_BEGIN_WRITE_TXN: u32 = 8u32; +pub const FWPM_ACTRL_CLASSIFY: u32 = 16u32; +pub const FWPM_ACTRL_ENUM: u32 = 32u32; +pub const FWPM_ACTRL_OPEN: u32 = 64u32; +pub const FWPM_ACTRL_READ: u32 = 128u32; +pub const FWPM_ACTRL_READ_STATS: u32 = 256u32; +pub const FWPM_ACTRL_SUBSCRIBE: u32 = 512u32; +pub const FWPM_ACTRL_WRITE: u32 = 1024u32; +pub const FWPM_APPC_NETWORK_CAPABILITY_INTERNET_CLIENT: FWPM_APPC_NETWORK_CAPABILITY_TYPE = 0i32; +pub const FWPM_APPC_NETWORK_CAPABILITY_INTERNET_CLIENT_SERVER: FWPM_APPC_NETWORK_CAPABILITY_TYPE = 1i32; +pub const FWPM_APPC_NETWORK_CAPABILITY_INTERNET_PRIVATE_NETWORK: FWPM_APPC_NETWORK_CAPABILITY_TYPE = 2i32; +pub const FWPM_AUTO_WEIGHT_BITS: u32 = 60u32; +pub const FWPM_CALLOUT_BUILT_IN_RESERVED_1: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x779719a4_e695_47b6_a199_7999fec9163b); +pub const FWPM_CALLOUT_BUILT_IN_RESERVED_2: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xef9661b6_7c5e_48fd_a130_96678ceacc41); +pub const FWPM_CALLOUT_BUILT_IN_RESERVED_3: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x18729c7a_2f62_4be0_966f_974b21b86df1); +pub const FWPM_CALLOUT_BUILT_IN_RESERVED_4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6c3fb801_daff_40e9_91e6_f7ff7e52f7d9); +pub const FWPM_CALLOUT_EDGE_TRAVERSAL_ALE_LISTEN_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x33486ab5_6d5e_4e65_a00b_a7afed0ba9a1); +pub const FWPM_CALLOUT_EDGE_TRAVERSAL_ALE_RESOURCE_ASSIGNMENT_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x079b1010_f1c5_4fcd_ae05_da41107abd0b); +pub const FWPM_CALLOUT_FLAG_PERSISTENT: u32 = 65536u32; +pub const FWPM_CALLOUT_FLAG_REGISTERED: u32 = 262144u32; +pub const FWPM_CALLOUT_FLAG_USES_PROVIDER_CONTEXT: u32 = 131072u32; +pub const FWPM_CALLOUT_HTTP_TEMPLATE_SSL_HANDSHAKE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb3423249_8d09_4858_9210_95c7fda8e30f); +pub const FWPM_CALLOUT_IPSEC_ALE_CONNECT_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6ac141fc_f75d_4203_b9c8_48e6149c2712); +pub const FWPM_CALLOUT_IPSEC_ALE_CONNECT_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4c0dda05_e31f_4666_90b0_b3dfad34129a); +pub const FWPM_CALLOUT_IPSEC_DOSP_FORWARD_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2fcb56ec_cd37_4b4f_b108_62c2b1850a0c); +pub const FWPM_CALLOUT_IPSEC_DOSP_FORWARD_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6d08a342_db9e_4fbe_9ed2_57374ce89f79); +pub const FWPM_CALLOUT_IPSEC_FORWARD_INBOUND_TUNNEL_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x28829633_c4f0_4e66_873f_844db2a899c7); +pub const FWPM_CALLOUT_IPSEC_FORWARD_INBOUND_TUNNEL_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xaf50bec2_c686_429a_884d_b74443e7b0b4); +pub const FWPM_CALLOUT_IPSEC_FORWARD_OUTBOUND_TUNNEL_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xfb532136_15cb_440b_937c_1717ca320c40); +pub const FWPM_CALLOUT_IPSEC_FORWARD_OUTBOUND_TUNNEL_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xdae640cc_e021_4bee_9eb6_a48b275c8c1d); +pub const FWPM_CALLOUT_IPSEC_INBOUND_INITIATE_SECURE_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7dff309b_ba7d_4aba_91aa_ae5c6640c944); +pub const FWPM_CALLOUT_IPSEC_INBOUND_INITIATE_SECURE_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa9a0d6d9_c58c_474e_8aeb_3cfe99d6d53d); +pub const FWPM_CALLOUT_IPSEC_INBOUND_TRANSPORT_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5132900d_5e84_4b5f_80e4_01741e81ff10); +pub const FWPM_CALLOUT_IPSEC_INBOUND_TRANSPORT_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x49d3ac92_2a6c_4dcf_955f_1c3be009dd99); +pub const FWPM_CALLOUT_IPSEC_INBOUND_TUNNEL_ALE_ACCEPT_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x3df6e7de_fd20_48f2_9f26_f854444cba79); +pub const FWPM_CALLOUT_IPSEC_INBOUND_TUNNEL_ALE_ACCEPT_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa1e392d3_72ac_47bb_87a7_0122c69434ab); +pub const FWPM_CALLOUT_IPSEC_INBOUND_TUNNEL_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x191a8a46_0bf8_46cf_b045_4b45dfa6a324); +pub const FWPM_CALLOUT_IPSEC_INBOUND_TUNNEL_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x80c342e3_1e53_4d6f_9b44_03df5aeee154); +pub const FWPM_CALLOUT_IPSEC_OUTBOUND_TRANSPORT_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4b46bf0a_4523_4e57_aa38_a87987c910d9); +pub const FWPM_CALLOUT_IPSEC_OUTBOUND_TRANSPORT_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x38d87722_ad83_4f11_a91f_df0fb077225b); +pub const FWPM_CALLOUT_IPSEC_OUTBOUND_TUNNEL_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x70a4196c_835b_4fb0_98e8_075f4d977d46); +pub const FWPM_CALLOUT_IPSEC_OUTBOUND_TUNNEL_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf1835363_a6a5_4e62_b180_23db789d8da6); +pub const FWPM_CALLOUT_OUTBOUND_NETWORK_CONNECTION_POLICY_LAYER_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x103090d4_8e28_4fd6_9894_d1d67d6b10c9); +pub const FWPM_CALLOUT_OUTBOUND_NETWORK_CONNECTION_POLICY_LAYER_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4ed3446d_8dc7_459b_b09f_c1cb7a8f8689); +pub const FWPM_CALLOUT_POLICY_SILENT_MODE_AUTH_CONNECT_LAYER_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5fbfc31d_a51c_44dc_acb6_0624a030a700); +pub const FWPM_CALLOUT_POLICY_SILENT_MODE_AUTH_CONNECT_LAYER_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5fbfc31d_a51c_44dc_acb6_0624a030a701); +pub const FWPM_CALLOUT_POLICY_SILENT_MODE_AUTH_RECV_ACCEPT_LAYER_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5fbfc31d_a51c_44dc_acb6_0624a030a702); +pub const FWPM_CALLOUT_POLICY_SILENT_MODE_AUTH_RECV_ACCEPT_LAYER_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5fbfc31d_a51c_44dc_acb6_0624a030a703); +pub const FWPM_CALLOUT_RESERVED_AUTH_CONNECT_LAYER_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x288b524d_0566_4e19_b612_8f441a2e5949); +pub const FWPM_CALLOUT_RESERVED_AUTH_CONNECT_LAYER_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x00b84b92_2b5e_4b71_ab0e_aaca43e387e6); +pub const FWPM_CALLOUT_SET_OPTIONS_AUTH_CONNECT_LAYER_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbc582280_1677_41e9_94ab_c2fcb15c2eeb); +pub const FWPM_CALLOUT_SET_OPTIONS_AUTH_CONNECT_LAYER_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x98e5373c_b884_490f_b65f_2f6a4a575195); +pub const FWPM_CALLOUT_SET_OPTIONS_AUTH_RECV_ACCEPT_LAYER_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2d55f008_0c01_4f92_b26e_a08a94569b8d); +pub const FWPM_CALLOUT_SET_OPTIONS_AUTH_RECV_ACCEPT_LAYER_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x63018537_f281_4dc4_83d3_8dec18b7ade2); +pub const FWPM_CALLOUT_TCP_CHIMNEY_ACCEPT_LAYER_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe183ecb2_3a7f_4b54_8ad9_76050ed880ca); +pub const FWPM_CALLOUT_TCP_CHIMNEY_ACCEPT_LAYER_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0378cf41_bf98_4603_81f2_7f12586079f6); +pub const FWPM_CALLOUT_TCP_CHIMNEY_CONNECT_LAYER_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf3e10ab3_2c25_4279_ac36_c30fc181bec4); +pub const FWPM_CALLOUT_TCP_CHIMNEY_CONNECT_LAYER_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x39e22085_a341_42fc_a279_aec94e689c56); +pub const FWPM_CALLOUT_TCP_TEMPLATES_ACCEPT_LAYER_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2f23f5d0_40c4_4c41_a254_46d8dba8957c); +pub const FWPM_CALLOUT_TCP_TEMPLATES_ACCEPT_LAYER_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb25152f0_991c_4f53_bbe7_d24b45fe632c); +pub const FWPM_CALLOUT_TCP_TEMPLATES_CONNECT_LAYER_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x215a0b39_4b7e_4eda_8ce4_179679df6224); +pub const FWPM_CALLOUT_TCP_TEMPLATES_CONNECT_LAYER_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x838b37a1_5c12_4d34_8b38_078728b2d25c); +pub const FWPM_CALLOUT_TEREDO_ALE_LISTEN_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x81a434e7_f60c_4378_bab8_c625a30f0197); +pub const FWPM_CALLOUT_TEREDO_ALE_RESOURCE_ASSIGNMENT_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x31b95392_066e_42a2_b7db_92f8acdd56f9); +pub const FWPM_CALLOUT_WFP_TRANSPORT_LAYER_V4_SILENT_DROP: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xeda08606_2494_4d78_89bc_67837c03b969); +pub const FWPM_CALLOUT_WFP_TRANSPORT_LAYER_V6_SILENT_DROP: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8693cc74_a075_4156_b476_9286eece814e); +pub const FWPM_CHANGE_ADD: FWPM_CHANGE_TYPE = 1i32; +pub const FWPM_CHANGE_DELETE: FWPM_CHANGE_TYPE = 2i32; +pub const FWPM_CHANGE_TYPE_MAX: FWPM_CHANGE_TYPE = 3i32; +pub const FWPM_CLASSIFY_OPTIONS_CONTEXT: FWPM_PROVIDER_CONTEXT_TYPE = 7i32; +pub const FWPM_CONDITION_ALE_APP_ID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd78e1e87_8644_4ea5_9437_d809ecefc971); +pub const FWPM_CONDITION_ALE_EFFECTIVE_NAME: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb1277b9a_b781_40fc_9671_e5f1b989f34e); +pub const FWPM_CONDITION_ALE_NAP_CONTEXT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x46275a9d_c03f_4d77_b784_1c57f4d02753); +pub const FWPM_CONDITION_ALE_ORIGINAL_APP_ID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0e6cd086_e1fb_4212_842f_8a9f993fb3f6); +pub const FWPM_CONDITION_ALE_PACKAGE_ID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x71bc78fa_f17c_4997_a602_6abb261f351c); +pub const FWPM_CONDITION_ALE_PROMISCUOUS_MODE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1c974776_7182_46e9_afd3_b02910e30334); +pub const FWPM_CONDITION_ALE_REAUTH_REASON: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb482d227_1979_4a98_8044_18bbe6237542); +pub const FWPM_CONDITION_ALE_REMOTE_MACHINE_ID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1aa47f51_7f93_4508_a271_81abb00c9cab); +pub const FWPM_CONDITION_ALE_REMOTE_USER_ID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf63073b7_0189_4ab0_95a4_6123cbfab862); +pub const FWPM_CONDITION_ALE_SECURITY_ATTRIBUTE_FQBN_VALUE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x37a57699_5883_4963_92b8_3e704688b0ad); +pub const FWPM_CONDITION_ALE_SIO_FIREWALL_SYSTEM_PORT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb9f4e088_cb98_4efb_a2c7_ad07332643db); +pub const FWPM_CONDITION_ALE_USER_ID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xaf043a0a_b34d_4f86_979c_c90371af6e66); +pub const FWPM_CONDITION_ARRIVAL_INTERFACE_INDEX: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xcc088db3_1792_4a71_b0f9_037d21cd828b); +pub const FWPM_CONDITION_ARRIVAL_INTERFACE_PROFILE_ID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xcdfe6aab_c083_4142_8679_c08f95329c61); +pub const FWPM_CONDITION_ARRIVAL_INTERFACE_TYPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x89f990de_e798_4e6d_ab76_7c9558292e6f); +pub const FWPM_CONDITION_ARRIVAL_TUNNEL_TYPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x511166dc_7a8c_4aa7_b533_95ab59fb0340); +pub const FWPM_CONDITION_AUTHENTICATION_TYPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xeb458cd5_da7b_4ef9_8d43_7b0a840332f2); +pub const FWPM_CONDITION_CLIENT_CERT_KEY_LENGTH: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa3ec00c7_05f4_4df7_91f2_5f60d91ff443); +pub const FWPM_CONDITION_CLIENT_CERT_OID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc491ad5e_f882_4283_b916_436b103ff4ad); +pub const FWPM_CONDITION_CLIENT_TOKEN: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc228fc1e_403a_4478_be05_c9baa4c05ace); +pub const FWPM_CONDITION_COMPARTMENT_ID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x35a791ab_04ac_4ff2_a6bb_da6cfac71806); +pub const FWPM_CONDITION_CURRENT_PROFILE_ID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xab3033c9_c0e3_4759_937d_5758c65d4ae3); +pub const FWPM_CONDITION_DCOM_APP_ID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xff2e7b4d_3112_4770_b636_4d24ae3a6af2); +pub const FWPM_CONDITION_DESTINATION_INTERFACE_INDEX: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x35cf6522_4139_45ee_a0d5_67b80949d879); +pub const FWPM_CONDITION_DESTINATION_SUB_INTERFACE_INDEX: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2b7d4399_d4c7_4738_a2f5_e994b43da388); +pub const FWPM_CONDITION_DIRECTION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8784c146_ca97_44d6_9fd1_19fb1840cbf7); +pub const FWPM_CONDITION_EMBEDDED_LOCAL_ADDRESS_TYPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4672a468_8a0a_4202_abb4_849e92e66809); +pub const FWPM_CONDITION_EMBEDDED_LOCAL_PORT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbfca394d_acdb_484e_b8e6_2aff79757345); +pub const FWPM_CONDITION_EMBEDDED_PROTOCOL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x07784107_a29e_4c7b_9ec7_29c44afafdbc); +pub const FWPM_CONDITION_EMBEDDED_REMOTE_ADDRESS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x77ee4b39_3273_4671_b63b_ab6feb66eeb6); +pub const FWPM_CONDITION_EMBEDDED_REMOTE_PORT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xcae4d6a1_2968_40ed_a4ce_547160dda88d); +pub const FWPM_CONDITION_ETHER_TYPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xfd08948d_a219_4d52_bb98_1a5540ee7b4e); +pub const FWPM_CONDITION_FLAGS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x632ce23b_5167_435c_86d7_e903684aa80c); +pub const FWPM_CONDITION_IMAGE_NAME: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd024de4d_deaa_4317_9c85_e40ef6e140c3); +pub const FWPM_CONDITION_INTERFACE_INDEX: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x667fd755_d695_434a_8af5_d3835a1259bc); +pub const FWPM_CONDITION_INTERFACE_MAC_ADDRESS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf6e63dce_1f4b_4c6b_b6ef_1165e71f8ee7); +pub const FWPM_CONDITION_INTERFACE_QUARANTINE_EPOCH: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xcce68d5e_053b_43a8_9a6f_33384c28e4f6); +pub const FWPM_CONDITION_INTERFACE_TYPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xdaf8cd14_e09e_4c93_a5ae_c5c13b73ffca); +pub const FWPM_CONDITION_IPSEC_POLICY_KEY: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xad37dee3_722f_45cc_a4e3_068048124452); +pub const FWPM_CONDITION_IPSEC_SECURITY_REALM_ID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x37a57700_5884_4964_92b8_3e704688b0ad); +pub const FWPM_CONDITION_IP_ARRIVAL_INTERFACE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x618a9b6d_386b_4136_ad6e_b51587cfb1cd); +pub const FWPM_CONDITION_IP_DESTINATION_ADDRESS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2d79133b_b390_45c6_8699_acaceaafed33); +pub const FWPM_CONDITION_IP_DESTINATION_ADDRESS_TYPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1ec1b7c9_4eea_4f5e_b9ef_76beaaaf17ee); +pub const FWPM_CONDITION_IP_DESTINATION_PORT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xce6def45_60fb_4a7b_a304_af30a117000e); +pub const FWPM_CONDITION_IP_FORWARD_INTERFACE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1076b8a5_6323_4c5e_9810_e8d3fc9e6136); +pub const FWPM_CONDITION_IP_LOCAL_ADDRESS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd9ee00de_c1ef_4617_bfe3_ffd8f5a08957); +pub const FWPM_CONDITION_IP_LOCAL_ADDRESS_TYPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6ec7f6c4_376b_45d7_9e9c_d337cedcd237); +pub const FWPM_CONDITION_IP_LOCAL_ADDRESS_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x03a629cb_6e52_49f8_9c41_5709633c09cf); +pub const FWPM_CONDITION_IP_LOCAL_ADDRESS_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2381be84_7524_45b3_a05b_1e637d9c7a6a); +pub const FWPM_CONDITION_IP_LOCAL_INTERFACE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4cd62a49_59c3_4969_b7f3_bda5d32890a4); +pub const FWPM_CONDITION_IP_LOCAL_PORT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0c1ba1af_5765_453f_af22_a8f791ac775b); +pub const FWPM_CONDITION_IP_NEXTHOP_ADDRESS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xeabe448a_a711_4d64_85b7_3f76b65299c7); +pub const FWPM_CONDITION_IP_NEXTHOP_INTERFACE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x93ae8f5b_7f6f_4719_98c8_14e97429ef04); +pub const FWPM_CONDITION_IP_PHYSICAL_ARRIVAL_INTERFACE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xda50d5c8_fa0d_4c89_b032_6e62136d1e96); +pub const FWPM_CONDITION_IP_PHYSICAL_NEXTHOP_INTERFACE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf09bd5ce_5150_48be_b098_c25152fb1f92); +pub const FWPM_CONDITION_IP_PROTOCOL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x3971ef2b_623e_4f9a_8cb1_6e79b806b9a7); +pub const FWPM_CONDITION_IP_REMOTE_ADDRESS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb235ae9a_1d64_49b8_a44c_5ff3d9095045); +pub const FWPM_CONDITION_IP_REMOTE_ADDRESS_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1febb610_3bcc_45e1_bc36_2e067e2cb186); +pub const FWPM_CONDITION_IP_REMOTE_ADDRESS_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x246e1d8c_8bee_4018_9b98_31d4582f3361); +pub const FWPM_CONDITION_IP_REMOTE_PORT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc35a604d_d22b_4e1a_91b4_68f674ee674b); +pub const FWPM_CONDITION_IP_SOURCE_ADDRESS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xae96897e_2e94_4bc9_b313_b27ee80e574d); +pub const FWPM_CONDITION_IP_SOURCE_PORT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa6afef91_3df4_4730_a214_f5426aebf821); +pub const FWPM_CONDITION_KM_AUTH_NAP_CONTEXT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x35d0ea0e_15ca_492b_900e_97fd46352cce); +pub const FWPM_CONDITION_KM_MODE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xfeef4582_ef8f_4f7b_858b_9077d122de47); +pub const FWPM_CONDITION_KM_TYPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xff0f5f49_0ceb_481b_8638_1479791f3f2c); +pub const FWPM_CONDITION_L2_FLAGS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7bc43cbf_37ba_45f1_b74a_82ff518eeb10); +pub const FWPM_CONDITION_LOCAL_INTERFACE_PROFILE_ID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4ebf7562_9f18_4d06_9941_a7a625744d71); +pub const FWPM_CONDITION_MAC_DESTINATION_ADDRESS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x04ea2a93_858c_4027_b613_b43180c7859e); +pub const FWPM_CONDITION_MAC_DESTINATION_ADDRESS_TYPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xae052932_ef42_4e99_b129_f3b3139e34f7); +pub const FWPM_CONDITION_MAC_LOCAL_ADDRESS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd999e981_7948_4c83_b742_c84e3b678f8f); +pub const FWPM_CONDITION_MAC_LOCAL_ADDRESS_TYPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xcc31355c_3073_4ffb_a14f_79415cb1ead1); +pub const FWPM_CONDITION_MAC_REMOTE_ADDRESS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x408f2ed4_3a70_4b4d_92a6_415ac20e2f12); +pub const FWPM_CONDITION_MAC_REMOTE_ADDRESS_TYPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x027fedb4_f1c1_4030_b564_ee777fd867ea); +pub const FWPM_CONDITION_MAC_SOURCE_ADDRESS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7b795451_f1f6_4d05_b7cb_21779d802336); +pub const FWPM_CONDITION_MAC_SOURCE_ADDRESS_TYPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5c1b72e4_299e_4437_a298_bc3f014b3dc2); +pub const FWPM_CONDITION_NDIS_MEDIA_TYPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xcb31cef1_791d_473b_89d1_61c5984304a0); +pub const FWPM_CONDITION_NDIS_PHYSICAL_MEDIA_TYPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x34c79823_c229_44f2_b83c_74020882ae77); +pub const FWPM_CONDITION_NDIS_PORT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xdb7bb42b_2dac_4cd4_a59a_e0bdce1e6834); +pub const FWPM_CONDITION_NET_EVENT_TYPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x206e9996_490e_40cf_b831_b38641eb6fcb); +pub const FWPM_CONDITION_NEXTHOP_INTERFACE_INDEX: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x138e6888_7ab8_4d65_9ee8_0591bcf6a494); +pub const FWPM_CONDITION_NEXTHOP_INTERFACE_PROFILE_ID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd7ff9a56_cdaa_472b_84db_d23963c1d1bf); +pub const FWPM_CONDITION_NEXTHOP_INTERFACE_TYPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x97537c6c_d9a3_4767_a381_e942675cd920); +pub const FWPM_CONDITION_NEXTHOP_SUB_INTERFACE_INDEX: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xef8a6122_0577_45a7_9aaf_825fbeb4fb95); +pub const FWPM_CONDITION_NEXTHOP_TUNNEL_TYPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x72b1a111_987b_4720_99dd_c7c576fa2d4c); +pub const FWPM_CONDITION_ORIGINAL_ICMP_TYPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x076dfdbe_c56c_4f72_ae8a_2cfe7e5c8286); +pub const FWPM_CONDITION_ORIGINAL_PROFILE_ID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x46ea1551_2255_492b_8019_aabeee349f40); +pub const FWPM_CONDITION_PEER_NAME: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9b539082_eb90_4186_a6cc_de5b63235016); +pub const FWPM_CONDITION_PIPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1bd0741d_e3df_4e24_8634_762046eef6eb); +pub const FWPM_CONDITION_PROCESS_WITH_RPC_IF_UUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe31180a8_bbbd_4d14_a65e_7157b06233bb); +pub const FWPM_CONDITION_QM_MODE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf64fc6d1_f9cb_43d2_8a5f_e13bc894f265); +pub const FWPM_CONDITION_REAUTHORIZE_REASON: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x11205e8c_11ae_457a_8a44_477026dd764a); +pub const FWPM_CONDITION_REMOTE_ID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf68166fd_0682_4c89_b8f5_86436c7ef9b7); +pub const FWPM_CONDITION_REMOTE_USER_TOKEN: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9bf0ee66_06c9_41b9_84da_288cb43af51f); +pub const FWPM_CONDITION_RESERVED0: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x678f4deb_45af_4882_93fe_19d4729d9834); +pub const FWPM_CONDITION_RESERVED1: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd818f827_5c69_48eb_bf80_d86b17755f97); +pub const FWPM_CONDITION_RESERVED10: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb979e282_d621_4c8c_b184_b105a61c36ce); +pub const FWPM_CONDITION_RESERVED11: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2d62ee4d_023d_411f_9582_43acbb795975); +pub const FWPM_CONDITION_RESERVED12: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa3677c32_7e35_4ddc_93da_e8c33fc923c7); +pub const FWPM_CONDITION_RESERVED13: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x335a3e90_84aa_42f5_9e6f_59309536a44c); +pub const FWPM_CONDITION_RESERVED14: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x30e44da2_2f1a_4116_a559_f907de83604a); +pub const FWPM_CONDITION_RESERVED15: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbab8340f_afe0_43d1_80d8_5ca456962de3); +pub const FWPM_CONDITION_RESERVED2: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x53d4123d_e15b_4e84_b7a8_dce16f7b62d9); +pub const FWPM_CONDITION_RESERVED3: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7f6e8ca3_6606_4932_97c7_e1f20710af3b); +pub const FWPM_CONDITION_RESERVED4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5f58e642_b937_495e_a94b_f6b051a49250); +pub const FWPM_CONDITION_RESERVED5: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9ba8f6cd_f77c_43e6_8847_11939dc5db5a); +pub const FWPM_CONDITION_RESERVED6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf13d84bd_59d5_44c4_8817_5ecdae1805bd); +pub const FWPM_CONDITION_RESERVED7: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x65a0f930_45dd_4983_aa33_efc7b611af08); +pub const FWPM_CONDITION_RESERVED8: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4f424974_0c12_4816_9b47_9a547db39a32); +pub const FWPM_CONDITION_RESERVED9: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xce78e10f_13ff_4c70_8643_36ad1879afa3); +pub const FWPM_CONDITION_RPC_AUTH_LEVEL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe5a0aed5_59ac_46ea_be05_a5f05ecf446e); +pub const FWPM_CONDITION_RPC_AUTH_TYPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xdaba74ab_0d67_43e7_986e_75b84f82f594); +pub const FWPM_CONDITION_RPC_EP_FLAGS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x218b814a_0a39_49b8_8e71_c20c39c7dd2e); +pub const FWPM_CONDITION_RPC_EP_VALUE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xdccea0b9_0886_4360_9c6a_ab043a24fba9); +pub const FWPM_CONDITION_RPC_IF_FLAG: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x238a8a32_3199_467d_871c_272621ab3896); +pub const FWPM_CONDITION_RPC_IF_UUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7c9c7d9f_0075_4d35_a0d1_8311c4cf6af1); +pub const FWPM_CONDITION_RPC_IF_VERSION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xeabfd9b7_1262_4a2e_adaa_5f96f6fe326d); +pub const FWPM_CONDITION_RPC_PROTOCOL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2717bc74_3a35_4ce7_b7ef_c838fabdec45); +pub const FWPM_CONDITION_RPC_PROXY_AUTH_TYPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x40953fe2_8565_4759_8488_1771b4b4b5db); +pub const FWPM_CONDITION_RPC_SERVER_NAME: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb605a225_c3b3_48c7_9833_7aefa9527546); +pub const FWPM_CONDITION_RPC_SERVER_PORT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8090f645_9ad5_4e3b_9f9f_8023ca097909); +pub const FWPM_CONDITION_SEC_ENCRYPT_ALGORITHM: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0d306ef0_e974_4f74_b5c7_591b0da7d562); +pub const FWPM_CONDITION_SEC_KEY_SIZE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4772183b_ccf8_4aeb_bce1_c6c6161c8fe4); +pub const FWPM_CONDITION_SOURCE_INTERFACE_INDEX: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2311334d_c92d_45bf_9496_edf447820e2d); +pub const FWPM_CONDITION_SOURCE_SUB_INTERFACE_INDEX: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x055edd9d_acd2_4361_8dab_f9525d97662f); +pub const FWPM_CONDITION_SUB_INTERFACE_INDEX: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cd42473_d621_4be3_ae8c_72a348d283e1); +pub const FWPM_CONDITION_TUNNEL_TYPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x77a40437_8779_4868_a261_f5a902f1c0cd); +pub const FWPM_CONDITION_VLAN_ID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x938eab21_3618_4e64_9ca5_2141ebda1ca2); +pub const FWPM_CONDITION_VSWITCH_DESTINATION_INTERFACE_ID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8ed48be4_c926_49f6_a4f6_ef3030e3fc16); +pub const FWPM_CONDITION_VSWITCH_DESTINATION_INTERFACE_TYPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xfa9b3f06_2f1a_4c57_9e68_a7098b28dbfe); +pub const FWPM_CONDITION_VSWITCH_DESTINATION_VM_ID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6106aace_4de1_4c84_9671_3637f8bcf731); +pub const FWPM_CONDITION_VSWITCH_ID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc4a414ba_437b_4de6_9946_d99c1b95b312); +pub const FWPM_CONDITION_VSWITCH_NETWORK_TYPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x11d48b4b_e77a_40b4_9155_392c906c2608); +pub const FWPM_CONDITION_VSWITCH_SOURCE_INTERFACE_ID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7f4ef24b_b2c1_4938_ba33_a1ecbed512ba); +pub const FWPM_CONDITION_VSWITCH_SOURCE_INTERFACE_TYPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe6b040a2_edaf_4c36_908b_f2f58ae43807); +pub const FWPM_CONDITION_VSWITCH_SOURCE_VM_ID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9c2a9ec2_9fc6_42bc_bdd8_406d4da0be64); +pub const FWPM_CONDITION_VSWITCH_TENANT_NETWORK_ID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xdc04843c_79e6_4e44_a025_65b9bb0f9f94); +pub const FWPM_CONNECTION_ENUM_FLAG_QUERY_BYTES_TRANSFERRED: u32 = 1u32; +pub const FWPM_CONNECTION_EVENT_ADD: FWPM_CONNECTION_EVENT_TYPE = 0i32; +pub const FWPM_CONNECTION_EVENT_DELETE: FWPM_CONNECTION_EVENT_TYPE = 1i32; +pub const FWPM_CONNECTION_EVENT_MAX: FWPM_CONNECTION_EVENT_TYPE = 2i32; +pub const FWPM_ENGINE_COLLECT_NET_EVENTS: FWPM_ENGINE_OPTION = 0i32; +pub const FWPM_ENGINE_MONITOR_IPSEC_CONNECTIONS: FWPM_ENGINE_OPTION = 3i32; +pub const FWPM_ENGINE_NAME_CACHE: FWPM_ENGINE_OPTION = 2i32; +pub const FWPM_ENGINE_NET_EVENT_MATCH_ANY_KEYWORDS: FWPM_ENGINE_OPTION = 1i32; +pub const FWPM_ENGINE_OPTION_MAX: FWPM_ENGINE_OPTION = 6i32; +pub const FWPM_ENGINE_OPTION_PACKET_BATCH_INBOUND: u32 = 4u32; +pub const FWPM_ENGINE_OPTION_PACKET_QUEUE_FORWARD: u32 = 2u32; +pub const FWPM_ENGINE_OPTION_PACKET_QUEUE_INBOUND: u32 = 1u32; +pub const FWPM_ENGINE_OPTION_PACKET_QUEUE_NONE: u32 = 0u32; +pub const FWPM_ENGINE_PACKET_QUEUING: FWPM_ENGINE_OPTION = 4i32; +pub const FWPM_ENGINE_TXN_WATCHDOG_TIMEOUT_IN_MSEC: FWPM_ENGINE_OPTION = 5i32; +pub const FWPM_FIELD_FLAGS: FWPM_FIELD_TYPE = 2i32; +pub const FWPM_FIELD_IP_ADDRESS: FWPM_FIELD_TYPE = 1i32; +pub const FWPM_FIELD_RAW_DATA: FWPM_FIELD_TYPE = 0i32; +pub const FWPM_FIELD_TYPE_MAX: FWPM_FIELD_TYPE = 3i32; +pub const FWPM_FILTER_FLAG_BOOTTIME: FWPM_FILTER_FLAGS = 2u32; +pub const FWPM_FILTER_FLAG_CLEAR_ACTION_RIGHT: FWPM_FILTER_FLAGS = 8u32; +pub const FWPM_FILTER_FLAG_DISABLED: FWPM_FILTER_FLAGS = 32u32; +pub const FWPM_FILTER_FLAG_GAMEOS_ONLY: u32 = 512u32; +pub const FWPM_FILTER_FLAG_HAS_PROVIDER_CONTEXT: FWPM_FILTER_FLAGS = 4u32; +pub const FWPM_FILTER_FLAG_HAS_SECURITY_REALM_PROVIDER_CONTEXT: u32 = 128u32; +pub const FWPM_FILTER_FLAG_INDEXED: FWPM_FILTER_FLAGS = 64u32; +pub const FWPM_FILTER_FLAG_IPSEC_NO_ACQUIRE_INITIATE: u32 = 2048u32; +pub const FWPM_FILTER_FLAG_NONE: FWPM_FILTER_FLAGS = 0u32; +pub const FWPM_FILTER_FLAG_PERMIT_IF_CALLOUT_UNREGISTERED: FWPM_FILTER_FLAGS = 16u32; +pub const FWPM_FILTER_FLAG_PERSISTENT: FWPM_FILTER_FLAGS = 1u32; +pub const FWPM_FILTER_FLAG_RESERVED0: u32 = 4096u32; +pub const FWPM_FILTER_FLAG_RESERVED1: u32 = 8192u32; +pub const FWPM_FILTER_FLAG_SILENT_MODE: u32 = 1024u32; +pub const FWPM_FILTER_FLAG_SYSTEMOS_ONLY: u32 = 256u32; +pub const FWPM_GENERAL_CONTEXT: FWPM_PROVIDER_CONTEXT_TYPE = 8i32; +pub const FWPM_IPSEC_AUTHIP_MM_CONTEXT: FWPM_PROVIDER_CONTEXT_TYPE = 6i32; +pub const FWPM_IPSEC_AUTHIP_QM_TRANSPORT_CONTEXT: FWPM_PROVIDER_CONTEXT_TYPE = 3i32; +pub const FWPM_IPSEC_AUTHIP_QM_TUNNEL_CONTEXT: FWPM_PROVIDER_CONTEXT_TYPE = 4i32; +pub const FWPM_IPSEC_DOSP_CONTEXT: FWPM_PROVIDER_CONTEXT_TYPE = 11i32; +pub const FWPM_IPSEC_IKEV2_MM_CONTEXT: FWPM_PROVIDER_CONTEXT_TYPE = 10i32; +pub const FWPM_IPSEC_IKEV2_QM_TRANSPORT_CONTEXT: FWPM_PROVIDER_CONTEXT_TYPE = 12i32; +pub const FWPM_IPSEC_IKEV2_QM_TUNNEL_CONTEXT: FWPM_PROVIDER_CONTEXT_TYPE = 9i32; +pub const FWPM_IPSEC_IKE_MM_CONTEXT: FWPM_PROVIDER_CONTEXT_TYPE = 5i32; +pub const FWPM_IPSEC_IKE_QM_TRANSPORT_CONTEXT: FWPM_PROVIDER_CONTEXT_TYPE = 1i32; +pub const FWPM_IPSEC_IKE_QM_TUNNEL_CONTEXT: FWPM_PROVIDER_CONTEXT_TYPE = 2i32; +pub const FWPM_IPSEC_KEYING_CONTEXT: FWPM_PROVIDER_CONTEXT_TYPE = 0i32; +pub const FWPM_KEYING_MODULE_AUTHIP: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x11e3dae0_dd26_4590_857d_ab4b28d1a095); +pub const FWPM_KEYING_MODULE_IKE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa9bbf787_82a8_45bb_a400_5d7e5952c7a9); +pub const FWPM_KEYING_MODULE_IKEV2: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x041792cc_8f07_419d_a394_716968cb1647); +pub const FWPM_LAYER_ALE_AUTH_CONNECT_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc38d57d1_05a7_4c33_904f_7fbceee60e82); +pub const FWPM_LAYER_ALE_AUTH_CONNECT_V4_DISCARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd632a801_f5ba_4ad6_96e3_607017d9836a); +pub const FWPM_LAYER_ALE_AUTH_CONNECT_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4a72393b_319f_44bc_84c3_ba54dcb3b6b4); +pub const FWPM_LAYER_ALE_AUTH_CONNECT_V6_DISCARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc97bc3b8_c9a3_4e33_8695_8e17aad4de09); +pub const FWPM_LAYER_ALE_AUTH_LISTEN_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x88bb5dad_76d7_4227_9c71_df0a3ed7be7e); +pub const FWPM_LAYER_ALE_AUTH_LISTEN_V4_DISCARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x371dfada_9f26_45fd_b4eb_c29eb212893f); +pub const FWPM_LAYER_ALE_AUTH_LISTEN_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7ac9de24_17dd_4814_b4bd_a9fbc95a321b); +pub const FWPM_LAYER_ALE_AUTH_LISTEN_V6_DISCARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x60703b07_63c8_48e9_ada3_12b1af40a617); +pub const FWPM_LAYER_ALE_AUTH_RECV_ACCEPT_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe1cd9fe7_f4b5_4273_96c0_592e487b8650); +pub const FWPM_LAYER_ALE_AUTH_RECV_ACCEPT_V4_DISCARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9eeaa99b_bd22_4227_919f_0073c63357b1); +pub const FWPM_LAYER_ALE_AUTH_RECV_ACCEPT_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa3b42c97_9f04_4672_b87e_cee9c483257f); +pub const FWPM_LAYER_ALE_AUTH_RECV_ACCEPT_V6_DISCARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x89455b97_dbe1_453f_a224_13da895af396); +pub const FWPM_LAYER_ALE_BIND_REDIRECT_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x66978cad_c704_42ac_86ac_7c1a231bd253); +pub const FWPM_LAYER_ALE_BIND_REDIRECT_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbef02c9c_606b_4536_8c26_1c2fc7b631d4); +pub const FWPM_LAYER_ALE_CONNECT_REDIRECT_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc6e63c8c_b784_4562_aa7d_0a67cfcaf9a3); +pub const FWPM_LAYER_ALE_CONNECT_REDIRECT_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x587e54a7_8046_42ba_a0aa_b716250fc7fd); +pub const FWPM_LAYER_ALE_ENDPOINT_CLOSURE_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb4766427_e2a2_467a_bd7e_dbcd1bd85a09); +pub const FWPM_LAYER_ALE_ENDPOINT_CLOSURE_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbb536ccd_4755_4ba9_9ff7_f9edf8699c7b); +pub const FWPM_LAYER_ALE_FLOW_ESTABLISHED_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xaf80470a_5596_4c13_9992_539e6fe57967); +pub const FWPM_LAYER_ALE_FLOW_ESTABLISHED_V4_DISCARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x146ae4a9_a1d2_4d43_a31a_4c42682b8e4f); +pub const FWPM_LAYER_ALE_FLOW_ESTABLISHED_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7021d2b3_dfa4_406e_afeb_6afaf7e70efd); +pub const FWPM_LAYER_ALE_FLOW_ESTABLISHED_V6_DISCARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x46928636_bbca_4b76_941d_0fa7f5d7d372); +pub const FWPM_LAYER_ALE_RESOURCE_ASSIGNMENT_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1247d66d_0b60_4a15_8d44_7155d0f53a0c); +pub const FWPM_LAYER_ALE_RESOURCE_ASSIGNMENT_V4_DISCARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0b5812a2_c3ff_4eca_b88d_c79e20ac6322); +pub const FWPM_LAYER_ALE_RESOURCE_ASSIGNMENT_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x55a650e1_5f0a_4eca_a653_88f53b26aa8c); +pub const FWPM_LAYER_ALE_RESOURCE_ASSIGNMENT_V6_DISCARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xcbc998bb_c51f_4c1a_bb4f_9775fcacab2f); +pub const FWPM_LAYER_ALE_RESOURCE_RELEASE_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x74365cce_ccb0_401a_bfc1_b89934ad7e15); +pub const FWPM_LAYER_ALE_RESOURCE_RELEASE_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf4e5ce80_edcc_4e13_8a2f_b91454bb057b); +pub const FWPM_LAYER_DATAGRAM_DATA_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x3d08bf4e_45f6_4930_a922_417098e20027); +pub const FWPM_LAYER_DATAGRAM_DATA_V4_DISCARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x18e330c6_7248_4e52_aaab_472ed67704fd); +pub const FWPM_LAYER_DATAGRAM_DATA_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xfa45fe2f_3cba_4427_87fc_57b9a4b10d00); +pub const FWPM_LAYER_DATAGRAM_DATA_V6_DISCARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x09d1dfe1_9b86_4a42_be9d_8c315b92a5d0); +pub const FWPM_LAYER_EGRESS_VSWITCH_ETHERNET: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x86c872b0_76fa_4b79_93a4_0750530ae292); +pub const FWPM_LAYER_EGRESS_VSWITCH_TRANSPORT_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb92350b6_91f0_46b6_bdc4_871dfd4a7c98); +pub const FWPM_LAYER_EGRESS_VSWITCH_TRANSPORT_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1b2def23_1881_40bd_82f4_4254e63141cb); +pub const FWPM_LAYER_FLAG_BUFFERED: u32 = 8u32; +pub const FWPM_LAYER_FLAG_BUILTIN: u32 = 2u32; +pub const FWPM_LAYER_FLAG_CLASSIFY_MOSTLY: u32 = 4u32; +pub const FWPM_LAYER_FLAG_KERNEL: u32 = 1u32; +pub const FWPM_LAYER_IKEEXT_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb14b7bdb_dbbd_473e_bed4_8b4708d4f270); +pub const FWPM_LAYER_IKEEXT_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb64786b3_f687_4eb9_89d2_8ef32acdabe2); +pub const FWPM_LAYER_INBOUND_ICMP_ERROR_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x61499990_3cb6_4e84_b950_53b94b6964f3); +pub const FWPM_LAYER_INBOUND_ICMP_ERROR_V4_DISCARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa6b17075_ebaf_4053_a4e7_213c8121ede5); +pub const FWPM_LAYER_INBOUND_ICMP_ERROR_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x65f9bdff_3b2d_4e5d_b8c6_c720651fe898); +pub const FWPM_LAYER_INBOUND_ICMP_ERROR_V6_DISCARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa6e7ccc0_08fb_468d_a472_9771d5595e09); +pub const FWPM_LAYER_INBOUND_IPPACKET_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc86fd1bf_21cd_497e_a0bb_17425c885c58); +pub const FWPM_LAYER_INBOUND_IPPACKET_V4_DISCARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb5a230d0_a8c0_44f2_916e_991b53ded1f7); +pub const FWPM_LAYER_INBOUND_IPPACKET_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf52032cb_991c_46e7_971d_2601459a91ca); +pub const FWPM_LAYER_INBOUND_IPPACKET_V6_DISCARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbb24c279_93b4_47a2_83ad_ae1698b50885); +pub const FWPM_LAYER_INBOUND_MAC_FRAME_ETHERNET: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xeffb7edb_0055_4f9a_a231_4ff8131ad191); +pub const FWPM_LAYER_INBOUND_MAC_FRAME_NATIVE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd4220bd3_62ce_4f08_ae88_b56e8526df50); +pub const FWPM_LAYER_INBOUND_MAC_FRAME_NATIVE_FAST: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x853aaa8e_2b78_4d24_a804_36db08b29711); +pub const FWPM_LAYER_INBOUND_RESERVED2: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf4fb8d55_c076_46d8_a2c7_6a4c722ca4ed); +pub const FWPM_LAYER_INBOUND_TRANSPORT_FAST: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe41d2719_05c7_40f0_8983_ea8d17bbc2f6); +pub const FWPM_LAYER_INBOUND_TRANSPORT_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5926dfc8_e3cf_4426_a283_dc393f5d0f9d); +pub const FWPM_LAYER_INBOUND_TRANSPORT_V4_DISCARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xac4a9833_f69d_4648_b261_6dc84835ef39); +pub const FWPM_LAYER_INBOUND_TRANSPORT_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x634a869f_fc23_4b90_b0c1_bf620a36ae6f); +pub const FWPM_LAYER_INBOUND_TRANSPORT_V6_DISCARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2a6ff955_3b2b_49d2_9848_ad9d72dcaab7); +pub const FWPM_LAYER_INGRESS_VSWITCH_ETHERNET: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7d98577a_9a87_41ec_9718_7cf589c9f32d); +pub const FWPM_LAYER_INGRESS_VSWITCH_TRANSPORT_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb2696ff6_774f_4554_9f7d_3da3945f8e85); +pub const FWPM_LAYER_INGRESS_VSWITCH_TRANSPORT_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5ee314fc_7d8a_47f4_b7e3_291a36da4e12); +pub const FWPM_LAYER_IPFORWARD_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa82acc24_4ee1_4ee1_b465_fd1d25cb10a4); +pub const FWPM_LAYER_IPFORWARD_V4_DISCARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9e9ea773_2fae_4210_8f17_34129ef369eb); +pub const FWPM_LAYER_IPFORWARD_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7b964818_19c7_493a_b71f_832c3684d28c); +pub const FWPM_LAYER_IPFORWARD_V6_DISCARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x31524a5d_1dfe_472f_bb93_518ee945d8a2); +pub const FWPM_LAYER_IPSEC_KM_DEMUX_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf02b1526_a459_4a51_b9e3_759de52b9d2c); +pub const FWPM_LAYER_IPSEC_KM_DEMUX_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2f755cf6_2fd4_4e88_b3e4_a91bca495235); +pub const FWPM_LAYER_IPSEC_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xeda65c74_610d_4bc5_948f_3c4f89556867); +pub const FWPM_LAYER_IPSEC_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x13c48442_8d87_4261_9a29_59d2abc348b4); +pub const FWPM_LAYER_KM_AUTHORIZATION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4aa226e9_9020_45fb_956a_c0249d841195); +pub const FWPM_LAYER_NAME_RESOLUTION_CACHE_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0c2aa681_905b_4ccd_a467_4dd811d07b7b); +pub const FWPM_LAYER_NAME_RESOLUTION_CACHE_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x92d592fa_6b01_434a_9dea_d1e96ea97da9); +pub const FWPM_LAYER_OUTBOUND_ICMP_ERROR_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x41390100_564c_4b32_bc1d_718048354d7c); +pub const FWPM_LAYER_OUTBOUND_ICMP_ERROR_V4_DISCARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb3598d36_0561_4588_a6bf_e955e3f6264b); +pub const FWPM_LAYER_OUTBOUND_ICMP_ERROR_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7fb03b60_7b8d_4dfa_badd_980176fc4e12); +pub const FWPM_LAYER_OUTBOUND_ICMP_ERROR_V6_DISCARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x65f2e647_8d0c_4f47_b19b_33a4d3f1357c); +pub const FWPM_LAYER_OUTBOUND_IPPACKET_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1e5c9fae_8a84_4135_a331_950b54229ecd); +pub const FWPM_LAYER_OUTBOUND_IPPACKET_V4_DISCARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x08e4bcb5_b647_48f3_953c_e5ddbd03937e); +pub const FWPM_LAYER_OUTBOUND_IPPACKET_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa3b3ab6b_3564_488c_9117_f34e82142763); +pub const FWPM_LAYER_OUTBOUND_IPPACKET_V6_DISCARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9513d7c4_a934_49dc_91a7_6ccb80cc02e3); +pub const FWPM_LAYER_OUTBOUND_MAC_FRAME_ETHERNET: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x694673bc_d6db_4870_adee_0acdbdb7f4b2); +pub const FWPM_LAYER_OUTBOUND_MAC_FRAME_NATIVE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x94c44912_9d6f_4ebf_b995_05ab8a088d1b); +pub const FWPM_LAYER_OUTBOUND_MAC_FRAME_NATIVE_FAST: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x470df946_c962_486f_9446_8293cbc75eb8); +pub const FWPM_LAYER_OUTBOUND_NETWORK_CONNECTION_POLICY_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x037f317a_d696_494a_bba5_bffc265e6052); +pub const FWPM_LAYER_OUTBOUND_NETWORK_CONNECTION_POLICY_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x22a4fdb1_6d7e_48ae_ae77_3742525c3119); +pub const FWPM_LAYER_OUTBOUND_TRANSPORT_FAST: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x13ed4388_a070_4815_9935_7a9be6408b78); +pub const FWPM_LAYER_OUTBOUND_TRANSPORT_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x09e61aea_d214_46e2_9b21_b26b0b2f28c8); +pub const FWPM_LAYER_OUTBOUND_TRANSPORT_V4_DISCARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc5f10551_bdb0_43d7_a313_50e211f4d68a); +pub const FWPM_LAYER_OUTBOUND_TRANSPORT_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe1735bde_013f_4655_b351_a49e15762df0); +pub const FWPM_LAYER_OUTBOUND_TRANSPORT_V6_DISCARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf433df69_ccbd_482e_b9b2_57165658c3b3); +pub const FWPM_LAYER_RPC_EPMAP: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9247bc61_eb07_47ee_872c_bfd78bfd1616); +pub const FWPM_LAYER_RPC_EP_ADD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x618dffc7_c450_4943_95db_99b4c16a55d4); +pub const FWPM_LAYER_RPC_PROXY_CONN: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x94a4b50b_ba5c_4f27_907a_229fac0c2a7a); +pub const FWPM_LAYER_RPC_PROXY_IF: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf8a38615_e12c_41ac_98df_121ad981aade); +pub const FWPM_LAYER_RPC_UM: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x75a89dda_95e4_40f3_adc7_7688a9c847e1); +pub const FWPM_LAYER_STREAM_PACKET_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xaf52d8ec_cb2d_44e5_ad92_f8dc38d2eb29); +pub const FWPM_LAYER_STREAM_PACKET_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x779a8ca3_f099_468f_b5d4_83535c461c02); +pub const FWPM_LAYER_STREAM_V4: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x3b89653c_c170_49e4_b1cd_e0eeeee19a3e); +pub const FWPM_LAYER_STREAM_V4_DISCARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x25c4c2c2_25ff_4352_82f9_c54a4a4726dc); +pub const FWPM_LAYER_STREAM_V6: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x47c9137a_7ec4_46b3_b6e4_48e926b1eda4); +pub const FWPM_LAYER_STREAM_V6_DISCARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x10a59fc7_b628_4c41_9eb8_cf37d55103cf); +pub const FWPM_NETWORK_CONNECTION_POLICY_CONTEXT: FWPM_PROVIDER_CONTEXT_TYPE = 13i32; +pub const FWPM_NET_EVENT_FLAG_APP_ID_SET: u32 = 32u32; +pub const FWPM_NET_EVENT_FLAG_EFFECTIVE_NAME_SET: u32 = 8192u32; +pub const FWPM_NET_EVENT_FLAG_ENTERPRISE_ID_SET: u32 = 2048u32; +pub const FWPM_NET_EVENT_FLAG_IP_PROTOCOL_SET: u32 = 1u32; +pub const FWPM_NET_EVENT_FLAG_IP_VERSION_SET: u32 = 256u32; +pub const FWPM_NET_EVENT_FLAG_LOCAL_ADDR_SET: u32 = 2u32; +pub const FWPM_NET_EVENT_FLAG_LOCAL_PORT_SET: u32 = 8u32; +pub const FWPM_NET_EVENT_FLAG_PACKAGE_ID_SET: u32 = 1024u32; +pub const FWPM_NET_EVENT_FLAG_POLICY_FLAGS_SET: u32 = 4096u32; +pub const FWPM_NET_EVENT_FLAG_REAUTH_REASON_SET: u32 = 512u32; +pub const FWPM_NET_EVENT_FLAG_REMOTE_ADDR_SET: u32 = 4u32; +pub const FWPM_NET_EVENT_FLAG_REMOTE_PORT_SET: u32 = 16u32; +pub const FWPM_NET_EVENT_FLAG_SCOPE_ID_SET: u32 = 128u32; +pub const FWPM_NET_EVENT_FLAG_USER_ID_SET: u32 = 64u32; +pub const FWPM_NET_EVENT_IKEEXT_EM_FAILURE_FLAG_BENIGN: u32 = 2u32; +pub const FWPM_NET_EVENT_IKEEXT_EM_FAILURE_FLAG_MULTIPLE: u32 = 1u32; +pub const FWPM_NET_EVENT_IKEEXT_MM_FAILURE_FLAG_BENIGN: u32 = 1u32; +pub const FWPM_NET_EVENT_IKEEXT_MM_FAILURE_FLAG_MULTIPLE: u32 = 2u32; +pub const FWPM_NET_EVENT_KEYWORD_CAPABILITY_ALLOW: u32 = 8u32; +pub const FWPM_NET_EVENT_KEYWORD_CAPABILITY_DROP: u32 = 4u32; +pub const FWPM_NET_EVENT_KEYWORD_CLASSIFY_ALLOW: u32 = 16u32; +pub const FWPM_NET_EVENT_KEYWORD_INBOUND_BCAST: u32 = 2u32; +pub const FWPM_NET_EVENT_KEYWORD_INBOUND_MCAST: u32 = 1u32; +pub const FWPM_NET_EVENT_KEYWORD_PORT_SCANNING_DROP: u32 = 32u32; +pub const FWPM_NET_EVENT_TYPE_CAPABILITY_ALLOW: FWPM_NET_EVENT_TYPE = 8i32; +pub const FWPM_NET_EVENT_TYPE_CAPABILITY_DROP: FWPM_NET_EVENT_TYPE = 7i32; +pub const FWPM_NET_EVENT_TYPE_CLASSIFY_ALLOW: FWPM_NET_EVENT_TYPE = 6i32; +pub const FWPM_NET_EVENT_TYPE_CLASSIFY_DROP: FWPM_NET_EVENT_TYPE = 3i32; +pub const FWPM_NET_EVENT_TYPE_CLASSIFY_DROP_MAC: FWPM_NET_EVENT_TYPE = 9i32; +pub const FWPM_NET_EVENT_TYPE_IKEEXT_EM_FAILURE: FWPM_NET_EVENT_TYPE = 2i32; +pub const FWPM_NET_EVENT_TYPE_IKEEXT_MM_FAILURE: FWPM_NET_EVENT_TYPE = 0i32; +pub const FWPM_NET_EVENT_TYPE_IKEEXT_QM_FAILURE: FWPM_NET_EVENT_TYPE = 1i32; +pub const FWPM_NET_EVENT_TYPE_IPSEC_DOSP_DROP: FWPM_NET_EVENT_TYPE = 5i32; +pub const FWPM_NET_EVENT_TYPE_IPSEC_KERNEL_DROP: FWPM_NET_EVENT_TYPE = 4i32; +pub const FWPM_NET_EVENT_TYPE_LPM_PACKET_ARRIVAL: FWPM_NET_EVENT_TYPE = 10i32; +pub const FWPM_NET_EVENT_TYPE_MAX: FWPM_NET_EVENT_TYPE = 11i32; +pub const FWPM_PROVIDER_CONTEXT_FLAG_DOWNLEVEL: u32 = 2u32; +pub const FWPM_PROVIDER_CONTEXT_FLAG_PERSISTENT: u32 = 1u32; +pub const FWPM_PROVIDER_CONTEXT_SECURE_SOCKET_AUTHIP: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb25ea800_0d02_46ed_92bd_7fa84bb73e9d); +pub const FWPM_PROVIDER_CONTEXT_SECURE_SOCKET_IPSEC: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8c2d4144_f8e0_42c0_94ce_7ccfc63b2f9b); +pub const FWPM_PROVIDER_CONTEXT_TYPE_MAX: FWPM_PROVIDER_CONTEXT_TYPE = 14i32; +pub const FWPM_PROVIDER_FLAG_DISABLED: u32 = 16u32; +pub const FWPM_PROVIDER_FLAG_PERSISTENT: u32 = 1u32; +pub const FWPM_PROVIDER_IKEEXT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x10ad9216_ccde_456c_8b16_e9f04e60a90b); +pub const FWPM_PROVIDER_IPSEC_DOSP_CONFIG: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x3c6c05a9_c05c_4bb9_8338_2327814ce8bf); +pub const FWPM_PROVIDER_MPSSVC_APP_ISOLATION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x3cc2631f_2d5d_43a0_b174_614837d863a1); +pub const FWPM_PROVIDER_MPSSVC_EDP: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa90296f7_46b8_4457_8f84_b05e05d3c622); +pub const FWPM_PROVIDER_MPSSVC_TENANT_RESTRICTIONS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd0718ff9_44da_4f50_9dc2_c963a4247613); +pub const FWPM_PROVIDER_MPSSVC_WF: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xdecc16ca_3f33_4346_be1e_8fb4ae0f3d62); +pub const FWPM_PROVIDER_MPSSVC_WSH: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4b153735_1049_4480_aab4_d1b9bdc03710); +pub const FWPM_PROVIDER_TCP_CHIMNEY_OFFLOAD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x896aa19e_9a34_4bcb_ae79_beb9127c84b9); +pub const FWPM_PROVIDER_TCP_TEMPLATES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x76cfcd30_3394_432d_bed3_441ae50e63c3); +pub const FWPM_SERVICE_RUNNING: FWPM_SERVICE_STATE = 3i32; +pub const FWPM_SERVICE_START_PENDING: FWPM_SERVICE_STATE = 1i32; +pub const FWPM_SERVICE_STATE_MAX: FWPM_SERVICE_STATE = 4i32; +pub const FWPM_SERVICE_STOPPED: FWPM_SERVICE_STATE = 0i32; +pub const FWPM_SERVICE_STOP_PENDING: FWPM_SERVICE_STATE = 2i32; +pub const FWPM_SESSION_FLAG_DYNAMIC: u32 = 1u32; +pub const FWPM_SESSION_FLAG_RESERVED: u32 = 268435456u32; +pub const FWPM_SUBLAYER_FLAG_PERSISTENT: u32 = 1u32; +pub const FWPM_SUBLAYER_INSPECTION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x877519e1_e6a9_41a5_81b4_8c4f118e4a60); +pub const FWPM_SUBLAYER_IPSEC_DOSP: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe076d572_5d3d_48ef_802b_909eddb098bd); +pub const FWPM_SUBLAYER_IPSEC_FORWARD_OUTBOUND_TUNNEL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa5082e73_8f71_4559_8a9a_101cea04ef87); +pub const FWPM_SUBLAYER_IPSEC_SECURITY_REALM: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x37a57701_5884_4964_92b8_3e704688b0ad); +pub const FWPM_SUBLAYER_IPSEC_TUNNEL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x83f299ed_9ff4_4967_aff4_c309f4dab827); +pub const FWPM_SUBLAYER_LIPS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1b75c0ce_ff60_4711_a70f_b4958cc3b2d0); +pub const FWPM_SUBLAYER_MPSSVC_APP_ISOLATION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xffe221c3_92a8_4564_a59f_dafb70756020); +pub const FWPM_SUBLAYER_MPSSVC_EDP: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x09a47e38_fa97_471b_b123_18bcd7e65071); +pub const FWPM_SUBLAYER_MPSSVC_QUARANTINE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb3cdd441_af90_41ba_a745_7c6008ff2302); +pub const FWPM_SUBLAYER_MPSSVC_TENANT_RESTRICTIONS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1ec6c7e1_fdd9_478a_b55f_ff8ba1d2c17d); +pub const FWPM_SUBLAYER_MPSSVC_WF: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb3cdd441_af90_41ba_a745_7c6008ff2301); +pub const FWPM_SUBLAYER_MPSSVC_WSH: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb3cdd441_af90_41ba_a745_7c6008ff2300); +pub const FWPM_SUBLAYER_RPC_AUDIT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x758c84f4_fb48_4de9_9aeb_3ed9551ab1fd); +pub const FWPM_SUBLAYER_SECURE_SOCKET: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x15a66e17_3f3c_4f7b_aa6c_812aa613dd82); +pub const FWPM_SUBLAYER_TCP_CHIMNEY_OFFLOAD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x337608b9_b7d5_4d5f_82f9_3618618bc058); +pub const FWPM_SUBLAYER_TCP_TEMPLATES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x24421dcf_0ac5_4caa_9e14_50f6e3636af0); +pub const FWPM_SUBLAYER_TEREDO: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xba69dc66_5176_4979_9c89_26a7b46a8327); +pub const FWPM_SUBLAYER_UNIVERSAL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xeebecc03_ced4_4380_819a_2734397b2b74); +pub const FWPM_SUBSCRIPTION_FLAG_NOTIFY_ON_ADD: FWPM_SUBSCRIPTION_FLAGS = 1u32; +pub const FWPM_SUBSCRIPTION_FLAG_NOTIFY_ON_DELETE: FWPM_SUBSCRIPTION_FLAGS = 2u32; +pub const FWPM_SYSTEM_PORT_IPHTTPS_IN: FWPM_SYSTEM_PORT_TYPE = 2i32; +pub const FWPM_SYSTEM_PORT_IPHTTPS_OUT: FWPM_SYSTEM_PORT_TYPE = 3i32; +pub const FWPM_SYSTEM_PORT_RPC_EPMAP: FWPM_SYSTEM_PORT_TYPE = 0i32; +pub const FWPM_SYSTEM_PORT_TEREDO: FWPM_SYSTEM_PORT_TYPE = 1i32; +pub const FWPM_SYSTEM_PORT_TYPE_MAX: FWPM_SYSTEM_PORT_TYPE = 4i32; +pub const FWPM_TUNNEL_FLAG_ENABLE_VIRTUAL_IF_TUNNELING: u32 = 2u32; +pub const FWPM_TUNNEL_FLAG_POINT_TO_POINT: u32 = 1u32; +pub const FWPM_TUNNEL_FLAG_RESERVED0: u32 = 4u32; +pub const FWPM_TXN_READ_ONLY: u32 = 1u32; +pub const FWPM_VSWITCH_EVENT_DISABLED_FOR_INSPECTION: FWPM_VSWITCH_EVENT_TYPE = 3i32; +pub const FWPM_VSWITCH_EVENT_ENABLED_FOR_INSPECTION: FWPM_VSWITCH_EVENT_TYPE = 2i32; +pub const FWPM_VSWITCH_EVENT_FILTER_ADD_TO_INCOMPLETE_LAYER: FWPM_VSWITCH_EVENT_TYPE = 0i32; +pub const FWPM_VSWITCH_EVENT_FILTER_ENGINE_NOT_IN_REQUIRED_POSITION: FWPM_VSWITCH_EVENT_TYPE = 1i32; +pub const FWPM_VSWITCH_EVENT_FILTER_ENGINE_REORDER: FWPM_VSWITCH_EVENT_TYPE = 4i32; +pub const FWPM_VSWITCH_EVENT_MAX: FWPM_VSWITCH_EVENT_TYPE = 5i32; +pub const FWPM_WEIGHT_RANGE_IKE_EXEMPTIONS: u32 = 12u32; +pub const FWPM_WEIGHT_RANGE_IPSEC: u32 = 0u32; +pub const FWPS_ALE_ENDPOINT_FLAG_IPSEC_SECURED: u32 = 1u32; +pub const FWPS_CLASSIFY_OUT_FLAG_ABSORB: u32 = 1u32; +pub const FWPS_CLASSIFY_OUT_FLAG_ALE_FAST_CACHE_CHECK: u32 = 8u32; +pub const FWPS_CLASSIFY_OUT_FLAG_ALE_FAST_CACHE_POSSIBLE: u32 = 16u32; +pub const FWPS_CLASSIFY_OUT_FLAG_BUFFER_LIMIT_REACHED: u32 = 2u32; +pub const FWPS_CLASSIFY_OUT_FLAG_NO_MORE_DATA: u32 = 4u32; +pub const FWPS_FILTER_FLAG_CLEAR_ACTION_RIGHT: u32 = 1u32; +pub const FWPS_FILTER_FLAG_HAS_SECURITY_REALM_PROVIDER_CONTEXT: u32 = 8u32; +pub const FWPS_FILTER_FLAG_IPSEC_NO_ACQUIRE_INITIATE: u32 = 32u32; +pub const FWPS_FILTER_FLAG_OR_CONDITIONS: u32 = 4u32; +pub const FWPS_FILTER_FLAG_PERMIT_IF_CALLOUT_UNREGISTERED: u32 = 2u32; +pub const FWPS_FILTER_FLAG_RESERVED0: u32 = 64u32; +pub const FWPS_FILTER_FLAG_RESERVED1: u32 = 128u32; +pub const FWPS_FILTER_FLAG_SILENT_MODE: u32 = 16u32; +pub const FWPS_INCOMING_FLAG_ABSORB: u32 = 4u32; +pub const FWPS_INCOMING_FLAG_CACHE_SAFE: u32 = 1u32; +pub const FWPS_INCOMING_FLAG_CONNECTION_FAILING_INDICATION: u32 = 8u32; +pub const FWPS_INCOMING_FLAG_ENFORCE_QUERY: u32 = 2u32; +pub const FWPS_INCOMING_FLAG_IS_LOCAL_ONLY_FLOW: u32 = 128u32; +pub const FWPS_INCOMING_FLAG_IS_LOOSE_SOURCE_FLOW: u32 = 64u32; +pub const FWPS_INCOMING_FLAG_MID_STREAM_INSPECTION: u32 = 16u32; +pub const FWPS_INCOMING_FLAG_RECLASSIFY: u32 = 32u32; +pub const FWPS_INCOMING_FLAG_RESERVED0: u32 = 256u32; +pub const FWPS_L2_INCOMING_FLAG_IS_RAW_IPV4_FRAMING: u32 = 1u32; +pub const FWPS_L2_INCOMING_FLAG_IS_RAW_IPV6_FRAMING: u32 = 2u32; +pub const FWPS_L2_INCOMING_FLAG_RECLASSIFY_MULTI_DESTINATION: u32 = 8u32; +pub const FWPS_L2_METADATA_FIELD_ETHERNET_MAC_HEADER_SIZE: u32 = 1u32; +pub const FWPS_L2_METADATA_FIELD_RESERVED: u32 = 2147483648u32; +pub const FWPS_L2_METADATA_FIELD_VSWITCH_DESTINATION_PORT_ID: u32 = 32u32; +pub const FWPS_L2_METADATA_FIELD_VSWITCH_PACKET_CONTEXT: u32 = 16u32; +pub const FWPS_L2_METADATA_FIELD_VSWITCH_SOURCE_NIC_INDEX: u32 = 8u32; +pub const FWPS_L2_METADATA_FIELD_VSWITCH_SOURCE_PORT_ID: u32 = 4u32; +pub const FWPS_L2_METADATA_FIELD_WIFI_OPERATION_MODE: u32 = 2u32; +pub const FWPS_METADATA_FIELD_ALE_CLASSIFY_REQUIRED: u32 = 4194304u32; +pub const FWPS_METADATA_FIELD_COMPARTMENT_ID: u32 = 2048u32; +pub const FWPS_METADATA_FIELD_COMPLETION_HANDLE: u32 = 16384u32; +pub const FWPS_METADATA_FIELD_DESTINATION_INTERFACE_INDEX: u32 = 512u32; +pub const FWPS_METADATA_FIELD_DESTINATION_PREFIX: u32 = 16777216u32; +pub const FWPS_METADATA_FIELD_DISCARD_REASON: u32 = 1u32; +pub const FWPS_METADATA_FIELD_ETHER_FRAME_LENGTH: u32 = 33554432u32; +pub const FWPS_METADATA_FIELD_FLOW_HANDLE: u32 = 2u32; +pub const FWPS_METADATA_FIELD_FORWARD_LAYER_INBOUND_PASS_THRU: u32 = 2097152u32; +pub const FWPS_METADATA_FIELD_FORWARD_LAYER_OUTBOUND_PASS_THRU: u32 = 1048576u32; +pub const FWPS_METADATA_FIELD_FRAGMENT_DATA: u32 = 4096u32; +pub const FWPS_METADATA_FIELD_ICMP_ID_AND_SEQUENCE: u32 = 134217728u32; +pub const FWPS_METADATA_FIELD_IP_HEADER_SIZE: u32 = 4u32; +pub const FWPS_METADATA_FIELD_LOCAL_REDIRECT_TARGET_PID: u32 = 268435456u32; +pub const FWPS_METADATA_FIELD_ORIGINAL_DESTINATION: u32 = 536870912u32; +pub const FWPS_METADATA_FIELD_PACKET_DIRECTION: u32 = 262144u32; +pub const FWPS_METADATA_FIELD_PACKET_SYSTEM_CRITICAL: u32 = 524288u32; +pub const FWPS_METADATA_FIELD_PARENT_ENDPOINT_HANDLE: u32 = 67108864u32; +pub const FWPS_METADATA_FIELD_PATH_MTU: u32 = 8192u32; +pub const FWPS_METADATA_FIELD_PROCESS_ID: u32 = 32u32; +pub const FWPS_METADATA_FIELD_PROCESS_PATH: u32 = 8u32; +pub const FWPS_METADATA_FIELD_REDIRECT_RECORD_HANDLE: u32 = 1073741824u32; +pub const FWPS_METADATA_FIELD_REMOTE_SCOPE_ID: u32 = 131072u32; +pub const FWPS_METADATA_FIELD_RESERVED: u32 = 128u32; +pub const FWPS_METADATA_FIELD_SOURCE_INTERFACE_INDEX: u32 = 256u32; +pub const FWPS_METADATA_FIELD_SUB_PROCESS_TAG: u32 = 2147483648u32; +pub const FWPS_METADATA_FIELD_SYSTEM_FLAGS: u32 = 64u32; +pub const FWPS_METADATA_FIELD_TOKEN: u32 = 16u32; +pub const FWPS_METADATA_FIELD_TRANSPORT_CONTROL_DATA: u32 = 65536u32; +pub const FWPS_METADATA_FIELD_TRANSPORT_ENDPOINT_HANDLE: u32 = 32768u32; +pub const FWPS_METADATA_FIELD_TRANSPORT_HEADER_INCLUDE_HEADER: u32 = 8388608u32; +pub const FWPS_METADATA_FIELD_TRANSPORT_HEADER_SIZE: u32 = 1024u32; +pub const FWPS_RIGHT_ACTION_WRITE: u32 = 1u32; +pub const FWP_ACTION_BLOCK: FWP_ACTION_TYPE = 4097u32; +pub const FWP_ACTION_CALLOUT_INSPECTION: FWP_ACTION_TYPE = 24580u32; +pub const FWP_ACTION_CALLOUT_TERMINATING: FWP_ACTION_TYPE = 20483u32; +pub const FWP_ACTION_CALLOUT_UNKNOWN: FWP_ACTION_TYPE = 16389u32; +pub const FWP_ACTION_CONTINUE: FWP_ACTION_TYPE = 8198u32; +pub const FWP_ACTION_FLAG_CALLOUT: u32 = 16384u32; +pub const FWP_ACTION_FLAG_NON_TERMINATING: u32 = 8192u32; +pub const FWP_ACTION_FLAG_TERMINATING: u32 = 4096u32; +pub const FWP_ACTION_NONE: FWP_ACTION_TYPE = 7u32; +pub const FWP_ACTION_NONE_NO_MATCH: FWP_ACTION_TYPE = 8u32; +pub const FWP_ACTION_PERMIT: FWP_ACTION_TYPE = 4098u32; +pub const FWP_ACTRL_MATCH_FILTER: u32 = 1u32; +pub const FWP_AF_ETHER: FWP_AF = 2i32; +pub const FWP_AF_INET: FWP_AF = 0i32; +pub const FWP_AF_INET6: FWP_AF = 1i32; +pub const FWP_AF_NONE: FWP_AF = 3i32; +pub const FWP_BYTEMAP_ARRAY64_SIZE: u32 = 8u32; +pub const FWP_BYTE_ARRAY16_TYPE: FWP_DATA_TYPE = 11i32; +pub const FWP_BYTE_ARRAY6_SIZE: u32 = 6u32; +pub const FWP_BYTE_ARRAY6_TYPE: FWP_DATA_TYPE = 18i32; +pub const FWP_BYTE_BLOB_TYPE: FWP_DATA_TYPE = 12i32; +pub const FWP_CALLOUT_FLAG_ALLOW_L2_BATCH_CLASSIFY: u32 = 128u32; +pub const FWP_CALLOUT_FLAG_ALLOW_MID_STREAM_INSPECTION: u32 = 8u32; +pub const FWP_CALLOUT_FLAG_ALLOW_OFFLOAD: u32 = 2u32; +pub const FWP_CALLOUT_FLAG_ALLOW_RECLASSIFY: u32 = 16u32; +pub const FWP_CALLOUT_FLAG_ALLOW_RSC: u32 = 64u32; +pub const FWP_CALLOUT_FLAG_ALLOW_URO: u32 = 512u32; +pub const FWP_CALLOUT_FLAG_ALLOW_USO: u32 = 256u32; +pub const FWP_CALLOUT_FLAG_CONDITIONAL_ON_FLOW: u32 = 1u32; +pub const FWP_CALLOUT_FLAG_ENABLE_COMMIT_ADD_NOTIFY: u32 = 4u32; +pub const FWP_CALLOUT_FLAG_RESERVED1: u32 = 32u32; +pub const FWP_CALLOUT_FLAG_RESERVED2: u32 = 1024u32; +pub const FWP_CLASSIFY_OPTION_LOCAL_ONLY_MAPPING: FWP_CLASSIFY_OPTION_TYPE = 7i32; +pub const FWP_CLASSIFY_OPTION_LOOSE_SOURCE_MAPPING: FWP_CLASSIFY_OPTION_TYPE = 1i32; +pub const FWP_CLASSIFY_OPTION_MAX: FWP_CLASSIFY_OPTION_TYPE = 8i32; +pub const FWP_CLASSIFY_OPTION_MCAST_BCAST_LIFETIME: FWP_CLASSIFY_OPTION_TYPE = 3i32; +pub const FWP_CLASSIFY_OPTION_MULTICAST_STATE: FWP_CLASSIFY_OPTION_TYPE = 0i32; +pub const FWP_CLASSIFY_OPTION_SECURE_SOCKET_AUTHIP_MM_POLICY_KEY: FWP_CLASSIFY_OPTION_TYPE = 5i32; +pub const FWP_CLASSIFY_OPTION_SECURE_SOCKET_AUTHIP_QM_POLICY_KEY: FWP_CLASSIFY_OPTION_TYPE = 6i32; +pub const FWP_CLASSIFY_OPTION_SECURE_SOCKET_SECURITY_FLAGS: FWP_CLASSIFY_OPTION_TYPE = 4i32; +pub const FWP_CLASSIFY_OPTION_UNICAST_LIFETIME: FWP_CLASSIFY_OPTION_TYPE = 2i32; +pub const FWP_CONDITION_FLAG_IS_APPCONTAINER_LOOPBACK: u32 = 4194304u32; +pub const FWP_CONDITION_FLAG_IS_AUTH_FW: u32 = 65536u32; +pub const FWP_CONDITION_FLAG_IS_CONNECTION_REDIRECTED: u32 = 1048576u32; +pub const FWP_CONDITION_FLAG_IS_FRAGMENT: u32 = 32u32; +pub const FWP_CONDITION_FLAG_IS_FRAGMENT_GROUP: u32 = 64u32; +pub const FWP_CONDITION_FLAG_IS_HONORING_POLICY_AUTHORIZE: u32 = 33554432u32; +pub const FWP_CONDITION_FLAG_IS_IMPLICIT_BIND: u32 = 512u32; +pub const FWP_CONDITION_FLAG_IS_INBOUND_PASS_THRU: u32 = 524288u32; +pub const FWP_CONDITION_FLAG_IS_IPSEC_NATT_RECLASSIFY: u32 = 128u32; +pub const FWP_CONDITION_FLAG_IS_IPSEC_SECURED: u32 = 2u32; +pub const FWP_CONDITION_FLAG_IS_LOOPBACK: u32 = 1u32; +pub const FWP_CONDITION_FLAG_IS_NAME_APP_SPECIFIED: u32 = 16384u32; +pub const FWP_CONDITION_FLAG_IS_NON_APPCONTAINER_LOOPBACK: u32 = 8388608u32; +pub const FWP_CONDITION_FLAG_IS_OUTBOUND_PASS_THRU: u32 = 262144u32; +pub const FWP_CONDITION_FLAG_IS_PROMISCUOUS: u32 = 32768u32; +pub const FWP_CONDITION_FLAG_IS_PROXY_CONNECTION: u32 = 2097152u32; +pub const FWP_CONDITION_FLAG_IS_RAW_ENDPOINT: u32 = 16u32; +pub const FWP_CONDITION_FLAG_IS_REASSEMBLED: u32 = 1024u32; +pub const FWP_CONDITION_FLAG_IS_REAUTHORIZE: u32 = 4u32; +pub const FWP_CONDITION_FLAG_IS_RECLASSIFY: u32 = 131072u32; +pub const FWP_CONDITION_FLAG_IS_RESERVED: u32 = 16777216u32; +pub const FWP_CONDITION_FLAG_IS_WILDCARD_BIND: u32 = 8u32; +pub const FWP_CONDITION_FLAG_REQUIRES_ALE_CLASSIFY: u32 = 256u32; +pub const FWP_CONDITION_L2_IF_CONNECTOR_PRESENT: u32 = 128u32; +pub const FWP_CONDITION_L2_IS_IP_FRAGMENT_GROUP: u32 = 64u32; +pub const FWP_CONDITION_L2_IS_MALFORMED_PACKET: u32 = 32u32; +pub const FWP_CONDITION_L2_IS_MOBILE_BROADBAND: u32 = 4u32; +pub const FWP_CONDITION_L2_IS_NATIVE_ETHERNET: u32 = 1u32; +pub const FWP_CONDITION_L2_IS_VM2VM: u32 = 16u32; +pub const FWP_CONDITION_L2_IS_WIFI: u32 = 2u32; +pub const FWP_CONDITION_L2_IS_WIFI_DIRECT_DATA: u32 = 8u32; +pub const FWP_CONDITION_REAUTHORIZE_REASON_CHECK_OFFLOAD: u32 = 65536u32; +pub const FWP_CONDITION_REAUTHORIZE_REASON_CLASSIFY_COMPLETION: u32 = 16u32; +pub const FWP_CONDITION_REAUTHORIZE_REASON_EDP_POLICY_CHANGED: u32 = 512u32; +pub const FWP_CONDITION_REAUTHORIZE_REASON_IPSEC_PROPERTIES_CHANGED: u32 = 32u32; +pub const FWP_CONDITION_REAUTHORIZE_REASON_MID_STREAM_INSPECTION: u32 = 64u32; +pub const FWP_CONDITION_REAUTHORIZE_REASON_NEW_ARRIVAL_INTERFACE: u32 = 2u32; +pub const FWP_CONDITION_REAUTHORIZE_REASON_NEW_INBOUND_MCAST_BCAST_PACKET: u32 = 256u32; +pub const FWP_CONDITION_REAUTHORIZE_REASON_NEW_NEXTHOP_INTERFACE: u32 = 4u32; +pub const FWP_CONDITION_REAUTHORIZE_REASON_POLICY_CHANGE: u32 = 1u32; +pub const FWP_CONDITION_REAUTHORIZE_REASON_PROFILE_CROSSING: u32 = 8u32; +pub const FWP_CONDITION_REAUTHORIZE_REASON_PROXY_HANDLE_CHANGED: u32 = 16384u32; +pub const FWP_CONDITION_REAUTHORIZE_REASON_SOCKET_PROPERTY_CHANGED: u32 = 128u32; +pub const FWP_CONDITION_SOCKET_PROPERTY_FLAG_ALLOW_EDGE_TRAFFIC: u32 = 2u32; +pub const FWP_CONDITION_SOCKET_PROPERTY_FLAG_DENY_EDGE_TRAFFIC: u32 = 4u32; +pub const FWP_CONDITION_SOCKET_PROPERTY_FLAG_IS_SYSTEM_PORT_RPC: u32 = 1u32; +pub const FWP_DATA_TYPE_MAX: FWP_DATA_TYPE = 259i32; +pub const FWP_DIRECTION_INBOUND: FWP_DIRECTION = 1i32; +pub const FWP_DIRECTION_MAX: FWP_DIRECTION = 2i32; +pub const FWP_DIRECTION_OUTBOUND: FWP_DIRECTION = 0i32; +pub const FWP_DOUBLE: FWP_DATA_TYPE = 10i32; +pub const FWP_EMPTY: FWP_DATA_TYPE = 0i32; +pub const FWP_ETHER_ENCAP_METHOD_ETHER_V2: FWP_ETHER_ENCAP_METHOD = 0i32; +pub const FWP_ETHER_ENCAP_METHOD_SNAP: FWP_ETHER_ENCAP_METHOD = 1i32; +pub const FWP_ETHER_ENCAP_METHOD_SNAP_W_OUI_ZERO: FWP_ETHER_ENCAP_METHOD = 3i32; +pub const FWP_FILTER_ENUM_FLAG_BEST_TERMINATING_MATCH: u32 = 1u32; +pub const FWP_FILTER_ENUM_FLAG_BOOTTIME_ONLY: u32 = 4u32; +pub const FWP_FILTER_ENUM_FLAG_INCLUDE_BOOTTIME: u32 = 8u32; +pub const FWP_FILTER_ENUM_FLAG_INCLUDE_DISABLED: u32 = 16u32; +pub const FWP_FILTER_ENUM_FLAG_RESERVED1: u32 = 32u32; +pub const FWP_FILTER_ENUM_FLAG_SORTED: u32 = 2u32; +pub const FWP_FILTER_ENUM_FULLY_CONTAINED: FWP_FILTER_ENUM_TYPE = 0i32; +pub const FWP_FILTER_ENUM_OVERLAPPING: FWP_FILTER_ENUM_TYPE = 1i32; +pub const FWP_FILTER_ENUM_TYPE_MAX: FWP_FILTER_ENUM_TYPE = 2i32; +pub const FWP_FLOAT: FWP_DATA_TYPE = 9i32; +pub const FWP_INT16: FWP_DATA_TYPE = 6i32; +pub const FWP_INT32: FWP_DATA_TYPE = 7i32; +pub const FWP_INT64: FWP_DATA_TYPE = 8i32; +pub const FWP_INT8: FWP_DATA_TYPE = 5i32; +pub const FWP_IP_VERSION_MAX: FWP_IP_VERSION = 3i32; +pub const FWP_IP_VERSION_NONE: FWP_IP_VERSION = 2i32; +pub const FWP_IP_VERSION_V4: FWP_IP_VERSION = 0i32; +pub const FWP_IP_VERSION_V6: FWP_IP_VERSION = 1i32; +pub const FWP_MATCH_EQUAL: FWP_MATCH_TYPE = 0i32; +pub const FWP_MATCH_EQUAL_CASE_INSENSITIVE: FWP_MATCH_TYPE = 9i32; +pub const FWP_MATCH_FLAGS_ALL_SET: FWP_MATCH_TYPE = 6i32; +pub const FWP_MATCH_FLAGS_ANY_SET: FWP_MATCH_TYPE = 7i32; +pub const FWP_MATCH_FLAGS_NONE_SET: FWP_MATCH_TYPE = 8i32; +pub const FWP_MATCH_GREATER: FWP_MATCH_TYPE = 1i32; +pub const FWP_MATCH_GREATER_OR_EQUAL: FWP_MATCH_TYPE = 3i32; +pub const FWP_MATCH_LESS: FWP_MATCH_TYPE = 2i32; +pub const FWP_MATCH_LESS_OR_EQUAL: FWP_MATCH_TYPE = 4i32; +pub const FWP_MATCH_NOT_EQUAL: FWP_MATCH_TYPE = 10i32; +pub const FWP_MATCH_NOT_PREFIX: FWP_MATCH_TYPE = 12i32; +pub const FWP_MATCH_PREFIX: FWP_MATCH_TYPE = 11i32; +pub const FWP_MATCH_RANGE: FWP_MATCH_TYPE = 5i32; +pub const FWP_MATCH_TYPE_MAX: FWP_MATCH_TYPE = 13i32; +pub const FWP_NETWORK_CONNECTION_POLICY_MAX: FWP_NETWORK_CONNECTION_POLICY_SETTING_TYPE = 3i32; +pub const FWP_NETWORK_CONNECTION_POLICY_NEXT_HOP: FWP_NETWORK_CONNECTION_POLICY_SETTING_TYPE = 2i32; +pub const FWP_NETWORK_CONNECTION_POLICY_NEXT_HOP_INTERFACE: FWP_NETWORK_CONNECTION_POLICY_SETTING_TYPE = 1i32; +pub const FWP_NETWORK_CONNECTION_POLICY_SOURCE_ADDRESS: FWP_NETWORK_CONNECTION_POLICY_SETTING_TYPE = 0i32; +pub const FWP_OPTION_VALUE_ALLOW_GLOBAL_MULTICAST_STATE: u32 = 2u32; +pub const FWP_OPTION_VALUE_ALLOW_MULTICAST_STATE: u32 = 0u32; +pub const FWP_OPTION_VALUE_DENY_MULTICAST_STATE: u32 = 1u32; +pub const FWP_OPTION_VALUE_DISABLE_LOCAL_ONLY_MAPPING: u32 = 0u32; +pub const FWP_OPTION_VALUE_DISABLE_LOOSE_SOURCE: u32 = 0u32; +pub const FWP_OPTION_VALUE_ENABLE_LOCAL_ONLY_MAPPING: u32 = 1u32; +pub const FWP_OPTION_VALUE_ENABLE_LOOSE_SOURCE: u32 = 1u32; +pub const FWP_RANGE_TYPE: FWP_DATA_TYPE = 258i32; +pub const FWP_SECURITY_DESCRIPTOR_TYPE: FWP_DATA_TYPE = 14i32; +pub const FWP_SID: FWP_DATA_TYPE = 13i32; +pub const FWP_SINGLE_DATA_TYPE_MAX: FWP_DATA_TYPE = 255i32; +pub const FWP_TOKEN_ACCESS_INFORMATION_TYPE: FWP_DATA_TYPE = 16i32; +pub const FWP_TOKEN_INFORMATION_TYPE: FWP_DATA_TYPE = 15i32; +pub const FWP_UINT16: FWP_DATA_TYPE = 2i32; +pub const FWP_UINT32: FWP_DATA_TYPE = 3i32; +pub const FWP_UINT64: FWP_DATA_TYPE = 4i32; +pub const FWP_UINT8: FWP_DATA_TYPE = 1i32; +pub const FWP_UNICODE_STRING_TYPE: FWP_DATA_TYPE = 17i32; +pub const FWP_V4_ADDR_MASK: FWP_DATA_TYPE = 256i32; +pub const FWP_V6_ADDR_MASK: FWP_DATA_TYPE = 257i32; +pub const FWP_V6_ADDR_SIZE: u32 = 16u32; +pub const FWP_VSWITCH_NETWORK_TYPE_EXTERNAL: FWP_VSWITCH_NETWORK_TYPE = 3i32; +pub const FWP_VSWITCH_NETWORK_TYPE_INTERNAL: FWP_VSWITCH_NETWORK_TYPE = 2i32; +pub const FWP_VSWITCH_NETWORK_TYPE_PRIVATE: FWP_VSWITCH_NETWORK_TYPE = 1i32; +pub const FWP_VSWITCH_NETWORK_TYPE_UNKNOWN: FWP_VSWITCH_NETWORK_TYPE = 0i32; +pub const IKEEXT_ANONYMOUS: IKEEXT_AUTHENTICATION_METHOD_TYPE = 3i32; +pub const IKEEXT_AUTHENTICATION_METHOD_TYPE_MAX: IKEEXT_AUTHENTICATION_METHOD_TYPE = 13i32; +pub const IKEEXT_CERTIFICATE: IKEEXT_AUTHENTICATION_METHOD_TYPE = 1i32; +pub const IKEEXT_CERTIFICATE_ECDSA_P256: IKEEXT_AUTHENTICATION_METHOD_TYPE = 7i32; +pub const IKEEXT_CERTIFICATE_ECDSA_P384: IKEEXT_AUTHENTICATION_METHOD_TYPE = 8i32; +pub const IKEEXT_CERT_AUTH_ALLOW_HTTP_CERT_LOOKUP: IKEEXT_CERT_AUTH = 16u32; +pub const IKEEXT_CERT_AUTH_DISABLE_SSL_CERT_VALIDATION: IKEEXT_CERT_AUTH = 8u32; +pub const IKEEXT_CERT_AUTH_ENABLE_CRL_CHECK_STRONG: IKEEXT_CERT_AUTH = 4u32; +pub const IKEEXT_CERT_AUTH_FLAG_DISABLE_CRL_CHECK: u32 = 2u32; +pub const IKEEXT_CERT_AUTH_FLAG_DISABLE_REQUEST_PAYLOAD: u32 = 64u32; +pub const IKEEXT_CERT_AUTH_FLAG_SSL_ONE_WAY: IKEEXT_CERT_AUTH = 1u32; +pub const IKEEXT_CERT_AUTH_URL_CONTAINS_BUNDLE: IKEEXT_CERT_AUTH = 32u32; +pub const IKEEXT_CERT_CONFIG_ENTERPRISE_STORE: IKEEXT_CERT_CONFIG_TYPE = 1i32; +pub const IKEEXT_CERT_CONFIG_EXPLICIT_TRUST_LIST: IKEEXT_CERT_CONFIG_TYPE = 0i32; +pub const IKEEXT_CERT_CONFIG_TRUSTED_ROOT_STORE: IKEEXT_CERT_CONFIG_TYPE = 2i32; +pub const IKEEXT_CERT_CONFIG_TYPE_MAX: IKEEXT_CERT_CONFIG_TYPE = 4i32; +pub const IKEEXT_CERT_CONFIG_UNSPECIFIED: IKEEXT_CERT_CONFIG_TYPE = 3i32; +pub const IKEEXT_CERT_CREDENTIAL_FLAG_NAP_CERT: u32 = 1u32; +pub const IKEEXT_CERT_CRITERIA_CN: IKEEXT_CERT_CRITERIA_NAME_TYPE = 3i32; +pub const IKEEXT_CERT_CRITERIA_DC: IKEEXT_CERT_CRITERIA_NAME_TYPE = 6i32; +pub const IKEEXT_CERT_CRITERIA_DNS: IKEEXT_CERT_CRITERIA_NAME_TYPE = 0i32; +pub const IKEEXT_CERT_CRITERIA_NAME_TYPE_MAX: IKEEXT_CERT_CRITERIA_NAME_TYPE = 7i32; +pub const IKEEXT_CERT_CRITERIA_O: IKEEXT_CERT_CRITERIA_NAME_TYPE = 5i32; +pub const IKEEXT_CERT_CRITERIA_OU: IKEEXT_CERT_CRITERIA_NAME_TYPE = 4i32; +pub const IKEEXT_CERT_CRITERIA_RFC822: IKEEXT_CERT_CRITERIA_NAME_TYPE = 2i32; +pub const IKEEXT_CERT_CRITERIA_UPN: IKEEXT_CERT_CRITERIA_NAME_TYPE = 1i32; +pub const IKEEXT_CERT_FLAG_DISABLE_REQUEST_PAYLOAD: IKEEXT_CERT_FLAGS = 2u32; +pub const IKEEXT_CERT_FLAG_ENABLE_ACCOUNT_MAPPING: IKEEXT_CERT_FLAGS = 1u32; +pub const IKEEXT_CERT_FLAG_FOLLOW_RENEWAL_CERTIFICATE: IKEEXT_CERT_FLAGS = 256u32; +pub const IKEEXT_CERT_FLAG_IGNORE_INIT_CERT_MAP_FAILURE: IKEEXT_CERT_FLAGS = 16u32; +pub const IKEEXT_CERT_FLAG_INTERMEDIATE_CA: IKEEXT_CERT_FLAGS = 8u32; +pub const IKEEXT_CERT_FLAG_PREFER_NAP_CERTIFICATE_OUTBOUND: IKEEXT_CERT_FLAGS = 32u32; +pub const IKEEXT_CERT_FLAG_SELECT_NAP_CERTIFICATE: IKEEXT_CERT_FLAGS = 64u32; +pub const IKEEXT_CERT_FLAG_USE_NAP_CERTIFICATE: IKEEXT_CERT_FLAGS = 4u32; +pub const IKEEXT_CERT_FLAG_VERIFY_NAP_CERTIFICATE: IKEEXT_CERT_FLAGS = 128u32; +pub const IKEEXT_CERT_HASH_LEN: u32 = 20u32; +pub const IKEEXT_CIPHER_3DES: IKEEXT_CIPHER_TYPE = 1i32; +pub const IKEEXT_CIPHER_AES_128: IKEEXT_CIPHER_TYPE = 2i32; +pub const IKEEXT_CIPHER_AES_192: IKEEXT_CIPHER_TYPE = 3i32; +pub const IKEEXT_CIPHER_AES_256: IKEEXT_CIPHER_TYPE = 4i32; +pub const IKEEXT_CIPHER_AES_GCM_128_16ICV: IKEEXT_CIPHER_TYPE = 5i32; +pub const IKEEXT_CIPHER_AES_GCM_256_16ICV: IKEEXT_CIPHER_TYPE = 6i32; +pub const IKEEXT_CIPHER_DES: IKEEXT_CIPHER_TYPE = 0i32; +pub const IKEEXT_CIPHER_TYPE_MAX: IKEEXT_CIPHER_TYPE = 7i32; +pub const IKEEXT_DH_ECP_256: IKEEXT_DH_GROUP = 4i32; +pub const IKEEXT_DH_ECP_384: IKEEXT_DH_GROUP = 5i32; +pub const IKEEXT_DH_GROUP_1: IKEEXT_DH_GROUP = 1i32; +pub const IKEEXT_DH_GROUP_14: IKEEXT_DH_GROUP = 3i32; +pub const IKEEXT_DH_GROUP_2: IKEEXT_DH_GROUP = 2i32; +pub const IKEEXT_DH_GROUP_2048: IKEEXT_DH_GROUP = 3i32; +pub const IKEEXT_DH_GROUP_24: IKEEXT_DH_GROUP = 6i32; +pub const IKEEXT_DH_GROUP_MAX: IKEEXT_DH_GROUP = 7i32; +pub const IKEEXT_DH_GROUP_NONE: IKEEXT_DH_GROUP = 0i32; +pub const IKEEXT_EAP: IKEEXT_AUTHENTICATION_METHOD_TYPE = 11i32; +pub const IKEEXT_EAP_FLAG_LOCAL_AUTH_ONLY: IKEEXT_EAP_AUTHENTICATION_FLAGS = 1u32; +pub const IKEEXT_EAP_FLAG_REMOTE_AUTH_ONLY: IKEEXT_EAP_AUTHENTICATION_FLAGS = 2u32; +pub const IKEEXT_EM_SA_STATE_AUTH_COMPLETE: IKEEXT_EM_SA_STATE = 3i32; +pub const IKEEXT_EM_SA_STATE_COMPLETE: IKEEXT_EM_SA_STATE = 5i32; +pub const IKEEXT_EM_SA_STATE_FINAL: IKEEXT_EM_SA_STATE = 4i32; +pub const IKEEXT_EM_SA_STATE_MAX: IKEEXT_EM_SA_STATE = 6i32; +pub const IKEEXT_EM_SA_STATE_NONE: IKEEXT_EM_SA_STATE = 0i32; +pub const IKEEXT_EM_SA_STATE_SENT_ATTS: IKEEXT_EM_SA_STATE = 1i32; +pub const IKEEXT_EM_SA_STATE_SSPI_SENT: IKEEXT_EM_SA_STATE = 2i32; +pub const IKEEXT_IMPERSONATION_MAX: IKEEXT_AUTHENTICATION_IMPERSONATION_TYPE = 2i32; +pub const IKEEXT_IMPERSONATION_NONE: IKEEXT_AUTHENTICATION_IMPERSONATION_TYPE = 0i32; +pub const IKEEXT_IMPERSONATION_SOCKET_PRINCIPAL: IKEEXT_AUTHENTICATION_IMPERSONATION_TYPE = 1i32; +pub const IKEEXT_INTEGRITY_MD5: IKEEXT_INTEGRITY_TYPE = 0i32; +pub const IKEEXT_INTEGRITY_SHA1: IKEEXT_INTEGRITY_TYPE = 1i32; +pub const IKEEXT_INTEGRITY_SHA_256: IKEEXT_INTEGRITY_TYPE = 2i32; +pub const IKEEXT_INTEGRITY_SHA_384: IKEEXT_INTEGRITY_TYPE = 3i32; +pub const IKEEXT_INTEGRITY_TYPE_MAX: IKEEXT_INTEGRITY_TYPE = 4i32; +pub const IKEEXT_IPV6_CGA: IKEEXT_AUTHENTICATION_METHOD_TYPE = 6i32; +pub const IKEEXT_KERBEROS: IKEEXT_AUTHENTICATION_METHOD_TYPE = 2i32; +pub const IKEEXT_KERB_AUTH_DISABLE_INITIATOR_TOKEN_GENERATION: IKEEXT_KERBEROS_AUTHENTICATION_FLAGS = 1u32; +pub const IKEEXT_KERB_AUTH_DONT_ACCEPT_EXPLICIT_CREDENTIALS: IKEEXT_KERBEROS_AUTHENTICATION_FLAGS = 2u32; +pub const IKEEXT_KERB_AUTH_FORCE_PROXY_ON_INITIATOR: u32 = 4u32; +pub const IKEEXT_KEY_MODULE_AUTHIP: IKEEXT_KEY_MODULE_TYPE = 1i32; +pub const IKEEXT_KEY_MODULE_IKE: IKEEXT_KEY_MODULE_TYPE = 0i32; +pub const IKEEXT_KEY_MODULE_IKEV2: IKEEXT_KEY_MODULE_TYPE = 2i32; +pub const IKEEXT_KEY_MODULE_MAX: IKEEXT_KEY_MODULE_TYPE = 3i32; +pub const IKEEXT_MM_SA_STATE_COMPLETE: IKEEXT_MM_SA_STATE = 5i32; +pub const IKEEXT_MM_SA_STATE_FINAL: IKEEXT_MM_SA_STATE = 3i32; +pub const IKEEXT_MM_SA_STATE_FINAL_SENT: IKEEXT_MM_SA_STATE = 4i32; +pub const IKEEXT_MM_SA_STATE_MAX: IKEEXT_MM_SA_STATE = 6i32; +pub const IKEEXT_MM_SA_STATE_NONE: IKEEXT_MM_SA_STATE = 0i32; +pub const IKEEXT_MM_SA_STATE_SA_SENT: IKEEXT_MM_SA_STATE = 1i32; +pub const IKEEXT_MM_SA_STATE_SSPI_SENT: IKEEXT_MM_SA_STATE = 2i32; +pub const IKEEXT_NTLM_V2: IKEEXT_AUTHENTICATION_METHOD_TYPE = 5i32; +pub const IKEEXT_NTLM_V2_AUTH_DONT_ACCEPT_EXPLICIT_CREDENTIALS: u32 = 1u32; +pub const IKEEXT_POLICY_ENABLE_IKEV2_FRAGMENTATION: u32 = 128u32; +pub const IKEEXT_POLICY_FLAG_DISABLE_DIAGNOSTICS: IKEEXT_POLICY_FLAG = 1u32; +pub const IKEEXT_POLICY_FLAG_ENABLE_OPTIONAL_DH: IKEEXT_POLICY_FLAG = 8u32; +pub const IKEEXT_POLICY_FLAG_IMS_VPN: u32 = 64u32; +pub const IKEEXT_POLICY_FLAG_MOBIKE_NOT_SUPPORTED: u32 = 16u32; +pub const IKEEXT_POLICY_FLAG_NO_IMPERSONATION_LUID_VERIFY: IKEEXT_POLICY_FLAG = 4u32; +pub const IKEEXT_POLICY_FLAG_NO_MACHINE_LUID_VERIFY: IKEEXT_POLICY_FLAG = 2u32; +pub const IKEEXT_POLICY_FLAG_SITE_TO_SITE: u32 = 32u32; +pub const IKEEXT_POLICY_SUPPORT_LOW_POWER_MODE: u32 = 256u32; +pub const IKEEXT_PRESHARED_KEY: IKEEXT_AUTHENTICATION_METHOD_TYPE = 0i32; +pub const IKEEXT_PSK_FLAG_LOCAL_AUTH_ONLY: IKEEXT_PRESHARED_KEY_AUTHENTICATION_FLAGS = 1u32; +pub const IKEEXT_PSK_FLAG_REMOTE_AUTH_ONLY: IKEEXT_PRESHARED_KEY_AUTHENTICATION_FLAGS = 2u32; +pub const IKEEXT_QM_SA_STATE_COMPLETE: IKEEXT_QM_SA_STATE = 3i32; +pub const IKEEXT_QM_SA_STATE_FINAL: IKEEXT_QM_SA_STATE = 2i32; +pub const IKEEXT_QM_SA_STATE_INITIAL: IKEEXT_QM_SA_STATE = 1i32; +pub const IKEEXT_QM_SA_STATE_MAX: IKEEXT_QM_SA_STATE = 4i32; +pub const IKEEXT_QM_SA_STATE_NONE: IKEEXT_QM_SA_STATE = 0i32; +pub const IKEEXT_RESERVED: IKEEXT_AUTHENTICATION_METHOD_TYPE = 12i32; +pub const IKEEXT_RESERVED_AUTH_DISABLE_INITIATOR_TOKEN_GENERATION: IKEEXT_RESERVED_AUTHENTICATION_FLAGS = 1u32; +pub const IKEEXT_SA_ROLE_INITIATOR: IKEEXT_SA_ROLE = 0i32; +pub const IKEEXT_SA_ROLE_MAX: IKEEXT_SA_ROLE = 2i32; +pub const IKEEXT_SA_ROLE_RESPONDER: IKEEXT_SA_ROLE = 1i32; +pub const IKEEXT_SSL: IKEEXT_AUTHENTICATION_METHOD_TYPE = 4i32; +pub const IKEEXT_SSL_ECDSA_P256: IKEEXT_AUTHENTICATION_METHOD_TYPE = 9i32; +pub const IKEEXT_SSL_ECDSA_P384: IKEEXT_AUTHENTICATION_METHOD_TYPE = 10i32; +pub const IPSEC_AUTH_AES_128: IPSEC_AUTH_TYPE = 3i32; +pub const IPSEC_AUTH_AES_192: IPSEC_AUTH_TYPE = 4i32; +pub const IPSEC_AUTH_AES_256: IPSEC_AUTH_TYPE = 5i32; +pub const IPSEC_AUTH_CONFIG_GCM_AES_128: u32 = 3u32; +pub const IPSEC_AUTH_CONFIG_GCM_AES_192: u32 = 4u32; +pub const IPSEC_AUTH_CONFIG_GCM_AES_256: u32 = 5u32; +pub const IPSEC_AUTH_CONFIG_HMAC_MD5_96: u32 = 0u32; +pub const IPSEC_AUTH_CONFIG_HMAC_SHA_1_96: u32 = 1u32; +pub const IPSEC_AUTH_CONFIG_HMAC_SHA_256_128: u32 = 2u32; +pub const IPSEC_AUTH_CONFIG_MAX: u32 = 6u32; +pub const IPSEC_AUTH_MAX: IPSEC_AUTH_TYPE = 6i32; +pub const IPSEC_AUTH_MD5: IPSEC_AUTH_TYPE = 0i32; +pub const IPSEC_AUTH_SHA_1: IPSEC_AUTH_TYPE = 1i32; +pub const IPSEC_AUTH_SHA_256: IPSEC_AUTH_TYPE = 2i32; +pub const IPSEC_CIPHER_CONFIG_CBC_3DES: u32 = 2u32; +pub const IPSEC_CIPHER_CONFIG_CBC_AES_128: u32 = 3u32; +pub const IPSEC_CIPHER_CONFIG_CBC_AES_192: u32 = 4u32; +pub const IPSEC_CIPHER_CONFIG_CBC_AES_256: u32 = 5u32; +pub const IPSEC_CIPHER_CONFIG_CBC_DES: u32 = 1u32; +pub const IPSEC_CIPHER_CONFIG_GCM_AES_128: u32 = 6u32; +pub const IPSEC_CIPHER_CONFIG_GCM_AES_192: u32 = 7u32; +pub const IPSEC_CIPHER_CONFIG_GCM_AES_256: u32 = 8u32; +pub const IPSEC_CIPHER_CONFIG_MAX: u32 = 9u32; +pub const IPSEC_CIPHER_TYPE_3DES: IPSEC_CIPHER_TYPE = 2i32; +pub const IPSEC_CIPHER_TYPE_AES_128: IPSEC_CIPHER_TYPE = 3i32; +pub const IPSEC_CIPHER_TYPE_AES_192: IPSEC_CIPHER_TYPE = 4i32; +pub const IPSEC_CIPHER_TYPE_AES_256: IPSEC_CIPHER_TYPE = 5i32; +pub const IPSEC_CIPHER_TYPE_DES: IPSEC_CIPHER_TYPE = 1i32; +pub const IPSEC_CIPHER_TYPE_MAX: IPSEC_CIPHER_TYPE = 6i32; +pub const IPSEC_DOSP_DSCP_DISABLE_VALUE: u32 = 255u32; +pub const IPSEC_DOSP_FLAG_DISABLE_AUTHIP: IPSEC_DOSP_FLAGS = 4u32; +pub const IPSEC_DOSP_FLAG_DISABLE_DEFAULT_BLOCK: IPSEC_DOSP_FLAGS = 8u32; +pub const IPSEC_DOSP_FLAG_ENABLE_IKEV1: IPSEC_DOSP_FLAGS = 1u32; +pub const IPSEC_DOSP_FLAG_ENABLE_IKEV2: IPSEC_DOSP_FLAGS = 2u32; +pub const IPSEC_DOSP_FLAG_FILTER_BLOCK: IPSEC_DOSP_FLAGS = 16u32; +pub const IPSEC_DOSP_FLAG_FILTER_EXEMPT: IPSEC_DOSP_FLAGS = 32u32; +pub const IPSEC_DOSP_RATE_LIMIT_DISABLE_VALUE: u32 = 0u32; +pub const IPSEC_FAILURE_ME: IPSEC_FAILURE_POINT = 1i32; +pub const IPSEC_FAILURE_NONE: IPSEC_FAILURE_POINT = 0i32; +pub const IPSEC_FAILURE_PEER: IPSEC_FAILURE_POINT = 2i32; +pub const IPSEC_FAILURE_POINT_MAX: IPSEC_FAILURE_POINT = 3i32; +pub const IPSEC_KEYING_POLICY_FLAG_TERMINATING_MATCH: u32 = 1u32; +pub const IPSEC_KEY_MANAGER_FLAG_DICTATE_KEY: u32 = 1u32; +pub const IPSEC_PFS_1: IPSEC_PFS_GROUP = 1i32; +pub const IPSEC_PFS_14: IPSEC_PFS_GROUP = 3i32; +pub const IPSEC_PFS_2: IPSEC_PFS_GROUP = 2i32; +pub const IPSEC_PFS_2048: IPSEC_PFS_GROUP = 3i32; +pub const IPSEC_PFS_24: IPSEC_PFS_GROUP = 7i32; +pub const IPSEC_PFS_ECP_256: IPSEC_PFS_GROUP = 4i32; +pub const IPSEC_PFS_ECP_384: IPSEC_PFS_GROUP = 5i32; +pub const IPSEC_PFS_MAX: IPSEC_PFS_GROUP = 8i32; +pub const IPSEC_PFS_MM: IPSEC_PFS_GROUP = 6i32; +pub const IPSEC_PFS_NONE: IPSEC_PFS_GROUP = 0i32; +pub const IPSEC_POLICY_FLAG_BANDWIDTH1: u32 = 268435456u32; +pub const IPSEC_POLICY_FLAG_BANDWIDTH2: u32 = 536870912u32; +pub const IPSEC_POLICY_FLAG_BANDWIDTH3: u32 = 1073741824u32; +pub const IPSEC_POLICY_FLAG_BANDWIDTH4: u32 = 2147483648u32; +pub const IPSEC_POLICY_FLAG_CLEAR_DF_ON_TUNNEL: IPSEC_POLICY_FLAG = 8u32; +pub const IPSEC_POLICY_FLAG_DONT_NEGOTIATE_BYTE_LIFETIME: IPSEC_POLICY_FLAG = 128u32; +pub const IPSEC_POLICY_FLAG_DONT_NEGOTIATE_SECOND_LIFETIME: IPSEC_POLICY_FLAG = 64u32; +pub const IPSEC_POLICY_FLAG_ENABLE_SERVER_ADDR_ASSIGNMENT: IPSEC_POLICY_FLAG = 512u32; +pub const IPSEC_POLICY_FLAG_ENABLE_V6_IN_V4_TUNNELING: IPSEC_POLICY_FLAG = 256u32; +pub const IPSEC_POLICY_FLAG_KEY_MANAGER_ALLOW_DICTATE_KEY: IPSEC_POLICY_FLAG = 8192u32; +pub const IPSEC_POLICY_FLAG_KEY_MANAGER_ALLOW_NOTIFY_KEY: u32 = 16384u32; +pub const IPSEC_POLICY_FLAG_NAT_ENCAP_ALLOW_GENERAL_NAT_TRAVERSAL: IPSEC_POLICY_FLAG = 32u32; +pub const IPSEC_POLICY_FLAG_NAT_ENCAP_ALLOW_PEER_BEHIND_NAT: IPSEC_POLICY_FLAG = 16u32; +pub const IPSEC_POLICY_FLAG_ND_BOUNDARY: IPSEC_POLICY_FLAG = 4u32; +pub const IPSEC_POLICY_FLAG_ND_SECURE: IPSEC_POLICY_FLAG = 2u32; +pub const IPSEC_POLICY_FLAG_RESERVED1: u32 = 32768u32; +pub const IPSEC_POLICY_FLAG_SITE_TO_SITE_TUNNEL: u32 = 65536u32; +pub const IPSEC_POLICY_FLAG_TUNNEL_ALLOW_OUTBOUND_CLEAR_CONNECTION: IPSEC_POLICY_FLAG = 1024u32; +pub const IPSEC_POLICY_FLAG_TUNNEL_BYPASS_ALREADY_SECURE_CONNECTION: IPSEC_POLICY_FLAG = 2048u32; +pub const IPSEC_POLICY_FLAG_TUNNEL_BYPASS_ICMPV6: IPSEC_POLICY_FLAG = 4096u32; +pub const IPSEC_SA_BUNDLE_FLAG_ALLOW_NULL_TARGET_NAME_MATCH: IPSEC_SA_BUNDLE_FLAGS = 512u32; +pub const IPSEC_SA_BUNDLE_FLAG_ASSUME_UDP_CONTEXT_OUTBOUND: IPSEC_SA_BUNDLE_FLAGS = 2048u32; +pub const IPSEC_SA_BUNDLE_FLAG_CLEAR_DF_ON_TUNNEL: IPSEC_SA_BUNDLE_FLAGS = 1024u32; +pub const IPSEC_SA_BUNDLE_FLAG_ENABLE_OPTIONAL_ASYMMETRIC_IDLE: u32 = 262144u32; +pub const IPSEC_SA_BUNDLE_FLAG_FORCE_INBOUND_CONNECTIONS: u32 = 32768u32; +pub const IPSEC_SA_BUNDLE_FLAG_FORCE_OUTBOUND_CONNECTIONS: u32 = 65536u32; +pub const IPSEC_SA_BUNDLE_FLAG_FORWARD_PATH_INITIATOR: u32 = 131072u32; +pub const IPSEC_SA_BUNDLE_FLAG_GUARANTEE_ENCRYPTION: IPSEC_SA_BUNDLE_FLAGS = 8u32; +pub const IPSEC_SA_BUNDLE_FLAG_IP_IN_IP_PKT: u32 = 4194304u32; +pub const IPSEC_SA_BUNDLE_FLAG_LOCALLY_DICTATED_KEYS: u32 = 1048576u32; +pub const IPSEC_SA_BUNDLE_FLAG_LOW_POWER_MODE_SUPPORT: u32 = 8388608u32; +pub const IPSEC_SA_BUNDLE_FLAG_ND_BOUNDARY: IPSEC_SA_BUNDLE_FLAGS = 2u32; +pub const IPSEC_SA_BUNDLE_FLAG_ND_PEER_BOUNDARY: IPSEC_SA_BUNDLE_FLAGS = 4096u32; +pub const IPSEC_SA_BUNDLE_FLAG_ND_PEER_NAT_BOUNDARY: IPSEC_SA_BUNDLE_FLAGS = 4u32; +pub const IPSEC_SA_BUNDLE_FLAG_ND_SECURE: IPSEC_SA_BUNDLE_FLAGS = 1u32; +pub const IPSEC_SA_BUNDLE_FLAG_NLB: u32 = 16u32; +pub const IPSEC_SA_BUNDLE_FLAG_NO_EXPLICIT_CRED_MATCH: u32 = 128u32; +pub const IPSEC_SA_BUNDLE_FLAG_NO_IMPERSONATION_LUID_VERIFY: u32 = 64u32; +pub const IPSEC_SA_BUNDLE_FLAG_NO_MACHINE_LUID_VERIFY: u32 = 32u32; +pub const IPSEC_SA_BUNDLE_FLAG_PEER_SUPPORTS_GUARANTEE_ENCRYPTION: IPSEC_SA_BUNDLE_FLAGS = 16384u32; +pub const IPSEC_SA_BUNDLE_FLAG_SA_OFFLOADED: u32 = 2097152u32; +pub const IPSEC_SA_BUNDLE_FLAG_SUPPRESS_DUPLICATE_DELETION: IPSEC_SA_BUNDLE_FLAGS = 8192u32; +pub const IPSEC_SA_BUNDLE_FLAG_TUNNEL_BANDWIDTH1: u32 = 268435456u32; +pub const IPSEC_SA_BUNDLE_FLAG_TUNNEL_BANDWIDTH2: u32 = 536870912u32; +pub const IPSEC_SA_BUNDLE_FLAG_TUNNEL_BANDWIDTH3: u32 = 1073741824u32; +pub const IPSEC_SA_BUNDLE_FLAG_TUNNEL_BANDWIDTH4: u32 = 2147483648u32; +pub const IPSEC_SA_BUNDLE_FLAG_USING_DICTATED_KEYS: u32 = 524288u32; +pub const IPSEC_SA_CONTEXT_EVENT_ADD: IPSEC_SA_CONTEXT_EVENT_TYPE0 = 1i32; +pub const IPSEC_SA_CONTEXT_EVENT_DELETE: IPSEC_SA_CONTEXT_EVENT_TYPE0 = 2i32; +pub const IPSEC_SA_CONTEXT_EVENT_MAX: IPSEC_SA_CONTEXT_EVENT_TYPE0 = 3i32; +pub const IPSEC_TOKEN_MODE_EXTENDED: IPSEC_TOKEN_MODE = 1i32; +pub const IPSEC_TOKEN_MODE_MAIN: IPSEC_TOKEN_MODE = 0i32; +pub const IPSEC_TOKEN_MODE_MAX: IPSEC_TOKEN_MODE = 2i32; +pub const IPSEC_TOKEN_PRINCIPAL_LOCAL: IPSEC_TOKEN_PRINCIPAL = 0i32; +pub const IPSEC_TOKEN_PRINCIPAL_MAX: IPSEC_TOKEN_PRINCIPAL = 2i32; +pub const IPSEC_TOKEN_PRINCIPAL_PEER: IPSEC_TOKEN_PRINCIPAL = 1i32; +pub const IPSEC_TOKEN_TYPE_IMPERSONATION: IPSEC_TOKEN_TYPE = 1i32; +pub const IPSEC_TOKEN_TYPE_MACHINE: IPSEC_TOKEN_TYPE = 0i32; +pub const IPSEC_TOKEN_TYPE_MAX: IPSEC_TOKEN_TYPE = 2i32; +pub const IPSEC_TRAFFIC_TYPE_MAX: IPSEC_TRAFFIC_TYPE = 2i32; +pub const IPSEC_TRAFFIC_TYPE_TRANSPORT: IPSEC_TRAFFIC_TYPE = 0i32; +pub const IPSEC_TRAFFIC_TYPE_TUNNEL: IPSEC_TRAFFIC_TYPE = 1i32; +pub const IPSEC_TRANSFORM_AH: IPSEC_TRANSFORM_TYPE = 1i32; +pub const IPSEC_TRANSFORM_ESP_AUTH: IPSEC_TRANSFORM_TYPE = 2i32; +pub const IPSEC_TRANSFORM_ESP_AUTH_AND_CIPHER: IPSEC_TRANSFORM_TYPE = 4i32; +pub const IPSEC_TRANSFORM_ESP_AUTH_FW: IPSEC_TRANSFORM_TYPE = 5i32; +pub const IPSEC_TRANSFORM_ESP_CIPHER: IPSEC_TRANSFORM_TYPE = 3i32; +pub const IPSEC_TRANSFORM_TYPE_MAX: IPSEC_TRANSFORM_TYPE = 6i32; +pub type DL_ADDRESS_TYPE = i32; +pub type FWPM_APPC_NETWORK_CAPABILITY_TYPE = i32; +pub type FWPM_CHANGE_TYPE = i32; +pub type FWPM_CONNECTION_EVENT_TYPE = i32; +pub type FWPM_ENGINE_OPTION = i32; +pub type FWPM_FIELD_TYPE = i32; +pub type FWPM_FILTER_FLAGS = u32; +pub type FWPM_NET_EVENT_TYPE = i32; +pub type FWPM_PROVIDER_CONTEXT_TYPE = i32; +pub type FWPM_SERVICE_STATE = i32; +pub type FWPM_SUBSCRIPTION_FLAGS = u32; +pub type FWPM_SYSTEM_PORT_TYPE = i32; +pub type FWPM_VSWITCH_EVENT_TYPE = i32; +pub type FWP_ACTION_TYPE = u32; +pub type FWP_AF = i32; +pub type FWP_CLASSIFY_OPTION_TYPE = i32; +pub type FWP_DATA_TYPE = i32; +pub type FWP_DIRECTION = i32; +pub type FWP_ETHER_ENCAP_METHOD = i32; +pub type FWP_FILTER_ENUM_TYPE = i32; +pub type FWP_IP_VERSION = i32; +pub type FWP_MATCH_TYPE = i32; +pub type FWP_NETWORK_CONNECTION_POLICY_SETTING_TYPE = i32; +pub type FWP_VSWITCH_NETWORK_TYPE = i32; +pub type IKEEXT_AUTHENTICATION_IMPERSONATION_TYPE = i32; +pub type IKEEXT_AUTHENTICATION_METHOD_TYPE = i32; +pub type IKEEXT_CERT_AUTH = u32; +pub type IKEEXT_CERT_CONFIG_TYPE = i32; +pub type IKEEXT_CERT_CRITERIA_NAME_TYPE = i32; +pub type IKEEXT_CERT_FLAGS = u32; +pub type IKEEXT_CIPHER_TYPE = i32; +pub type IKEEXT_DH_GROUP = i32; +pub type IKEEXT_EAP_AUTHENTICATION_FLAGS = u32; +pub type IKEEXT_EM_SA_STATE = i32; +pub type IKEEXT_INTEGRITY_TYPE = i32; +pub type IKEEXT_KERBEROS_AUTHENTICATION_FLAGS = u32; +pub type IKEEXT_KEY_MODULE_TYPE = i32; +pub type IKEEXT_MM_SA_STATE = i32; +pub type IKEEXT_POLICY_FLAG = u32; +pub type IKEEXT_PRESHARED_KEY_AUTHENTICATION_FLAGS = u32; +pub type IKEEXT_QM_SA_STATE = i32; +pub type IKEEXT_RESERVED_AUTHENTICATION_FLAGS = u32; +pub type IKEEXT_SA_ROLE = i32; +pub type IPSEC_AUTH_TYPE = i32; +pub type IPSEC_CIPHER_TYPE = i32; +pub type IPSEC_DOSP_FLAGS = u32; +pub type IPSEC_FAILURE_POINT = i32; +pub type IPSEC_PFS_GROUP = i32; +pub type IPSEC_POLICY_FLAG = u32; +pub type IPSEC_SA_BUNDLE_FLAGS = u32; +pub type IPSEC_SA_CONTEXT_EVENT_TYPE0 = i32; +pub type IPSEC_TOKEN_MODE = i32; +pub type IPSEC_TOKEN_PRINCIPAL = i32; +pub type IPSEC_TOKEN_TYPE = i32; +pub type IPSEC_TRAFFIC_TYPE = i32; +pub type IPSEC_TRANSFORM_TYPE = i32; +#[repr(C)] +pub struct FWPM_ACTION0 { + pub r#type: FWP_ACTION_TYPE, + pub Anonymous: FWPM_ACTION0_0, +} +impl ::core::marker::Copy for FWPM_ACTION0 {} +impl ::core::clone::Clone for FWPM_ACTION0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union FWPM_ACTION0_0 { + pub filterType: ::windows_sys::core::GUID, + pub calloutKey: ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for FWPM_ACTION0_0 {} +impl ::core::clone::Clone for FWPM_ACTION0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_CALLOUT0 { + pub calloutKey: ::windows_sys::core::GUID, + pub displayData: FWPM_DISPLAY_DATA0, + pub flags: u32, + pub providerKey: *mut ::windows_sys::core::GUID, + pub providerData: FWP_BYTE_BLOB, + pub applicableLayer: ::windows_sys::core::GUID, + pub calloutId: u32, +} +impl ::core::marker::Copy for FWPM_CALLOUT0 {} +impl ::core::clone::Clone for FWPM_CALLOUT0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_CALLOUT_CHANGE0 { + pub changeType: FWPM_CHANGE_TYPE, + pub calloutKey: ::windows_sys::core::GUID, + pub calloutId: u32, +} +impl ::core::marker::Copy for FWPM_CALLOUT_CHANGE0 {} +impl ::core::clone::Clone for FWPM_CALLOUT_CHANGE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_CALLOUT_ENUM_TEMPLATE0 { + pub providerKey: *mut ::windows_sys::core::GUID, + pub layerKey: ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for FWPM_CALLOUT_ENUM_TEMPLATE0 {} +impl ::core::clone::Clone for FWPM_CALLOUT_ENUM_TEMPLATE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_CALLOUT_SUBSCRIPTION0 { + pub enumTemplate: *mut FWPM_CALLOUT_ENUM_TEMPLATE0, + pub flags: u32, + pub sessionKey: ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for FWPM_CALLOUT_SUBSCRIPTION0 {} +impl ::core::clone::Clone for FWPM_CALLOUT_SUBSCRIPTION0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_CLASSIFY_OPTION0 { + pub r#type: FWP_CLASSIFY_OPTION_TYPE, + pub value: FWP_VALUE0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_CLASSIFY_OPTION0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_CLASSIFY_OPTION0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_CLASSIFY_OPTIONS0 { + pub numOptions: u32, + pub options: *mut FWPM_CLASSIFY_OPTION0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_CLASSIFY_OPTIONS0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_CLASSIFY_OPTIONS0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct FWPM_CONNECTION0 { + pub connectionId: u64, + pub ipVersion: FWP_IP_VERSION, + pub Anonymous1: FWPM_CONNECTION0_0, + pub Anonymous2: FWPM_CONNECTION0_1, + pub providerKey: *mut ::windows_sys::core::GUID, + pub ipsecTrafficModeType: IPSEC_TRAFFIC_TYPE, + pub keyModuleType: IKEEXT_KEY_MODULE_TYPE, + pub mmCrypto: IKEEXT_PROPOSAL0, + pub mmPeer: IKEEXT_CREDENTIAL2, + pub emPeer: IKEEXT_CREDENTIAL2, + pub bytesTransferredIn: u64, + pub bytesTransferredOut: u64, + pub bytesTransferredTotal: u64, + pub startSysTime: super::super::Foundation::FILETIME, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for FWPM_CONNECTION0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for FWPM_CONNECTION0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union FWPM_CONNECTION0_0 { + pub localV4Address: u32, + pub localV6Address: [u8; 16], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for FWPM_CONNECTION0_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for FWPM_CONNECTION0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union FWPM_CONNECTION0_1 { + pub remoteV4Address: u32, + pub remoteV6Address: [u8; 16], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for FWPM_CONNECTION0_1 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for FWPM_CONNECTION0_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_CONNECTION_ENUM_TEMPLATE0 { + pub connectionId: u64, + pub flags: u32, +} +impl ::core::marker::Copy for FWPM_CONNECTION_ENUM_TEMPLATE0 {} +impl ::core::clone::Clone for FWPM_CONNECTION_ENUM_TEMPLATE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_CONNECTION_SUBSCRIPTION0 { + pub enumTemplate: *mut FWPM_CONNECTION_ENUM_TEMPLATE0, + pub flags: u32, + pub sessionKey: ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for FWPM_CONNECTION_SUBSCRIPTION0 {} +impl ::core::clone::Clone for FWPM_CONNECTION_SUBSCRIPTION0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_DISPLAY_DATA0 { + pub name: ::windows_sys::core::PWSTR, + pub description: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for FWPM_DISPLAY_DATA0 {} +impl ::core::clone::Clone for FWPM_DISPLAY_DATA0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_FIELD0 { + pub fieldKey: *mut ::windows_sys::core::GUID, + pub r#type: FWPM_FIELD_TYPE, + pub dataType: FWP_DATA_TYPE, +} +impl ::core::marker::Copy for FWPM_FIELD0 {} +impl ::core::clone::Clone for FWPM_FIELD0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_FILTER0 { + pub filterKey: ::windows_sys::core::GUID, + pub displayData: FWPM_DISPLAY_DATA0, + pub flags: FWPM_FILTER_FLAGS, + pub providerKey: *mut ::windows_sys::core::GUID, + pub providerData: FWP_BYTE_BLOB, + pub layerKey: ::windows_sys::core::GUID, + pub subLayerKey: ::windows_sys::core::GUID, + pub weight: FWP_VALUE0, + pub numFilterConditions: u32, + pub filterCondition: *mut FWPM_FILTER_CONDITION0, + pub action: FWPM_ACTION0, + pub Anonymous: FWPM_FILTER0_0, + pub reserved: *mut ::windows_sys::core::GUID, + pub filterId: u64, + pub effectiveWeight: FWP_VALUE0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_FILTER0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_FILTER0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union FWPM_FILTER0_0 { + pub rawContext: u64, + pub providerContextKey: ::windows_sys::core::GUID, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_FILTER0_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_FILTER0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_FILTER_CHANGE0 { + pub changeType: FWPM_CHANGE_TYPE, + pub filterKey: ::windows_sys::core::GUID, + pub filterId: u64, +} +impl ::core::marker::Copy for FWPM_FILTER_CHANGE0 {} +impl ::core::clone::Clone for FWPM_FILTER_CHANGE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_FILTER_CONDITION0 { + pub fieldKey: ::windows_sys::core::GUID, + pub matchType: FWP_MATCH_TYPE, + pub conditionValue: FWP_CONDITION_VALUE0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_FILTER_CONDITION0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_FILTER_CONDITION0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_FILTER_ENUM_TEMPLATE0 { + pub providerKey: *mut ::windows_sys::core::GUID, + pub layerKey: ::windows_sys::core::GUID, + pub enumType: FWP_FILTER_ENUM_TYPE, + pub flags: u32, + pub providerContextTemplate: *mut FWPM_PROVIDER_CONTEXT_ENUM_TEMPLATE0, + pub numFilterConditions: u32, + pub filterCondition: *mut FWPM_FILTER_CONDITION0, + pub actionMask: u32, + pub calloutKey: *mut ::windows_sys::core::GUID, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_FILTER_ENUM_TEMPLATE0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_FILTER_ENUM_TEMPLATE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_FILTER_SUBSCRIPTION0 { + pub enumTemplate: *mut FWPM_FILTER_ENUM_TEMPLATE0, + pub flags: u32, + pub sessionKey: ::windows_sys::core::GUID, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_FILTER_SUBSCRIPTION0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_FILTER_SUBSCRIPTION0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_LAYER0 { + pub layerKey: ::windows_sys::core::GUID, + pub displayData: FWPM_DISPLAY_DATA0, + pub flags: u32, + pub numFields: u32, + pub field: *mut FWPM_FIELD0, + pub defaultSubLayerKey: ::windows_sys::core::GUID, + pub layerId: u16, +} +impl ::core::marker::Copy for FWPM_LAYER0 {} +impl ::core::clone::Clone for FWPM_LAYER0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_LAYER_ENUM_TEMPLATE0 { + pub reserved: u64, +} +impl ::core::marker::Copy for FWPM_LAYER_ENUM_TEMPLATE0 {} +impl ::core::clone::Clone for FWPM_LAYER_ENUM_TEMPLATE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_LAYER_STATISTICS0 { + pub layerId: ::windows_sys::core::GUID, + pub classifyPermitCount: u32, + pub classifyBlockCount: u32, + pub classifyVetoCount: u32, + pub numCacheEntries: u32, +} +impl ::core::marker::Copy for FWPM_LAYER_STATISTICS0 {} +impl ::core::clone::Clone for FWPM_LAYER_STATISTICS0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_NETWORK_CONNECTION_POLICY_SETTING0 { + pub r#type: FWP_NETWORK_CONNECTION_POLICY_SETTING_TYPE, + pub value: FWP_VALUE0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NETWORK_CONNECTION_POLICY_SETTING0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NETWORK_CONNECTION_POLICY_SETTING0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_NETWORK_CONNECTION_POLICY_SETTINGS0 { + pub numSettings: u32, + pub settings: *mut FWPM_NETWORK_CONNECTION_POLICY_SETTING0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NETWORK_CONNECTION_POLICY_SETTINGS0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NETWORK_CONNECTION_POLICY_SETTINGS0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_NET_EVENT0 { + pub header: FWPM_NET_EVENT_HEADER0, + pub r#type: FWPM_NET_EVENT_TYPE, + pub Anonymous: FWPM_NET_EVENT0_0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union FWPM_NET_EVENT0_0 { + pub ikeMmFailure: *mut FWPM_NET_EVENT_IKEEXT_MM_FAILURE0, + pub ikeQmFailure: *mut FWPM_NET_EVENT_IKEEXT_QM_FAILURE0, + pub ikeEmFailure: *mut FWPM_NET_EVENT_IKEEXT_EM_FAILURE0, + pub classifyDrop: *mut FWPM_NET_EVENT_CLASSIFY_DROP0, + pub ipsecDrop: *mut FWPM_NET_EVENT_IPSEC_KERNEL_DROP0, + pub idpDrop: *mut FWPM_NET_EVENT_IPSEC_DOSP_DROP0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT0_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_NET_EVENT1 { + pub header: FWPM_NET_EVENT_HEADER1, + pub r#type: FWPM_NET_EVENT_TYPE, + pub Anonymous: FWPM_NET_EVENT1_0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT1 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union FWPM_NET_EVENT1_0 { + pub ikeMmFailure: *mut FWPM_NET_EVENT_IKEEXT_MM_FAILURE1, + pub ikeQmFailure: *mut FWPM_NET_EVENT_IKEEXT_QM_FAILURE0, + pub ikeEmFailure: *mut FWPM_NET_EVENT_IKEEXT_EM_FAILURE1, + pub classifyDrop: *mut FWPM_NET_EVENT_CLASSIFY_DROP1, + pub ipsecDrop: *mut FWPM_NET_EVENT_IPSEC_KERNEL_DROP0, + pub idpDrop: *mut FWPM_NET_EVENT_IPSEC_DOSP_DROP0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT1_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT1_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_NET_EVENT2 { + pub header: FWPM_NET_EVENT_HEADER2, + pub r#type: FWPM_NET_EVENT_TYPE, + pub Anonymous: FWPM_NET_EVENT2_0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT2 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union FWPM_NET_EVENT2_0 { + pub ikeMmFailure: *mut FWPM_NET_EVENT_IKEEXT_MM_FAILURE1, + pub ikeQmFailure: *mut FWPM_NET_EVENT_IKEEXT_QM_FAILURE0, + pub ikeEmFailure: *mut FWPM_NET_EVENT_IKEEXT_EM_FAILURE1, + pub classifyDrop: *mut FWPM_NET_EVENT_CLASSIFY_DROP2, + pub ipsecDrop: *mut FWPM_NET_EVENT_IPSEC_KERNEL_DROP0, + pub idpDrop: *mut FWPM_NET_EVENT_IPSEC_DOSP_DROP0, + pub classifyAllow: *mut FWPM_NET_EVENT_CLASSIFY_ALLOW0, + pub capabilityDrop: *mut FWPM_NET_EVENT_CAPABILITY_DROP0, + pub capabilityAllow: *mut FWPM_NET_EVENT_CAPABILITY_ALLOW0, + pub classifyDropMac: *mut FWPM_NET_EVENT_CLASSIFY_DROP_MAC0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT2_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT2_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_NET_EVENT3 { + pub header: FWPM_NET_EVENT_HEADER3, + pub r#type: FWPM_NET_EVENT_TYPE, + pub Anonymous: FWPM_NET_EVENT3_0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT3 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union FWPM_NET_EVENT3_0 { + pub ikeMmFailure: *mut FWPM_NET_EVENT_IKEEXT_MM_FAILURE1, + pub ikeQmFailure: *mut FWPM_NET_EVENT_IKEEXT_QM_FAILURE0, + pub ikeEmFailure: *mut FWPM_NET_EVENT_IKEEXT_EM_FAILURE1, + pub classifyDrop: *mut FWPM_NET_EVENT_CLASSIFY_DROP2, + pub ipsecDrop: *mut FWPM_NET_EVENT_IPSEC_KERNEL_DROP0, + pub idpDrop: *mut FWPM_NET_EVENT_IPSEC_DOSP_DROP0, + pub classifyAllow: *mut FWPM_NET_EVENT_CLASSIFY_ALLOW0, + pub capabilityDrop: *mut FWPM_NET_EVENT_CAPABILITY_DROP0, + pub capabilityAllow: *mut FWPM_NET_EVENT_CAPABILITY_ALLOW0, + pub classifyDropMac: *mut FWPM_NET_EVENT_CLASSIFY_DROP_MAC0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT3_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT3_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_NET_EVENT4 { + pub header: FWPM_NET_EVENT_HEADER3, + pub r#type: FWPM_NET_EVENT_TYPE, + pub Anonymous: FWPM_NET_EVENT4_0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT4 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT4 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union FWPM_NET_EVENT4_0 { + pub ikeMmFailure: *mut FWPM_NET_EVENT_IKEEXT_MM_FAILURE2, + pub ikeQmFailure: *mut FWPM_NET_EVENT_IKEEXT_QM_FAILURE1, + pub ikeEmFailure: *mut FWPM_NET_EVENT_IKEEXT_EM_FAILURE1, + pub classifyDrop: *mut FWPM_NET_EVENT_CLASSIFY_DROP2, + pub ipsecDrop: *mut FWPM_NET_EVENT_IPSEC_KERNEL_DROP0, + pub idpDrop: *mut FWPM_NET_EVENT_IPSEC_DOSP_DROP0, + pub classifyAllow: *mut FWPM_NET_EVENT_CLASSIFY_ALLOW0, + pub capabilityDrop: *mut FWPM_NET_EVENT_CAPABILITY_DROP0, + pub capabilityAllow: *mut FWPM_NET_EVENT_CAPABILITY_ALLOW0, + pub classifyDropMac: *mut FWPM_NET_EVENT_CLASSIFY_DROP_MAC0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT4_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT4_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_NET_EVENT5 { + pub header: FWPM_NET_EVENT_HEADER3, + pub r#type: FWPM_NET_EVENT_TYPE, + pub Anonymous: FWPM_NET_EVENT5_0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT5 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT5 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union FWPM_NET_EVENT5_0 { + pub ikeMmFailure: *mut FWPM_NET_EVENT_IKEEXT_MM_FAILURE2, + pub ikeQmFailure: *mut FWPM_NET_EVENT_IKEEXT_QM_FAILURE1, + pub ikeEmFailure: *mut FWPM_NET_EVENT_IKEEXT_EM_FAILURE1, + pub classifyDrop: *mut FWPM_NET_EVENT_CLASSIFY_DROP2, + pub ipsecDrop: *mut FWPM_NET_EVENT_IPSEC_KERNEL_DROP0, + pub idpDrop: *mut FWPM_NET_EVENT_IPSEC_DOSP_DROP0, + pub classifyAllow: *mut FWPM_NET_EVENT_CLASSIFY_ALLOW0, + pub capabilityDrop: *mut FWPM_NET_EVENT_CAPABILITY_DROP0, + pub capabilityAllow: *mut FWPM_NET_EVENT_CAPABILITY_ALLOW0, + pub classifyDropMac: *mut FWPM_NET_EVENT_CLASSIFY_DROP_MAC0, + pub lpmPacketArrival: *mut FWPM_NET_EVENT_LPM_PACKET_ARRIVAL0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT5_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT5_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct FWPM_NET_EVENT_CAPABILITY_ALLOW0 { + pub networkCapabilityId: FWPM_APPC_NETWORK_CAPABILITY_TYPE, + pub filterId: u64, + pub isLoopback: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for FWPM_NET_EVENT_CAPABILITY_ALLOW0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for FWPM_NET_EVENT_CAPABILITY_ALLOW0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct FWPM_NET_EVENT_CAPABILITY_DROP0 { + pub networkCapabilityId: FWPM_APPC_NETWORK_CAPABILITY_TYPE, + pub filterId: u64, + pub isLoopback: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for FWPM_NET_EVENT_CAPABILITY_DROP0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for FWPM_NET_EVENT_CAPABILITY_DROP0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct FWPM_NET_EVENT_CLASSIFY_ALLOW0 { + pub filterId: u64, + pub layerId: u16, + pub reauthReason: u32, + pub originalProfile: u32, + pub currentProfile: u32, + pub msFwpDirection: u32, + pub isLoopback: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for FWPM_NET_EVENT_CLASSIFY_ALLOW0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for FWPM_NET_EVENT_CLASSIFY_ALLOW0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_NET_EVENT_CLASSIFY_DROP0 { + pub filterId: u64, + pub layerId: u16, +} +impl ::core::marker::Copy for FWPM_NET_EVENT_CLASSIFY_DROP0 {} +impl ::core::clone::Clone for FWPM_NET_EVENT_CLASSIFY_DROP0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct FWPM_NET_EVENT_CLASSIFY_DROP1 { + pub filterId: u64, + pub layerId: u16, + pub reauthReason: u32, + pub originalProfile: u32, + pub currentProfile: u32, + pub msFwpDirection: u32, + pub isLoopback: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for FWPM_NET_EVENT_CLASSIFY_DROP1 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for FWPM_NET_EVENT_CLASSIFY_DROP1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct FWPM_NET_EVENT_CLASSIFY_DROP2 { + pub filterId: u64, + pub layerId: u16, + pub reauthReason: u32, + pub originalProfile: u32, + pub currentProfile: u32, + pub msFwpDirection: u32, + pub isLoopback: super::super::Foundation::BOOL, + pub vSwitchId: FWP_BYTE_BLOB, + pub vSwitchSourcePort: u32, + pub vSwitchDestinationPort: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for FWPM_NET_EVENT_CLASSIFY_DROP2 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for FWPM_NET_EVENT_CLASSIFY_DROP2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct FWPM_NET_EVENT_CLASSIFY_DROP_MAC0 { + pub localMacAddr: FWP_BYTE_ARRAY6, + pub remoteMacAddr: FWP_BYTE_ARRAY6, + pub mediaType: u32, + pub ifType: u32, + pub etherType: u16, + pub ndisPortNumber: u32, + pub reserved: u32, + pub vlanTag: u16, + pub ifLuid: u64, + pub filterId: u64, + pub layerId: u16, + pub reauthReason: u32, + pub originalProfile: u32, + pub currentProfile: u32, + pub msFwpDirection: u32, + pub isLoopback: super::super::Foundation::BOOL, + pub vSwitchId: FWP_BYTE_BLOB, + pub vSwitchSourcePort: u32, + pub vSwitchDestinationPort: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for FWPM_NET_EVENT_CLASSIFY_DROP_MAC0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for FWPM_NET_EVENT_CLASSIFY_DROP_MAC0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_NET_EVENT_ENUM_TEMPLATE0 { + pub startTime: super::super::Foundation::FILETIME, + pub endTime: super::super::Foundation::FILETIME, + pub numFilterConditions: u32, + pub filterCondition: *mut FWPM_FILTER_CONDITION0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT_ENUM_TEMPLATE0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT_ENUM_TEMPLATE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_NET_EVENT_HEADER0 { + pub timeStamp: super::super::Foundation::FILETIME, + pub flags: u32, + pub ipVersion: FWP_IP_VERSION, + pub ipProtocol: u8, + pub Anonymous1: FWPM_NET_EVENT_HEADER0_0, + pub Anonymous2: FWPM_NET_EVENT_HEADER0_1, + pub localPort: u16, + pub remotePort: u16, + pub scopeId: u32, + pub appId: FWP_BYTE_BLOB, + pub userId: *mut super::super::Security::SID, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT_HEADER0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT_HEADER0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union FWPM_NET_EVENT_HEADER0_0 { + pub localAddrV4: u32, + pub localAddrV6: FWP_BYTE_ARRAY16, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT_HEADER0_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT_HEADER0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union FWPM_NET_EVENT_HEADER0_1 { + pub remoteAddrV4: u32, + pub remoteAddrV6: FWP_BYTE_ARRAY16, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT_HEADER0_1 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT_HEADER0_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_NET_EVENT_HEADER1 { + pub timeStamp: super::super::Foundation::FILETIME, + pub flags: u32, + pub ipVersion: FWP_IP_VERSION, + pub ipProtocol: u8, + pub Anonymous1: FWPM_NET_EVENT_HEADER1_0, + pub Anonymous2: FWPM_NET_EVENT_HEADER1_1, + pub localPort: u16, + pub remotePort: u16, + pub scopeId: u32, + pub appId: FWP_BYTE_BLOB, + pub userId: *mut super::super::Security::SID, + pub Anonymous3: FWPM_NET_EVENT_HEADER1_2, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT_HEADER1 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT_HEADER1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union FWPM_NET_EVENT_HEADER1_0 { + pub localAddrV4: u32, + pub localAddrV6: FWP_BYTE_ARRAY16, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT_HEADER1_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT_HEADER1_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union FWPM_NET_EVENT_HEADER1_1 { + pub remoteAddrV4: u32, + pub remoteAddrV6: FWP_BYTE_ARRAY16, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT_HEADER1_1 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT_HEADER1_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union FWPM_NET_EVENT_HEADER1_2 { + pub Anonymous: FWPM_NET_EVENT_HEADER1_2_0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT_HEADER1_2 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT_HEADER1_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_NET_EVENT_HEADER1_2_0 { + pub reserved1: FWP_AF, + pub Anonymous: FWPM_NET_EVENT_HEADER1_2_0_0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT_HEADER1_2_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT_HEADER1_2_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union FWPM_NET_EVENT_HEADER1_2_0_0 { + pub Anonymous: FWPM_NET_EVENT_HEADER1_2_0_0_0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT_HEADER1_2_0_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT_HEADER1_2_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_NET_EVENT_HEADER1_2_0_0_0 { + pub reserved2: FWP_BYTE_ARRAY6, + pub reserved3: FWP_BYTE_ARRAY6, + pub reserved4: u32, + pub reserved5: u32, + pub reserved6: u16, + pub reserved7: u32, + pub reserved8: u32, + pub reserved9: u16, + pub reserved10: u64, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT_HEADER1_2_0_0_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT_HEADER1_2_0_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_NET_EVENT_HEADER2 { + pub timeStamp: super::super::Foundation::FILETIME, + pub flags: u32, + pub ipVersion: FWP_IP_VERSION, + pub ipProtocol: u8, + pub Anonymous1: FWPM_NET_EVENT_HEADER2_0, + pub Anonymous2: FWPM_NET_EVENT_HEADER2_1, + pub localPort: u16, + pub remotePort: u16, + pub scopeId: u32, + pub appId: FWP_BYTE_BLOB, + pub userId: *mut super::super::Security::SID, + pub addressFamily: FWP_AF, + pub packageSid: *mut super::super::Security::SID, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT_HEADER2 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT_HEADER2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union FWPM_NET_EVENT_HEADER2_0 { + pub localAddrV4: u32, + pub localAddrV6: FWP_BYTE_ARRAY16, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT_HEADER2_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT_HEADER2_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union FWPM_NET_EVENT_HEADER2_1 { + pub remoteAddrV4: u32, + pub remoteAddrV6: FWP_BYTE_ARRAY16, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT_HEADER2_1 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT_HEADER2_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_NET_EVENT_HEADER3 { + pub timeStamp: super::super::Foundation::FILETIME, + pub flags: u32, + pub ipVersion: FWP_IP_VERSION, + pub ipProtocol: u8, + pub Anonymous1: FWPM_NET_EVENT_HEADER3_0, + pub Anonymous2: FWPM_NET_EVENT_HEADER3_1, + pub localPort: u16, + pub remotePort: u16, + pub scopeId: u32, + pub appId: FWP_BYTE_BLOB, + pub userId: *mut super::super::Security::SID, + pub addressFamily: FWP_AF, + pub packageSid: *mut super::super::Security::SID, + pub enterpriseId: ::windows_sys::core::PWSTR, + pub policyFlags: u64, + pub effectiveName: FWP_BYTE_BLOB, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT_HEADER3 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT_HEADER3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union FWPM_NET_EVENT_HEADER3_0 { + pub localAddrV4: u32, + pub localAddrV6: FWP_BYTE_ARRAY16, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT_HEADER3_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT_HEADER3_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union FWPM_NET_EVENT_HEADER3_1 { + pub remoteAddrV4: u32, + pub remoteAddrV6: FWP_BYTE_ARRAY16, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT_HEADER3_1 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT_HEADER3_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_NET_EVENT_IKEEXT_EM_FAILURE0 { + pub failureErrorCode: u32, + pub failurePoint: IPSEC_FAILURE_POINT, + pub flags: u32, + pub emState: IKEEXT_EM_SA_STATE, + pub saRole: IKEEXT_SA_ROLE, + pub emAuthMethod: IKEEXT_AUTHENTICATION_METHOD_TYPE, + pub endCertHash: [u8; 20], + pub mmId: u64, + pub qmFilterId: u64, +} +impl ::core::marker::Copy for FWPM_NET_EVENT_IKEEXT_EM_FAILURE0 {} +impl ::core::clone::Clone for FWPM_NET_EVENT_IKEEXT_EM_FAILURE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_NET_EVENT_IKEEXT_EM_FAILURE1 { + pub failureErrorCode: u32, + pub failurePoint: IPSEC_FAILURE_POINT, + pub flags: u32, + pub emState: IKEEXT_EM_SA_STATE, + pub saRole: IKEEXT_SA_ROLE, + pub emAuthMethod: IKEEXT_AUTHENTICATION_METHOD_TYPE, + pub endCertHash: [u8; 20], + pub mmId: u64, + pub qmFilterId: u64, + pub localPrincipalNameForAuth: ::windows_sys::core::PWSTR, + pub remotePrincipalNameForAuth: ::windows_sys::core::PWSTR, + pub numLocalPrincipalGroupSids: u32, + pub localPrincipalGroupSids: *mut ::windows_sys::core::PWSTR, + pub numRemotePrincipalGroupSids: u32, + pub remotePrincipalGroupSids: *mut ::windows_sys::core::PWSTR, + pub saTrafficType: IPSEC_TRAFFIC_TYPE, +} +impl ::core::marker::Copy for FWPM_NET_EVENT_IKEEXT_EM_FAILURE1 {} +impl ::core::clone::Clone for FWPM_NET_EVENT_IKEEXT_EM_FAILURE1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_NET_EVENT_IKEEXT_MM_FAILURE0 { + pub failureErrorCode: u32, + pub failurePoint: IPSEC_FAILURE_POINT, + pub flags: u32, + pub keyingModuleType: IKEEXT_KEY_MODULE_TYPE, + pub mmState: IKEEXT_MM_SA_STATE, + pub saRole: IKEEXT_SA_ROLE, + pub mmAuthMethod: IKEEXT_AUTHENTICATION_METHOD_TYPE, + pub endCertHash: [u8; 20], + pub mmId: u64, + pub mmFilterId: u64, +} +impl ::core::marker::Copy for FWPM_NET_EVENT_IKEEXT_MM_FAILURE0 {} +impl ::core::clone::Clone for FWPM_NET_EVENT_IKEEXT_MM_FAILURE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_NET_EVENT_IKEEXT_MM_FAILURE1 { + pub failureErrorCode: u32, + pub failurePoint: IPSEC_FAILURE_POINT, + pub flags: u32, + pub keyingModuleType: IKEEXT_KEY_MODULE_TYPE, + pub mmState: IKEEXT_MM_SA_STATE, + pub saRole: IKEEXT_SA_ROLE, + pub mmAuthMethod: IKEEXT_AUTHENTICATION_METHOD_TYPE, + pub endCertHash: [u8; 20], + pub mmId: u64, + pub mmFilterId: u64, + pub localPrincipalNameForAuth: ::windows_sys::core::PWSTR, + pub remotePrincipalNameForAuth: ::windows_sys::core::PWSTR, + pub numLocalPrincipalGroupSids: u32, + pub localPrincipalGroupSids: *mut ::windows_sys::core::PWSTR, + pub numRemotePrincipalGroupSids: u32, + pub remotePrincipalGroupSids: *mut ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for FWPM_NET_EVENT_IKEEXT_MM_FAILURE1 {} +impl ::core::clone::Clone for FWPM_NET_EVENT_IKEEXT_MM_FAILURE1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_NET_EVENT_IKEEXT_MM_FAILURE2 { + pub failureErrorCode: u32, + pub failurePoint: IPSEC_FAILURE_POINT, + pub flags: u32, + pub keyingModuleType: IKEEXT_KEY_MODULE_TYPE, + pub mmState: IKEEXT_MM_SA_STATE, + pub saRole: IKEEXT_SA_ROLE, + pub mmAuthMethod: IKEEXT_AUTHENTICATION_METHOD_TYPE, + pub endCertHash: [u8; 20], + pub mmId: u64, + pub mmFilterId: u64, + pub localPrincipalNameForAuth: ::windows_sys::core::PWSTR, + pub remotePrincipalNameForAuth: ::windows_sys::core::PWSTR, + pub numLocalPrincipalGroupSids: u32, + pub localPrincipalGroupSids: *mut ::windows_sys::core::PWSTR, + pub numRemotePrincipalGroupSids: u32, + pub remotePrincipalGroupSids: *mut ::windows_sys::core::PWSTR, + pub providerContextKey: *mut ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for FWPM_NET_EVENT_IKEEXT_MM_FAILURE2 {} +impl ::core::clone::Clone for FWPM_NET_EVENT_IKEEXT_MM_FAILURE2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_NET_EVENT_IKEEXT_QM_FAILURE0 { + pub failureErrorCode: u32, + pub failurePoint: IPSEC_FAILURE_POINT, + pub keyingModuleType: IKEEXT_KEY_MODULE_TYPE, + pub qmState: IKEEXT_QM_SA_STATE, + pub saRole: IKEEXT_SA_ROLE, + pub saTrafficType: IPSEC_TRAFFIC_TYPE, + pub Anonymous1: FWPM_NET_EVENT_IKEEXT_QM_FAILURE0_0, + pub Anonymous2: FWPM_NET_EVENT_IKEEXT_QM_FAILURE0_1, + pub qmFilterId: u64, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT_IKEEXT_QM_FAILURE0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT_IKEEXT_QM_FAILURE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union FWPM_NET_EVENT_IKEEXT_QM_FAILURE0_0 { + pub localSubNet: FWP_CONDITION_VALUE0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT_IKEEXT_QM_FAILURE0_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT_IKEEXT_QM_FAILURE0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union FWPM_NET_EVENT_IKEEXT_QM_FAILURE0_1 { + pub remoteSubNet: FWP_CONDITION_VALUE0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT_IKEEXT_QM_FAILURE0_1 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT_IKEEXT_QM_FAILURE0_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_NET_EVENT_IKEEXT_QM_FAILURE1 { + pub failureErrorCode: u32, + pub failurePoint: IPSEC_FAILURE_POINT, + pub keyingModuleType: IKEEXT_KEY_MODULE_TYPE, + pub qmState: IKEEXT_QM_SA_STATE, + pub saRole: IKEEXT_SA_ROLE, + pub saTrafficType: IPSEC_TRAFFIC_TYPE, + pub Anonymous1: FWPM_NET_EVENT_IKEEXT_QM_FAILURE1_0, + pub Anonymous2: FWPM_NET_EVENT_IKEEXT_QM_FAILURE1_1, + pub qmFilterId: u64, + pub mmSaLuid: u64, + pub mmProviderContextKey: ::windows_sys::core::GUID, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT_IKEEXT_QM_FAILURE1 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT_IKEEXT_QM_FAILURE1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union FWPM_NET_EVENT_IKEEXT_QM_FAILURE1_0 { + pub localSubNet: FWP_CONDITION_VALUE0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT_IKEEXT_QM_FAILURE1_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT_IKEEXT_QM_FAILURE1_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union FWPM_NET_EVENT_IKEEXT_QM_FAILURE1_1 { + pub remoteSubNet: FWP_CONDITION_VALUE0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT_IKEEXT_QM_FAILURE1_1 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT_IKEEXT_QM_FAILURE1_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_NET_EVENT_IPSEC_DOSP_DROP0 { + pub ipVersion: FWP_IP_VERSION, + pub Anonymous1: FWPM_NET_EVENT_IPSEC_DOSP_DROP0_0, + pub Anonymous2: FWPM_NET_EVENT_IPSEC_DOSP_DROP0_1, + pub failureStatus: i32, + pub direction: FWP_DIRECTION, +} +impl ::core::marker::Copy for FWPM_NET_EVENT_IPSEC_DOSP_DROP0 {} +impl ::core::clone::Clone for FWPM_NET_EVENT_IPSEC_DOSP_DROP0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union FWPM_NET_EVENT_IPSEC_DOSP_DROP0_0 { + pub publicHostV4Addr: u32, + pub publicHostV6Addr: [u8; 16], +} +impl ::core::marker::Copy for FWPM_NET_EVENT_IPSEC_DOSP_DROP0_0 {} +impl ::core::clone::Clone for FWPM_NET_EVENT_IPSEC_DOSP_DROP0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union FWPM_NET_EVENT_IPSEC_DOSP_DROP0_1 { + pub internalHostV4Addr: u32, + pub internalHostV6Addr: [u8; 16], +} +impl ::core::marker::Copy for FWPM_NET_EVENT_IPSEC_DOSP_DROP0_1 {} +impl ::core::clone::Clone for FWPM_NET_EVENT_IPSEC_DOSP_DROP0_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_NET_EVENT_IPSEC_KERNEL_DROP0 { + pub failureStatus: i32, + pub direction: FWP_DIRECTION, + pub spi: u32, + pub filterId: u64, + pub layerId: u16, +} +impl ::core::marker::Copy for FWPM_NET_EVENT_IPSEC_KERNEL_DROP0 {} +impl ::core::clone::Clone for FWPM_NET_EVENT_IPSEC_KERNEL_DROP0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_NET_EVENT_LPM_PACKET_ARRIVAL0 { + pub spi: u32, +} +impl ::core::marker::Copy for FWPM_NET_EVENT_LPM_PACKET_ARRIVAL0 {} +impl ::core::clone::Clone for FWPM_NET_EVENT_LPM_PACKET_ARRIVAL0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_NET_EVENT_SUBSCRIPTION0 { + pub enumTemplate: *mut FWPM_NET_EVENT_ENUM_TEMPLATE0, + pub flags: u32, + pub sessionKey: ::windows_sys::core::GUID, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_NET_EVENT_SUBSCRIPTION0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_NET_EVENT_SUBSCRIPTION0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_PROVIDER0 { + pub providerKey: ::windows_sys::core::GUID, + pub displayData: FWPM_DISPLAY_DATA0, + pub flags: u32, + pub providerData: FWP_BYTE_BLOB, + pub serviceName: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for FWPM_PROVIDER0 {} +impl ::core::clone::Clone for FWPM_PROVIDER0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_PROVIDER_CHANGE0 { + pub changeType: FWPM_CHANGE_TYPE, + pub providerKey: ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for FWPM_PROVIDER_CHANGE0 {} +impl ::core::clone::Clone for FWPM_PROVIDER_CHANGE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_PROVIDER_CONTEXT0 { + pub providerContextKey: ::windows_sys::core::GUID, + pub displayData: FWPM_DISPLAY_DATA0, + pub flags: u32, + pub providerKey: *mut ::windows_sys::core::GUID, + pub providerData: FWP_BYTE_BLOB, + pub r#type: FWPM_PROVIDER_CONTEXT_TYPE, + pub Anonymous: FWPM_PROVIDER_CONTEXT0_0, + pub providerContextId: u64, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_PROVIDER_CONTEXT0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_PROVIDER_CONTEXT0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union FWPM_PROVIDER_CONTEXT0_0 { + pub keyingPolicy: *mut IPSEC_KEYING_POLICY0, + pub ikeQmTransportPolicy: *mut IPSEC_TRANSPORT_POLICY0, + pub ikeQmTunnelPolicy: *mut IPSEC_TUNNEL_POLICY0, + pub authipQmTransportPolicy: *mut IPSEC_TRANSPORT_POLICY0, + pub authipQmTunnelPolicy: *mut IPSEC_TUNNEL_POLICY0, + pub ikeMmPolicy: *mut IKEEXT_POLICY0, + pub authIpMmPolicy: *mut IKEEXT_POLICY0, + pub dataBuffer: *mut FWP_BYTE_BLOB, + pub classifyOptions: *mut FWPM_CLASSIFY_OPTIONS0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_PROVIDER_CONTEXT0_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_PROVIDER_CONTEXT0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_PROVIDER_CONTEXT1 { + pub providerContextKey: ::windows_sys::core::GUID, + pub displayData: FWPM_DISPLAY_DATA0, + pub flags: u32, + pub providerKey: *mut ::windows_sys::core::GUID, + pub providerData: FWP_BYTE_BLOB, + pub r#type: FWPM_PROVIDER_CONTEXT_TYPE, + pub Anonymous: FWPM_PROVIDER_CONTEXT1_0, + pub providerContextId: u64, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_PROVIDER_CONTEXT1 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_PROVIDER_CONTEXT1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union FWPM_PROVIDER_CONTEXT1_0 { + pub keyingPolicy: *mut IPSEC_KEYING_POLICY0, + pub ikeQmTransportPolicy: *mut IPSEC_TRANSPORT_POLICY1, + pub ikeQmTunnelPolicy: *mut IPSEC_TUNNEL_POLICY1, + pub authipQmTransportPolicy: *mut IPSEC_TRANSPORT_POLICY1, + pub authipQmTunnelPolicy: *mut IPSEC_TUNNEL_POLICY1, + pub ikeMmPolicy: *mut IKEEXT_POLICY1, + pub authIpMmPolicy: *mut IKEEXT_POLICY1, + pub dataBuffer: *mut FWP_BYTE_BLOB, + pub classifyOptions: *mut FWPM_CLASSIFY_OPTIONS0, + pub ikeV2QmTunnelPolicy: *mut IPSEC_TUNNEL_POLICY1, + pub ikeV2MmPolicy: *mut IKEEXT_POLICY1, + pub idpOptions: *mut IPSEC_DOSP_OPTIONS0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_PROVIDER_CONTEXT1_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_PROVIDER_CONTEXT1_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_PROVIDER_CONTEXT2 { + pub providerContextKey: ::windows_sys::core::GUID, + pub displayData: FWPM_DISPLAY_DATA0, + pub flags: u32, + pub providerKey: *mut ::windows_sys::core::GUID, + pub providerData: FWP_BYTE_BLOB, + pub r#type: FWPM_PROVIDER_CONTEXT_TYPE, + pub Anonymous: FWPM_PROVIDER_CONTEXT2_0, + pub providerContextId: u64, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_PROVIDER_CONTEXT2 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_PROVIDER_CONTEXT2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union FWPM_PROVIDER_CONTEXT2_0 { + pub keyingPolicy: *mut IPSEC_KEYING_POLICY1, + pub ikeQmTransportPolicy: *mut IPSEC_TRANSPORT_POLICY2, + pub ikeQmTunnelPolicy: *mut IPSEC_TUNNEL_POLICY2, + pub authipQmTransportPolicy: *mut IPSEC_TRANSPORT_POLICY2, + pub authipQmTunnelPolicy: *mut IPSEC_TUNNEL_POLICY2, + pub ikeMmPolicy: *mut IKEEXT_POLICY2, + pub authIpMmPolicy: *mut IKEEXT_POLICY2, + pub dataBuffer: *mut FWP_BYTE_BLOB, + pub classifyOptions: *mut FWPM_CLASSIFY_OPTIONS0, + pub ikeV2QmTunnelPolicy: *mut IPSEC_TUNNEL_POLICY2, + pub ikeV2QmTransportPolicy: *mut IPSEC_TRANSPORT_POLICY2, + pub ikeV2MmPolicy: *mut IKEEXT_POLICY2, + pub idpOptions: *mut IPSEC_DOSP_OPTIONS0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_PROVIDER_CONTEXT2_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_PROVIDER_CONTEXT2_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_PROVIDER_CONTEXT3 { + pub providerContextKey: ::windows_sys::core::GUID, + pub displayData: FWPM_DISPLAY_DATA0, + pub flags: u32, + pub providerKey: *mut ::windows_sys::core::GUID, + pub providerData: FWP_BYTE_BLOB, + pub r#type: FWPM_PROVIDER_CONTEXT_TYPE, + pub Anonymous: FWPM_PROVIDER_CONTEXT3_0, + pub providerContextId: u64, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_PROVIDER_CONTEXT3 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_PROVIDER_CONTEXT3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union FWPM_PROVIDER_CONTEXT3_0 { + pub keyingPolicy: *mut IPSEC_KEYING_POLICY1, + pub ikeQmTransportPolicy: *mut IPSEC_TRANSPORT_POLICY2, + pub ikeQmTunnelPolicy: *mut IPSEC_TUNNEL_POLICY3, + pub authipQmTransportPolicy: *mut IPSEC_TRANSPORT_POLICY2, + pub authipQmTunnelPolicy: *mut IPSEC_TUNNEL_POLICY3, + pub ikeMmPolicy: *mut IKEEXT_POLICY2, + pub authIpMmPolicy: *mut IKEEXT_POLICY2, + pub dataBuffer: *mut FWP_BYTE_BLOB, + pub classifyOptions: *mut FWPM_CLASSIFY_OPTIONS0, + pub ikeV2QmTunnelPolicy: *mut IPSEC_TUNNEL_POLICY3, + pub ikeV2QmTransportPolicy: *mut IPSEC_TRANSPORT_POLICY2, + pub ikeV2MmPolicy: *mut IKEEXT_POLICY2, + pub idpOptions: *mut IPSEC_DOSP_OPTIONS0, + pub networkConnectionPolicy: *mut FWPM_NETWORK_CONNECTION_POLICY_SETTINGS0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_PROVIDER_CONTEXT3_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_PROVIDER_CONTEXT3_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_PROVIDER_CONTEXT_CHANGE0 { + pub changeType: FWPM_CHANGE_TYPE, + pub providerContextKey: ::windows_sys::core::GUID, + pub providerContextId: u64, +} +impl ::core::marker::Copy for FWPM_PROVIDER_CONTEXT_CHANGE0 {} +impl ::core::clone::Clone for FWPM_PROVIDER_CONTEXT_CHANGE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_PROVIDER_CONTEXT_ENUM_TEMPLATE0 { + pub providerKey: *mut ::windows_sys::core::GUID, + pub providerContextType: FWPM_PROVIDER_CONTEXT_TYPE, +} +impl ::core::marker::Copy for FWPM_PROVIDER_CONTEXT_ENUM_TEMPLATE0 {} +impl ::core::clone::Clone for FWPM_PROVIDER_CONTEXT_ENUM_TEMPLATE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_PROVIDER_CONTEXT_SUBSCRIPTION0 { + pub enumTemplate: *mut FWPM_PROVIDER_CONTEXT_ENUM_TEMPLATE0, + pub flags: FWPM_SUBSCRIPTION_FLAGS, + pub sessionKey: ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for FWPM_PROVIDER_CONTEXT_SUBSCRIPTION0 {} +impl ::core::clone::Clone for FWPM_PROVIDER_CONTEXT_SUBSCRIPTION0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_PROVIDER_ENUM_TEMPLATE0 { + pub reserved: u64, +} +impl ::core::marker::Copy for FWPM_PROVIDER_ENUM_TEMPLATE0 {} +impl ::core::clone::Clone for FWPM_PROVIDER_ENUM_TEMPLATE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_PROVIDER_SUBSCRIPTION0 { + pub enumTemplate: *mut FWPM_PROVIDER_ENUM_TEMPLATE0, + pub flags: u32, + pub sessionKey: ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for FWPM_PROVIDER_SUBSCRIPTION0 {} +impl ::core::clone::Clone for FWPM_PROVIDER_SUBSCRIPTION0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWPM_SESSION0 { + pub sessionKey: ::windows_sys::core::GUID, + pub displayData: FWPM_DISPLAY_DATA0, + pub flags: u32, + pub txnWaitTimeoutInMSec: u32, + pub processId: u32, + pub sid: *mut super::super::Security::SID, + pub username: ::windows_sys::core::PWSTR, + pub kernelMode: super::super::Foundation::BOOL, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWPM_SESSION0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWPM_SESSION0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_SESSION_ENUM_TEMPLATE0 { + pub reserved: u64, +} +impl ::core::marker::Copy for FWPM_SESSION_ENUM_TEMPLATE0 {} +impl ::core::clone::Clone for FWPM_SESSION_ENUM_TEMPLATE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_STATISTICS0 { + pub numLayerStatistics: u32, + pub layerStatistics: *mut FWPM_LAYER_STATISTICS0, + pub inboundAllowedConnectionsV4: u32, + pub inboundBlockedConnectionsV4: u32, + pub outboundAllowedConnectionsV4: u32, + pub outboundBlockedConnectionsV4: u32, + pub inboundAllowedConnectionsV6: u32, + pub inboundBlockedConnectionsV6: u32, + pub outboundAllowedConnectionsV6: u32, + pub outboundBlockedConnectionsV6: u32, + pub inboundActiveConnectionsV4: u32, + pub outboundActiveConnectionsV4: u32, + pub inboundActiveConnectionsV6: u32, + pub outboundActiveConnectionsV6: u32, + pub reauthDirInbound: u64, + pub reauthDirOutbound: u64, + pub reauthFamilyV4: u64, + pub reauthFamilyV6: u64, + pub reauthProtoOther: u64, + pub reauthProtoIPv4: u64, + pub reauthProtoIPv6: u64, + pub reauthProtoICMP: u64, + pub reauthProtoICMP6: u64, + pub reauthProtoUDP: u64, + pub reauthProtoTCP: u64, + pub reauthReasonPolicyChange: u64, + pub reauthReasonNewArrivalInterface: u64, + pub reauthReasonNewNextHopInterface: u64, + pub reauthReasonProfileCrossing: u64, + pub reauthReasonClassifyCompletion: u64, + pub reauthReasonIPSecPropertiesChanged: u64, + pub reauthReasonMidStreamInspection: u64, + pub reauthReasonSocketPropertyChanged: u64, + pub reauthReasonNewInboundMCastBCastPacket: u64, + pub reauthReasonEDPPolicyChanged: u64, + pub reauthReasonProxyHandleChanged: u64, +} +impl ::core::marker::Copy for FWPM_STATISTICS0 {} +impl ::core::clone::Clone for FWPM_STATISTICS0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_SUBLAYER0 { + pub subLayerKey: ::windows_sys::core::GUID, + pub displayData: FWPM_DISPLAY_DATA0, + pub flags: u32, + pub providerKey: *mut ::windows_sys::core::GUID, + pub providerData: FWP_BYTE_BLOB, + pub weight: u16, +} +impl ::core::marker::Copy for FWPM_SUBLAYER0 {} +impl ::core::clone::Clone for FWPM_SUBLAYER0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_SUBLAYER_CHANGE0 { + pub changeType: FWPM_CHANGE_TYPE, + pub subLayerKey: ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for FWPM_SUBLAYER_CHANGE0 {} +impl ::core::clone::Clone for FWPM_SUBLAYER_CHANGE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_SUBLAYER_ENUM_TEMPLATE0 { + pub providerKey: *mut ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for FWPM_SUBLAYER_ENUM_TEMPLATE0 {} +impl ::core::clone::Clone for FWPM_SUBLAYER_ENUM_TEMPLATE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_SUBLAYER_SUBSCRIPTION0 { + pub enumTemplate: *mut FWPM_SUBLAYER_ENUM_TEMPLATE0, + pub flags: FWPM_SUBSCRIPTION_FLAGS, + pub sessionKey: ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for FWPM_SUBLAYER_SUBSCRIPTION0 {} +impl ::core::clone::Clone for FWPM_SUBLAYER_SUBSCRIPTION0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_SYSTEM_PORTS0 { + pub numTypes: u32, + pub types: *mut FWPM_SYSTEM_PORTS_BY_TYPE0, +} +impl ::core::marker::Copy for FWPM_SYSTEM_PORTS0 {} +impl ::core::clone::Clone for FWPM_SYSTEM_PORTS0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_SYSTEM_PORTS_BY_TYPE0 { + pub r#type: FWPM_SYSTEM_PORT_TYPE, + pub numPorts: u32, + pub ports: *mut u16, +} +impl ::core::marker::Copy for FWPM_SYSTEM_PORTS_BY_TYPE0 {} +impl ::core::clone::Clone for FWPM_SYSTEM_PORTS_BY_TYPE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct FWPM_VSWITCH_EVENT0 { + pub eventType: FWPM_VSWITCH_EVENT_TYPE, + pub vSwitchId: ::windows_sys::core::PWSTR, + pub Anonymous: FWPM_VSWITCH_EVENT0_0, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for FWPM_VSWITCH_EVENT0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for FWPM_VSWITCH_EVENT0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union FWPM_VSWITCH_EVENT0_0 { + pub positionInfo: FWPM_VSWITCH_EVENT0_0_0, + pub reorderInfo: FWPM_VSWITCH_EVENT0_0_1, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for FWPM_VSWITCH_EVENT0_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for FWPM_VSWITCH_EVENT0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct FWPM_VSWITCH_EVENT0_0_0 { + pub numvSwitchFilterExtensions: u32, + pub vSwitchFilterExtensions: *mut ::windows_sys::core::PWSTR, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for FWPM_VSWITCH_EVENT0_0_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for FWPM_VSWITCH_EVENT0_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct FWPM_VSWITCH_EVENT0_0_1 { + pub inRequiredPosition: super::super::Foundation::BOOL, + pub numvSwitchFilterExtensions: u32, + pub vSwitchFilterExtensions: *mut ::windows_sys::core::PWSTR, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for FWPM_VSWITCH_EVENT0_0_1 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for FWPM_VSWITCH_EVENT0_0_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWPM_VSWITCH_EVENT_SUBSCRIPTION0 { + pub flags: u32, + pub sessionKey: ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for FWPM_VSWITCH_EVENT_SUBSCRIPTION0 {} +impl ::core::clone::Clone for FWPM_VSWITCH_EVENT_SUBSCRIPTION0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWP_BYTE_ARRAY16 { + pub byteArray16: [u8; 16], +} +impl ::core::marker::Copy for FWP_BYTE_ARRAY16 {} +impl ::core::clone::Clone for FWP_BYTE_ARRAY16 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWP_BYTE_ARRAY6 { + pub byteArray6: [u8; 6], +} +impl ::core::marker::Copy for FWP_BYTE_ARRAY6 {} +impl ::core::clone::Clone for FWP_BYTE_ARRAY6 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWP_BYTE_BLOB { + pub size: u32, + pub data: *mut u8, +} +impl ::core::marker::Copy for FWP_BYTE_BLOB {} +impl ::core::clone::Clone for FWP_BYTE_BLOB { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWP_CONDITION_VALUE0 { + pub r#type: FWP_DATA_TYPE, + pub Anonymous: FWP_CONDITION_VALUE0_0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWP_CONDITION_VALUE0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWP_CONDITION_VALUE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union FWP_CONDITION_VALUE0_0 { + pub uint8: u8, + pub uint16: u16, + pub uint32: u32, + pub uint64: *mut u64, + pub int8: i8, + pub int16: i16, + pub int32: i32, + pub int64: *mut i64, + pub float32: f32, + pub double64: *mut f64, + pub byteArray16: *mut FWP_BYTE_ARRAY16, + pub byteBlob: *mut FWP_BYTE_BLOB, + pub sid: *mut super::super::Security::SID, + pub sd: *mut FWP_BYTE_BLOB, + pub tokenInformation: *mut FWP_TOKEN_INFORMATION, + pub tokenAccessInformation: *mut FWP_BYTE_BLOB, + pub unicodeString: ::windows_sys::core::PWSTR, + pub byteArray6: *mut FWP_BYTE_ARRAY6, + pub v4AddrMask: *mut FWP_V4_ADDR_AND_MASK, + pub v6AddrMask: *mut FWP_V6_ADDR_AND_MASK, + pub rangeValue: *mut FWP_RANGE0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWP_CONDITION_VALUE0_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWP_CONDITION_VALUE0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWP_RANGE0 { + pub valueLow: FWP_VALUE0, + pub valueHigh: FWP_VALUE0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWP_RANGE0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWP_RANGE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWP_TOKEN_INFORMATION { + pub sidCount: u32, + pub sids: *mut super::super::Security::SID_AND_ATTRIBUTES, + pub restrictedSidCount: u32, + pub restrictedSids: *mut super::super::Security::SID_AND_ATTRIBUTES, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWP_TOKEN_INFORMATION {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWP_TOKEN_INFORMATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWP_V4_ADDR_AND_MASK { + pub addr: u32, + pub mask: u32, +} +impl ::core::marker::Copy for FWP_V4_ADDR_AND_MASK {} +impl ::core::clone::Clone for FWP_V4_ADDR_AND_MASK { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FWP_V6_ADDR_AND_MASK { + pub addr: [u8; 16], + pub prefixLength: u8, +} +impl ::core::marker::Copy for FWP_V6_ADDR_AND_MASK {} +impl ::core::clone::Clone for FWP_V6_ADDR_AND_MASK { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct FWP_VALUE0 { + pub r#type: FWP_DATA_TYPE, + pub Anonymous: FWP_VALUE0_0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWP_VALUE0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWP_VALUE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union FWP_VALUE0_0 { + pub uint8: u8, + pub uint16: u16, + pub uint32: u32, + pub uint64: *mut u64, + pub int8: i8, + pub int16: i16, + pub int32: i32, + pub int64: *mut i64, + pub float32: f32, + pub double64: *mut f64, + pub byteArray16: *mut FWP_BYTE_ARRAY16, + pub byteBlob: *mut FWP_BYTE_BLOB, + pub sid: *mut super::super::Security::SID, + pub sd: *mut FWP_BYTE_BLOB, + pub tokenInformation: *mut FWP_TOKEN_INFORMATION, + pub tokenAccessInformation: *mut FWP_BYTE_BLOB, + pub unicodeString: ::windows_sys::core::PWSTR, + pub byteArray6: *mut FWP_BYTE_ARRAY6, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for FWP_VALUE0_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for FWP_VALUE0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_AUTHENTICATION_METHOD0 { + pub authenticationMethodType: IKEEXT_AUTHENTICATION_METHOD_TYPE, + pub Anonymous: IKEEXT_AUTHENTICATION_METHOD0_0, +} +impl ::core::marker::Copy for IKEEXT_AUTHENTICATION_METHOD0 {} +impl ::core::clone::Clone for IKEEXT_AUTHENTICATION_METHOD0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IKEEXT_AUTHENTICATION_METHOD0_0 { + pub presharedKeyAuthentication: IKEEXT_PRESHARED_KEY_AUTHENTICATION0, + pub certificateAuthentication: IKEEXT_CERTIFICATE_AUTHENTICATION0, + pub kerberosAuthentication: IKEEXT_KERBEROS_AUTHENTICATION0, + pub ntlmV2Authentication: IKEEXT_NTLM_V2_AUTHENTICATION0, + pub sslAuthentication: IKEEXT_CERTIFICATE_AUTHENTICATION0, + pub cgaAuthentication: IKEEXT_IPV6_CGA_AUTHENTICATION0, +} +impl ::core::marker::Copy for IKEEXT_AUTHENTICATION_METHOD0_0 {} +impl ::core::clone::Clone for IKEEXT_AUTHENTICATION_METHOD0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_AUTHENTICATION_METHOD1 { + pub authenticationMethodType: IKEEXT_AUTHENTICATION_METHOD_TYPE, + pub Anonymous: IKEEXT_AUTHENTICATION_METHOD1_0, +} +impl ::core::marker::Copy for IKEEXT_AUTHENTICATION_METHOD1 {} +impl ::core::clone::Clone for IKEEXT_AUTHENTICATION_METHOD1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IKEEXT_AUTHENTICATION_METHOD1_0 { + pub presharedKeyAuthentication: IKEEXT_PRESHARED_KEY_AUTHENTICATION1, + pub certificateAuthentication: IKEEXT_CERTIFICATE_AUTHENTICATION1, + pub kerberosAuthentication: IKEEXT_KERBEROS_AUTHENTICATION0, + pub ntlmV2Authentication: IKEEXT_NTLM_V2_AUTHENTICATION0, + pub sslAuthentication: IKEEXT_CERTIFICATE_AUTHENTICATION1, + pub cgaAuthentication: IKEEXT_IPV6_CGA_AUTHENTICATION0, + pub eapAuthentication: IKEEXT_EAP_AUTHENTICATION0, +} +impl ::core::marker::Copy for IKEEXT_AUTHENTICATION_METHOD1_0 {} +impl ::core::clone::Clone for IKEEXT_AUTHENTICATION_METHOD1_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_AUTHENTICATION_METHOD2 { + pub authenticationMethodType: IKEEXT_AUTHENTICATION_METHOD_TYPE, + pub Anonymous: IKEEXT_AUTHENTICATION_METHOD2_0, +} +impl ::core::marker::Copy for IKEEXT_AUTHENTICATION_METHOD2 {} +impl ::core::clone::Clone for IKEEXT_AUTHENTICATION_METHOD2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IKEEXT_AUTHENTICATION_METHOD2_0 { + pub presharedKeyAuthentication: IKEEXT_PRESHARED_KEY_AUTHENTICATION1, + pub certificateAuthentication: IKEEXT_CERTIFICATE_AUTHENTICATION2, + pub kerberosAuthentication: IKEEXT_KERBEROS_AUTHENTICATION1, + pub reservedAuthentication: IKEEXT_RESERVED_AUTHENTICATION0, + pub ntlmV2Authentication: IKEEXT_NTLM_V2_AUTHENTICATION0, + pub sslAuthentication: IKEEXT_CERTIFICATE_AUTHENTICATION2, + pub cgaAuthentication: IKEEXT_IPV6_CGA_AUTHENTICATION0, + pub eapAuthentication: IKEEXT_EAP_AUTHENTICATION0, +} +impl ::core::marker::Copy for IKEEXT_AUTHENTICATION_METHOD2_0 {} +impl ::core::clone::Clone for IKEEXT_AUTHENTICATION_METHOD2_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CERTIFICATE_AUTHENTICATION0 { + pub inboundConfigType: IKEEXT_CERT_CONFIG_TYPE, + pub Anonymous1: IKEEXT_CERTIFICATE_AUTHENTICATION0_0, + pub outboundConfigType: IKEEXT_CERT_CONFIG_TYPE, + pub Anonymous2: IKEEXT_CERTIFICATE_AUTHENTICATION0_1, + pub flags: IKEEXT_CERT_AUTH, +} +impl ::core::marker::Copy for IKEEXT_CERTIFICATE_AUTHENTICATION0 {} +impl ::core::clone::Clone for IKEEXT_CERTIFICATE_AUTHENTICATION0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IKEEXT_CERTIFICATE_AUTHENTICATION0_0 { + pub Anonymous: IKEEXT_CERTIFICATE_AUTHENTICATION0_0_0, + pub inboundEnterpriseStoreConfig: *mut IKEEXT_CERT_ROOT_CONFIG0, + pub inboundTrustedRootStoreConfig: *mut IKEEXT_CERT_ROOT_CONFIG0, +} +impl ::core::marker::Copy for IKEEXT_CERTIFICATE_AUTHENTICATION0_0 {} +impl ::core::clone::Clone for IKEEXT_CERTIFICATE_AUTHENTICATION0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CERTIFICATE_AUTHENTICATION0_0_0 { + pub inboundRootArraySize: u32, + pub inboundRootArray: *mut IKEEXT_CERT_ROOT_CONFIG0, +} +impl ::core::marker::Copy for IKEEXT_CERTIFICATE_AUTHENTICATION0_0_0 {} +impl ::core::clone::Clone for IKEEXT_CERTIFICATE_AUTHENTICATION0_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IKEEXT_CERTIFICATE_AUTHENTICATION0_1 { + pub Anonymous: IKEEXT_CERTIFICATE_AUTHENTICATION0_1_0, + pub outboundEnterpriseStoreConfig: *mut IKEEXT_CERT_ROOT_CONFIG0, + pub outboundTrustedRootStoreConfig: *mut IKEEXT_CERT_ROOT_CONFIG0, +} +impl ::core::marker::Copy for IKEEXT_CERTIFICATE_AUTHENTICATION0_1 {} +impl ::core::clone::Clone for IKEEXT_CERTIFICATE_AUTHENTICATION0_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CERTIFICATE_AUTHENTICATION0_1_0 { + pub outboundRootArraySize: u32, + pub outboundRootArray: *mut IKEEXT_CERT_ROOT_CONFIG0, +} +impl ::core::marker::Copy for IKEEXT_CERTIFICATE_AUTHENTICATION0_1_0 {} +impl ::core::clone::Clone for IKEEXT_CERTIFICATE_AUTHENTICATION0_1_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CERTIFICATE_AUTHENTICATION1 { + pub inboundConfigType: IKEEXT_CERT_CONFIG_TYPE, + pub Anonymous1: IKEEXT_CERTIFICATE_AUTHENTICATION1_0, + pub outboundConfigType: IKEEXT_CERT_CONFIG_TYPE, + pub Anonymous2: IKEEXT_CERTIFICATE_AUTHENTICATION1_1, + pub flags: IKEEXT_CERT_AUTH, + pub localCertLocationUrl: FWP_BYTE_BLOB, +} +impl ::core::marker::Copy for IKEEXT_CERTIFICATE_AUTHENTICATION1 {} +impl ::core::clone::Clone for IKEEXT_CERTIFICATE_AUTHENTICATION1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IKEEXT_CERTIFICATE_AUTHENTICATION1_0 { + pub Anonymous: IKEEXT_CERTIFICATE_AUTHENTICATION1_0_0, + pub inboundEnterpriseStoreConfig: *mut IKEEXT_CERT_ROOT_CONFIG0, + pub inboundTrustedRootStoreConfig: *mut IKEEXT_CERT_ROOT_CONFIG0, +} +impl ::core::marker::Copy for IKEEXT_CERTIFICATE_AUTHENTICATION1_0 {} +impl ::core::clone::Clone for IKEEXT_CERTIFICATE_AUTHENTICATION1_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CERTIFICATE_AUTHENTICATION1_0_0 { + pub inboundRootArraySize: u32, + pub inboundRootArray: *mut IKEEXT_CERT_ROOT_CONFIG0, +} +impl ::core::marker::Copy for IKEEXT_CERTIFICATE_AUTHENTICATION1_0_0 {} +impl ::core::clone::Clone for IKEEXT_CERTIFICATE_AUTHENTICATION1_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IKEEXT_CERTIFICATE_AUTHENTICATION1_1 { + pub Anonymous: IKEEXT_CERTIFICATE_AUTHENTICATION1_1_0, + pub outboundEnterpriseStoreConfig: *mut IKEEXT_CERT_ROOT_CONFIG0, + pub outboundTrustedRootStoreConfig: *mut IKEEXT_CERT_ROOT_CONFIG0, +} +impl ::core::marker::Copy for IKEEXT_CERTIFICATE_AUTHENTICATION1_1 {} +impl ::core::clone::Clone for IKEEXT_CERTIFICATE_AUTHENTICATION1_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CERTIFICATE_AUTHENTICATION1_1_0 { + pub outboundRootArraySize: u32, + pub outboundRootArray: *mut IKEEXT_CERT_ROOT_CONFIG0, +} +impl ::core::marker::Copy for IKEEXT_CERTIFICATE_AUTHENTICATION1_1_0 {} +impl ::core::clone::Clone for IKEEXT_CERTIFICATE_AUTHENTICATION1_1_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CERTIFICATE_AUTHENTICATION2 { + pub inboundConfigType: IKEEXT_CERT_CONFIG_TYPE, + pub Anonymous1: IKEEXT_CERTIFICATE_AUTHENTICATION2_0, + pub outboundConfigType: IKEEXT_CERT_CONFIG_TYPE, + pub Anonymous2: IKEEXT_CERTIFICATE_AUTHENTICATION2_1, + pub flags: IKEEXT_CERT_AUTH, + pub localCertLocationUrl: FWP_BYTE_BLOB, +} +impl ::core::marker::Copy for IKEEXT_CERTIFICATE_AUTHENTICATION2 {} +impl ::core::clone::Clone for IKEEXT_CERTIFICATE_AUTHENTICATION2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IKEEXT_CERTIFICATE_AUTHENTICATION2_0 { + pub Anonymous1: IKEEXT_CERTIFICATE_AUTHENTICATION2_0_0, + pub Anonymous2: IKEEXT_CERTIFICATE_AUTHENTICATION2_0_1, + pub Anonymous3: IKEEXT_CERTIFICATE_AUTHENTICATION2_0_2, +} +impl ::core::marker::Copy for IKEEXT_CERTIFICATE_AUTHENTICATION2_0 {} +impl ::core::clone::Clone for IKEEXT_CERTIFICATE_AUTHENTICATION2_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CERTIFICATE_AUTHENTICATION2_0_0 { + pub inboundRootArraySize: u32, + pub inboundRootCriteria: *mut IKEEXT_CERTIFICATE_CRITERIA0, +} +impl ::core::marker::Copy for IKEEXT_CERTIFICATE_AUTHENTICATION2_0_0 {} +impl ::core::clone::Clone for IKEEXT_CERTIFICATE_AUTHENTICATION2_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CERTIFICATE_AUTHENTICATION2_0_1 { + pub inboundEnterpriseStoreArraySize: u32, + pub inboundEnterpriseStoreCriteria: *mut IKEEXT_CERTIFICATE_CRITERIA0, +} +impl ::core::marker::Copy for IKEEXT_CERTIFICATE_AUTHENTICATION2_0_1 {} +impl ::core::clone::Clone for IKEEXT_CERTIFICATE_AUTHENTICATION2_0_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CERTIFICATE_AUTHENTICATION2_0_2 { + pub inboundRootStoreArraySize: u32, + pub inboundTrustedRootStoreCriteria: *mut IKEEXT_CERTIFICATE_CRITERIA0, +} +impl ::core::marker::Copy for IKEEXT_CERTIFICATE_AUTHENTICATION2_0_2 {} +impl ::core::clone::Clone for IKEEXT_CERTIFICATE_AUTHENTICATION2_0_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IKEEXT_CERTIFICATE_AUTHENTICATION2_1 { + pub Anonymous1: IKEEXT_CERTIFICATE_AUTHENTICATION2_1_0, + pub Anonymous2: IKEEXT_CERTIFICATE_AUTHENTICATION2_1_1, + pub Anonymous3: IKEEXT_CERTIFICATE_AUTHENTICATION2_1_2, +} +impl ::core::marker::Copy for IKEEXT_CERTIFICATE_AUTHENTICATION2_1 {} +impl ::core::clone::Clone for IKEEXT_CERTIFICATE_AUTHENTICATION2_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CERTIFICATE_AUTHENTICATION2_1_0 { + pub outboundRootArraySize: u32, + pub outboundRootCriteria: *mut IKEEXT_CERTIFICATE_CRITERIA0, +} +impl ::core::marker::Copy for IKEEXT_CERTIFICATE_AUTHENTICATION2_1_0 {} +impl ::core::clone::Clone for IKEEXT_CERTIFICATE_AUTHENTICATION2_1_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CERTIFICATE_AUTHENTICATION2_1_1 { + pub outboundEnterpriseStoreArraySize: u32, + pub outboundEnterpriseStoreCriteria: *mut IKEEXT_CERTIFICATE_CRITERIA0, +} +impl ::core::marker::Copy for IKEEXT_CERTIFICATE_AUTHENTICATION2_1_1 {} +impl ::core::clone::Clone for IKEEXT_CERTIFICATE_AUTHENTICATION2_1_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CERTIFICATE_AUTHENTICATION2_1_2 { + pub outboundRootStoreArraySize: u32, + pub outboundTrustedRootStoreCriteria: *mut IKEEXT_CERTIFICATE_CRITERIA0, +} +impl ::core::marker::Copy for IKEEXT_CERTIFICATE_AUTHENTICATION2_1_2 {} +impl ::core::clone::Clone for IKEEXT_CERTIFICATE_AUTHENTICATION2_1_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CERTIFICATE_CREDENTIAL0 { + pub subjectName: FWP_BYTE_BLOB, + pub certHash: FWP_BYTE_BLOB, + pub flags: u32, +} +impl ::core::marker::Copy for IKEEXT_CERTIFICATE_CREDENTIAL0 {} +impl ::core::clone::Clone for IKEEXT_CERTIFICATE_CREDENTIAL0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CERTIFICATE_CREDENTIAL1 { + pub subjectName: FWP_BYTE_BLOB, + pub certHash: FWP_BYTE_BLOB, + pub flags: u32, + pub certificate: FWP_BYTE_BLOB, +} +impl ::core::marker::Copy for IKEEXT_CERTIFICATE_CREDENTIAL1 {} +impl ::core::clone::Clone for IKEEXT_CERTIFICATE_CREDENTIAL1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CERTIFICATE_CRITERIA0 { + pub certData: FWP_BYTE_BLOB, + pub certHash: FWP_BYTE_BLOB, + pub eku: *mut IKEEXT_CERT_EKUS0, + pub name: *mut IKEEXT_CERT_NAME0, + pub flags: u32, +} +impl ::core::marker::Copy for IKEEXT_CERTIFICATE_CRITERIA0 {} +impl ::core::clone::Clone for IKEEXT_CERTIFICATE_CRITERIA0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CERT_EKUS0 { + pub numEku: u32, + pub eku: *mut ::windows_sys::core::PSTR, +} +impl ::core::marker::Copy for IKEEXT_CERT_EKUS0 {} +impl ::core::clone::Clone for IKEEXT_CERT_EKUS0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CERT_NAME0 { + pub nameType: IKEEXT_CERT_CRITERIA_NAME_TYPE, + pub certName: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for IKEEXT_CERT_NAME0 {} +impl ::core::clone::Clone for IKEEXT_CERT_NAME0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CERT_ROOT_CONFIG0 { + pub certData: FWP_BYTE_BLOB, + pub flags: IKEEXT_CERT_FLAGS, +} +impl ::core::marker::Copy for IKEEXT_CERT_ROOT_CONFIG0 {} +impl ::core::clone::Clone for IKEEXT_CERT_ROOT_CONFIG0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CIPHER_ALGORITHM0 { + pub algoIdentifier: IKEEXT_CIPHER_TYPE, + pub keyLen: u32, + pub rounds: u32, +} +impl ::core::marker::Copy for IKEEXT_CIPHER_ALGORITHM0 {} +impl ::core::clone::Clone for IKEEXT_CIPHER_ALGORITHM0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_COMMON_STATISTICS0 { + pub v4Statistics: IKEEXT_IP_VERSION_SPECIFIC_COMMON_STATISTICS0, + pub v6Statistics: IKEEXT_IP_VERSION_SPECIFIC_COMMON_STATISTICS0, + pub totalPacketsReceived: u32, + pub totalInvalidPacketsReceived: u32, + pub currentQueuedWorkitems: u32, +} +impl ::core::marker::Copy for IKEEXT_COMMON_STATISTICS0 {} +impl ::core::clone::Clone for IKEEXT_COMMON_STATISTICS0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_COMMON_STATISTICS1 { + pub v4Statistics: IKEEXT_IP_VERSION_SPECIFIC_COMMON_STATISTICS1, + pub v6Statistics: IKEEXT_IP_VERSION_SPECIFIC_COMMON_STATISTICS1, + pub totalPacketsReceived: u32, + pub totalInvalidPacketsReceived: u32, + pub currentQueuedWorkitems: u32, +} +impl ::core::marker::Copy for IKEEXT_COMMON_STATISTICS1 {} +impl ::core::clone::Clone for IKEEXT_COMMON_STATISTICS1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_COOKIE_PAIR0 { + pub initiator: u64, + pub responder: u64, +} +impl ::core::marker::Copy for IKEEXT_COOKIE_PAIR0 {} +impl ::core::clone::Clone for IKEEXT_COOKIE_PAIR0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CREDENTIAL0 { + pub authenticationMethodType: IKEEXT_AUTHENTICATION_METHOD_TYPE, + pub impersonationType: IKEEXT_AUTHENTICATION_IMPERSONATION_TYPE, + pub Anonymous: IKEEXT_CREDENTIAL0_0, +} +impl ::core::marker::Copy for IKEEXT_CREDENTIAL0 {} +impl ::core::clone::Clone for IKEEXT_CREDENTIAL0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IKEEXT_CREDENTIAL0_0 { + pub presharedKey: *mut IKEEXT_PRESHARED_KEY_AUTHENTICATION0, + pub certificate: *mut IKEEXT_CERTIFICATE_CREDENTIAL0, + pub name: *mut IKEEXT_NAME_CREDENTIAL0, +} +impl ::core::marker::Copy for IKEEXT_CREDENTIAL0_0 {} +impl ::core::clone::Clone for IKEEXT_CREDENTIAL0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CREDENTIAL1 { + pub authenticationMethodType: IKEEXT_AUTHENTICATION_METHOD_TYPE, + pub impersonationType: IKEEXT_AUTHENTICATION_IMPERSONATION_TYPE, + pub Anonymous: IKEEXT_CREDENTIAL1_0, +} +impl ::core::marker::Copy for IKEEXT_CREDENTIAL1 {} +impl ::core::clone::Clone for IKEEXT_CREDENTIAL1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IKEEXT_CREDENTIAL1_0 { + pub presharedKey: *mut IKEEXT_PRESHARED_KEY_AUTHENTICATION1, + pub certificate: *mut IKEEXT_CERTIFICATE_CREDENTIAL1, + pub name: *mut IKEEXT_NAME_CREDENTIAL0, +} +impl ::core::marker::Copy for IKEEXT_CREDENTIAL1_0 {} +impl ::core::clone::Clone for IKEEXT_CREDENTIAL1_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CREDENTIAL2 { + pub authenticationMethodType: IKEEXT_AUTHENTICATION_METHOD_TYPE, + pub impersonationType: IKEEXT_AUTHENTICATION_IMPERSONATION_TYPE, + pub Anonymous: IKEEXT_CREDENTIAL2_0, +} +impl ::core::marker::Copy for IKEEXT_CREDENTIAL2 {} +impl ::core::clone::Clone for IKEEXT_CREDENTIAL2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IKEEXT_CREDENTIAL2_0 { + pub presharedKey: *mut IKEEXT_PRESHARED_KEY_AUTHENTICATION1, + pub certificate: *mut IKEEXT_CERTIFICATE_CREDENTIAL1, + pub name: *mut IKEEXT_NAME_CREDENTIAL0, +} +impl ::core::marker::Copy for IKEEXT_CREDENTIAL2_0 {} +impl ::core::clone::Clone for IKEEXT_CREDENTIAL2_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CREDENTIALS0 { + pub numCredentials: u32, + pub credentials: *mut IKEEXT_CREDENTIAL_PAIR0, +} +impl ::core::marker::Copy for IKEEXT_CREDENTIALS0 {} +impl ::core::clone::Clone for IKEEXT_CREDENTIALS0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CREDENTIALS1 { + pub numCredentials: u32, + pub credentials: *mut IKEEXT_CREDENTIAL_PAIR1, +} +impl ::core::marker::Copy for IKEEXT_CREDENTIALS1 {} +impl ::core::clone::Clone for IKEEXT_CREDENTIALS1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CREDENTIALS2 { + pub numCredentials: u32, + pub credentials: *mut IKEEXT_CREDENTIAL_PAIR2, +} +impl ::core::marker::Copy for IKEEXT_CREDENTIALS2 {} +impl ::core::clone::Clone for IKEEXT_CREDENTIALS2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CREDENTIAL_PAIR0 { + pub localCredentials: IKEEXT_CREDENTIAL0, + pub peerCredentials: IKEEXT_CREDENTIAL0, +} +impl ::core::marker::Copy for IKEEXT_CREDENTIAL_PAIR0 {} +impl ::core::clone::Clone for IKEEXT_CREDENTIAL_PAIR0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CREDENTIAL_PAIR1 { + pub localCredentials: IKEEXT_CREDENTIAL1, + pub peerCredentials: IKEEXT_CREDENTIAL1, +} +impl ::core::marker::Copy for IKEEXT_CREDENTIAL_PAIR1 {} +impl ::core::clone::Clone for IKEEXT_CREDENTIAL_PAIR1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_CREDENTIAL_PAIR2 { + pub localCredentials: IKEEXT_CREDENTIAL2, + pub peerCredentials: IKEEXT_CREDENTIAL2, +} +impl ::core::marker::Copy for IKEEXT_CREDENTIAL_PAIR2 {} +impl ::core::clone::Clone for IKEEXT_CREDENTIAL_PAIR2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_EAP_AUTHENTICATION0 { + pub flags: IKEEXT_EAP_AUTHENTICATION_FLAGS, +} +impl ::core::marker::Copy for IKEEXT_EAP_AUTHENTICATION0 {} +impl ::core::clone::Clone for IKEEXT_EAP_AUTHENTICATION0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_EM_POLICY0 { + pub numAuthenticationMethods: u32, + pub authenticationMethods: *mut IKEEXT_AUTHENTICATION_METHOD0, + pub initiatorImpersonationType: IKEEXT_AUTHENTICATION_IMPERSONATION_TYPE, +} +impl ::core::marker::Copy for IKEEXT_EM_POLICY0 {} +impl ::core::clone::Clone for IKEEXT_EM_POLICY0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_EM_POLICY1 { + pub numAuthenticationMethods: u32, + pub authenticationMethods: *mut IKEEXT_AUTHENTICATION_METHOD1, + pub initiatorImpersonationType: IKEEXT_AUTHENTICATION_IMPERSONATION_TYPE, +} +impl ::core::marker::Copy for IKEEXT_EM_POLICY1 {} +impl ::core::clone::Clone for IKEEXT_EM_POLICY1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_EM_POLICY2 { + pub numAuthenticationMethods: u32, + pub authenticationMethods: *mut IKEEXT_AUTHENTICATION_METHOD2, + pub initiatorImpersonationType: IKEEXT_AUTHENTICATION_IMPERSONATION_TYPE, +} +impl ::core::marker::Copy for IKEEXT_EM_POLICY2 {} +impl ::core::clone::Clone for IKEEXT_EM_POLICY2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_INTEGRITY_ALGORITHM0 { + pub algoIdentifier: IKEEXT_INTEGRITY_TYPE, +} +impl ::core::marker::Copy for IKEEXT_INTEGRITY_ALGORITHM0 {} +impl ::core::clone::Clone for IKEEXT_INTEGRITY_ALGORITHM0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_IPV6_CGA_AUTHENTICATION0 { + pub keyContainerName: ::windows_sys::core::PWSTR, + pub cspName: ::windows_sys::core::PWSTR, + pub cspType: u32, + pub cgaModifier: FWP_BYTE_ARRAY16, + pub cgaCollisionCount: u8, +} +impl ::core::marker::Copy for IKEEXT_IPV6_CGA_AUTHENTICATION0 {} +impl ::core::clone::Clone for IKEEXT_IPV6_CGA_AUTHENTICATION0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_IP_VERSION_SPECIFIC_COMMON_STATISTICS0 { + pub totalSocketReceiveFailures: u32, + pub totalSocketSendFailures: u32, +} +impl ::core::marker::Copy for IKEEXT_IP_VERSION_SPECIFIC_COMMON_STATISTICS0 {} +impl ::core::clone::Clone for IKEEXT_IP_VERSION_SPECIFIC_COMMON_STATISTICS0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_IP_VERSION_SPECIFIC_COMMON_STATISTICS1 { + pub totalSocketReceiveFailures: u32, + pub totalSocketSendFailures: u32, +} +impl ::core::marker::Copy for IKEEXT_IP_VERSION_SPECIFIC_COMMON_STATISTICS1 {} +impl ::core::clone::Clone for IKEEXT_IP_VERSION_SPECIFIC_COMMON_STATISTICS1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_IP_VERSION_SPECIFIC_KEYMODULE_STATISTICS0 { + pub currentActiveMainModes: u32, + pub totalMainModesStarted: u32, + pub totalSuccessfulMainModes: u32, + pub totalFailedMainModes: u32, + pub totalResponderMainModes: u32, + pub currentNewResponderMainModes: u32, + pub currentActiveQuickModes: u32, + pub totalQuickModesStarted: u32, + pub totalSuccessfulQuickModes: u32, + pub totalFailedQuickModes: u32, + pub totalAcquires: u32, + pub totalReinitAcquires: u32, + pub currentActiveExtendedModes: u32, + pub totalExtendedModesStarted: u32, + pub totalSuccessfulExtendedModes: u32, + pub totalFailedExtendedModes: u32, + pub totalImpersonationExtendedModes: u32, + pub totalImpersonationMainModes: u32, +} +impl ::core::marker::Copy for IKEEXT_IP_VERSION_SPECIFIC_KEYMODULE_STATISTICS0 {} +impl ::core::clone::Clone for IKEEXT_IP_VERSION_SPECIFIC_KEYMODULE_STATISTICS0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_IP_VERSION_SPECIFIC_KEYMODULE_STATISTICS1 { + pub currentActiveMainModes: u32, + pub totalMainModesStarted: u32, + pub totalSuccessfulMainModes: u32, + pub totalFailedMainModes: u32, + pub totalResponderMainModes: u32, + pub currentNewResponderMainModes: u32, + pub currentActiveQuickModes: u32, + pub totalQuickModesStarted: u32, + pub totalSuccessfulQuickModes: u32, + pub totalFailedQuickModes: u32, + pub totalAcquires: u32, + pub totalReinitAcquires: u32, + pub currentActiveExtendedModes: u32, + pub totalExtendedModesStarted: u32, + pub totalSuccessfulExtendedModes: u32, + pub totalFailedExtendedModes: u32, + pub totalImpersonationExtendedModes: u32, + pub totalImpersonationMainModes: u32, +} +impl ::core::marker::Copy for IKEEXT_IP_VERSION_SPECIFIC_KEYMODULE_STATISTICS1 {} +impl ::core::clone::Clone for IKEEXT_IP_VERSION_SPECIFIC_KEYMODULE_STATISTICS1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_KERBEROS_AUTHENTICATION0 { + pub flags: IKEEXT_KERBEROS_AUTHENTICATION_FLAGS, +} +impl ::core::marker::Copy for IKEEXT_KERBEROS_AUTHENTICATION0 {} +impl ::core::clone::Clone for IKEEXT_KERBEROS_AUTHENTICATION0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_KERBEROS_AUTHENTICATION1 { + pub flags: IKEEXT_KERBEROS_AUTHENTICATION_FLAGS, + pub proxyServer: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for IKEEXT_KERBEROS_AUTHENTICATION1 {} +impl ::core::clone::Clone for IKEEXT_KERBEROS_AUTHENTICATION1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_KEYMODULE_STATISTICS0 { + pub v4Statistics: IKEEXT_IP_VERSION_SPECIFIC_KEYMODULE_STATISTICS0, + pub v6Statistics: IKEEXT_IP_VERSION_SPECIFIC_KEYMODULE_STATISTICS0, + pub errorFrequencyTable: [u32; 97], + pub mainModeNegotiationTime: u32, + pub quickModeNegotiationTime: u32, + pub extendedModeNegotiationTime: u32, +} +impl ::core::marker::Copy for IKEEXT_KEYMODULE_STATISTICS0 {} +impl ::core::clone::Clone for IKEEXT_KEYMODULE_STATISTICS0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_KEYMODULE_STATISTICS1 { + pub v4Statistics: IKEEXT_IP_VERSION_SPECIFIC_KEYMODULE_STATISTICS1, + pub v6Statistics: IKEEXT_IP_VERSION_SPECIFIC_KEYMODULE_STATISTICS1, + pub errorFrequencyTable: [u32; 97], + pub mainModeNegotiationTime: u32, + pub quickModeNegotiationTime: u32, + pub extendedModeNegotiationTime: u32, +} +impl ::core::marker::Copy for IKEEXT_KEYMODULE_STATISTICS1 {} +impl ::core::clone::Clone for IKEEXT_KEYMODULE_STATISTICS1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_NAME_CREDENTIAL0 { + pub principalName: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for IKEEXT_NAME_CREDENTIAL0 {} +impl ::core::clone::Clone for IKEEXT_NAME_CREDENTIAL0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_NTLM_V2_AUTHENTICATION0 { + pub flags: u32, +} +impl ::core::marker::Copy for IKEEXT_NTLM_V2_AUTHENTICATION0 {} +impl ::core::clone::Clone for IKEEXT_NTLM_V2_AUTHENTICATION0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_POLICY0 { + pub softExpirationTime: u32, + pub numAuthenticationMethods: u32, + pub authenticationMethods: *mut IKEEXT_AUTHENTICATION_METHOD0, + pub initiatorImpersonationType: IKEEXT_AUTHENTICATION_IMPERSONATION_TYPE, + pub numIkeProposals: u32, + pub ikeProposals: *mut IKEEXT_PROPOSAL0, + pub flags: IKEEXT_POLICY_FLAG, + pub maxDynamicFilters: u32, +} +impl ::core::marker::Copy for IKEEXT_POLICY0 {} +impl ::core::clone::Clone for IKEEXT_POLICY0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_POLICY1 { + pub softExpirationTime: u32, + pub numAuthenticationMethods: u32, + pub authenticationMethods: *mut IKEEXT_AUTHENTICATION_METHOD1, + pub initiatorImpersonationType: IKEEXT_AUTHENTICATION_IMPERSONATION_TYPE, + pub numIkeProposals: u32, + pub ikeProposals: *mut IKEEXT_PROPOSAL0, + pub flags: IKEEXT_POLICY_FLAG, + pub maxDynamicFilters: u32, + pub retransmitDurationSecs: u32, +} +impl ::core::marker::Copy for IKEEXT_POLICY1 {} +impl ::core::clone::Clone for IKEEXT_POLICY1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_POLICY2 { + pub softExpirationTime: u32, + pub numAuthenticationMethods: u32, + pub authenticationMethods: *mut IKEEXT_AUTHENTICATION_METHOD2, + pub initiatorImpersonationType: IKEEXT_AUTHENTICATION_IMPERSONATION_TYPE, + pub numIkeProposals: u32, + pub ikeProposals: *mut IKEEXT_PROPOSAL0, + pub flags: IKEEXT_POLICY_FLAG, + pub maxDynamicFilters: u32, + pub retransmitDurationSecs: u32, +} +impl ::core::marker::Copy for IKEEXT_POLICY2 {} +impl ::core::clone::Clone for IKEEXT_POLICY2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_PRESHARED_KEY_AUTHENTICATION0 { + pub presharedKey: FWP_BYTE_BLOB, +} +impl ::core::marker::Copy for IKEEXT_PRESHARED_KEY_AUTHENTICATION0 {} +impl ::core::clone::Clone for IKEEXT_PRESHARED_KEY_AUTHENTICATION0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_PRESHARED_KEY_AUTHENTICATION1 { + pub presharedKey: FWP_BYTE_BLOB, + pub flags: IKEEXT_PRESHARED_KEY_AUTHENTICATION_FLAGS, +} +impl ::core::marker::Copy for IKEEXT_PRESHARED_KEY_AUTHENTICATION1 {} +impl ::core::clone::Clone for IKEEXT_PRESHARED_KEY_AUTHENTICATION1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_PROPOSAL0 { + pub cipherAlgorithm: IKEEXT_CIPHER_ALGORITHM0, + pub integrityAlgorithm: IKEEXT_INTEGRITY_ALGORITHM0, + pub maxLifetimeSeconds: u32, + pub dhGroup: IKEEXT_DH_GROUP, + pub quickModeLimit: u32, +} +impl ::core::marker::Copy for IKEEXT_PROPOSAL0 {} +impl ::core::clone::Clone for IKEEXT_PROPOSAL0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_RESERVED_AUTHENTICATION0 { + pub flags: IKEEXT_RESERVED_AUTHENTICATION_FLAGS, +} +impl ::core::marker::Copy for IKEEXT_RESERVED_AUTHENTICATION0 {} +impl ::core::clone::Clone for IKEEXT_RESERVED_AUTHENTICATION0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_SA_DETAILS0 { + pub saId: u64, + pub keyModuleType: IKEEXT_KEY_MODULE_TYPE, + pub ipVersion: FWP_IP_VERSION, + pub Anonymous: IKEEXT_SA_DETAILS0_0, + pub ikeTraffic: IKEEXT_TRAFFIC0, + pub ikeProposal: IKEEXT_PROPOSAL0, + pub cookiePair: IKEEXT_COOKIE_PAIR0, + pub ikeCredentials: IKEEXT_CREDENTIALS0, + pub ikePolicyKey: ::windows_sys::core::GUID, + pub virtualIfTunnelId: u64, +} +impl ::core::marker::Copy for IKEEXT_SA_DETAILS0 {} +impl ::core::clone::Clone for IKEEXT_SA_DETAILS0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IKEEXT_SA_DETAILS0_0 { + pub v4UdpEncapsulation: *mut IPSEC_V4_UDP_ENCAPSULATION0, +} +impl ::core::marker::Copy for IKEEXT_SA_DETAILS0_0 {} +impl ::core::clone::Clone for IKEEXT_SA_DETAILS0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_SA_DETAILS1 { + pub saId: u64, + pub keyModuleType: IKEEXT_KEY_MODULE_TYPE, + pub ipVersion: FWP_IP_VERSION, + pub Anonymous: IKEEXT_SA_DETAILS1_0, + pub ikeTraffic: IKEEXT_TRAFFIC0, + pub ikeProposal: IKEEXT_PROPOSAL0, + pub cookiePair: IKEEXT_COOKIE_PAIR0, + pub ikeCredentials: IKEEXT_CREDENTIALS1, + pub ikePolicyKey: ::windows_sys::core::GUID, + pub virtualIfTunnelId: u64, + pub correlationKey: FWP_BYTE_BLOB, +} +impl ::core::marker::Copy for IKEEXT_SA_DETAILS1 {} +impl ::core::clone::Clone for IKEEXT_SA_DETAILS1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IKEEXT_SA_DETAILS1_0 { + pub v4UdpEncapsulation: *mut IPSEC_V4_UDP_ENCAPSULATION0, +} +impl ::core::marker::Copy for IKEEXT_SA_DETAILS1_0 {} +impl ::core::clone::Clone for IKEEXT_SA_DETAILS1_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_SA_DETAILS2 { + pub saId: u64, + pub keyModuleType: IKEEXT_KEY_MODULE_TYPE, + pub ipVersion: FWP_IP_VERSION, + pub Anonymous: IKEEXT_SA_DETAILS2_0, + pub ikeTraffic: IKEEXT_TRAFFIC0, + pub ikeProposal: IKEEXT_PROPOSAL0, + pub cookiePair: IKEEXT_COOKIE_PAIR0, + pub ikeCredentials: IKEEXT_CREDENTIALS2, + pub ikePolicyKey: ::windows_sys::core::GUID, + pub virtualIfTunnelId: u64, + pub correlationKey: FWP_BYTE_BLOB, +} +impl ::core::marker::Copy for IKEEXT_SA_DETAILS2 {} +impl ::core::clone::Clone for IKEEXT_SA_DETAILS2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IKEEXT_SA_DETAILS2_0 { + pub v4UdpEncapsulation: *mut IPSEC_V4_UDP_ENCAPSULATION0, +} +impl ::core::marker::Copy for IKEEXT_SA_DETAILS2_0 {} +impl ::core::clone::Clone for IKEEXT_SA_DETAILS2_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct IKEEXT_SA_ENUM_TEMPLATE0 { + pub localSubNet: FWP_CONDITION_VALUE0, + pub remoteSubNet: FWP_CONDITION_VALUE0, + pub localMainModeCertHash: FWP_BYTE_BLOB, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for IKEEXT_SA_ENUM_TEMPLATE0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for IKEEXT_SA_ENUM_TEMPLATE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_STATISTICS0 { + pub ikeStatistics: IKEEXT_KEYMODULE_STATISTICS0, + pub authipStatistics: IKEEXT_KEYMODULE_STATISTICS0, + pub commonStatistics: IKEEXT_COMMON_STATISTICS0, +} +impl ::core::marker::Copy for IKEEXT_STATISTICS0 {} +impl ::core::clone::Clone for IKEEXT_STATISTICS0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_STATISTICS1 { + pub ikeStatistics: IKEEXT_KEYMODULE_STATISTICS1, + pub authipStatistics: IKEEXT_KEYMODULE_STATISTICS1, + pub ikeV2Statistics: IKEEXT_KEYMODULE_STATISTICS1, + pub commonStatistics: IKEEXT_COMMON_STATISTICS1, +} +impl ::core::marker::Copy for IKEEXT_STATISTICS1 {} +impl ::core::clone::Clone for IKEEXT_STATISTICS1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IKEEXT_TRAFFIC0 { + pub ipVersion: FWP_IP_VERSION, + pub Anonymous1: IKEEXT_TRAFFIC0_0, + pub Anonymous2: IKEEXT_TRAFFIC0_1, + pub authIpFilterId: u64, +} +impl ::core::marker::Copy for IKEEXT_TRAFFIC0 {} +impl ::core::clone::Clone for IKEEXT_TRAFFIC0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IKEEXT_TRAFFIC0_0 { + pub localV4Address: u32, + pub localV6Address: [u8; 16], +} +impl ::core::marker::Copy for IKEEXT_TRAFFIC0_0 {} +impl ::core::clone::Clone for IKEEXT_TRAFFIC0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IKEEXT_TRAFFIC0_1 { + pub remoteV4Address: u32, + pub remoteV6Address: [u8; 16], +} +impl ::core::marker::Copy for IKEEXT_TRAFFIC0_1 {} +impl ::core::clone::Clone for IKEEXT_TRAFFIC0_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_ADDRESS_INFO0 { + pub numV4Addresses: u32, + pub v4Addresses: *mut u32, + pub numV6Addresses: u32, + pub v6Addresses: *mut FWP_BYTE_ARRAY16, +} +impl ::core::marker::Copy for IPSEC_ADDRESS_INFO0 {} +impl ::core::clone::Clone for IPSEC_ADDRESS_INFO0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_AGGREGATE_DROP_PACKET_STATISTICS0 { + pub invalidSpisOnInbound: u32, + pub decryptionFailuresOnInbound: u32, + pub authenticationFailuresOnInbound: u32, + pub udpEspValidationFailuresOnInbound: u32, + pub replayCheckFailuresOnInbound: u32, + pub invalidClearTextInbound: u32, + pub saNotInitializedOnInbound: u32, + pub receiveOverIncorrectSaInbound: u32, + pub secureReceivesNotMatchingFilters: u32, +} +impl ::core::marker::Copy for IPSEC_AGGREGATE_DROP_PACKET_STATISTICS0 {} +impl ::core::clone::Clone for IPSEC_AGGREGATE_DROP_PACKET_STATISTICS0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_AGGREGATE_DROP_PACKET_STATISTICS1 { + pub invalidSpisOnInbound: u32, + pub decryptionFailuresOnInbound: u32, + pub authenticationFailuresOnInbound: u32, + pub udpEspValidationFailuresOnInbound: u32, + pub replayCheckFailuresOnInbound: u32, + pub invalidClearTextInbound: u32, + pub saNotInitializedOnInbound: u32, + pub receiveOverIncorrectSaInbound: u32, + pub secureReceivesNotMatchingFilters: u32, + pub totalDropPacketsInbound: u32, +} +impl ::core::marker::Copy for IPSEC_AGGREGATE_DROP_PACKET_STATISTICS1 {} +impl ::core::clone::Clone for IPSEC_AGGREGATE_DROP_PACKET_STATISTICS1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_AGGREGATE_SA_STATISTICS0 { + pub activeSas: u32, + pub pendingSaNegotiations: u32, + pub totalSasAdded: u32, + pub totalSasDeleted: u32, + pub successfulRekeys: u32, + pub activeTunnels: u32, + pub offloadedSas: u32, +} +impl ::core::marker::Copy for IPSEC_AGGREGATE_SA_STATISTICS0 {} +impl ::core::clone::Clone for IPSEC_AGGREGATE_SA_STATISTICS0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_AH_DROP_PACKET_STATISTICS0 { + pub invalidSpisOnInbound: u32, + pub authenticationFailuresOnInbound: u32, + pub replayCheckFailuresOnInbound: u32, + pub saNotInitializedOnInbound: u32, +} +impl ::core::marker::Copy for IPSEC_AH_DROP_PACKET_STATISTICS0 {} +impl ::core::clone::Clone for IPSEC_AH_DROP_PACKET_STATISTICS0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_AUTH_AND_CIPHER_TRANSFORM0 { + pub authTransform: IPSEC_AUTH_TRANSFORM0, + pub cipherTransform: IPSEC_CIPHER_TRANSFORM0, +} +impl ::core::marker::Copy for IPSEC_AUTH_AND_CIPHER_TRANSFORM0 {} +impl ::core::clone::Clone for IPSEC_AUTH_AND_CIPHER_TRANSFORM0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_AUTH_TRANSFORM0 { + pub authTransformId: IPSEC_AUTH_TRANSFORM_ID0, + pub cryptoModuleId: *mut ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for IPSEC_AUTH_TRANSFORM0 {} +impl ::core::clone::Clone for IPSEC_AUTH_TRANSFORM0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_AUTH_TRANSFORM_ID0 { + pub authType: IPSEC_AUTH_TYPE, + pub authConfig: u8, +} +impl ::core::marker::Copy for IPSEC_AUTH_TRANSFORM_ID0 {} +impl ::core::clone::Clone for IPSEC_AUTH_TRANSFORM_ID0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_CIPHER_TRANSFORM0 { + pub cipherTransformId: IPSEC_CIPHER_TRANSFORM_ID0, + pub cryptoModuleId: *mut ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for IPSEC_CIPHER_TRANSFORM0 {} +impl ::core::clone::Clone for IPSEC_CIPHER_TRANSFORM0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_CIPHER_TRANSFORM_ID0 { + pub cipherType: IPSEC_CIPHER_TYPE, + pub cipherConfig: u8, +} +impl ::core::marker::Copy for IPSEC_CIPHER_TRANSFORM_ID0 {} +impl ::core::clone::Clone for IPSEC_CIPHER_TRANSFORM_ID0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_DOSP_OPTIONS0 { + pub stateIdleTimeoutSeconds: u32, + pub perIPRateLimitQueueIdleTimeoutSeconds: u32, + pub ipV6IPsecUnauthDscp: u8, + pub ipV6IPsecUnauthRateLimitBytesPerSec: u32, + pub ipV6IPsecUnauthPerIPRateLimitBytesPerSec: u32, + pub ipV6IPsecAuthDscp: u8, + pub ipV6IPsecAuthRateLimitBytesPerSec: u32, + pub icmpV6Dscp: u8, + pub icmpV6RateLimitBytesPerSec: u32, + pub ipV6FilterExemptDscp: u8, + pub ipV6FilterExemptRateLimitBytesPerSec: u32, + pub defBlockExemptDscp: u8, + pub defBlockExemptRateLimitBytesPerSec: u32, + pub maxStateEntries: u32, + pub maxPerIPRateLimitQueues: u32, + pub flags: IPSEC_DOSP_FLAGS, + pub numPublicIFLuids: u32, + pub publicIFLuids: *mut u64, + pub numInternalIFLuids: u32, + pub internalIFLuids: *mut u64, + pub publicV6AddrMask: FWP_V6_ADDR_AND_MASK, + pub internalV6AddrMask: FWP_V6_ADDR_AND_MASK, +} +impl ::core::marker::Copy for IPSEC_DOSP_OPTIONS0 {} +impl ::core::clone::Clone for IPSEC_DOSP_OPTIONS0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_DOSP_STATE0 { + pub publicHostV6Addr: [u8; 16], + pub internalHostV6Addr: [u8; 16], + pub totalInboundIPv6IPsecAuthPackets: u64, + pub totalOutboundIPv6IPsecAuthPackets: u64, + pub durationSecs: u32, +} +impl ::core::marker::Copy for IPSEC_DOSP_STATE0 {} +impl ::core::clone::Clone for IPSEC_DOSP_STATE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_DOSP_STATE_ENUM_TEMPLATE0 { + pub publicV6AddrMask: FWP_V6_ADDR_AND_MASK, + pub internalV6AddrMask: FWP_V6_ADDR_AND_MASK, +} +impl ::core::marker::Copy for IPSEC_DOSP_STATE_ENUM_TEMPLATE0 {} +impl ::core::clone::Clone for IPSEC_DOSP_STATE_ENUM_TEMPLATE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_DOSP_STATISTICS0 { + pub totalStateEntriesCreated: u64, + pub currentStateEntries: u64, + pub totalInboundAllowedIPv6IPsecUnauthPkts: u64, + pub totalInboundRatelimitDiscardedIPv6IPsecUnauthPkts: u64, + pub totalInboundPerIPRatelimitDiscardedIPv6IPsecUnauthPkts: u64, + pub totalInboundOtherDiscardedIPv6IPsecUnauthPkts: u64, + pub totalInboundAllowedIPv6IPsecAuthPkts: u64, + pub totalInboundRatelimitDiscardedIPv6IPsecAuthPkts: u64, + pub totalInboundOtherDiscardedIPv6IPsecAuthPkts: u64, + pub totalInboundAllowedICMPv6Pkts: u64, + pub totalInboundRatelimitDiscardedICMPv6Pkts: u64, + pub totalInboundAllowedIPv6FilterExemptPkts: u64, + pub totalInboundRatelimitDiscardedIPv6FilterExemptPkts: u64, + pub totalInboundDiscardedIPv6FilterBlockPkts: u64, + pub totalInboundAllowedDefBlockExemptPkts: u64, + pub totalInboundRatelimitDiscardedDefBlockExemptPkts: u64, + pub totalInboundDiscardedDefBlockPkts: u64, + pub currentInboundIPv6IPsecUnauthPerIPRateLimitQueues: u64, +} +impl ::core::marker::Copy for IPSEC_DOSP_STATISTICS0 {} +impl ::core::clone::Clone for IPSEC_DOSP_STATISTICS0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_ESP_DROP_PACKET_STATISTICS0 { + pub invalidSpisOnInbound: u32, + pub decryptionFailuresOnInbound: u32, + pub authenticationFailuresOnInbound: u32, + pub replayCheckFailuresOnInbound: u32, + pub saNotInitializedOnInbound: u32, +} +impl ::core::marker::Copy for IPSEC_ESP_DROP_PACKET_STATISTICS0 {} +impl ::core::clone::Clone for IPSEC_ESP_DROP_PACKET_STATISTICS0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_GETSPI0 { + pub inboundIpsecTraffic: IPSEC_TRAFFIC0, + pub ipVersion: FWP_IP_VERSION, + pub Anonymous: IPSEC_GETSPI0_0, + pub rngCryptoModuleID: *mut ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for IPSEC_GETSPI0 {} +impl ::core::clone::Clone for IPSEC_GETSPI0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IPSEC_GETSPI0_0 { + pub inboundUdpEncapsulation: *mut IPSEC_V4_UDP_ENCAPSULATION0, +} +impl ::core::marker::Copy for IPSEC_GETSPI0_0 {} +impl ::core::clone::Clone for IPSEC_GETSPI0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_GETSPI1 { + pub inboundIpsecTraffic: IPSEC_TRAFFIC1, + pub ipVersion: FWP_IP_VERSION, + pub Anonymous: IPSEC_GETSPI1_0, + pub rngCryptoModuleID: *mut ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for IPSEC_GETSPI1 {} +impl ::core::clone::Clone for IPSEC_GETSPI1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IPSEC_GETSPI1_0 { + pub inboundUdpEncapsulation: *mut IPSEC_V4_UDP_ENCAPSULATION0, +} +impl ::core::marker::Copy for IPSEC_GETSPI1_0 {} +impl ::core::clone::Clone for IPSEC_GETSPI1_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_ID0 { + pub mmTargetName: ::windows_sys::core::PWSTR, + pub emTargetName: ::windows_sys::core::PWSTR, + pub numTokens: u32, + pub tokens: *mut IPSEC_TOKEN0, + pub explicitCredentials: u64, + pub logonId: u64, +} +impl ::core::marker::Copy for IPSEC_ID0 {} +impl ::core::clone::Clone for IPSEC_ID0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_KEYING_POLICY0 { + pub numKeyMods: u32, + pub keyModKeys: *mut ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for IPSEC_KEYING_POLICY0 {} +impl ::core::clone::Clone for IPSEC_KEYING_POLICY0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_KEYING_POLICY1 { + pub numKeyMods: u32, + pub keyModKeys: *mut ::windows_sys::core::GUID, + pub flags: u32, +} +impl ::core::marker::Copy for IPSEC_KEYING_POLICY1 {} +impl ::core::clone::Clone for IPSEC_KEYING_POLICY1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_KEYMODULE_STATE0 { + pub keyModuleKey: ::windows_sys::core::GUID, + pub stateBlob: FWP_BYTE_BLOB, +} +impl ::core::marker::Copy for IPSEC_KEYMODULE_STATE0 {} +impl ::core::clone::Clone for IPSEC_KEYMODULE_STATE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_KEY_MANAGER0 { + pub keyManagerKey: ::windows_sys::core::GUID, + pub displayData: FWPM_DISPLAY_DATA0, + pub flags: u32, + pub keyDictationTimeoutHint: u8, +} +impl ::core::marker::Copy for IPSEC_KEY_MANAGER0 {} +impl ::core::clone::Clone for IPSEC_KEY_MANAGER0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct IPSEC_KEY_MANAGER_CALLBACKS0 { + pub reserved: ::windows_sys::core::GUID, + pub flags: u32, + pub keyDictationCheck: IPSEC_KEY_MANAGER_KEY_DICTATION_CHECK0, + pub keyDictation: IPSEC_KEY_MANAGER_DICTATE_KEY0, + pub keyNotify: IPSEC_KEY_MANAGER_NOTIFY_KEY0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for IPSEC_KEY_MANAGER_CALLBACKS0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for IPSEC_KEY_MANAGER_CALLBACKS0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_PROPOSAL0 { + pub lifetime: IPSEC_SA_LIFETIME0, + pub numSaTransforms: u32, + pub saTransforms: *mut IPSEC_SA_TRANSFORM0, + pub pfsGroup: IPSEC_PFS_GROUP, +} +impl ::core::marker::Copy for IPSEC_PROPOSAL0 {} +impl ::core::clone::Clone for IPSEC_PROPOSAL0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_SA0 { + pub spi: u32, + pub saTransformType: IPSEC_TRANSFORM_TYPE, + pub Anonymous: IPSEC_SA0_0, +} +impl ::core::marker::Copy for IPSEC_SA0 {} +impl ::core::clone::Clone for IPSEC_SA0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IPSEC_SA0_0 { + pub ahInformation: *mut IPSEC_SA_AUTH_INFORMATION0, + pub espAuthInformation: *mut IPSEC_SA_AUTH_INFORMATION0, + pub espCipherInformation: *mut IPSEC_SA_CIPHER_INFORMATION0, + pub espAuthAndCipherInformation: *mut IPSEC_SA_AUTH_AND_CIPHER_INFORMATION0, + pub espAuthFwInformation: *mut IPSEC_SA_AUTH_INFORMATION0, +} +impl ::core::marker::Copy for IPSEC_SA0_0 {} +impl ::core::clone::Clone for IPSEC_SA0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_SA_AUTH_AND_CIPHER_INFORMATION0 { + pub saCipherInformation: IPSEC_SA_CIPHER_INFORMATION0, + pub saAuthInformation: IPSEC_SA_AUTH_INFORMATION0, +} +impl ::core::marker::Copy for IPSEC_SA_AUTH_AND_CIPHER_INFORMATION0 {} +impl ::core::clone::Clone for IPSEC_SA_AUTH_AND_CIPHER_INFORMATION0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_SA_AUTH_INFORMATION0 { + pub authTransform: IPSEC_AUTH_TRANSFORM0, + pub authKey: FWP_BYTE_BLOB, +} +impl ::core::marker::Copy for IPSEC_SA_AUTH_INFORMATION0 {} +impl ::core::clone::Clone for IPSEC_SA_AUTH_INFORMATION0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_SA_BUNDLE0 { + pub flags: IPSEC_SA_BUNDLE_FLAGS, + pub lifetime: IPSEC_SA_LIFETIME0, + pub idleTimeoutSeconds: u32, + pub ndAllowClearTimeoutSeconds: u32, + pub ipsecId: *mut IPSEC_ID0, + pub napContext: u32, + pub qmSaId: u32, + pub numSAs: u32, + pub saList: *mut IPSEC_SA0, + pub keyModuleState: *mut IPSEC_KEYMODULE_STATE0, + pub ipVersion: FWP_IP_VERSION, + pub Anonymous: IPSEC_SA_BUNDLE0_0, + pub mmSaId: u64, + pub pfsGroup: IPSEC_PFS_GROUP, +} +impl ::core::marker::Copy for IPSEC_SA_BUNDLE0 {} +impl ::core::clone::Clone for IPSEC_SA_BUNDLE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IPSEC_SA_BUNDLE0_0 { + pub peerV4PrivateAddress: u32, +} +impl ::core::marker::Copy for IPSEC_SA_BUNDLE0_0 {} +impl ::core::clone::Clone for IPSEC_SA_BUNDLE0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_SA_BUNDLE1 { + pub flags: IPSEC_SA_BUNDLE_FLAGS, + pub lifetime: IPSEC_SA_LIFETIME0, + pub idleTimeoutSeconds: u32, + pub ndAllowClearTimeoutSeconds: u32, + pub ipsecId: *mut IPSEC_ID0, + pub napContext: u32, + pub qmSaId: u32, + pub numSAs: u32, + pub saList: *mut IPSEC_SA0, + pub keyModuleState: *mut IPSEC_KEYMODULE_STATE0, + pub ipVersion: FWP_IP_VERSION, + pub Anonymous: IPSEC_SA_BUNDLE1_0, + pub mmSaId: u64, + pub pfsGroup: IPSEC_PFS_GROUP, + pub saLookupContext: ::windows_sys::core::GUID, + pub qmFilterId: u64, +} +impl ::core::marker::Copy for IPSEC_SA_BUNDLE1 {} +impl ::core::clone::Clone for IPSEC_SA_BUNDLE1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IPSEC_SA_BUNDLE1_0 { + pub peerV4PrivateAddress: u32, +} +impl ::core::marker::Copy for IPSEC_SA_BUNDLE1_0 {} +impl ::core::clone::Clone for IPSEC_SA_BUNDLE1_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_SA_CIPHER_INFORMATION0 { + pub cipherTransform: IPSEC_CIPHER_TRANSFORM0, + pub cipherKey: FWP_BYTE_BLOB, +} +impl ::core::marker::Copy for IPSEC_SA_CIPHER_INFORMATION0 {} +impl ::core::clone::Clone for IPSEC_SA_CIPHER_INFORMATION0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct IPSEC_SA_CONTEXT0 { + pub saContextId: u64, + pub inboundSa: *mut IPSEC_SA_DETAILS0, + pub outboundSa: *mut IPSEC_SA_DETAILS0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for IPSEC_SA_CONTEXT0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for IPSEC_SA_CONTEXT0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct IPSEC_SA_CONTEXT1 { + pub saContextId: u64, + pub inboundSa: *mut IPSEC_SA_DETAILS1, + pub outboundSa: *mut IPSEC_SA_DETAILS1, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for IPSEC_SA_CONTEXT1 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for IPSEC_SA_CONTEXT1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_SA_CONTEXT_CHANGE0 { + pub changeType: IPSEC_SA_CONTEXT_EVENT_TYPE0, + pub saContextId: u64, +} +impl ::core::marker::Copy for IPSEC_SA_CONTEXT_CHANGE0 {} +impl ::core::clone::Clone for IPSEC_SA_CONTEXT_CHANGE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct IPSEC_SA_CONTEXT_ENUM_TEMPLATE0 { + pub localSubNet: FWP_CONDITION_VALUE0, + pub remoteSubNet: FWP_CONDITION_VALUE0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for IPSEC_SA_CONTEXT_ENUM_TEMPLATE0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for IPSEC_SA_CONTEXT_ENUM_TEMPLATE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct IPSEC_SA_CONTEXT_SUBSCRIPTION0 { + pub enumTemplate: *mut IPSEC_SA_CONTEXT_ENUM_TEMPLATE0, + pub flags: u32, + pub sessionKey: ::windows_sys::core::GUID, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for IPSEC_SA_CONTEXT_SUBSCRIPTION0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for IPSEC_SA_CONTEXT_SUBSCRIPTION0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct IPSEC_SA_DETAILS0 { + pub ipVersion: FWP_IP_VERSION, + pub saDirection: FWP_DIRECTION, + pub traffic: IPSEC_TRAFFIC0, + pub saBundle: IPSEC_SA_BUNDLE0, + pub Anonymous: IPSEC_SA_DETAILS0_0, + pub transportFilter: *mut FWPM_FILTER0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for IPSEC_SA_DETAILS0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for IPSEC_SA_DETAILS0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union IPSEC_SA_DETAILS0_0 { + pub udpEncapsulation: *mut IPSEC_V4_UDP_ENCAPSULATION0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for IPSEC_SA_DETAILS0_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for IPSEC_SA_DETAILS0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct IPSEC_SA_DETAILS1 { + pub ipVersion: FWP_IP_VERSION, + pub saDirection: FWP_DIRECTION, + pub traffic: IPSEC_TRAFFIC1, + pub saBundle: IPSEC_SA_BUNDLE1, + pub Anonymous: IPSEC_SA_DETAILS1_0, + pub transportFilter: *mut FWPM_FILTER0, + pub virtualIfTunnelInfo: IPSEC_VIRTUAL_IF_TUNNEL_INFO0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for IPSEC_SA_DETAILS1 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for IPSEC_SA_DETAILS1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union IPSEC_SA_DETAILS1_0 { + pub udpEncapsulation: *mut IPSEC_V4_UDP_ENCAPSULATION0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for IPSEC_SA_DETAILS1_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for IPSEC_SA_DETAILS1_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_SA_ENUM_TEMPLATE0 { + pub saDirection: FWP_DIRECTION, +} +impl ::core::marker::Copy for IPSEC_SA_ENUM_TEMPLATE0 {} +impl ::core::clone::Clone for IPSEC_SA_ENUM_TEMPLATE0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_SA_IDLE_TIMEOUT0 { + pub idleTimeoutSeconds: u32, + pub idleTimeoutSecondsFailOver: u32, +} +impl ::core::marker::Copy for IPSEC_SA_IDLE_TIMEOUT0 {} +impl ::core::clone::Clone for IPSEC_SA_IDLE_TIMEOUT0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_SA_LIFETIME0 { + pub lifetimeSeconds: u32, + pub lifetimeKilobytes: u32, + pub lifetimePackets: u32, +} +impl ::core::marker::Copy for IPSEC_SA_LIFETIME0 {} +impl ::core::clone::Clone for IPSEC_SA_LIFETIME0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_SA_TRANSFORM0 { + pub ipsecTransformType: IPSEC_TRANSFORM_TYPE, + pub Anonymous: IPSEC_SA_TRANSFORM0_0, +} +impl ::core::marker::Copy for IPSEC_SA_TRANSFORM0 {} +impl ::core::clone::Clone for IPSEC_SA_TRANSFORM0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IPSEC_SA_TRANSFORM0_0 { + pub ahTransform: *mut IPSEC_AUTH_TRANSFORM0, + pub espAuthTransform: *mut IPSEC_AUTH_TRANSFORM0, + pub espCipherTransform: *mut IPSEC_CIPHER_TRANSFORM0, + pub espAuthAndCipherTransform: *mut IPSEC_AUTH_AND_CIPHER_TRANSFORM0, + pub espAuthFwTransform: *mut IPSEC_AUTH_TRANSFORM0, +} +impl ::core::marker::Copy for IPSEC_SA_TRANSFORM0_0 {} +impl ::core::clone::Clone for IPSEC_SA_TRANSFORM0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_STATISTICS0 { + pub aggregateSaStatistics: IPSEC_AGGREGATE_SA_STATISTICS0, + pub espDropPacketStatistics: IPSEC_ESP_DROP_PACKET_STATISTICS0, + pub ahDropPacketStatistics: IPSEC_AH_DROP_PACKET_STATISTICS0, + pub aggregateDropPacketStatistics: IPSEC_AGGREGATE_DROP_PACKET_STATISTICS0, + pub inboundTrafficStatistics: IPSEC_TRAFFIC_STATISTICS0, + pub outboundTrafficStatistics: IPSEC_TRAFFIC_STATISTICS0, +} +impl ::core::marker::Copy for IPSEC_STATISTICS0 {} +impl ::core::clone::Clone for IPSEC_STATISTICS0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_STATISTICS1 { + pub aggregateSaStatistics: IPSEC_AGGREGATE_SA_STATISTICS0, + pub espDropPacketStatistics: IPSEC_ESP_DROP_PACKET_STATISTICS0, + pub ahDropPacketStatistics: IPSEC_AH_DROP_PACKET_STATISTICS0, + pub aggregateDropPacketStatistics: IPSEC_AGGREGATE_DROP_PACKET_STATISTICS1, + pub inboundTrafficStatistics: IPSEC_TRAFFIC_STATISTICS1, + pub outboundTrafficStatistics: IPSEC_TRAFFIC_STATISTICS1, +} +impl ::core::marker::Copy for IPSEC_STATISTICS1 {} +impl ::core::clone::Clone for IPSEC_STATISTICS1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_TOKEN0 { + pub r#type: IPSEC_TOKEN_TYPE, + pub principal: IPSEC_TOKEN_PRINCIPAL, + pub mode: IPSEC_TOKEN_MODE, + pub token: u64, +} +impl ::core::marker::Copy for IPSEC_TOKEN0 {} +impl ::core::clone::Clone for IPSEC_TOKEN0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_TRAFFIC0 { + pub ipVersion: FWP_IP_VERSION, + pub Anonymous1: IPSEC_TRAFFIC0_0, + pub Anonymous2: IPSEC_TRAFFIC0_1, + pub trafficType: IPSEC_TRAFFIC_TYPE, + pub Anonymous3: IPSEC_TRAFFIC0_2, + pub remotePort: u16, +} +impl ::core::marker::Copy for IPSEC_TRAFFIC0 {} +impl ::core::clone::Clone for IPSEC_TRAFFIC0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IPSEC_TRAFFIC0_0 { + pub localV4Address: u32, + pub localV6Address: [u8; 16], +} +impl ::core::marker::Copy for IPSEC_TRAFFIC0_0 {} +impl ::core::clone::Clone for IPSEC_TRAFFIC0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IPSEC_TRAFFIC0_1 { + pub remoteV4Address: u32, + pub remoteV6Address: [u8; 16], +} +impl ::core::marker::Copy for IPSEC_TRAFFIC0_1 {} +impl ::core::clone::Clone for IPSEC_TRAFFIC0_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IPSEC_TRAFFIC0_2 { + pub ipsecFilterId: u64, + pub tunnelPolicyId: u64, +} +impl ::core::marker::Copy for IPSEC_TRAFFIC0_2 {} +impl ::core::clone::Clone for IPSEC_TRAFFIC0_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_TRAFFIC1 { + pub ipVersion: FWP_IP_VERSION, + pub Anonymous1: IPSEC_TRAFFIC1_0, + pub Anonymous2: IPSEC_TRAFFIC1_1, + pub trafficType: IPSEC_TRAFFIC_TYPE, + pub Anonymous3: IPSEC_TRAFFIC1_2, + pub remotePort: u16, + pub localPort: u16, + pub ipProtocol: u8, + pub localIfLuid: u64, + pub realIfProfileId: u32, +} +impl ::core::marker::Copy for IPSEC_TRAFFIC1 {} +impl ::core::clone::Clone for IPSEC_TRAFFIC1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IPSEC_TRAFFIC1_0 { + pub localV4Address: u32, + pub localV6Address: [u8; 16], +} +impl ::core::marker::Copy for IPSEC_TRAFFIC1_0 {} +impl ::core::clone::Clone for IPSEC_TRAFFIC1_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IPSEC_TRAFFIC1_1 { + pub remoteV4Address: u32, + pub remoteV6Address: [u8; 16], +} +impl ::core::marker::Copy for IPSEC_TRAFFIC1_1 {} +impl ::core::clone::Clone for IPSEC_TRAFFIC1_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IPSEC_TRAFFIC1_2 { + pub ipsecFilterId: u64, + pub tunnelPolicyId: u64, +} +impl ::core::marker::Copy for IPSEC_TRAFFIC1_2 {} +impl ::core::clone::Clone for IPSEC_TRAFFIC1_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_TRAFFIC_SELECTOR0 { + pub protocolId: u8, + pub portStart: u16, + pub portEnd: u16, + pub ipVersion: FWP_IP_VERSION, + pub Anonymous1: IPSEC_TRAFFIC_SELECTOR0_0, + pub Anonymous2: IPSEC_TRAFFIC_SELECTOR0_1, +} +impl ::core::marker::Copy for IPSEC_TRAFFIC_SELECTOR0 {} +impl ::core::clone::Clone for IPSEC_TRAFFIC_SELECTOR0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IPSEC_TRAFFIC_SELECTOR0_0 { + pub startV4Address: u32, + pub startV6Address: [u8; 16], +} +impl ::core::marker::Copy for IPSEC_TRAFFIC_SELECTOR0_0 {} +impl ::core::clone::Clone for IPSEC_TRAFFIC_SELECTOR0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IPSEC_TRAFFIC_SELECTOR0_1 { + pub endV4Address: u32, + pub endV6Address: [u8; 16], +} +impl ::core::marker::Copy for IPSEC_TRAFFIC_SELECTOR0_1 {} +impl ::core::clone::Clone for IPSEC_TRAFFIC_SELECTOR0_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_TRAFFIC_SELECTOR_POLICY0 { + pub flags: u32, + pub numLocalTrafficSelectors: u32, + pub localTrafficSelectors: *mut IPSEC_TRAFFIC_SELECTOR0, + pub numRemoteTrafficSelectors: u32, + pub remoteTrafficSelectors: *mut IPSEC_TRAFFIC_SELECTOR0, +} +impl ::core::marker::Copy for IPSEC_TRAFFIC_SELECTOR_POLICY0 {} +impl ::core::clone::Clone for IPSEC_TRAFFIC_SELECTOR_POLICY0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_TRAFFIC_STATISTICS0 { + pub encryptedByteCount: u64, + pub authenticatedAHByteCount: u64, + pub authenticatedESPByteCount: u64, + pub transportByteCount: u64, + pub tunnelByteCount: u64, + pub offloadByteCount: u64, +} +impl ::core::marker::Copy for IPSEC_TRAFFIC_STATISTICS0 {} +impl ::core::clone::Clone for IPSEC_TRAFFIC_STATISTICS0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_TRAFFIC_STATISTICS1 { + pub encryptedByteCount: u64, + pub authenticatedAHByteCount: u64, + pub authenticatedESPByteCount: u64, + pub transportByteCount: u64, + pub tunnelByteCount: u64, + pub offloadByteCount: u64, + pub totalSuccessfulPackets: u64, +} +impl ::core::marker::Copy for IPSEC_TRAFFIC_STATISTICS1 {} +impl ::core::clone::Clone for IPSEC_TRAFFIC_STATISTICS1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_TRANSPORT_POLICY0 { + pub numIpsecProposals: u32, + pub ipsecProposals: *mut IPSEC_PROPOSAL0, + pub flags: IPSEC_POLICY_FLAG, + pub ndAllowClearTimeoutSeconds: u32, + pub saIdleTimeout: IPSEC_SA_IDLE_TIMEOUT0, + pub emPolicy: *mut IKEEXT_EM_POLICY0, +} +impl ::core::marker::Copy for IPSEC_TRANSPORT_POLICY0 {} +impl ::core::clone::Clone for IPSEC_TRANSPORT_POLICY0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_TRANSPORT_POLICY1 { + pub numIpsecProposals: u32, + pub ipsecProposals: *mut IPSEC_PROPOSAL0, + pub flags: IPSEC_POLICY_FLAG, + pub ndAllowClearTimeoutSeconds: u32, + pub saIdleTimeout: IPSEC_SA_IDLE_TIMEOUT0, + pub emPolicy: *mut IKEEXT_EM_POLICY1, +} +impl ::core::marker::Copy for IPSEC_TRANSPORT_POLICY1 {} +impl ::core::clone::Clone for IPSEC_TRANSPORT_POLICY1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_TRANSPORT_POLICY2 { + pub numIpsecProposals: u32, + pub ipsecProposals: *mut IPSEC_PROPOSAL0, + pub flags: IPSEC_POLICY_FLAG, + pub ndAllowClearTimeoutSeconds: u32, + pub saIdleTimeout: IPSEC_SA_IDLE_TIMEOUT0, + pub emPolicy: *mut IKEEXT_EM_POLICY2, +} +impl ::core::marker::Copy for IPSEC_TRANSPORT_POLICY2 {} +impl ::core::clone::Clone for IPSEC_TRANSPORT_POLICY2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_TUNNEL_ENDPOINT0 { + pub ipVersion: FWP_IP_VERSION, + pub Anonymous: IPSEC_TUNNEL_ENDPOINT0_0, +} +impl ::core::marker::Copy for IPSEC_TUNNEL_ENDPOINT0 {} +impl ::core::clone::Clone for IPSEC_TUNNEL_ENDPOINT0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IPSEC_TUNNEL_ENDPOINT0_0 { + pub v4Address: u32, + pub v6Address: [u8; 16], +} +impl ::core::marker::Copy for IPSEC_TUNNEL_ENDPOINT0_0 {} +impl ::core::clone::Clone for IPSEC_TUNNEL_ENDPOINT0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_TUNNEL_ENDPOINTS0 { + pub ipVersion: FWP_IP_VERSION, + pub Anonymous1: IPSEC_TUNNEL_ENDPOINTS0_0, + pub Anonymous2: IPSEC_TUNNEL_ENDPOINTS0_1, +} +impl ::core::marker::Copy for IPSEC_TUNNEL_ENDPOINTS0 {} +impl ::core::clone::Clone for IPSEC_TUNNEL_ENDPOINTS0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IPSEC_TUNNEL_ENDPOINTS0_0 { + pub localV4Address: u32, + pub localV6Address: [u8; 16], +} +impl ::core::marker::Copy for IPSEC_TUNNEL_ENDPOINTS0_0 {} +impl ::core::clone::Clone for IPSEC_TUNNEL_ENDPOINTS0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IPSEC_TUNNEL_ENDPOINTS0_1 { + pub remoteV4Address: u32, + pub remoteV6Address: [u8; 16], +} +impl ::core::marker::Copy for IPSEC_TUNNEL_ENDPOINTS0_1 {} +impl ::core::clone::Clone for IPSEC_TUNNEL_ENDPOINTS0_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_TUNNEL_ENDPOINTS1 { + pub ipVersion: FWP_IP_VERSION, + pub Anonymous1: IPSEC_TUNNEL_ENDPOINTS1_0, + pub Anonymous2: IPSEC_TUNNEL_ENDPOINTS1_1, + pub localIfLuid: u64, +} +impl ::core::marker::Copy for IPSEC_TUNNEL_ENDPOINTS1 {} +impl ::core::clone::Clone for IPSEC_TUNNEL_ENDPOINTS1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IPSEC_TUNNEL_ENDPOINTS1_0 { + pub localV4Address: u32, + pub localV6Address: [u8; 16], +} +impl ::core::marker::Copy for IPSEC_TUNNEL_ENDPOINTS1_0 {} +impl ::core::clone::Clone for IPSEC_TUNNEL_ENDPOINTS1_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IPSEC_TUNNEL_ENDPOINTS1_1 { + pub remoteV4Address: u32, + pub remoteV6Address: [u8; 16], +} +impl ::core::marker::Copy for IPSEC_TUNNEL_ENDPOINTS1_1 {} +impl ::core::clone::Clone for IPSEC_TUNNEL_ENDPOINTS1_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_TUNNEL_ENDPOINTS2 { + pub ipVersion: FWP_IP_VERSION, + pub Anonymous1: IPSEC_TUNNEL_ENDPOINTS2_0, + pub Anonymous2: IPSEC_TUNNEL_ENDPOINTS2_1, + pub localIfLuid: u64, + pub remoteFqdn: ::windows_sys::core::PWSTR, + pub numAddresses: u32, + pub remoteAddresses: *mut IPSEC_TUNNEL_ENDPOINT0, +} +impl ::core::marker::Copy for IPSEC_TUNNEL_ENDPOINTS2 {} +impl ::core::clone::Clone for IPSEC_TUNNEL_ENDPOINTS2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IPSEC_TUNNEL_ENDPOINTS2_0 { + pub localV4Address: u32, + pub localV6Address: [u8; 16], +} +impl ::core::marker::Copy for IPSEC_TUNNEL_ENDPOINTS2_0 {} +impl ::core::clone::Clone for IPSEC_TUNNEL_ENDPOINTS2_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union IPSEC_TUNNEL_ENDPOINTS2_1 { + pub remoteV4Address: u32, + pub remoteV6Address: [u8; 16], +} +impl ::core::marker::Copy for IPSEC_TUNNEL_ENDPOINTS2_1 {} +impl ::core::clone::Clone for IPSEC_TUNNEL_ENDPOINTS2_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_TUNNEL_POLICY0 { + pub flags: IPSEC_POLICY_FLAG, + pub numIpsecProposals: u32, + pub ipsecProposals: *mut IPSEC_PROPOSAL0, + pub tunnelEndpoints: IPSEC_TUNNEL_ENDPOINTS0, + pub saIdleTimeout: IPSEC_SA_IDLE_TIMEOUT0, + pub emPolicy: *mut IKEEXT_EM_POLICY0, +} +impl ::core::marker::Copy for IPSEC_TUNNEL_POLICY0 {} +impl ::core::clone::Clone for IPSEC_TUNNEL_POLICY0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_TUNNEL_POLICY1 { + pub flags: IPSEC_POLICY_FLAG, + pub numIpsecProposals: u32, + pub ipsecProposals: *mut IPSEC_PROPOSAL0, + pub tunnelEndpoints: IPSEC_TUNNEL_ENDPOINTS1, + pub saIdleTimeout: IPSEC_SA_IDLE_TIMEOUT0, + pub emPolicy: *mut IKEEXT_EM_POLICY1, +} +impl ::core::marker::Copy for IPSEC_TUNNEL_POLICY1 {} +impl ::core::clone::Clone for IPSEC_TUNNEL_POLICY1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_TUNNEL_POLICY2 { + pub flags: IPSEC_POLICY_FLAG, + pub numIpsecProposals: u32, + pub ipsecProposals: *mut IPSEC_PROPOSAL0, + pub tunnelEndpoints: IPSEC_TUNNEL_ENDPOINTS2, + pub saIdleTimeout: IPSEC_SA_IDLE_TIMEOUT0, + pub emPolicy: *mut IKEEXT_EM_POLICY2, + pub fwdPathSaLifetime: u32, +} +impl ::core::marker::Copy for IPSEC_TUNNEL_POLICY2 {} +impl ::core::clone::Clone for IPSEC_TUNNEL_POLICY2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_TUNNEL_POLICY3 { + pub flags: u32, + pub numIpsecProposals: u32, + pub ipsecProposals: *mut IPSEC_PROPOSAL0, + pub tunnelEndpoints: IPSEC_TUNNEL_ENDPOINTS2, + pub saIdleTimeout: IPSEC_SA_IDLE_TIMEOUT0, + pub emPolicy: *mut IKEEXT_EM_POLICY2, + pub fwdPathSaLifetime: u32, + pub compartmentId: u32, + pub numTrafficSelectorPolicy: u32, + pub trafficSelectorPolicies: *mut IPSEC_TRAFFIC_SELECTOR_POLICY0, +} +impl ::core::marker::Copy for IPSEC_TUNNEL_POLICY3 {} +impl ::core::clone::Clone for IPSEC_TUNNEL_POLICY3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_V4_UDP_ENCAPSULATION0 { + pub localUdpEncapPort: u16, + pub remoteUdpEncapPort: u16, +} +impl ::core::marker::Copy for IPSEC_V4_UDP_ENCAPSULATION0 {} +impl ::core::clone::Clone for IPSEC_V4_UDP_ENCAPSULATION0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct IPSEC_VIRTUAL_IF_TUNNEL_INFO0 { + pub virtualIfTunnelId: u64, + pub trafficSelectorId: u64, +} +impl ::core::marker::Copy for IPSEC_VIRTUAL_IF_TUNNEL_INFO0 {} +impl ::core::clone::Clone for IPSEC_VIRTUAL_IF_TUNNEL_INFO0 { + fn clone(&self) -> Self { + *self + } +} +pub type FWPM_CALLOUT_CHANGE_CALLBACK0 = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, change: *const FWPM_CALLOUT_CHANGE0) -> ()>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type FWPM_CONNECTION_CALLBACK0 = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, eventtype: FWPM_CONNECTION_EVENT_TYPE, connection: *const FWPM_CONNECTION0) -> ()>; +pub type FWPM_DYNAMIC_KEYWORD_CALLBACK0 = ::core::option::Option<unsafe extern "system" fn(notification: *mut ::core::ffi::c_void, context: *mut ::core::ffi::c_void) -> ()>; +pub type FWPM_FILTER_CHANGE_CALLBACK0 = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, change: *const FWPM_FILTER_CHANGE0) -> ()>; +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub type FWPM_NET_EVENT_CALLBACK0 = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, event: *const FWPM_NET_EVENT1) -> ()>; +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub type FWPM_NET_EVENT_CALLBACK1 = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, event: *const FWPM_NET_EVENT2) -> ()>; +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub type FWPM_NET_EVENT_CALLBACK2 = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, event: *const FWPM_NET_EVENT3) -> ()>; +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub type FWPM_NET_EVENT_CALLBACK3 = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, event: *const FWPM_NET_EVENT4) -> ()>; +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub type FWPM_NET_EVENT_CALLBACK4 = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, event: *const FWPM_NET_EVENT5) -> ()>; +pub type FWPM_PROVIDER_CHANGE_CALLBACK0 = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, change: *const FWPM_PROVIDER_CHANGE0) -> ()>; +pub type FWPM_PROVIDER_CONTEXT_CHANGE_CALLBACK0 = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, change: *const FWPM_PROVIDER_CONTEXT_CHANGE0) -> ()>; +pub type FWPM_SUBLAYER_CHANGE_CALLBACK0 = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, change: *const FWPM_SUBLAYER_CHANGE0) -> ()>; +pub type FWPM_SYSTEM_PORTS_CALLBACK0 = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, sysports: *const FWPM_SYSTEM_PORTS0) -> ()>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type FWPM_VSWITCH_EVENT_CALLBACK0 = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, vswitchevent: *const FWPM_VSWITCH_EVENT0) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub type IPSEC_KEY_MANAGER_DICTATE_KEY0 = ::core::option::Option<unsafe extern "system" fn(inboundsadetails: *mut IPSEC_SA_DETAILS1, outboundsadetails: *mut IPSEC_SA_DETAILS1, keyingmodulegenkey: *mut super::super::Foundation::BOOL) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type IPSEC_KEY_MANAGER_KEY_DICTATION_CHECK0 = ::core::option::Option<unsafe extern "system" fn(iketraffic: *const IKEEXT_TRAFFIC0, willdictatekey: *mut super::super::Foundation::BOOL, weight: *mut u32) -> ()>; +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub type IPSEC_KEY_MANAGER_NOTIFY_KEY0 = ::core::option::Option<unsafe extern "system" fn(inboundsa: *const IPSEC_SA_DETAILS1, outboundsa: *const IPSEC_SA_DETAILS1) -> ()>; +pub type IPSEC_SA_CONTEXT_CALLBACK0 = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, change: *const IPSEC_SA_CONTEXT_CHANGE0) -> ()>; diff --git a/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs new file mode 100644 index 0000000..ea9bcbc --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs @@ -0,0 +1,385 @@ +::windows_targets::link!("netshell.dll" "system" fn NcFreeNetconProperties(pprops : *mut NETCON_PROPERTIES) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("netshell.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NcIsValidConnectionName(pszwname : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); +::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" fn NetworkIsolationDiagnoseConnectFailureAndGetInfo(wszservername : ::windows_sys::core::PCWSTR, netisoerror : *mut NETISO_ERROR_TYPE) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn NetworkIsolationEnumAppContainers(flags : u32, pdwnumpublicappcs : *mut u32, pppublicappcs : *mut *mut INET_FIREWALL_APP_CONTAINER) -> u32); +#[cfg(feature = "Win32_System_Ole")] +::windows_targets::link!("firewallapi.dll" "system" #[doc = "Required features: `\"Win32_System_Ole\"`"] fn NetworkIsolationEnumerateAppContainerRules(newenum : *mut super::super::System::Ole:: IEnumVARIANT) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn NetworkIsolationFreeAppContainers(ppublicappcs : *const INET_FIREWALL_APP_CONTAINER) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn NetworkIsolationGetAppContainerConfig(pdwnumpublicappcs : *mut u32, appcontainersids : *mut *mut super::super::Security:: SID_AND_ATTRIBUTES) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("firewallapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NetworkIsolationGetEnterpriseIdAsync(wszservername : ::windows_sys::core::PCWSTR, dwflags : u32, context : *const ::core::ffi::c_void, callback : PNETISO_EDP_ID_CALLBACK_FN, hoperation : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("firewallapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NetworkIsolationGetEnterpriseIdClose(hoperation : super::super::Foundation:: HANDLE, bwaitforoperation : super::super::Foundation:: BOOL) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn NetworkIsolationRegisterForAppContainerChanges(flags : u32, callback : PAC_CHANGES_CALLBACK_FN, context : *const ::core::ffi::c_void, registrationobject : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn NetworkIsolationSetAppContainerConfig(dwnumpublicappcs : u32, appcontainersids : *const super::super::Security:: SID_AND_ATTRIBUTES) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NetworkIsolationSetupAppContainerBinaries(applicationcontainersid : super::super::Foundation:: PSID, packagefullname : ::windows_sys::core::PCWSTR, packagefolder : ::windows_sys::core::PCWSTR, displayname : ::windows_sys::core::PCWSTR, bbinariesfullycomputed : super::super::Foundation:: BOOL, binaries : *const ::windows_sys::core::PCWSTR, binariescount : u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NetworkIsolationUnregisterForAppContainerChanges(registrationobject : super::super::Foundation:: HANDLE) -> u32); +pub type IDynamicPortMapping = *mut ::core::ffi::c_void; +pub type IDynamicPortMappingCollection = *mut ::core::ffi::c_void; +pub type IEnumNetConnection = *mut ::core::ffi::c_void; +pub type IEnumNetSharingEveryConnection = *mut ::core::ffi::c_void; +pub type IEnumNetSharingPortMapping = *mut ::core::ffi::c_void; +pub type IEnumNetSharingPrivateConnection = *mut ::core::ffi::c_void; +pub type IEnumNetSharingPublicConnection = *mut ::core::ffi::c_void; +pub type INATEventManager = *mut ::core::ffi::c_void; +pub type INATExternalIPAddressCallback = *mut ::core::ffi::c_void; +pub type INATNumberOfEntriesCallback = *mut ::core::ffi::c_void; +pub type INetConnection = *mut ::core::ffi::c_void; +pub type INetConnectionConnectUi = *mut ::core::ffi::c_void; +pub type INetConnectionManager = *mut ::core::ffi::c_void; +pub type INetConnectionProps = *mut ::core::ffi::c_void; +pub type INetFwAuthorizedApplication = *mut ::core::ffi::c_void; +pub type INetFwAuthorizedApplications = *mut ::core::ffi::c_void; +pub type INetFwIcmpSettings = *mut ::core::ffi::c_void; +pub type INetFwMgr = *mut ::core::ffi::c_void; +pub type INetFwOpenPort = *mut ::core::ffi::c_void; +pub type INetFwOpenPorts = *mut ::core::ffi::c_void; +pub type INetFwPolicy = *mut ::core::ffi::c_void; +pub type INetFwPolicy2 = *mut ::core::ffi::c_void; +pub type INetFwProduct = *mut ::core::ffi::c_void; +pub type INetFwProducts = *mut ::core::ffi::c_void; +pub type INetFwProfile = *mut ::core::ffi::c_void; +pub type INetFwRemoteAdminSettings = *mut ::core::ffi::c_void; +pub type INetFwRule = *mut ::core::ffi::c_void; +pub type INetFwRule2 = *mut ::core::ffi::c_void; +pub type INetFwRule3 = *mut ::core::ffi::c_void; +pub type INetFwRules = *mut ::core::ffi::c_void; +pub type INetFwService = *mut ::core::ffi::c_void; +pub type INetFwServiceRestriction = *mut ::core::ffi::c_void; +pub type INetFwServices = *mut ::core::ffi::c_void; +pub type INetSharingConfiguration = *mut ::core::ffi::c_void; +pub type INetSharingEveryConnectionCollection = *mut ::core::ffi::c_void; +pub type INetSharingManager = *mut ::core::ffi::c_void; +pub type INetSharingPortMapping = *mut ::core::ffi::c_void; +pub type INetSharingPortMappingCollection = *mut ::core::ffi::c_void; +pub type INetSharingPortMappingProps = *mut ::core::ffi::c_void; +pub type INetSharingPrivateConnectionCollection = *mut ::core::ffi::c_void; +pub type INetSharingPublicConnectionCollection = *mut ::core::ffi::c_void; +pub type IStaticPortMapping = *mut ::core::ffi::c_void; +pub type IStaticPortMappingCollection = *mut ::core::ffi::c_void; +pub type IUPnPNAT = *mut ::core::ffi::c_void; +pub const FW_DYNAMIC_KEYWORD_ADDRESS_ENUM_FLAGS_ALL: FW_DYNAMIC_KEYWORD_ADDRESS_ENUM_FLAGS = 3i32; +pub const FW_DYNAMIC_KEYWORD_ADDRESS_ENUM_FLAGS_AUTO_RESOLVE: FW_DYNAMIC_KEYWORD_ADDRESS_ENUM_FLAGS = 1i32; +pub const FW_DYNAMIC_KEYWORD_ADDRESS_ENUM_FLAGS_NON_AUTO_RESOLVE: FW_DYNAMIC_KEYWORD_ADDRESS_ENUM_FLAGS = 2i32; +pub const FW_DYNAMIC_KEYWORD_ADDRESS_FLAGS_AUTO_RESOLVE: FW_DYNAMIC_KEYWORD_ADDRESS_FLAGS = 1i32; +pub const FW_DYNAMIC_KEYWORD_ORIGIN_INVALID: FW_DYNAMIC_KEYWORD_ORIGIN_TYPE = 0i32; +pub const FW_DYNAMIC_KEYWORD_ORIGIN_LOCAL: FW_DYNAMIC_KEYWORD_ORIGIN_TYPE = 1i32; +pub const FW_DYNAMIC_KEYWORD_ORIGIN_MDM: FW_DYNAMIC_KEYWORD_ORIGIN_TYPE = 2i32; +pub const ICSSC_DEFAULT: SHARINGCONNECTION_ENUM_FLAGS = 0i32; +pub const ICSSC_ENABLED: SHARINGCONNECTION_ENUM_FLAGS = 1i32; +pub const ICSSHARINGTYPE_PRIVATE: SHARINGCONNECTIONTYPE = 1i32; +pub const ICSSHARINGTYPE_PUBLIC: SHARINGCONNECTIONTYPE = 0i32; +pub const ICSTT_IPADDRESS: ICS_TARGETTYPE = 1i32; +pub const ICSTT_NAME: ICS_TARGETTYPE = 0i32; +pub const INET_FIREWALL_AC_BINARY: INET_FIREWALL_AC_CREATION_TYPE = 2i32; +pub const INET_FIREWALL_AC_CHANGE_CREATE: INET_FIREWALL_AC_CHANGE_TYPE = 1i32; +pub const INET_FIREWALL_AC_CHANGE_DELETE: INET_FIREWALL_AC_CHANGE_TYPE = 2i32; +pub const INET_FIREWALL_AC_CHANGE_INVALID: INET_FIREWALL_AC_CHANGE_TYPE = 0i32; +pub const INET_FIREWALL_AC_CHANGE_MAX: INET_FIREWALL_AC_CHANGE_TYPE = 3i32; +pub const INET_FIREWALL_AC_MAX: INET_FIREWALL_AC_CREATION_TYPE = 4i32; +pub const INET_FIREWALL_AC_NONE: INET_FIREWALL_AC_CREATION_TYPE = 0i32; +pub const INET_FIREWALL_AC_PACKAGE_ID_ONLY: INET_FIREWALL_AC_CREATION_TYPE = 1i32; +pub const NCCF_ALLOW_DUPLICATION: NETCON_CHARACTERISTIC_FLAGS = 2i32; +pub const NCCF_ALLOW_REMOVAL: NETCON_CHARACTERISTIC_FLAGS = 4i32; +pub const NCCF_ALLOW_RENAME: NETCON_CHARACTERISTIC_FLAGS = 8i32; +pub const NCCF_ALL_USERS: NETCON_CHARACTERISTIC_FLAGS = 1i32; +pub const NCCF_BLUETOOTH_MASK: NETCON_CHARACTERISTIC_FLAGS = 983040i32; +pub const NCCF_BRANDED: NETCON_CHARACTERISTIC_FLAGS = 128i32; +pub const NCCF_BRIDGED: NETCON_CHARACTERISTIC_FLAGS = 512i32; +pub const NCCF_DEFAULT: NETCON_CHARACTERISTIC_FLAGS = 2048i32; +pub const NCCF_FIREWALLED: NETCON_CHARACTERISTIC_FLAGS = 1024i32; +pub const NCCF_HOMENET_CAPABLE: NETCON_CHARACTERISTIC_FLAGS = 4096i32; +pub const NCCF_HOSTED_NETWORK: NETCON_CHARACTERISTIC_FLAGS = 65536i32; +pub const NCCF_INCOMING_ONLY: NETCON_CHARACTERISTIC_FLAGS = 32i32; +pub const NCCF_LAN_MASK: NETCON_CHARACTERISTIC_FLAGS = 15728640i32; +pub const NCCF_NONE: NETCON_CHARACTERISTIC_FLAGS = 0i32; +pub const NCCF_OUTGOING_ONLY: NETCON_CHARACTERISTIC_FLAGS = 64i32; +pub const NCCF_QUARANTINED: NETCON_CHARACTERISTIC_FLAGS = 16384i32; +pub const NCCF_RESERVED: NETCON_CHARACTERISTIC_FLAGS = 32768i32; +pub const NCCF_SHARED: NETCON_CHARACTERISTIC_FLAGS = 256i32; +pub const NCCF_SHARED_PRIVATE: NETCON_CHARACTERISTIC_FLAGS = 8192i32; +pub const NCCF_VIRTUAL_STATION: NETCON_CHARACTERISTIC_FLAGS = 131072i32; +pub const NCCF_WIFI_DIRECT: NETCON_CHARACTERISTIC_FLAGS = 262144i32; +pub const NCME_DEFAULT: NETCONMGR_ENUM_FLAGS = 0i32; +pub const NCME_HIDDEN: NETCONMGR_ENUM_FLAGS = 1i32; +pub const NCM_BRIDGE: NETCON_MEDIATYPE = 7i32; +pub const NCM_DIRECT: NETCON_MEDIATYPE = 1i32; +pub const NCM_ISDN: NETCON_MEDIATYPE = 2i32; +pub const NCM_LAN: NETCON_MEDIATYPE = 3i32; +pub const NCM_NONE: NETCON_MEDIATYPE = 0i32; +pub const NCM_PHONE: NETCON_MEDIATYPE = 4i32; +pub const NCM_PPPOE: NETCON_MEDIATYPE = 6i32; +pub const NCM_SHAREDACCESSHOST_LAN: NETCON_MEDIATYPE = 8i32; +pub const NCM_SHAREDACCESSHOST_RAS: NETCON_MEDIATYPE = 9i32; +pub const NCM_TUNNEL: NETCON_MEDIATYPE = 5i32; +pub const NCS_ACTION_REQUIRED: NETCON_STATUS = 13i32; +pub const NCS_ACTION_REQUIRED_RETRY: NETCON_STATUS = 14i32; +pub const NCS_AUTHENTICATING: NETCON_STATUS = 8i32; +pub const NCS_AUTHENTICATION_FAILED: NETCON_STATUS = 10i32; +pub const NCS_AUTHENTICATION_SUCCEEDED: NETCON_STATUS = 9i32; +pub const NCS_CONNECTED: NETCON_STATUS = 2i32; +pub const NCS_CONNECTING: NETCON_STATUS = 1i32; +pub const NCS_CONNECT_FAILED: NETCON_STATUS = 15i32; +pub const NCS_CREDENTIALS_REQUIRED: NETCON_STATUS = 12i32; +pub const NCS_DISCONNECTED: NETCON_STATUS = 0i32; +pub const NCS_DISCONNECTING: NETCON_STATUS = 3i32; +pub const NCS_HARDWARE_DISABLED: NETCON_STATUS = 5i32; +pub const NCS_HARDWARE_MALFUNCTION: NETCON_STATUS = 6i32; +pub const NCS_HARDWARE_NOT_PRESENT: NETCON_STATUS = 4i32; +pub const NCS_INVALID_ADDRESS: NETCON_STATUS = 11i32; +pub const NCS_MEDIA_DISCONNECTED: NETCON_STATUS = 7i32; +pub const NCT_BRIDGE: NETCON_TYPE = 6i32; +pub const NCT_DIRECT_CONNECT: NETCON_TYPE = 0i32; +pub const NCT_INBOUND: NETCON_TYPE = 1i32; +pub const NCT_INTERNET: NETCON_TYPE = 2i32; +pub const NCT_LAN: NETCON_TYPE = 3i32; +pub const NCT_PHONE: NETCON_TYPE = 4i32; +pub const NCT_TUNNEL: NETCON_TYPE = 5i32; +pub const NCUC_DEFAULT: NETCONUI_CONNECT_FLAGS = 0i32; +pub const NCUC_ENABLE_DISABLE: NETCONUI_CONNECT_FLAGS = 2i32; +pub const NCUC_NO_UI: NETCONUI_CONNECT_FLAGS = 1i32; +pub const NETCON_MAX_NAME_LEN: u32 = 256u32; +pub const NETISO_ERROR_TYPE_INTERNET_CLIENT: NETISO_ERROR_TYPE = 2i32; +pub const NETISO_ERROR_TYPE_INTERNET_CLIENT_SERVER: NETISO_ERROR_TYPE = 3i32; +pub const NETISO_ERROR_TYPE_MAX: NETISO_ERROR_TYPE = 4i32; +pub const NETISO_ERROR_TYPE_NONE: NETISO_ERROR_TYPE = 0i32; +pub const NETISO_ERROR_TYPE_PRIVATE_NETWORK: NETISO_ERROR_TYPE = 1i32; +pub const NETISO_FLAG_FORCE_COMPUTE_BINARIES: NETISO_FLAG = 1i32; +pub const NETISO_FLAG_MAX: NETISO_FLAG = 2i32; +pub const NETISO_GEID_FOR_NEUTRAL_AWARE: u32 = 2u32; +pub const NETISO_GEID_FOR_WDAG: u32 = 1u32; +pub const NET_FW_ACTION_ALLOW: NET_FW_ACTION = 1i32; +pub const NET_FW_ACTION_BLOCK: NET_FW_ACTION = 0i32; +pub const NET_FW_ACTION_MAX: NET_FW_ACTION = 2i32; +pub const NET_FW_AUTHENTICATE_AND_ENCRYPT: NET_FW_AUTHENTICATE_TYPE = 4i32; +pub const NET_FW_AUTHENTICATE_AND_NEGOTIATE_ENCRYPTION: NET_FW_AUTHENTICATE_TYPE = 3i32; +pub const NET_FW_AUTHENTICATE_NONE: NET_FW_AUTHENTICATE_TYPE = 0i32; +pub const NET_FW_AUTHENTICATE_NO_ENCAPSULATION: NET_FW_AUTHENTICATE_TYPE = 1i32; +pub const NET_FW_AUTHENTICATE_WITH_INTEGRITY: NET_FW_AUTHENTICATE_TYPE = 2i32; +pub const NET_FW_EDGE_TRAVERSAL_TYPE_ALLOW: NET_FW_EDGE_TRAVERSAL_TYPE = 1i32; +pub const NET_FW_EDGE_TRAVERSAL_TYPE_DEFER_TO_APP: NET_FW_EDGE_TRAVERSAL_TYPE = 2i32; +pub const NET_FW_EDGE_TRAVERSAL_TYPE_DEFER_TO_USER: NET_FW_EDGE_TRAVERSAL_TYPE = 3i32; +pub const NET_FW_EDGE_TRAVERSAL_TYPE_DENY: NET_FW_EDGE_TRAVERSAL_TYPE = 0i32; +pub const NET_FW_IP_PROTOCOL_ANY: NET_FW_IP_PROTOCOL = 256i32; +pub const NET_FW_IP_PROTOCOL_TCP: NET_FW_IP_PROTOCOL = 6i32; +pub const NET_FW_IP_PROTOCOL_UDP: NET_FW_IP_PROTOCOL = 17i32; +pub const NET_FW_IP_VERSION_ANY: NET_FW_IP_VERSION = 2i32; +pub const NET_FW_IP_VERSION_MAX: NET_FW_IP_VERSION = 3i32; +pub const NET_FW_IP_VERSION_V4: NET_FW_IP_VERSION = 0i32; +pub const NET_FW_IP_VERSION_V6: NET_FW_IP_VERSION = 1i32; +pub const NET_FW_MODIFY_STATE_GP_OVERRIDE: NET_FW_MODIFY_STATE = 1i32; +pub const NET_FW_MODIFY_STATE_INBOUND_BLOCKED: NET_FW_MODIFY_STATE = 2i32; +pub const NET_FW_MODIFY_STATE_OK: NET_FW_MODIFY_STATE = 0i32; +pub const NET_FW_POLICY_EFFECTIVE: NET_FW_POLICY_TYPE = 2i32; +pub const NET_FW_POLICY_GROUP: NET_FW_POLICY_TYPE = 0i32; +pub const NET_FW_POLICY_LOCAL: NET_FW_POLICY_TYPE = 1i32; +pub const NET_FW_POLICY_TYPE_MAX: NET_FW_POLICY_TYPE = 3i32; +pub const NET_FW_PROFILE2_ALL: NET_FW_PROFILE_TYPE2 = 2147483647i32; +pub const NET_FW_PROFILE2_DOMAIN: NET_FW_PROFILE_TYPE2 = 1i32; +pub const NET_FW_PROFILE2_PRIVATE: NET_FW_PROFILE_TYPE2 = 2i32; +pub const NET_FW_PROFILE2_PUBLIC: NET_FW_PROFILE_TYPE2 = 4i32; +pub const NET_FW_PROFILE_CURRENT: NET_FW_PROFILE_TYPE = 2i32; +pub const NET_FW_PROFILE_DOMAIN: NET_FW_PROFILE_TYPE = 0i32; +pub const NET_FW_PROFILE_STANDARD: NET_FW_PROFILE_TYPE = 1i32; +pub const NET_FW_PROFILE_TYPE_MAX: NET_FW_PROFILE_TYPE = 3i32; +pub const NET_FW_RULE_CATEGORY_BOOT: NET_FW_RULE_CATEGORY = 0i32; +pub const NET_FW_RULE_CATEGORY_CONSEC: NET_FW_RULE_CATEGORY = 3i32; +pub const NET_FW_RULE_CATEGORY_FIREWALL: NET_FW_RULE_CATEGORY = 2i32; +pub const NET_FW_RULE_CATEGORY_MAX: NET_FW_RULE_CATEGORY = 4i32; +pub const NET_FW_RULE_CATEGORY_STEALTH: NET_FW_RULE_CATEGORY = 1i32; +pub const NET_FW_RULE_DIR_IN: NET_FW_RULE_DIRECTION = 1i32; +pub const NET_FW_RULE_DIR_MAX: NET_FW_RULE_DIRECTION = 3i32; +pub const NET_FW_RULE_DIR_OUT: NET_FW_RULE_DIRECTION = 2i32; +pub const NET_FW_SCOPE_ALL: NET_FW_SCOPE = 0i32; +pub const NET_FW_SCOPE_CUSTOM: NET_FW_SCOPE = 2i32; +pub const NET_FW_SCOPE_LOCAL_SUBNET: NET_FW_SCOPE = 1i32; +pub const NET_FW_SCOPE_MAX: NET_FW_SCOPE = 3i32; +pub const NET_FW_SERVICE_FILE_AND_PRINT: NET_FW_SERVICE_TYPE = 0i32; +pub const NET_FW_SERVICE_NONE: NET_FW_SERVICE_TYPE = 3i32; +pub const NET_FW_SERVICE_REMOTE_DESKTOP: NET_FW_SERVICE_TYPE = 2i32; +pub const NET_FW_SERVICE_TYPE_MAX: NET_FW_SERVICE_TYPE = 4i32; +pub const NET_FW_SERVICE_UPNP: NET_FW_SERVICE_TYPE = 1i32; +pub const NetFwAuthorizedApplication: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xec9846b3_2762_4a6b_a214_6acb603462d2); +pub const NetFwMgr: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x304ce942_6e39_40d8_943a_b913c40c9cd4); +pub const NetFwOpenPort: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0ca545c6_37ad_4a6c_bf92_9f7610067ef5); +pub const NetFwPolicy2: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe2b3c97f_6ae1_41ac_817a_f6f92166d7dd); +pub const NetFwProduct: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9d745ed8_c514_4d1d_bf42_751fed2d5ac7); +pub const NetFwProducts: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xcc19079b_8272_4d73_bb70_cdb533527b61); +pub const NetFwRule: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2c5bc43e_3369_4c33_ab0c_be9469677af4); +pub const NetSharingManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5c63c1ad_3956_4ff8_8486_40034758315b); +pub const S_OBJECT_NO_LONGER_VALID: ::windows_sys::core::HRESULT = 2i32; +pub const UPnPNAT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xae1e00aa_3fd5_403c_8a27_2bbdc30cd0e1); +pub type FW_DYNAMIC_KEYWORD_ADDRESS_ENUM_FLAGS = i32; +pub type FW_DYNAMIC_KEYWORD_ADDRESS_FLAGS = i32; +pub type FW_DYNAMIC_KEYWORD_ORIGIN_TYPE = i32; +pub type ICS_TARGETTYPE = i32; +pub type INET_FIREWALL_AC_CHANGE_TYPE = i32; +pub type INET_FIREWALL_AC_CREATION_TYPE = i32; +pub type NETCONMGR_ENUM_FLAGS = i32; +pub type NETCONUI_CONNECT_FLAGS = i32; +pub type NETCON_CHARACTERISTIC_FLAGS = i32; +pub type NETCON_MEDIATYPE = i32; +pub type NETCON_STATUS = i32; +pub type NETCON_TYPE = i32; +pub type NETISO_ERROR_TYPE = i32; +pub type NETISO_FLAG = i32; +pub type NET_FW_ACTION = i32; +pub type NET_FW_AUTHENTICATE_TYPE = i32; +pub type NET_FW_EDGE_TRAVERSAL_TYPE = i32; +pub type NET_FW_IP_PROTOCOL = i32; +pub type NET_FW_IP_VERSION = i32; +pub type NET_FW_MODIFY_STATE = i32; +pub type NET_FW_POLICY_TYPE = i32; +pub type NET_FW_PROFILE_TYPE = i32; +pub type NET_FW_PROFILE_TYPE2 = i32; +pub type NET_FW_RULE_CATEGORY = i32; +pub type NET_FW_RULE_DIRECTION = i32; +pub type NET_FW_SCOPE = i32; +pub type NET_FW_SERVICE_TYPE = i32; +pub type SHARINGCONNECTIONTYPE = i32; +pub type SHARINGCONNECTION_ENUM_FLAGS = i32; +#[repr(C)] +pub struct FW_DYNAMIC_KEYWORD_ADDRESS0 { + pub id: ::windows_sys::core::GUID, + pub keyword: ::windows_sys::core::PCWSTR, + pub flags: u32, + pub addresses: ::windows_sys::core::PCWSTR, +} +impl ::core::marker::Copy for FW_DYNAMIC_KEYWORD_ADDRESS0 {} +impl ::core::clone::Clone for FW_DYNAMIC_KEYWORD_ADDRESS0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct FW_DYNAMIC_KEYWORD_ADDRESS_DATA0 { + pub dynamicKeywordAddress: FW_DYNAMIC_KEYWORD_ADDRESS0, + pub next: *mut FW_DYNAMIC_KEYWORD_ADDRESS_DATA0, + pub schemaVersion: u16, + pub originType: FW_DYNAMIC_KEYWORD_ORIGIN_TYPE, +} +impl ::core::marker::Copy for FW_DYNAMIC_KEYWORD_ADDRESS_DATA0 {} +impl ::core::clone::Clone for FW_DYNAMIC_KEYWORD_ADDRESS_DATA0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct INET_FIREWALL_AC_BINARIES { + pub count: u32, + pub binaries: *mut ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for INET_FIREWALL_AC_BINARIES {} +impl ::core::clone::Clone for INET_FIREWALL_AC_BINARIES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct INET_FIREWALL_AC_CAPABILITIES { + pub count: u32, + pub capabilities: *mut super::super::Security::SID_AND_ATTRIBUTES, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for INET_FIREWALL_AC_CAPABILITIES {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for INET_FIREWALL_AC_CAPABILITIES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct INET_FIREWALL_AC_CHANGE { + pub changeType: INET_FIREWALL_AC_CHANGE_TYPE, + pub createType: INET_FIREWALL_AC_CREATION_TYPE, + pub appContainerSid: *mut super::super::Security::SID, + pub userSid: *mut super::super::Security::SID, + pub displayName: ::windows_sys::core::PWSTR, + pub Anonymous: INET_FIREWALL_AC_CHANGE_0, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for INET_FIREWALL_AC_CHANGE {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for INET_FIREWALL_AC_CHANGE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub union INET_FIREWALL_AC_CHANGE_0 { + pub capabilities: INET_FIREWALL_AC_CAPABILITIES, + pub binaries: INET_FIREWALL_AC_BINARIES, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for INET_FIREWALL_AC_CHANGE_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for INET_FIREWALL_AC_CHANGE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub struct INET_FIREWALL_APP_CONTAINER { + pub appContainerSid: *mut super::super::Security::SID, + pub userSid: *mut super::super::Security::SID, + pub appContainerName: ::windows_sys::core::PWSTR, + pub displayName: ::windows_sys::core::PWSTR, + pub description: ::windows_sys::core::PWSTR, + pub capabilities: INET_FIREWALL_AC_CAPABILITIES, + pub binaries: INET_FIREWALL_AC_BINARIES, + pub workingDirectory: ::windows_sys::core::PWSTR, + pub packageFullName: ::windows_sys::core::PWSTR, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::marker::Copy for INET_FIREWALL_APP_CONTAINER {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +impl ::core::clone::Clone for INET_FIREWALL_APP_CONTAINER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NETCON_PROPERTIES { + pub guidId: ::windows_sys::core::GUID, + pub pszwName: ::windows_sys::core::PWSTR, + pub pszwDeviceName: ::windows_sys::core::PWSTR, + pub Status: NETCON_STATUS, + pub MediaType: NETCON_MEDIATYPE, + pub dwCharacter: u32, + pub clsidThisObject: ::windows_sys::core::GUID, + pub clsidUiObject: ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for NETCON_PROPERTIES {} +impl ::core::clone::Clone for NETCON_PROPERTIES { + fn clone(&self) -> Self { + *self + } +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +pub type PAC_CHANGES_CALLBACK_FN = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, pchange: *const INET_FIREWALL_AC_CHANGE) -> ()>; +pub type PFN_FWADDDYNAMICKEYWORDADDRESS0 = ::core::option::Option<unsafe extern "system" fn(dynamickeywordaddress: *const FW_DYNAMIC_KEYWORD_ADDRESS0) -> u32>; +pub type PFN_FWDELETEDYNAMICKEYWORDADDRESS0 = ::core::option::Option<unsafe extern "system" fn(dynamickeywordaddressid: ::windows_sys::core::GUID) -> u32>; +pub type PFN_FWENUMDYNAMICKEYWORDADDRESSBYID0 = ::core::option::Option<unsafe extern "system" fn(dynamickeywordaddressid: ::windows_sys::core::GUID, dynamickeywordaddressdata: *mut *mut FW_DYNAMIC_KEYWORD_ADDRESS_DATA0) -> u32>; +pub type PFN_FWENUMDYNAMICKEYWORDADDRESSESBYTYPE0 = ::core::option::Option<unsafe extern "system" fn(flags: u32, dynamickeywordaddressdata: *mut *mut FW_DYNAMIC_KEYWORD_ADDRESS_DATA0) -> u32>; +pub type PFN_FWFREEDYNAMICKEYWORDADDRESSDATA0 = ::core::option::Option<unsafe extern "system" fn(dynamickeywordaddressdata: *const FW_DYNAMIC_KEYWORD_ADDRESS_DATA0) -> u32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PFN_FWUPDATEDYNAMICKEYWORDADDRESS0 = ::core::option::Option<unsafe extern "system" fn(dynamickeywordaddressid: ::windows_sys::core::GUID, updatedaddresses: ::windows_sys::core::PCWSTR, append: super::super::Foundation::BOOL) -> u32>; +pub type PNETISO_EDP_ID_CALLBACK_FN = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, wszenterpriseid: ::windows_sys::core::PCWSTR, dwerr: u32) -> ()>; diff --git a/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WindowsNetworkVirtualization/mod.rs b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WindowsNetworkVirtualization/mod.rs new file mode 100644 index 0000000..5c76532 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WindowsNetworkVirtualization/mod.rs @@ -0,0 +1,179 @@ +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wnvapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WnvOpen() -> super::super::Foundation:: HANDLE); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_targets::link!("wnvapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn WnvRequestNotification(wnvhandle : super::super::Foundation:: HANDLE, notificationparam : *mut WNV_NOTIFICATION_PARAM, overlapped : *mut super::super::System::IO:: OVERLAPPED, bytestransferred : *mut u32) -> u32); +pub const WNV_API_MAJOR_VERSION_1: u32 = 1u32; +pub const WNV_API_MINOR_VERSION_0: u32 = 0u32; +pub const WnvCustomerAddressAdded: WNV_CA_NOTIFICATION_TYPE = 0i32; +pub const WnvCustomerAddressDeleted: WNV_CA_NOTIFICATION_TYPE = 1i32; +pub const WnvCustomerAddressMax: WNV_CA_NOTIFICATION_TYPE = 3i32; +pub const WnvCustomerAddressMoved: WNV_CA_NOTIFICATION_TYPE = 2i32; +pub const WnvCustomerAddressType: WNV_OBJECT_TYPE = 1i32; +pub const WnvNotificationTypeMax: WNV_NOTIFICATION_TYPE = 3i32; +pub const WnvObjectChangeType: WNV_NOTIFICATION_TYPE = 2i32; +pub const WnvObjectTypeMax: WNV_OBJECT_TYPE = 2i32; +pub const WnvPolicyMismatchType: WNV_NOTIFICATION_TYPE = 0i32; +pub const WnvProviderAddressType: WNV_OBJECT_TYPE = 0i32; +pub const WnvRedirectType: WNV_NOTIFICATION_TYPE = 1i32; +pub type WNV_CA_NOTIFICATION_TYPE = i32; +pub type WNV_NOTIFICATION_TYPE = i32; +pub type WNV_OBJECT_TYPE = i32; +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct WNV_CUSTOMER_ADDRESS_CHANGE_PARAM { + pub MACAddress: super::super::Networking::WinSock::DL_EUI48, + pub CAFamily: super::super::Networking::WinSock::ADDRESS_FAMILY, + pub CA: WNV_IP_ADDRESS, + pub VirtualSubnetId: u32, + pub PAFamily: super::super::Networking::WinSock::ADDRESS_FAMILY, + pub PA: WNV_IP_ADDRESS, + pub NotificationReason: WNV_CA_NOTIFICATION_TYPE, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for WNV_CUSTOMER_ADDRESS_CHANGE_PARAM {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for WNV_CUSTOMER_ADDRESS_CHANGE_PARAM { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct WNV_IP_ADDRESS { + pub IP: WNV_IP_ADDRESS_0, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for WNV_IP_ADDRESS {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for WNV_IP_ADDRESS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub union WNV_IP_ADDRESS_0 { + pub v4: super::super::Networking::WinSock::IN_ADDR, + pub v6: super::super::Networking::WinSock::IN6_ADDR, + pub Addr: [u8; 16], +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for WNV_IP_ADDRESS_0 {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for WNV_IP_ADDRESS_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WNV_NOTIFICATION_PARAM { + pub Header: WNV_OBJECT_HEADER, + pub NotificationType: WNV_NOTIFICATION_TYPE, + pub PendingNotifications: u32, + pub Buffer: *mut u8, +} +impl ::core::marker::Copy for WNV_NOTIFICATION_PARAM {} +impl ::core::clone::Clone for WNV_NOTIFICATION_PARAM { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct WNV_OBJECT_CHANGE_PARAM { + pub ObjectType: WNV_OBJECT_TYPE, + pub ObjectParam: WNV_OBJECT_CHANGE_PARAM_0, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for WNV_OBJECT_CHANGE_PARAM {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for WNV_OBJECT_CHANGE_PARAM { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub union WNV_OBJECT_CHANGE_PARAM_0 { + pub ProviderAddressChange: WNV_PROVIDER_ADDRESS_CHANGE_PARAM, + pub CustomerAddressChange: WNV_CUSTOMER_ADDRESS_CHANGE_PARAM, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for WNV_OBJECT_CHANGE_PARAM_0 {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for WNV_OBJECT_CHANGE_PARAM_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct WNV_OBJECT_HEADER { + pub MajorVersion: u8, + pub MinorVersion: u8, + pub Size: u32, +} +impl ::core::marker::Copy for WNV_OBJECT_HEADER {} +impl ::core::clone::Clone for WNV_OBJECT_HEADER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct WNV_POLICY_MISMATCH_PARAM { + pub CAFamily: super::super::Networking::WinSock::ADDRESS_FAMILY, + pub PAFamily: super::super::Networking::WinSock::ADDRESS_FAMILY, + pub VirtualSubnetId: u32, + pub CA: WNV_IP_ADDRESS, + pub PA: WNV_IP_ADDRESS, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for WNV_POLICY_MISMATCH_PARAM {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for WNV_POLICY_MISMATCH_PARAM { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct WNV_PROVIDER_ADDRESS_CHANGE_PARAM { + pub PAFamily: super::super::Networking::WinSock::ADDRESS_FAMILY, + pub PA: WNV_IP_ADDRESS, + pub AddressState: super::super::Networking::WinSock::NL_DAD_STATE, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for WNV_PROVIDER_ADDRESS_CHANGE_PARAM {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for WNV_PROVIDER_ADDRESS_CHANGE_PARAM { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct WNV_REDIRECT_PARAM { + pub CAFamily: super::super::Networking::WinSock::ADDRESS_FAMILY, + pub PAFamily: super::super::Networking::WinSock::ADDRESS_FAMILY, + pub NewPAFamily: super::super::Networking::WinSock::ADDRESS_FAMILY, + pub VirtualSubnetId: u32, + pub CA: WNV_IP_ADDRESS, + pub PA: WNV_IP_ADDRESS, + pub NewPA: WNV_IP_ADDRESS, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for WNV_REDIRECT_PARAM {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for WNV_REDIRECT_PARAM { + fn clone(&self) -> Self { + *self + } +} diff --git a/vendor/windows-sys/src/Windows/Win32/NetworkManagement/mod.rs b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/mod.rs new file mode 100644 index 0000000..77d042e --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/mod.rs @@ -0,0 +1,63 @@ +#[cfg(feature = "Win32_NetworkManagement_Dhcp")] +#[doc = "Required features: `\"Win32_NetworkManagement_Dhcp\"`"] +pub mod Dhcp; +#[cfg(feature = "Win32_NetworkManagement_Dns")] +#[doc = "Required features: `\"Win32_NetworkManagement_Dns\"`"] +pub mod Dns; +#[cfg(feature = "Win32_NetworkManagement_InternetConnectionWizard")] +#[doc = "Required features: `\"Win32_NetworkManagement_InternetConnectionWizard\"`"] +pub mod InternetConnectionWizard; +#[cfg(feature = "Win32_NetworkManagement_IpHelper")] +#[doc = "Required features: `\"Win32_NetworkManagement_IpHelper\"`"] +pub mod IpHelper; +#[cfg(feature = "Win32_NetworkManagement_Multicast")] +#[doc = "Required features: `\"Win32_NetworkManagement_Multicast\"`"] +pub mod Multicast; +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +pub mod Ndis; +#[cfg(feature = "Win32_NetworkManagement_NetBios")] +#[doc = "Required features: `\"Win32_NetworkManagement_NetBios\"`"] +pub mod NetBios; +#[cfg(feature = "Win32_NetworkManagement_NetManagement")] +#[doc = "Required features: `\"Win32_NetworkManagement_NetManagement\"`"] +pub mod NetManagement; +#[cfg(feature = "Win32_NetworkManagement_NetShell")] +#[doc = "Required features: `\"Win32_NetworkManagement_NetShell\"`"] +pub mod NetShell; +#[cfg(feature = "Win32_NetworkManagement_NetworkDiagnosticsFramework")] +#[doc = "Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`"] +pub mod NetworkDiagnosticsFramework; +#[cfg(feature = "Win32_NetworkManagement_P2P")] +#[doc = "Required features: `\"Win32_NetworkManagement_P2P\"`"] +pub mod P2P; +#[cfg(feature = "Win32_NetworkManagement_QoS")] +#[doc = "Required features: `\"Win32_NetworkManagement_QoS\"`"] +pub mod QoS; +#[cfg(feature = "Win32_NetworkManagement_Rras")] +#[doc = "Required features: `\"Win32_NetworkManagement_Rras\"`"] +pub mod Rras; +#[cfg(feature = "Win32_NetworkManagement_Snmp")] +#[doc = "Required features: `\"Win32_NetworkManagement_Snmp\"`"] +pub mod Snmp; +#[cfg(feature = "Win32_NetworkManagement_WNet")] +#[doc = "Required features: `\"Win32_NetworkManagement_WNet\"`"] +pub mod WNet; +#[cfg(feature = "Win32_NetworkManagement_WebDav")] +#[doc = "Required features: `\"Win32_NetworkManagement_WebDav\"`"] +pub mod WebDav; +#[cfg(feature = "Win32_NetworkManagement_WiFi")] +#[doc = "Required features: `\"Win32_NetworkManagement_WiFi\"`"] +pub mod WiFi; +#[cfg(feature = "Win32_NetworkManagement_WindowsConnectionManager")] +#[doc = "Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`"] +pub mod WindowsConnectionManager; +#[cfg(feature = "Win32_NetworkManagement_WindowsFilteringPlatform")] +#[doc = "Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +pub mod WindowsFilteringPlatform; +#[cfg(feature = "Win32_NetworkManagement_WindowsFirewall")] +#[doc = "Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`"] +pub mod WindowsFirewall; +#[cfg(feature = "Win32_NetworkManagement_WindowsNetworkVirtualization")] +#[doc = "Required features: `\"Win32_NetworkManagement_WindowsNetworkVirtualization\"`"] +pub mod WindowsNetworkVirtualization; |