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-0.45.0/src/Windows/Win32/NetworkManagement/WindowsNetworkVirtualization | |
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-0.45.0/src/Windows/Win32/NetworkManagement/WindowsNetworkVirtualization')
-rw-r--r-- | vendor/windows-sys-0.45.0/src/Windows/Win32/NetworkManagement/WindowsNetworkVirtualization/mod.rs | 197 |
1 files changed, 197 insertions, 0 deletions
diff --git a/vendor/windows-sys-0.45.0/src/Windows/Win32/NetworkManagement/WindowsNetworkVirtualization/mod.rs b/vendor/windows-sys-0.45.0/src/Windows/Win32/NetworkManagement/WindowsNetworkVirtualization/mod.rs new file mode 100644 index 0000000..dba3341 --- /dev/null +++ b/vendor/windows-sys-0.45.0/src/Windows/Win32/NetworkManagement/WindowsNetworkVirtualization/mod.rs @@ -0,0 +1,197 @@ +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wnvapi.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsNetworkVirtualization\"`, `\"Win32_Foundation\"`*"] fn WnvOpen ( ) -> super::super::Foundation:: HANDLE ); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] +::windows_sys::core::link ! ( "wnvapi.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsNetworkVirtualization\"`, `\"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 ); +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsNetworkVirtualization\"`*"] +pub const WNV_API_MAJOR_VERSION_1: u32 = 1u32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsNetworkVirtualization\"`*"] +pub const WNV_API_MINOR_VERSION_0: u32 = 0u32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsNetworkVirtualization\"`*"] +pub type WNV_CA_NOTIFICATION_TYPE = i32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsNetworkVirtualization\"`*"] +pub const WnvCustomerAddressAdded: WNV_CA_NOTIFICATION_TYPE = 0i32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsNetworkVirtualization\"`*"] +pub const WnvCustomerAddressDeleted: WNV_CA_NOTIFICATION_TYPE = 1i32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsNetworkVirtualization\"`*"] +pub const WnvCustomerAddressMoved: WNV_CA_NOTIFICATION_TYPE = 2i32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsNetworkVirtualization\"`*"] +pub const WnvCustomerAddressMax: WNV_CA_NOTIFICATION_TYPE = 3i32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsNetworkVirtualization\"`*"] +pub type WNV_NOTIFICATION_TYPE = i32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsNetworkVirtualization\"`*"] +pub const WnvPolicyMismatchType: WNV_NOTIFICATION_TYPE = 0i32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsNetworkVirtualization\"`*"] +pub const WnvRedirectType: WNV_NOTIFICATION_TYPE = 1i32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsNetworkVirtualization\"`*"] +pub const WnvObjectChangeType: WNV_NOTIFICATION_TYPE = 2i32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsNetworkVirtualization\"`*"] +pub const WnvNotificationTypeMax: WNV_NOTIFICATION_TYPE = 3i32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsNetworkVirtualization\"`*"] +pub type WNV_OBJECT_TYPE = i32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsNetworkVirtualization\"`*"] +pub const WnvProviderAddressType: WNV_OBJECT_TYPE = 0i32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsNetworkVirtualization\"`*"] +pub const WnvCustomerAddressType: WNV_OBJECT_TYPE = 1i32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsNetworkVirtualization\"`*"] +pub const WnvObjectTypeMax: WNV_OBJECT_TYPE = 2i32; +#[repr(C)] +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsNetworkVirtualization\"`, `\"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_NetworkManagement_WindowsNetworkVirtualization\"`, `\"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_NetworkManagement_WindowsNetworkVirtualization\"`, `\"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)] +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsNetworkVirtualization\"`*"] +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_NetworkManagement_WindowsNetworkVirtualization\"`, `\"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_NetworkManagement_WindowsNetworkVirtualization\"`, `\"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)] +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsNetworkVirtualization\"`*"] +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_NetworkManagement_WindowsNetworkVirtualization\"`, `\"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_NetworkManagement_WindowsNetworkVirtualization\"`, `\"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_NetworkManagement_WindowsNetworkVirtualization\"`, `\"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 + } +} |