| 1 |
::windows_targets::link!("netshell.dll" "system" fn NcFreeNetconProperties(pprops : *mut NETCON_PROPERTIES) -> ()); |
| 2 |
#[cfg(feature = "Win32_Foundation")] |
| 3 |
::windows_targets::link!("netshell.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NcIsValidConnectionName(pszwname : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); |
| 4 |
::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); |
| 5 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] |
| 6 |
::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); |
| 7 |
#[cfg(feature = "Win32_System_Ole")] |
| 8 |
::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); |
| 9 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] |
| 10 |
::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); |
| 11 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] |
| 12 |
::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); |
| 13 |
#[cfg(feature = "Win32_Foundation")] |
| 14 |
::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); |
| 15 |
#[cfg(feature = "Win32_Foundation")] |
| 16 |
::windows_targets::link!("firewallapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NetworkIsolationGetEnterpriseIdClose(hoperation : super::super::Foundation:: HANDLE, bwaitforoperation : super::super::Foundation:: BOOL) -> u32); |
| 17 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] |
| 18 |
::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); |
| 19 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] |
| 20 |
::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); |
| 21 |
#[cfg(feature = "Win32_Foundation")] |
| 22 |
::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); |
| 23 |
#[cfg(feature = "Win32_Foundation")] |
| 24 |
::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); |
| 25 |
pub type IDynamicPortMapping = *mut ::core::ffi::c_void; |
| 26 |
pub type IDynamicPortMappingCollection = *mut ::core::ffi::c_void; |
| 27 |
pub type IEnumNetConnection = *mut ::core::ffi::c_void; |
| 28 |
pub type IEnumNetSharingEveryConnection = *mut ::core::ffi::c_void; |
| 29 |
pub type IEnumNetSharingPortMapping = *mut ::core::ffi::c_void; |
| 30 |
pub type IEnumNetSharingPrivateConnection = *mut ::core::ffi::c_void; |
| 31 |
pub type IEnumNetSharingPublicConnection = *mut ::core::ffi::c_void; |
| 32 |
pub type INATEventManager = *mut ::core::ffi::c_void; |
| 33 |
pub type INATExternalIPAddressCallback = *mut ::core::ffi::c_void; |
| 34 |
pub type INATNumberOfEntriesCallback = *mut ::core::ffi::c_void; |
| 35 |
pub type INetConnection = *mut ::core::ffi::c_void; |
| 36 |
pub type INetConnectionConnectUi = *mut ::core::ffi::c_void; |
| 37 |
pub type INetConnectionManager = *mut ::core::ffi::c_void; |
| 38 |
pub type INetConnectionProps = *mut ::core::ffi::c_void; |
| 39 |
pub type INetFwAuthorizedApplication = *mut ::core::ffi::c_void; |
| 40 |
pub type INetFwAuthorizedApplications = *mut ::core::ffi::c_void; |
| 41 |
pub type INetFwIcmpSettings = *mut ::core::ffi::c_void; |
| 42 |
pub type INetFwMgr = *mut ::core::ffi::c_void; |
| 43 |
pub type INetFwOpenPort = *mut ::core::ffi::c_void; |
| 44 |
pub type INetFwOpenPorts = *mut ::core::ffi::c_void; |
| 45 |
pub type INetFwPolicy = *mut ::core::ffi::c_void; |
| 46 |
pub type INetFwPolicy2 = *mut ::core::ffi::c_void; |
| 47 |
pub type INetFwProduct = *mut ::core::ffi::c_void; |
| 48 |
pub type INetFwProducts = *mut ::core::ffi::c_void; |
| 49 |
pub type INetFwProfile = *mut ::core::ffi::c_void; |
| 50 |
pub type INetFwRemoteAdminSettings = *mut ::core::ffi::c_void; |
| 51 |
pub type INetFwRule = *mut ::core::ffi::c_void; |
| 52 |
pub type INetFwRule2 = *mut ::core::ffi::c_void; |
| 53 |
pub type INetFwRule3 = *mut ::core::ffi::c_void; |
| 54 |
pub type INetFwRules = *mut ::core::ffi::c_void; |
| 55 |
pub type INetFwService = *mut ::core::ffi::c_void; |
| 56 |
pub type INetFwServiceRestriction = *mut ::core::ffi::c_void; |
| 57 |
pub type INetFwServices = *mut ::core::ffi::c_void; |
| 58 |
pub type INetSharingConfiguration = *mut ::core::ffi::c_void; |
| 59 |
pub type INetSharingEveryConnectionCollection = *mut ::core::ffi::c_void; |
| 60 |
pub type INetSharingManager = *mut ::core::ffi::c_void; |
| 61 |
pub type INetSharingPortMapping = *mut ::core::ffi::c_void; |
| 62 |
pub type INetSharingPortMappingCollection = *mut ::core::ffi::c_void; |
| 63 |
pub type INetSharingPortMappingProps = *mut ::core::ffi::c_void; |
| 64 |
pub type INetSharingPrivateConnectionCollection = *mut ::core::ffi::c_void; |
| 65 |
pub type INetSharingPublicConnectionCollection = *mut ::core::ffi::c_void; |
| 66 |
pub type IStaticPortMapping = *mut ::core::ffi::c_void; |
| 67 |
pub type IStaticPortMappingCollection = *mut ::core::ffi::c_void; |
| 68 |
pub type IUPnPNAT = *mut ::core::ffi::c_void; |
| 69 |
pub const FW_DYNAMIC_KEYWORD_ADDRESS_ENUM_FLAGS_ALL: FW_DYNAMIC_KEYWORD_ADDRESS_ENUM_FLAGS = 3i32; |
| 70 |
pub const FW_DYNAMIC_KEYWORD_ADDRESS_ENUM_FLAGS_AUTO_RESOLVE: FW_DYNAMIC_KEYWORD_ADDRESS_ENUM_FLAGS = 1i32; |
| 71 |
pub const FW_DYNAMIC_KEYWORD_ADDRESS_ENUM_FLAGS_NON_AUTO_RESOLVE: FW_DYNAMIC_KEYWORD_ADDRESS_ENUM_FLAGS = 2i32; |
| 72 |
pub const FW_DYNAMIC_KEYWORD_ADDRESS_FLAGS_AUTO_RESOLVE: FW_DYNAMIC_KEYWORD_ADDRESS_FLAGS = 1i32; |
| 73 |
pub const FW_DYNAMIC_KEYWORD_ORIGIN_INVALID: FW_DYNAMIC_KEYWORD_ORIGIN_TYPE = 0i32; |
| 74 |
pub const FW_DYNAMIC_KEYWORD_ORIGIN_LOCAL: FW_DYNAMIC_KEYWORD_ORIGIN_TYPE = 1i32; |
| 75 |
pub const FW_DYNAMIC_KEYWORD_ORIGIN_MDM: FW_DYNAMIC_KEYWORD_ORIGIN_TYPE = 2i32; |
| 76 |
pub const ICSSC_DEFAULT: SHARINGCONNECTION_ENUM_FLAGS = 0i32; |
| 77 |
pub const ICSSC_ENABLED: SHARINGCONNECTION_ENUM_FLAGS = 1i32; |
| 78 |
pub const ICSSHARINGTYPE_PRIVATE: SHARINGCONNECTIONTYPE = 1i32; |
| 79 |
pub const ICSSHARINGTYPE_PUBLIC: SHARINGCONNECTIONTYPE = 0i32; |
| 80 |
pub const ICSTT_IPADDRESS: ICS_TARGETTYPE = 1i32; |
| 81 |
pub const ICSTT_NAME: ICS_TARGETTYPE = 0i32; |
| 82 |
pub const INET_FIREWALL_AC_BINARY: INET_FIREWALL_AC_CREATION_TYPE = 2i32; |
| 83 |
pub const INET_FIREWALL_AC_CHANGE_CREATE: INET_FIREWALL_AC_CHANGE_TYPE = 1i32; |
| 84 |
pub const INET_FIREWALL_AC_CHANGE_DELETE: INET_FIREWALL_AC_CHANGE_TYPE = 2i32; |
| 85 |
pub const INET_FIREWALL_AC_CHANGE_INVALID: INET_FIREWALL_AC_CHANGE_TYPE = 0i32; |
| 86 |
pub const INET_FIREWALL_AC_CHANGE_MAX: INET_FIREWALL_AC_CHANGE_TYPE = 3i32; |
| 87 |
pub const INET_FIREWALL_AC_MAX: INET_FIREWALL_AC_CREATION_TYPE = 4i32; |
| 88 |
pub const INET_FIREWALL_AC_NONE: INET_FIREWALL_AC_CREATION_TYPE = 0i32; |
| 89 |
pub const INET_FIREWALL_AC_PACKAGE_ID_ONLY: INET_FIREWALL_AC_CREATION_TYPE = 1i32; |
| 90 |
pub const NCCF_ALLOW_DUPLICATION: NETCON_CHARACTERISTIC_FLAGS = 2i32; |
| 91 |
pub const NCCF_ALLOW_REMOVAL: NETCON_CHARACTERISTIC_FLAGS = 4i32; |
| 92 |
pub const NCCF_ALLOW_RENAME: NETCON_CHARACTERISTIC_FLAGS = 8i32; |
| 93 |
pub const NCCF_ALL_USERS: NETCON_CHARACTERISTIC_FLAGS = 1i32; |
| 94 |
pub const NCCF_BLUETOOTH_MASK: NETCON_CHARACTERISTIC_FLAGS = 983040i32; |
| 95 |
pub const NCCF_BRANDED: NETCON_CHARACTERISTIC_FLAGS = 128i32; |
| 96 |
pub const NCCF_BRIDGED: NETCON_CHARACTERISTIC_FLAGS = 512i32; |
| 97 |
pub const NCCF_DEFAULT: NETCON_CHARACTERISTIC_FLAGS = 2048i32; |
| 98 |
pub const NCCF_FIREWALLED: NETCON_CHARACTERISTIC_FLAGS = 1024i32; |
| 99 |
pub const NCCF_HOMENET_CAPABLE: NETCON_CHARACTERISTIC_FLAGS = 4096i32; |
| 100 |
pub const NCCF_HOSTED_NETWORK: NETCON_CHARACTERISTIC_FLAGS = 65536i32; |
| 101 |
pub const NCCF_INCOMING_ONLY: NETCON_CHARACTERISTIC_FLAGS = 32i32; |
| 102 |
pub const NCCF_LAN_MASK: NETCON_CHARACTERISTIC_FLAGS = 15728640i32; |
| 103 |
pub const NCCF_NONE: NETCON_CHARACTERISTIC_FLAGS = 0i32; |
| 104 |
pub const NCCF_OUTGOING_ONLY: NETCON_CHARACTERISTIC_FLAGS = 64i32; |
| 105 |
pub const NCCF_QUARANTINED: NETCON_CHARACTERISTIC_FLAGS = 16384i32; |
| 106 |
pub const NCCF_RESERVED: NETCON_CHARACTERISTIC_FLAGS = 32768i32; |
| 107 |
pub const NCCF_SHARED: NETCON_CHARACTERISTIC_FLAGS = 256i32; |
| 108 |
pub const NCCF_SHARED_PRIVATE: NETCON_CHARACTERISTIC_FLAGS = 8192i32; |
| 109 |
pub const NCCF_VIRTUAL_STATION: NETCON_CHARACTERISTIC_FLAGS = 131072i32; |
| 110 |
pub const NCCF_WIFI_DIRECT: NETCON_CHARACTERISTIC_FLAGS = 262144i32; |
| 111 |
pub const NCME_DEFAULT: NETCONMGR_ENUM_FLAGS = 0i32; |
| 112 |
pub const NCME_HIDDEN: NETCONMGR_ENUM_FLAGS = 1i32; |
| 113 |
pub const NCM_BRIDGE: NETCON_MEDIATYPE = 7i32; |
| 114 |
pub const NCM_DIRECT: NETCON_MEDIATYPE = 1i32; |
| 115 |
pub const NCM_ISDN: NETCON_MEDIATYPE = 2i32; |
| 116 |
pub const NCM_LAN: NETCON_MEDIATYPE = 3i32; |
| 117 |
pub const NCM_NONE: NETCON_MEDIATYPE = 0i32; |
| 118 |
pub const NCM_PHONE: NETCON_MEDIATYPE = 4i32; |
| 119 |
pub const NCM_PPPOE: NETCON_MEDIATYPE = 6i32; |
| 120 |
pub const NCM_SHAREDACCESSHOST_LAN: NETCON_MEDIATYPE = 8i32; |
| 121 |
pub const NCM_SHAREDACCESSHOST_RAS: NETCON_MEDIATYPE = 9i32; |
| 122 |
pub const NCM_TUNNEL: NETCON_MEDIATYPE = 5i32; |
| 123 |
pub const NCS_ACTION_REQUIRED: NETCON_STATUS = 13i32; |
| 124 |
pub const NCS_ACTION_REQUIRED_RETRY: NETCON_STATUS = 14i32; |
| 125 |
pub const NCS_AUTHENTICATING: NETCON_STATUS = 8i32; |
| 126 |
pub const NCS_AUTHENTICATION_FAILED: NETCON_STATUS = 10i32; |
| 127 |
pub const NCS_AUTHENTICATION_SUCCEEDED: NETCON_STATUS = 9i32; |
| 128 |
pub const NCS_CONNECTED: NETCON_STATUS = 2i32; |
| 129 |
pub const NCS_CONNECTING: NETCON_STATUS = 1i32; |
| 130 |
pub const NCS_CONNECT_FAILED: NETCON_STATUS = 15i32; |
| 131 |
pub const NCS_CREDENTIALS_REQUIRED: NETCON_STATUS = 12i32; |
| 132 |
pub const NCS_DISCONNECTED: NETCON_STATUS = 0i32; |
| 133 |
pub const NCS_DISCONNECTING: NETCON_STATUS = 3i32; |
| 134 |
pub const NCS_HARDWARE_DISABLED: NETCON_STATUS = 5i32; |
| 135 |
pub const NCS_HARDWARE_MALFUNCTION: NETCON_STATUS = 6i32; |
| 136 |
pub const NCS_HARDWARE_NOT_PRESENT: NETCON_STATUS = 4i32; |
| 137 |
pub const NCS_INVALID_ADDRESS: NETCON_STATUS = 11i32; |
| 138 |
pub const NCS_MEDIA_DISCONNECTED: NETCON_STATUS = 7i32; |
| 139 |
pub const NCT_BRIDGE: NETCON_TYPE = 6i32; |
| 140 |
pub const NCT_DIRECT_CONNECT: NETCON_TYPE = 0i32; |
| 141 |
pub const NCT_INBOUND: NETCON_TYPE = 1i32; |
| 142 |
pub const NCT_INTERNET: NETCON_TYPE = 2i32; |
| 143 |
pub const NCT_LAN: NETCON_TYPE = 3i32; |
| 144 |
pub const NCT_PHONE: NETCON_TYPE = 4i32; |
| 145 |
pub const NCT_TUNNEL: NETCON_TYPE = 5i32; |
| 146 |
pub const NCUC_DEFAULT: NETCONUI_CONNECT_FLAGS = 0i32; |
| 147 |
pub const NCUC_ENABLE_DISABLE: NETCONUI_CONNECT_FLAGS = 2i32; |
| 148 |
pub const NCUC_NO_UI: NETCONUI_CONNECT_FLAGS = 1i32; |
| 149 |
pub const NETCON_MAX_NAME_LEN: u32 = 256u32; |
| 150 |
pub const NETISO_ERROR_TYPE_INTERNET_CLIENT: NETISO_ERROR_TYPE = 2i32; |
| 151 |
pub const NETISO_ERROR_TYPE_INTERNET_CLIENT_SERVER: NETISO_ERROR_TYPE = 3i32; |
| 152 |
pub const NETISO_ERROR_TYPE_MAX: NETISO_ERROR_TYPE = 4i32; |
| 153 |
pub const NETISO_ERROR_TYPE_NONE: NETISO_ERROR_TYPE = 0i32; |
| 154 |
pub const NETISO_ERROR_TYPE_PRIVATE_NETWORK: NETISO_ERROR_TYPE = 1i32; |
| 155 |
pub const NETISO_FLAG_FORCE_COMPUTE_BINARIES: NETISO_FLAG = 1i32; |
| 156 |
pub const NETISO_FLAG_MAX: NETISO_FLAG = 2i32; |
| 157 |
pub const NETISO_GEID_FOR_NEUTRAL_AWARE: u32 = 2u32; |
| 158 |
pub const NETISO_GEID_FOR_WDAG: u32 = 1u32; |
| 159 |
pub const NET_FW_ACTION_ALLOW: NET_FW_ACTION = 1i32; |
| 160 |
pub const NET_FW_ACTION_BLOCK: NET_FW_ACTION = 0i32; |
| 161 |
pub const NET_FW_ACTION_MAX: NET_FW_ACTION = 2i32; |
| 162 |
pub const NET_FW_AUTHENTICATE_AND_ENCRYPT: NET_FW_AUTHENTICATE_TYPE = 4i32; |
| 163 |
pub const NET_FW_AUTHENTICATE_AND_NEGOTIATE_ENCRYPTION: NET_FW_AUTHENTICATE_TYPE = 3i32; |
| 164 |
pub const NET_FW_AUTHENTICATE_NONE: NET_FW_AUTHENTICATE_TYPE = 0i32; |
| 165 |
pub const NET_FW_AUTHENTICATE_NO_ENCAPSULATION: NET_FW_AUTHENTICATE_TYPE = 1i32; |
| 166 |
pub const NET_FW_AUTHENTICATE_WITH_INTEGRITY: NET_FW_AUTHENTICATE_TYPE = 2i32; |
| 167 |
pub const NET_FW_EDGE_TRAVERSAL_TYPE_ALLOW: NET_FW_EDGE_TRAVERSAL_TYPE = 1i32; |
| 168 |
pub const NET_FW_EDGE_TRAVERSAL_TYPE_DEFER_TO_APP: NET_FW_EDGE_TRAVERSAL_TYPE = 2i32; |
| 169 |
pub const NET_FW_EDGE_TRAVERSAL_TYPE_DEFER_TO_USER: NET_FW_EDGE_TRAVERSAL_TYPE = 3i32; |
| 170 |
pub const NET_FW_EDGE_TRAVERSAL_TYPE_DENY: NET_FW_EDGE_TRAVERSAL_TYPE = 0i32; |
| 171 |
pub const NET_FW_IP_PROTOCOL_ANY: NET_FW_IP_PROTOCOL = 256i32; |
| 172 |
pub const NET_FW_IP_PROTOCOL_TCP: NET_FW_IP_PROTOCOL = 6i32; |
| 173 |
pub const NET_FW_IP_PROTOCOL_UDP: NET_FW_IP_PROTOCOL = 17i32; |
| 174 |
pub const NET_FW_IP_VERSION_ANY: NET_FW_IP_VERSION = 2i32; |
| 175 |
pub const NET_FW_IP_VERSION_MAX: NET_FW_IP_VERSION = 3i32; |
| 176 |
pub const NET_FW_IP_VERSION_V4: NET_FW_IP_VERSION = 0i32; |
| 177 |
pub const NET_FW_IP_VERSION_V6: NET_FW_IP_VERSION = 1i32; |
| 178 |
pub const NET_FW_MODIFY_STATE_GP_OVERRIDE: NET_FW_MODIFY_STATE = 1i32; |
| 179 |
pub const NET_FW_MODIFY_STATE_INBOUND_BLOCKED: NET_FW_MODIFY_STATE = 2i32; |
| 180 |
pub const NET_FW_MODIFY_STATE_OK: NET_FW_MODIFY_STATE = 0i32; |
| 181 |
pub const NET_FW_POLICY_EFFECTIVE: NET_FW_POLICY_TYPE = 2i32; |
| 182 |
pub const NET_FW_POLICY_GROUP: NET_FW_POLICY_TYPE = 0i32; |
| 183 |
pub const NET_FW_POLICY_LOCAL: NET_FW_POLICY_TYPE = 1i32; |
| 184 |
pub const NET_FW_POLICY_TYPE_MAX: NET_FW_POLICY_TYPE = 3i32; |
| 185 |
pub const NET_FW_PROFILE2_ALL: NET_FW_PROFILE_TYPE2 = 2147483647i32; |
| 186 |
pub const NET_FW_PROFILE2_DOMAIN: NET_FW_PROFILE_TYPE2 = 1i32; |
| 187 |
pub const NET_FW_PROFILE2_PRIVATE: NET_FW_PROFILE_TYPE2 = 2i32; |
| 188 |
pub const NET_FW_PROFILE2_PUBLIC: NET_FW_PROFILE_TYPE2 = 4i32; |
| 189 |
pub const NET_FW_PROFILE_CURRENT: NET_FW_PROFILE_TYPE = 2i32; |
| 190 |
pub const NET_FW_PROFILE_DOMAIN: NET_FW_PROFILE_TYPE = 0i32; |
| 191 |
pub const NET_FW_PROFILE_STANDARD: NET_FW_PROFILE_TYPE = 1i32; |
| 192 |
pub const NET_FW_PROFILE_TYPE_MAX: NET_FW_PROFILE_TYPE = 3i32; |
| 193 |
pub const NET_FW_RULE_CATEGORY_BOOT: NET_FW_RULE_CATEGORY = 0i32; |
| 194 |
pub const NET_FW_RULE_CATEGORY_CONSEC: NET_FW_RULE_CATEGORY = 3i32; |
| 195 |
pub const NET_FW_RULE_CATEGORY_FIREWALL: NET_FW_RULE_CATEGORY = 2i32; |
| 196 |
pub const NET_FW_RULE_CATEGORY_MAX: NET_FW_RULE_CATEGORY = 4i32; |
| 197 |
pub const NET_FW_RULE_CATEGORY_STEALTH: NET_FW_RULE_CATEGORY = 1i32; |
| 198 |
pub const NET_FW_RULE_DIR_IN: NET_FW_RULE_DIRECTION = 1i32; |
| 199 |
pub const NET_FW_RULE_DIR_MAX: NET_FW_RULE_DIRECTION = 3i32; |
| 200 |
pub const NET_FW_RULE_DIR_OUT: NET_FW_RULE_DIRECTION = 2i32; |
| 201 |
pub const NET_FW_SCOPE_ALL: NET_FW_SCOPE = 0i32; |
| 202 |
pub const NET_FW_SCOPE_CUSTOM: NET_FW_SCOPE = 2i32; |
| 203 |
pub const NET_FW_SCOPE_LOCAL_SUBNET: NET_FW_SCOPE = 1i32; |
| 204 |
pub const NET_FW_SCOPE_MAX: NET_FW_SCOPE = 3i32; |
| 205 |
pub const NET_FW_SERVICE_FILE_AND_PRINT: NET_FW_SERVICE_TYPE = 0i32; |
| 206 |
pub const NET_FW_SERVICE_NONE: NET_FW_SERVICE_TYPE = 3i32; |
| 207 |
pub const NET_FW_SERVICE_REMOTE_DESKTOP: NET_FW_SERVICE_TYPE = 2i32; |
| 208 |
pub const NET_FW_SERVICE_TYPE_MAX: NET_FW_SERVICE_TYPE = 4i32; |
| 209 |
pub const NET_FW_SERVICE_UPNP: NET_FW_SERVICE_TYPE = 1i32; |
| 210 |
pub const NetFwAuthorizedApplication: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xec9846b3_2762_4a6b_a214_6acb603462d2); |
| 211 |
pub const NetFwMgr: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x304ce942_6e39_40d8_943a_b913c40c9cd4); |
| 212 |
pub const NetFwOpenPort: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0ca545c6_37ad_4a6c_bf92_9f7610067ef5); |
| 213 |
pub const NetFwPolicy2: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe2b3c97f_6ae1_41ac_817a_f6f92166d7dd); |
| 214 |
pub const NetFwProduct: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9d745ed8_c514_4d1d_bf42_751fed2d5ac7); |
| 215 |
pub const NetFwProducts: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xcc19079b_8272_4d73_bb70_cdb533527b61); |
| 216 |
pub const NetFwRule: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2c5bc43e_3369_4c33_ab0c_be9469677af4); |
| 217 |
pub const NetSharingManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5c63c1ad_3956_4ff8_8486_40034758315b); |
| 218 |
pub const S_OBJECT_NO_LONGER_VALID: ::windows_sys::core::HRESULT = 2i32; |
| 219 |
pub const UPnPNAT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xae1e00aa_3fd5_403c_8a27_2bbdc30cd0e1); |
| 220 |
pub type FW_DYNAMIC_KEYWORD_ADDRESS_ENUM_FLAGS = i32; |
| 221 |
pub type FW_DYNAMIC_KEYWORD_ADDRESS_FLAGS = i32; |
| 222 |
pub type FW_DYNAMIC_KEYWORD_ORIGIN_TYPE = i32; |
| 223 |
pub type ICS_TARGETTYPE = i32; |
| 224 |
pub type INET_FIREWALL_AC_CHANGE_TYPE = i32; |
| 225 |
pub type INET_FIREWALL_AC_CREATION_TYPE = i32; |
| 226 |
pub type NETCONMGR_ENUM_FLAGS = i32; |
| 227 |
pub type NETCONUI_CONNECT_FLAGS = i32; |
| 228 |
pub type NETCON_CHARACTERISTIC_FLAGS = i32; |
| 229 |
pub type NETCON_MEDIATYPE = i32; |
| 230 |
pub type NETCON_STATUS = i32; |
| 231 |
pub type NETCON_TYPE = i32; |
| 232 |
pub type NETISO_ERROR_TYPE = i32; |
| 233 |
pub type NETISO_FLAG = i32; |
| 234 |
pub type NET_FW_ACTION = i32; |
| 235 |
pub type NET_FW_AUTHENTICATE_TYPE = i32; |
| 236 |
pub type NET_FW_EDGE_TRAVERSAL_TYPE = i32; |
| 237 |
pub type NET_FW_IP_PROTOCOL = i32; |
| 238 |
pub type NET_FW_IP_VERSION = i32; |
| 239 |
pub type NET_FW_MODIFY_STATE = i32; |
| 240 |
pub type NET_FW_POLICY_TYPE = i32; |
| 241 |
pub type NET_FW_PROFILE_TYPE = i32; |
| 242 |
pub type NET_FW_PROFILE_TYPE2 = i32; |
| 243 |
pub type NET_FW_RULE_CATEGORY = i32; |
| 244 |
pub type NET_FW_RULE_DIRECTION = i32; |
| 245 |
pub type NET_FW_SCOPE = i32; |
| 246 |
pub type NET_FW_SERVICE_TYPE = i32; |
| 247 |
pub type SHARINGCONNECTIONTYPE = i32; |
| 248 |
pub type SHARINGCONNECTION_ENUM_FLAGS = i32; |
| 249 |
#[repr(C)] |
| 250 |
pub struct FW_DYNAMIC_KEYWORD_ADDRESS0 { |
| 251 |
pub id: ::windows_sys::core::GUID, |
| 252 |
pub keyword: ::windows_sys::core::PCWSTR, |
| 253 |
pub flags: u32, |
| 254 |
pub addresses: ::windows_sys::core::PCWSTR, |
| 255 |
} |
| 256 |
impl ::core::marker::Copy for FW_DYNAMIC_KEYWORD_ADDRESS0 {} |
| 257 |
impl ::core::clone::Clone for FW_DYNAMIC_KEYWORD_ADDRESS0 { |
| 258 |
fn clone(&self) -> Self { |
| 259 |
*self |
| 260 |
} |
| 261 |
} |
| 262 |
#[repr(C)] |
| 263 |
pub struct FW_DYNAMIC_KEYWORD_ADDRESS_DATA0 { |
| 264 |
pub dynamicKeywordAddress: FW_DYNAMIC_KEYWORD_ADDRESS0, |
| 265 |
pub next: *mut FW_DYNAMIC_KEYWORD_ADDRESS_DATA0, |
| 266 |
pub schemaVersion: u16, |
| 267 |
pub originType: FW_DYNAMIC_KEYWORD_ORIGIN_TYPE, |
| 268 |
} |
| 269 |
impl ::core::marker::Copy for FW_DYNAMIC_KEYWORD_ADDRESS_DATA0 {} |
| 270 |
impl ::core::clone::Clone for FW_DYNAMIC_KEYWORD_ADDRESS_DATA0 { |
| 271 |
fn clone(&self) -> Self { |
| 272 |
*self |
| 273 |
} |
| 274 |
} |
| 275 |
#[repr(C)] |
| 276 |
pub struct INET_FIREWALL_AC_BINARIES { |
| 277 |
pub count: u32, |
| 278 |
pub binaries: *mut ::windows_sys::core::PWSTR, |
| 279 |
} |
| 280 |
impl ::core::marker::Copy for INET_FIREWALL_AC_BINARIES {} |
| 281 |
impl ::core::clone::Clone for INET_FIREWALL_AC_BINARIES { |
| 282 |
fn clone(&self) -> Self { |
| 283 |
*self |
| 284 |
} |
| 285 |
} |
| 286 |
#[repr(C)] |
| 287 |
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] |
| 288 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] |
| 289 |
pub struct INET_FIREWALL_AC_CAPABILITIES { |
| 290 |
pub count: u32, |
| 291 |
pub capabilities: *mut super::super::Security::SID_AND_ATTRIBUTES, |
| 292 |
} |
| 293 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] |
| 294 |
impl ::core::marker::Copy for INET_FIREWALL_AC_CAPABILITIES {} |
| 295 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] |
| 296 |
impl ::core::clone::Clone for INET_FIREWALL_AC_CAPABILITIES { |
| 297 |
fn clone(&self) -> Self { |
| 298 |
*self |
| 299 |
} |
| 300 |
} |
| 301 |
#[repr(C)] |
| 302 |
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] |
| 303 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] |
| 304 |
pub struct INET_FIREWALL_AC_CHANGE { |
| 305 |
pub changeType: INET_FIREWALL_AC_CHANGE_TYPE, |
| 306 |
pub createType: INET_FIREWALL_AC_CREATION_TYPE, |
| 307 |
pub appContainerSid: *mut super::super::Security::SID, |
| 308 |
pub userSid: *mut super::super::Security::SID, |
| 309 |
pub displayName: ::windows_sys::core::PWSTR, |
| 310 |
pub Anonymous: INET_FIREWALL_AC_CHANGE_0, |
| 311 |
} |
| 312 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] |
| 313 |
impl ::core::marker::Copy for INET_FIREWALL_AC_CHANGE {} |
| 314 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] |
| 315 |
impl ::core::clone::Clone for INET_FIREWALL_AC_CHANGE { |
| 316 |
fn clone(&self) -> Self { |
| 317 |
*self |
| 318 |
} |
| 319 |
} |
| 320 |
#[repr(C)] |
| 321 |
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] |
| 322 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] |
| 323 |
pub union INET_FIREWALL_AC_CHANGE_0 { |
| 324 |
pub capabilities: INET_FIREWALL_AC_CAPABILITIES, |
| 325 |
pub binaries: INET_FIREWALL_AC_BINARIES, |
| 326 |
} |
| 327 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] |
| 328 |
impl ::core::marker::Copy for INET_FIREWALL_AC_CHANGE_0 {} |
| 329 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] |
| 330 |
impl ::core::clone::Clone for INET_FIREWALL_AC_CHANGE_0 { |
| 331 |
fn clone(&self) -> Self { |
| 332 |
*self |
| 333 |
} |
| 334 |
} |
| 335 |
#[repr(C)] |
| 336 |
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] |
| 337 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] |
| 338 |
pub struct INET_FIREWALL_APP_CONTAINER { |
| 339 |
pub appContainerSid: *mut super::super::Security::SID, |
| 340 |
pub userSid: *mut super::super::Security::SID, |
| 341 |
pub appContainerName: ::windows_sys::core::PWSTR, |
| 342 |
pub displayName: ::windows_sys::core::PWSTR, |
| 343 |
pub description: ::windows_sys::core::PWSTR, |
| 344 |
pub capabilities: INET_FIREWALL_AC_CAPABILITIES, |
| 345 |
pub binaries: INET_FIREWALL_AC_BINARIES, |
| 346 |
pub workingDirectory: ::windows_sys::core::PWSTR, |
| 347 |
pub packageFullName: ::windows_sys::core::PWSTR, |
| 348 |
} |
| 349 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] |
| 350 |
impl ::core::marker::Copy for INET_FIREWALL_APP_CONTAINER {} |
| 351 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] |
| 352 |
impl ::core::clone::Clone for INET_FIREWALL_APP_CONTAINER { |
| 353 |
fn clone(&self) -> Self { |
| 354 |
*self |
| 355 |
} |
| 356 |
} |
| 357 |
#[repr(C)] |
| 358 |
pub struct NETCON_PROPERTIES { |
| 359 |
pub guidId: ::windows_sys::core::GUID, |
| 360 |
pub pszwName: ::windows_sys::core::PWSTR, |
| 361 |
pub pszwDeviceName: ::windows_sys::core::PWSTR, |
| 362 |
pub Status: NETCON_STATUS, |
| 363 |
pub MediaType: NETCON_MEDIATYPE, |
| 364 |
pub dwCharacter: u32, |
| 365 |
pub clsidThisObject: ::windows_sys::core::GUID, |
| 366 |
pub clsidUiObject: ::windows_sys::core::GUID, |
| 367 |
} |
| 368 |
impl ::core::marker::Copy for NETCON_PROPERTIES {} |
| 369 |
impl ::core::clone::Clone for NETCON_PROPERTIES { |
| 370 |
fn clone(&self) -> Self { |
| 371 |
*self |
| 372 |
} |
| 373 |
} |
| 374 |
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] |
| 375 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] |
| 376 |
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) -> ()>; |
| 377 |
pub type PFN_FWADDDYNAMICKEYWORDADDRESS0 = ::core::option::Option<unsafe extern "system" fn(dynamickeywordaddress: *const FW_DYNAMIC_KEYWORD_ADDRESS0) -> u32>; |
| 378 |
pub type PFN_FWDELETEDYNAMICKEYWORDADDRESS0 = ::core::option::Option<unsafe extern "system" fn(dynamickeywordaddressid: ::windows_sys::core::GUID) -> u32>; |
| 379 |
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>; |
| 380 |
pub type PFN_FWENUMDYNAMICKEYWORDADDRESSESBYTYPE0 = ::core::option::Option<unsafe extern "system" fn(flags: u32, dynamickeywordaddressdata: *mut *mut FW_DYNAMIC_KEYWORD_ADDRESS_DATA0) -> u32>; |
| 381 |
pub type PFN_FWFREEDYNAMICKEYWORDADDRESSDATA0 = ::core::option::Option<unsafe extern "system" fn(dynamickeywordaddressdata: *const FW_DYNAMIC_KEYWORD_ADDRESS_DATA0) -> u32>; |
| 382 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 383 |
#[cfg(feature = "Win32_Foundation")] |
| 384 |
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>; |
| 385 |
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) -> ()>; |