summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys-0.28.0/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs')
-rw-r--r--vendor/windows-sys-0.28.0/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs3172
1 files changed, 0 insertions, 3172 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs
deleted file mode 100644
index 356452d6e..000000000
--- a/vendor/windows-sys-0.28.0/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs
+++ /dev/null
@@ -1,3172 +0,0 @@
-#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
-#[link(name = "windows")]
-extern "system" {
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpAddFilterV4(serveripaddress: super::super::Foundation::PWSTR, addfilterinfo: *const DHCP_FILTER_ADD_INFO, forceflag: super::super::Foundation::BOOL) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpAddSecurityGroup(pserver: super::super::Foundation::PWSTR) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub 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;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpAddSubnetElement(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: u32, addelementinfo: *const DHCP_SUBNET_ELEMENT_DATA) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpAddSubnetElementV4(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: u32, addelementinfo: *const DHCP_SUBNET_ELEMENT_DATA_V4) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpAddSubnetElementV5(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: u32, addelementinfo: *const DHCP_SUBNET_ELEMENT_DATA_V5) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpAddSubnetElementV6(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: DHCP_IPV6_ADDRESS, addelementinfo: *mut DHCP_SUBNET_ELEMENT_DATA_V6) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpAuditLogGetParams(serveripaddress: super::super::Foundation::PWSTR, flags: u32, auditlogdir: *mut super::super::Foundation::PWSTR, diskcheckinterval: *mut u32, maxlogfilessize: *mut u32, minspaceondisk: *mut u32) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpAuditLogSetParams(serveripaddress: super::super::Foundation::PWSTR, flags: u32, auditlogdir: super::super::Foundation::PWSTR, diskcheckinterval: u32, maxlogfilessize: u32, minspaceondisk: u32) -> u32;
- pub fn DhcpCApiCleanup();
- pub fn DhcpCApiInitialize(version: *mut u32) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpCreateClass(serveripaddress: super::super::Foundation::PWSTR, reservedmustbezero: u32, classinfo: *mut DHCP_CLASS_INFO) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpCreateClassV6(serveripaddress: super::super::Foundation::PWSTR, reservedmustbezero: u32, classinfo: *mut DHCP_CLASS_INFO_V6) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpCreateClientInfo(serveripaddress: super::super::Foundation::PWSTR, clientinfo: *const DHCP_CLIENT_INFO) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpCreateClientInfoV4(serveripaddress: super::super::Foundation::PWSTR, clientinfo: *const DHCP_CLIENT_INFO_V4) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpCreateClientInfoVQ(serveripaddress: super::super::Foundation::PWSTR, clientinfo: *const DHCP_CLIENT_INFO_VQ) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpCreateOption(serveripaddress: super::super::Foundation::PWSTR, optionid: u32, optioninfo: *const DHCP_OPTION) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpCreateOptionV5(serveripaddress: super::super::Foundation::PWSTR, flags: u32, optionid: u32, classname: super::super::Foundation::PWSTR, vendorname: super::super::Foundation::PWSTR, optioninfo: *mut DHCP_OPTION) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpCreateOptionV6(serveripaddress: super::super::Foundation::PWSTR, flags: u32, optionid: u32, classname: super::super::Foundation::PWSTR, vendorname: super::super::Foundation::PWSTR, optioninfo: *mut DHCP_OPTION) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpCreateSubnet(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: u32, subnetinfo: *const DHCP_SUBNET_INFO) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpCreateSubnetV6(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: DHCP_IPV6_ADDRESS, subnetinfo: *mut DHCP_SUBNET_INFO_V6) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpCreateSubnetVQ(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: u32, subnetinfo: *const DHCP_SUBNET_INFO_VQ) -> u32;
- pub fn DhcpDeRegisterParamChange(flags: u32, reserved: *mut ::core::ffi::c_void, event: *mut ::core::ffi::c_void) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpDeleteClass(serveripaddress: super::super::Foundation::PWSTR, reservedmustbezero: u32, classname: super::super::Foundation::PWSTR) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpDeleteClassV6(serveripaddress: super::super::Foundation::PWSTR, reservedmustbezero: u32, classname: super::super::Foundation::PWSTR) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpDeleteClientInfo(serveripaddress: super::super::Foundation::PWSTR, clientinfo: *const DHCP_SEARCH_INFO) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpDeleteClientInfoV6(serveripaddress: super::super::Foundation::PWSTR, clientinfo: *const DHCP_SEARCH_INFO_V6) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpDeleteFilterV4(serveripaddress: super::super::Foundation::PWSTR, deletefilterinfo: *const DHCP_ADDR_PATTERN) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub 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;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpDeleteSubnet(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: u32, forceflag: DHCP_FORCE_FLAG) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpDeleteSubnetV6(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: DHCP_IPV6_ADDRESS, forceflag: DHCP_FORCE_FLAG) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpDeleteSuperScopeV4(serveripaddress: super::super::Foundation::PWSTR, superscopename: super::super::Foundation::PWSTR) -> u32;
- pub fn DhcpDsCleanup();
- pub fn DhcpDsInit() -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpEnumClasses(serveripaddress: super::super::Foundation::PWSTR, 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")]
- pub fn DhcpEnumClassesV6(serveripaddress: super::super::Foundation::PWSTR, 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")]
- pub fn DhcpEnumFilterV4(serveripaddress: super::super::Foundation::PWSTR, 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;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpEnumOptionValues(serveripaddress: super::super::Foundation::PWSTR, 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;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpEnumOptionValuesV5(serveripaddress: super::super::Foundation::PWSTR, flags: u32, classname: super::super::Foundation::PWSTR, vendorname: super::super::Foundation::PWSTR, 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;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpEnumOptionValuesV6(serveripaddress: super::super::Foundation::PWSTR, flags: u32, classname: super::super::Foundation::PWSTR, vendorname: super::super::Foundation::PWSTR, 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;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpEnumOptions(serveripaddress: super::super::Foundation::PWSTR, resumehandle: *mut u32, preferredmaximum: u32, options: *mut *mut DHCP_OPTION_ARRAY, optionsread: *mut u32, optionstotal: *mut u32) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpEnumOptionsV5(serveripaddress: super::super::Foundation::PWSTR, flags: u32, classname: super::super::Foundation::PWSTR, vendorname: super::super::Foundation::PWSTR, resumehandle: *mut u32, preferredmaximum: u32, options: *mut *mut DHCP_OPTION_ARRAY, optionsread: *mut u32, optionstotal: *mut u32) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpEnumOptionsV6(serveripaddress: super::super::Foundation::PWSTR, flags: u32, classname: super::super::Foundation::PWSTR, vendorname: super::super::Foundation::PWSTR, resumehandle: *mut u32, preferredmaximum: u32, options: *mut *mut DHCP_OPTION_ARRAY, optionsread: *mut u32, optionstotal: *mut u32) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub 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;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpEnumSubnetClients(serveripaddress: super::super::Foundation::PWSTR, 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")]
- pub fn DhcpEnumSubnetClientsFilterStatusInfo(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: u32, resumehandle: *mut u32, preferredmaximum: u32, clientinfo: *mut *mut DHCP_CLIENT_FILTER_STATUS_INFO_ARRAY, clientsread: *mut u32, clientstotal: *mut u32) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpEnumSubnetClientsV4(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: u32, resumehandle: *mut u32, preferredmaximum: u32, clientinfo: *mut *mut DHCP_CLIENT_INFO_ARRAY_V4, clientsread: *mut u32, clientstotal: *mut u32) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpEnumSubnetClientsV5(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: u32, resumehandle: *mut u32, preferredmaximum: u32, clientinfo: *mut *mut DHCP_CLIENT_INFO_ARRAY_V5, clientsread: *mut u32, clientstotal: *mut u32) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpEnumSubnetClientsV6(serveripaddress: super::super::Foundation::PWSTR, 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")]
- pub fn DhcpEnumSubnetClientsVQ(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: u32, resumehandle: *mut u32, preferredmaximum: u32, clientinfo: *mut *mut DHCP_CLIENT_INFO_ARRAY_VQ, clientsread: *mut u32, clientstotal: *mut u32) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpEnumSubnetElements(serveripaddress: super::super::Foundation::PWSTR, 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;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpEnumSubnetElementsV4(serveripaddress: super::super::Foundation::PWSTR, 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;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpEnumSubnetElementsV5(serveripaddress: super::super::Foundation::PWSTR, 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;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpEnumSubnetElementsV6(serveripaddress: super::super::Foundation::PWSTR, 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;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpEnumSubnets(serveripaddress: super::super::Foundation::PWSTR, resumehandle: *mut u32, preferredmaximum: u32, enuminfo: *mut *mut DHCP_IP_ARRAY, elementsread: *mut u32, elementstotal: *mut u32) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpEnumSubnetsV6(serveripaddress: super::super::Foundation::PWSTR, resumehandle: *mut u32, preferredmaximum: u32, enuminfo: *mut *mut DHCPV6_IP_ARRAY, elementsread: *mut u32, elementstotal: *mut u32) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetAllOptionValues(serveripaddress: super::super::Foundation::PWSTR, flags: u32, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO, values: *mut *mut DHCP_ALL_OPTION_VALUES) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetAllOptionValuesV6(serveripaddress: super::super::Foundation::PWSTR, flags: u32, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO6, values: *mut *mut DHCP_ALL_OPTION_VALUES) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetAllOptions(serveripaddress: super::super::Foundation::PWSTR, flags: u32, optionstruct: *mut *mut DHCP_ALL_OPTIONS) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetAllOptionsV6(serveripaddress: super::super::Foundation::PWSTR, flags: u32, optionstruct: *mut *mut DHCP_ALL_OPTIONS) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetClassInfo(serveripaddress: super::super::Foundation::PWSTR, reservedmustbezero: u32, partialclassinfo: *mut DHCP_CLASS_INFO, filledclassinfo: *mut *mut DHCP_CLASS_INFO) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetClientInfo(serveripaddress: super::super::Foundation::PWSTR, searchinfo: *const DHCP_SEARCH_INFO, clientinfo: *mut *mut DHCP_CLIENT_INFO) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetClientInfoV4(serveripaddress: super::super::Foundation::PWSTR, searchinfo: *const DHCP_SEARCH_INFO, clientinfo: *mut *mut DHCP_CLIENT_INFO_V4) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetClientInfoV6(serveripaddress: super::super::Foundation::PWSTR, searchinfo: *const DHCP_SEARCH_INFO_V6, clientinfo: *mut *mut DHCP_CLIENT_INFO_V6) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetClientInfoVQ(serveripaddress: super::super::Foundation::PWSTR, searchinfo: *const DHCP_SEARCH_INFO, clientinfo: *mut *mut DHCP_CLIENT_INFO_VQ) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetClientOptions(serveripaddress: super::super::Foundation::PWSTR, clientipaddress: u32, clientsubnetmask: u32, clientoptions: *mut *mut DHCP_OPTION_LIST) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetFilterV4(serveripaddress: super::super::Foundation::PWSTR, globalfilterinfo: *mut DHCP_FILTER_GLOBAL_INFO) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetMibInfo(serveripaddress: super::super::Foundation::PWSTR, mibinfo: *mut *mut DHCP_MIB_INFO) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetMibInfoV5(serveripaddress: super::super::Foundation::PWSTR, mibinfo: *mut *mut DHCP_MIB_INFO_V5) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetMibInfoV6(serveripaddress: super::super::Foundation::PWSTR, mibinfo: *mut *mut DHCP_MIB_INFO_V6) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetOptionInfo(serveripaddress: super::super::Foundation::PWSTR, optionid: u32, optioninfo: *mut *mut DHCP_OPTION) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetOptionInfoV5(serveripaddress: super::super::Foundation::PWSTR, flags: u32, optionid: u32, classname: super::super::Foundation::PWSTR, vendorname: super::super::Foundation::PWSTR, optioninfo: *mut *mut DHCP_OPTION) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetOptionInfoV6(serveripaddress: super::super::Foundation::PWSTR, flags: u32, optionid: u32, classname: super::super::Foundation::PWSTR, vendorname: super::super::Foundation::PWSTR, optioninfo: *mut *mut DHCP_OPTION) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetOptionValue(serveripaddress: super::super::Foundation::PWSTR, optionid: u32, scopeinfo: *const DHCP_OPTION_SCOPE_INFO, optionvalue: *mut *mut DHCP_OPTION_VALUE) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetOptionValueV5(serveripaddress: super::super::Foundation::PWSTR, flags: u32, optionid: u32, classname: super::super::Foundation::PWSTR, vendorname: super::super::Foundation::PWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO, optionvalue: *mut *mut DHCP_OPTION_VALUE) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetOptionValueV6(serveripaddress: super::super::Foundation::PWSTR, flags: u32, optionid: u32, classname: super::super::Foundation::PWSTR, vendorname: super::super::Foundation::PWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO6, optionvalue: *mut *mut DHCP_OPTION_VALUE) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetOriginalSubnetMask(sadaptername: super::super::Foundation::PWSTR, dwsubnetmask: *mut u32) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetServerBindingInfo(serveripaddress: super::super::Foundation::PWSTR, flags: u32, bindelementsinfo: *mut *mut DHCP_BIND_ELEMENT_ARRAY) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetServerBindingInfoV6(serveripaddress: super::super::Foundation::PWSTR, flags: u32, bindelementsinfo: *mut *mut DHCPV6_BIND_ELEMENT_ARRAY) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetServerSpecificStrings(serveripaddress: super::super::Foundation::PWSTR, serverspecificstrings: *mut *mut DHCP_SERVER_SPECIFIC_STRINGS) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetSubnetDelayOffer(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: u32, timedelayinmilliseconds: *mut u16) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetSubnetInfo(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: u32, subnetinfo: *mut *mut DHCP_SUBNET_INFO) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetSubnetInfoV6(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: DHCP_IPV6_ADDRESS, subnetinfo: *mut *mut DHCP_SUBNET_INFO_V6) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetSubnetInfoVQ(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: u32, subnetinfo: *mut *mut DHCP_SUBNET_INFO_VQ) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetSuperScopeInfoV4(serveripaddress: super::super::Foundation::PWSTR, superscopetable: *mut *mut DHCP_SUPER_SCOPE_TABLE) -> u32;
- pub fn DhcpGetThreadOptions(pflags: *mut u32, reserved: *mut ::core::ffi::c_void) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpGetVersion(serveripaddress: super::super::Foundation::PWSTR, majorversion: *mut u32, minorversion: *mut u32) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpHlprAddV4PolicyCondition(policy: *mut DHCP_POLICY, parentexpr: u32, r#type: DHCP_POL_ATTR_TYPE, optionid: u32, suboptionid: u32, vendorname: super::super::Foundation::PWSTR, operator: DHCP_POL_COMPARATOR, value: *const u8, valuelength: u32, conditionindex: *mut u32) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpHlprAddV4PolicyExpr(policy: *mut DHCP_POLICY, parentexpr: u32, operator: DHCP_POL_LOGIC_OPER, exprindex: *mut u32) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpHlprAddV4PolicyRange(policy: *mut DHCP_POLICY, range: *const DHCP_IP_RANGE) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpHlprCreateV4Policy(policyname: super::super::Foundation::PWSTR, fglobalpolicy: super::super::Foundation::BOOL, subnet: u32, processingorder: u32, rootoperator: DHCP_POL_LOGIC_OPER, description: super::super::Foundation::PWSTR, enabled: super::super::Foundation::BOOL, policy: *mut *mut DHCP_POLICY) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpHlprCreateV4PolicyEx(policyname: super::super::Foundation::PWSTR, fglobalpolicy: super::super::Foundation::BOOL, subnet: u32, processingorder: u32, rootoperator: DHCP_POL_LOGIC_OPER, description: super::super::Foundation::PWSTR, enabled: super::super::Foundation::BOOL, policy: *mut *mut DHCP_POLICY_EX) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpHlprFindV4DhcpProperty(propertyarray: *const DHCP_PROPERTY_ARRAY, id: DHCP_PROPERTY_ID, r#type: DHCP_PROPERTY_TYPE) -> *mut DHCP_PROPERTY;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpHlprFreeV4DhcpProperty(property: *mut DHCP_PROPERTY);
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpHlprFreeV4DhcpPropertyArray(propertyarray: *mut DHCP_PROPERTY_ARRAY);
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpHlprFreeV4Policy(policy: *mut DHCP_POLICY);
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpHlprFreeV4PolicyArray(policyarray: *mut DHCP_POLICY_ARRAY);
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpHlprFreeV4PolicyEx(policyex: *mut DHCP_POLICY_EX);
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpHlprFreeV4PolicyExArray(policyexarray: *mut DHCP_POLICY_EX_ARRAY);
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpHlprIsV4PolicySingleUC(policy: *const DHCP_POLICY) -> super::super::Foundation::BOOL;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpHlprIsV4PolicyValid(ppolicy: *const DHCP_POLICY) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpHlprIsV4PolicyWellFormed(ppolicy: *const DHCP_POLICY) -> super::super::Foundation::BOOL;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpHlprModifyV4PolicyExpr(policy: *mut DHCP_POLICY, operator: DHCP_POL_LOGIC_OPER) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpHlprResetV4PolicyExpr(policy: *mut DHCP_POLICY) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpModifyClass(serveripaddress: super::super::Foundation::PWSTR, reservedmustbezero: u32, classinfo: *mut DHCP_CLASS_INFO) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpModifyClassV6(serveripaddress: super::super::Foundation::PWSTR, reservedmustbezero: u32, classinfo: *mut DHCP_CLASS_INFO_V6) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpRegisterParamChange(flags: u32, reserved: *mut ::core::ffi::c_void, adaptername: super::super::Foundation::PWSTR, classid: *mut DHCPCAPI_CLASSID, params: DHCPCAPI_PARAMS_ARRAY, handle: *mut ::core::ffi::c_void) -> u32;
- pub fn DhcpRemoveDNSRegistrations() -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpRemoveOption(serveripaddress: super::super::Foundation::PWSTR, optionid: u32) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpRemoveOptionV5(serveripaddress: super::super::Foundation::PWSTR, flags: u32, optionid: u32, classname: super::super::Foundation::PWSTR, vendorname: super::super::Foundation::PWSTR) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpRemoveOptionV6(serveripaddress: super::super::Foundation::PWSTR, flags: u32, optionid: u32, classname: super::super::Foundation::PWSTR, vendorname: super::super::Foundation::PWSTR) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpRemoveOptionValue(serveripaddress: super::super::Foundation::PWSTR, optionid: u32, scopeinfo: *const DHCP_OPTION_SCOPE_INFO) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpRemoveOptionValueV5(serveripaddress: super::super::Foundation::PWSTR, flags: u32, optionid: u32, classname: super::super::Foundation::PWSTR, vendorname: super::super::Foundation::PWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpRemoveOptionValueV6(serveripaddress: super::super::Foundation::PWSTR, flags: u32, optionid: u32, classname: super::super::Foundation::PWSTR, vendorname: super::super::Foundation::PWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO6) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpRemoveSubnetElement(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: u32, removeelementinfo: *const DHCP_SUBNET_ELEMENT_DATA, forceflag: DHCP_FORCE_FLAG) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpRemoveSubnetElementV4(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: u32, removeelementinfo: *const DHCP_SUBNET_ELEMENT_DATA_V4, forceflag: DHCP_FORCE_FLAG) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpRemoveSubnetElementV5(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: u32, removeelementinfo: *const DHCP_SUBNET_ELEMENT_DATA_V5, forceflag: DHCP_FORCE_FLAG) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpRemoveSubnetElementV6(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: DHCP_IPV6_ADDRESS, removeelementinfo: *mut DHCP_SUBNET_ELEMENT_DATA_V6, forceflag: DHCP_FORCE_FLAG) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpRequestParams(flags: u32, reserved: *mut ::core::ffi::c_void, adaptername: super::super::Foundation::PWSTR, classid: *mut DHCPCAPI_CLASSID, sendparams: DHCPCAPI_PARAMS_ARRAY, recdparams: DHCPCAPI_PARAMS_ARRAY, buffer: *mut u8, psize: *mut u32, requestidstr: super::super::Foundation::PWSTR) -> u32;
- pub fn DhcpRpcFreeMemory(bufferpointer: *mut ::core::ffi::c_void);
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpScanDatabase(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: u32, fixflag: u32, scanlist: *mut *mut DHCP_SCAN_LIST) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpServerAuditlogParamsFree(configinfo: *mut DHCP_SERVER_CONFIG_INFO_VQ);
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpServerBackupDatabase(serveripaddress: super::super::Foundation::PWSTR, path: super::super::Foundation::PWSTR) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpServerGetConfig(serveripaddress: super::super::Foundation::PWSTR, configinfo: *mut *mut DHCP_SERVER_CONFIG_INFO) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpServerGetConfigV4(serveripaddress: super::super::Foundation::PWSTR, configinfo: *mut *mut DHCP_SERVER_CONFIG_INFO_V4) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpServerGetConfigV6(serveripaddress: super::super::Foundation::PWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO6, configinfo: *mut *mut DHCP_SERVER_CONFIG_INFO_V6) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpServerGetConfigVQ(serveripaddress: super::super::Foundation::PWSTR, configinfo: *mut *mut DHCP_SERVER_CONFIG_INFO_VQ) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpServerQueryAttribute(serveripaddr: super::super::Foundation::PWSTR, dwreserved: u32, dhcpattribid: u32, pdhcpattrib: *mut *mut DHCP_ATTRIB) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpServerQueryAttributes(serveripaddr: super::super::Foundation::PWSTR, dwreserved: u32, dwattribcount: u32, pdhcpattribs: *mut u32, pdhcpattribarr: *mut *mut DHCP_ATTRIB_ARRAY) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpServerQueryDnsRegCredentials(serveripaddress: super::super::Foundation::PWSTR, unamesize: u32, uname: super::super::Foundation::PWSTR, domainsize: u32, domain: super::super::Foundation::PWSTR) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpServerRedoAuthorization(serveripaddr: super::super::Foundation::PWSTR, dwreserved: u32) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpServerRestoreDatabase(serveripaddress: super::super::Foundation::PWSTR, path: super::super::Foundation::PWSTR) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpServerSetConfig(serveripaddress: super::super::Foundation::PWSTR, fieldstoset: u32, configinfo: *mut DHCP_SERVER_CONFIG_INFO) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpServerSetConfigV4(serveripaddress: super::super::Foundation::PWSTR, fieldstoset: u32, configinfo: *mut DHCP_SERVER_CONFIG_INFO_V4) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpServerSetConfigV6(serveripaddress: super::super::Foundation::PWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO6, fieldstoset: u32, configinfo: *mut DHCP_SERVER_CONFIG_INFO_V6) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpServerSetConfigVQ(serveripaddress: super::super::Foundation::PWSTR, fieldstoset: u32, configinfo: *mut DHCP_SERVER_CONFIG_INFO_VQ) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpServerSetDnsRegCredentials(serveripaddress: super::super::Foundation::PWSTR, uname: super::super::Foundation::PWSTR, domain: super::super::Foundation::PWSTR, passwd: super::super::Foundation::PWSTR) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpServerSetDnsRegCredentialsV5(serveripaddress: super::super::Foundation::PWSTR, uname: super::super::Foundation::PWSTR, domain: super::super::Foundation::PWSTR, passwd: super::super::Foundation::PWSTR) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpSetClientInfo(serveripaddress: super::super::Foundation::PWSTR, clientinfo: *const DHCP_CLIENT_INFO) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpSetClientInfoV4(serveripaddress: super::super::Foundation::PWSTR, clientinfo: *const DHCP_CLIENT_INFO_V4) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpSetClientInfoV6(serveripaddress: super::super::Foundation::PWSTR, clientinfo: *const DHCP_CLIENT_INFO_V6) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpSetClientInfoVQ(serveripaddress: super::super::Foundation::PWSTR, clientinfo: *const DHCP_CLIENT_INFO_VQ) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpSetFilterV4(serveripaddress: super::super::Foundation::PWSTR, globalfilterinfo: *const DHCP_FILTER_GLOBAL_INFO) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpSetOptionInfo(serveripaddress: super::super::Foundation::PWSTR, optionid: u32, optioninfo: *const DHCP_OPTION) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpSetOptionInfoV5(serveripaddress: super::super::Foundation::PWSTR, flags: u32, optionid: u32, classname: super::super::Foundation::PWSTR, vendorname: super::super::Foundation::PWSTR, optioninfo: *mut DHCP_OPTION) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpSetOptionInfoV6(serveripaddress: super::super::Foundation::PWSTR, flags: u32, optionid: u32, classname: super::super::Foundation::PWSTR, vendorname: super::super::Foundation::PWSTR, optioninfo: *mut DHCP_OPTION) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpSetOptionValue(serveripaddress: super::super::Foundation::PWSTR, optionid: u32, scopeinfo: *const DHCP_OPTION_SCOPE_INFO, optionvalue: *const DHCP_OPTION_DATA) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpSetOptionValueV5(serveripaddress: super::super::Foundation::PWSTR, flags: u32, optionid: u32, classname: super::super::Foundation::PWSTR, vendorname: super::super::Foundation::PWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO, optionvalue: *mut DHCP_OPTION_DATA) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpSetOptionValueV6(serveripaddress: super::super::Foundation::PWSTR, flags: u32, optionid: u32, classname: super::super::Foundation::PWSTR, vendorname: super::super::Foundation::PWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO6, optionvalue: *mut DHCP_OPTION_DATA) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpSetOptionValues(serveripaddress: super::super::Foundation::PWSTR, scopeinfo: *const DHCP_OPTION_SCOPE_INFO, optionvalues: *const DHCP_OPTION_VALUE_ARRAY) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpSetOptionValuesV5(serveripaddress: super::super::Foundation::PWSTR, flags: u32, classname: super::super::Foundation::PWSTR, vendorname: super::super::Foundation::PWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO, optionvalues: *mut DHCP_OPTION_VALUE_ARRAY) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpSetServerBindingInfo(serveripaddress: super::super::Foundation::PWSTR, flags: u32, bindelementinfo: *mut DHCP_BIND_ELEMENT_ARRAY) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpSetServerBindingInfoV6(serveripaddress: super::super::Foundation::PWSTR, flags: u32, bindelementinfo: *mut DHCPV6_BIND_ELEMENT_ARRAY) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpSetSubnetDelayOffer(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: u32, timedelayinmilliseconds: u16) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpSetSubnetInfo(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: u32, subnetinfo: *const DHCP_SUBNET_INFO) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpSetSubnetInfoV6(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: DHCP_IPV6_ADDRESS, subnetinfo: *mut DHCP_SUBNET_INFO_V6) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpSetSubnetInfoVQ(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: u32, subnetinfo: *const DHCP_SUBNET_INFO_VQ) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpSetSuperScopeV4(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: u32, superscopename: super::super::Foundation::PWSTR, changeexisting: super::super::Foundation::BOOL) -> u32;
- pub fn DhcpSetThreadOptions(flags: u32, reserved: *mut ::core::ffi::c_void) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpUndoRequestParams(flags: u32, reserved: *mut ::core::ffi::c_void, adaptername: super::super::Foundation::PWSTR, requestidstr: super::super::Foundation::PWSTR) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4AddPolicyRange(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: u32, policyname: super::super::Foundation::PWSTR, range: *const DHCP_IP_RANGE) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4CreateClientInfo(serveripaddress: super::super::Foundation::PWSTR, clientinfo: *const DHCP_CLIENT_INFO_PB) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4CreateClientInfoEx(serveripaddress: super::super::Foundation::PWSTR, clientinfo: *const DHCP_CLIENT_INFO_EX) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4CreatePolicy(serveripaddress: super::super::Foundation::PWSTR, ppolicy: *const DHCP_POLICY) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4CreatePolicyEx(serveripaddress: super::super::Foundation::PWSTR, policyex: *const DHCP_POLICY_EX) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4DeletePolicy(serveripaddress: super::super::Foundation::PWSTR, fglobalpolicy: super::super::Foundation::BOOL, subnetaddress: u32, policyname: super::super::Foundation::PWSTR) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4EnumPolicies(serveripaddress: super::super::Foundation::PWSTR, 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")]
- pub fn DhcpV4EnumPoliciesEx(serveripaddress: super::super::Foundation::PWSTR, 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")]
- pub fn DhcpV4EnumSubnetClients(serveripaddress: super::super::Foundation::PWSTR, 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")]
- pub fn DhcpV4EnumSubnetClientsEx(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: u32, resumehandle: *mut u32, preferredmaximum: u32, clientinfo: *mut *mut DHCP_CLIENT_INFO_EX_ARRAY, clientsread: *mut u32, clientstotal: *mut u32) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4EnumSubnetReservations(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: u32, resumehandle: *mut u32, preferredmaximum: u32, enumelementinfo: *mut *mut DHCP_RESERVATION_INFO_ARRAY, elementsread: *mut u32, elementstotal: *mut u32) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4FailoverAddScopeToRelationship(serveripaddress: super::super::Foundation::PWSTR, prelationship: *const DHCP_FAILOVER_RELATIONSHIP) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4FailoverCreateRelationship(serveripaddress: super::super::Foundation::PWSTR, prelationship: *const DHCP_FAILOVER_RELATIONSHIP) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4FailoverDeleteRelationship(serveripaddress: super::super::Foundation::PWSTR, prelationshipname: super::super::Foundation::PWSTR) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4FailoverDeleteScopeFromRelationship(serveripaddress: super::super::Foundation::PWSTR, prelationship: *const DHCP_FAILOVER_RELATIONSHIP) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4FailoverEnumRelationship(serveripaddress: super::super::Foundation::PWSTR, resumehandle: *mut u32, preferredmaximum: u32, prelationship: *mut *mut DHCP_FAILOVER_RELATIONSHIP_ARRAY, relationshipread: *mut u32, relationshiptotal: *mut u32) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4FailoverGetAddressStatus(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: u32, pstatus: *mut u32) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4FailoverGetClientInfo(serveripaddress: super::super::Foundation::PWSTR, searchinfo: *const DHCP_SEARCH_INFO, clientinfo: *mut *mut DHCPV4_FAILOVER_CLIENT_INFO) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4FailoverGetRelationship(serveripaddress: super::super::Foundation::PWSTR, prelationshipname: super::super::Foundation::PWSTR, prelationship: *mut *mut DHCP_FAILOVER_RELATIONSHIP) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4FailoverGetScopeRelationship(serveripaddress: super::super::Foundation::PWSTR, scopeid: u32, prelationship: *mut *mut DHCP_FAILOVER_RELATIONSHIP) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4FailoverGetScopeStatistics(serveripaddress: super::super::Foundation::PWSTR, scopeid: u32, pstats: *mut *mut DHCP_FAILOVER_STATISTICS) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4FailoverGetSystemTime(serveripaddress: super::super::Foundation::PWSTR, ptime: *mut u32, pmaxalloweddeltatime: *mut u32) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4FailoverSetRelationship(serveripaddress: super::super::Foundation::PWSTR, flags: u32, prelationship: *const DHCP_FAILOVER_RELATIONSHIP) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4FailoverTriggerAddrAllocation(serveripaddress: super::super::Foundation::PWSTR, pfailrelname: super::super::Foundation::PWSTR) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4GetAllOptionValues(serveripaddress: super::super::Foundation::PWSTR, flags: u32, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO, values: *mut *mut DHCP_ALL_OPTION_VALUES_PB) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4GetClientInfo(serveripaddress: super::super::Foundation::PWSTR, searchinfo: *const DHCP_SEARCH_INFO, clientinfo: *mut *mut DHCP_CLIENT_INFO_PB) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4GetClientInfoEx(serveripaddress: super::super::Foundation::PWSTR, searchinfo: *const DHCP_SEARCH_INFO, clientinfo: *mut *mut DHCP_CLIENT_INFO_EX) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4GetFreeIPAddress(serveripaddress: super::super::Foundation::PWSTR, scopeid: u32, startip: u32, endip: u32, numfreeaddrreq: u32, ipaddrlist: *mut *mut DHCP_IP_ARRAY) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4GetOptionValue(serveripaddress: super::super::Foundation::PWSTR, flags: u32, optionid: u32, policyname: super::super::Foundation::PWSTR, vendorname: super::super::Foundation::PWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO, optionvalue: *mut *mut DHCP_OPTION_VALUE) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4GetPolicy(serveripaddress: super::super::Foundation::PWSTR, fglobalpolicy: super::super::Foundation::BOOL, subnetaddress: u32, policyname: super::super::Foundation::PWSTR, policy: *mut *mut DHCP_POLICY) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4GetPolicyEx(serveripaddress: super::super::Foundation::PWSTR, globalpolicy: super::super::Foundation::BOOL, subnetaddress: u32, policyname: super::super::Foundation::PWSTR, policy: *mut *mut DHCP_POLICY_EX) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4QueryPolicyEnforcement(serveripaddress: super::super::Foundation::PWSTR, fglobalpolicy: super::super::Foundation::BOOL, subnetaddress: u32, enabled: *mut super::super::Foundation::BOOL) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4RemoveOptionValue(serveripaddress: super::super::Foundation::PWSTR, flags: u32, optionid: u32, policyname: super::super::Foundation::PWSTR, vendorname: super::super::Foundation::PWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4RemovePolicyRange(serveripaddress: super::super::Foundation::PWSTR, subnetaddress: u32, policyname: super::super::Foundation::PWSTR, range: *const DHCP_IP_RANGE) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4SetOptionValue(serveripaddress: super::super::Foundation::PWSTR, flags: u32, optionid: u32, policyname: super::super::Foundation::PWSTR, vendorname: super::super::Foundation::PWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO, optionvalue: *mut DHCP_OPTION_DATA) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4SetOptionValues(serveripaddress: super::super::Foundation::PWSTR, flags: u32, policyname: super::super::Foundation::PWSTR, vendorname: super::super::Foundation::PWSTR, scopeinfo: *mut DHCP_OPTION_SCOPE_INFO, optionvalues: *mut DHCP_OPTION_VALUE_ARRAY) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4SetPolicy(serveripaddress: super::super::Foundation::PWSTR, fieldsmodified: u32, fglobalpolicy: super::super::Foundation::BOOL, subnetaddress: u32, policyname: super::super::Foundation::PWSTR, policy: *const DHCP_POLICY) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4SetPolicyEnforcement(serveripaddress: super::super::Foundation::PWSTR, fglobalpolicy: super::super::Foundation::BOOL, subnetaddress: u32, enable: super::super::Foundation::BOOL) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV4SetPolicyEx(serveripaddress: super::super::Foundation::PWSTR, fieldsmodified: u32, globalpolicy: super::super::Foundation::BOOL, subnetaddress: u32, policyname: super::super::Foundation::PWSTR, policy: *const DHCP_POLICY_EX) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV6CreateClientInfo(serveripaddress: super::super::Foundation::PWSTR, clientinfo: *const DHCP_CLIENT_INFO_V6) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV6GetFreeIPAddress(serveripaddress: super::super::Foundation::PWSTR, scopeid: DHCP_IPV6_ADDRESS, startip: DHCP_IPV6_ADDRESS, endip: DHCP_IPV6_ADDRESS, numfreeaddrreq: u32, ipaddrlist: *mut *mut DHCPV6_IP_ARRAY) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV6GetStatelessStatistics(serveripaddress: super::super::Foundation::PWSTR, statelessstats: *mut *mut DHCPV6_STATELESS_STATS) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV6GetStatelessStoreParams(serveripaddress: super::super::Foundation::PWSTR, fserverlevel: super::super::Foundation::BOOL, subnetaddress: DHCP_IPV6_ADDRESS, params: *mut *mut DHCPV6_STATELESS_PARAMS) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn DhcpV6SetStatelessStoreParams(serveripaddress: super::super::Foundation::PWSTR, fserverlevel: super::super::Foundation::BOOL, subnetaddress: DHCP_IPV6_ADDRESS, fieldmodified: u32, params: *const DHCPV6_STATELESS_PARAMS) -> u32;
- pub fn Dhcpv6CApiCleanup();
- pub fn Dhcpv6CApiInitialize(version: *mut u32);
- #[cfg(feature = "Win32_Foundation")]
- pub fn Dhcpv6ReleasePrefix(adaptername: super::super::Foundation::PWSTR, classid: *mut DHCPV6CAPI_CLASSID, leaseinfo: *mut DHCPV6PrefixLeaseInformation) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn Dhcpv6RenewPrefix(adaptername: super::super::Foundation::PWSTR, pclassid: *mut DHCPV6CAPI_CLASSID, prefixleaseinfo: *mut DHCPV6PrefixLeaseInformation, pdwtimetowait: *mut u32, bvalidateprefix: u32) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn Dhcpv6RequestParams(forcenewinform: super::super::Foundation::BOOL, reserved: *mut ::core::ffi::c_void, adaptername: super::super::Foundation::PWSTR, classid: *mut DHCPV6CAPI_CLASSID, recdparams: DHCPV6CAPI_PARAMS_ARRAY, buffer: *mut u8, psize: *mut u32) -> u32;
- #[cfg(feature = "Win32_Foundation")]
- pub fn Dhcpv6RequestPrefix(adaptername: super::super::Foundation::PWSTR, 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 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;
-#[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)]
-#[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
- }
-}
-pub const DHCPCAPI_DEREGISTER_HANDLE_EVENT: u32 = 1u32;
-#[repr(C)]
-#[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
- }
-}
-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;
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCPDS_SERVER {
- pub Version: u32,
- pub ServerName: super::super::Foundation::PWSTR,
- pub ServerAddress: u32,
- pub Flags: u32,
- pub State: u32,
- pub DsLocation: super::super::Foundation::PWSTR,
- pub DsLocType: u32,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCPDS_SERVER {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCPDS_SERVER {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCPDS_SERVERS {
- pub Flags: u32,
- pub NumElements: u32,
- pub Servers: *mut DHCPDS_SERVER,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCPDS_SERVERS {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCPDS_SERVERS {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCPV4_FAILOVER_CLIENT_INFO {
- pub ClientIpAddress: u32,
- pub SubnetMask: u32,
- pub ClientHardwareAddress: DHCP_BINARY_DATA,
- pub ClientName: super::super::Foundation::PWSTR,
- pub ClientComment: super::super::Foundation::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: super::super::Foundation::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)]
-#[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)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCPV4_FAILOVER_CLIENT_INFO_EX {
- pub ClientIpAddress: u32,
- pub SubnetMask: u32,
- pub ClientHardwareAddress: DHCP_BINARY_DATA,
- pub ClientName: super::super::Foundation::PWSTR,
- pub ClientComment: super::super::Foundation::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: super::super::Foundation::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)]
-#[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)]
-#[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)]
-#[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: super::super::Foundation::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)]
-#[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
- }
-}
-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;
-#[repr(C)]
-#[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
- }
-}
-pub type DHCPV6_STATELESS_PARAM_TYPE = i32;
-pub const DhcpStatelessPurgeInterval: DHCPV6_STATELESS_PARAM_TYPE = 1i32;
-pub const DhcpStatelessStatus: DHCPV6_STATELESS_PARAM_TYPE = 2i32;
-#[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)]
-#[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)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_ALL_OPTIONS {
- pub Flags: u32,
- pub NonVendorOptions: *mut DHCP_OPTION_ARRAY,
- pub NumVendorOptions: u32,
- pub VendorOptions: *mut DHCP_ALL_OPTIONS_0,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_ALL_OPTIONS {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_ALL_OPTIONS {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_ALL_OPTIONS_0 {
- pub Option: DHCP_OPTION,
- pub VendorName: super::super::Foundation::PWSTR,
- pub ClassName: super::super::Foundation::PWSTR,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_ALL_OPTIONS_0 {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_ALL_OPTIONS_0 {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[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)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_ALL_OPTION_VALUES_0 {
- pub ClassName: super::super::Foundation::PWSTR,
- pub VendorName: super::super::Foundation::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)]
-#[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)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_ALL_OPTION_VALUES_PB_0 {
- pub PolicyName: super::super::Foundation::PWSTR,
- pub VendorName: super::super::Foundation::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)]
-#[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)]
-#[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)]
-#[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
- }
-}
-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;
-#[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)]
-#[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: super::super::Foundation::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)]
-#[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)]
-#[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)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_CLASS_INFO {
- pub ClassName: super::super::Foundation::PWSTR,
- pub ClassComment: super::super::Foundation::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)]
-#[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)]
-#[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)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_CLASS_INFO_V6 {
- pub ClassName: super::super::Foundation::PWSTR,
- pub ClassComment: super::super::Foundation::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
- }
-}
-pub const DHCP_CLIENT_BOOTP: u32 = 805306371u32;
-pub const DHCP_CLIENT_DHCP: u32 = 805306372u32;
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_CLIENT_FILTER_STATUS_INFO {
- pub ClientIpAddress: u32,
- pub SubnetMask: u32,
- pub ClientHardwareAddress: DHCP_BINARY_DATA,
- pub ClientName: super::super::Foundation::PWSTR,
- pub ClientComment: super::super::Foundation::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)]
-#[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)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_CLIENT_INFO {
- pub ClientIpAddress: u32,
- pub SubnetMask: u32,
- pub ClientHardwareAddress: DHCP_BINARY_DATA,
- pub ClientName: super::super::Foundation::PWSTR,
- pub ClientComment: super::super::Foundation::PWSTR,
- pub ClientLeaseExpires: DATE_TIME,
- pub OwnerHost: DHCP_HOST_INFO,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_CLIENT_INFO {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_CLIENT_INFO {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_CLIENT_INFO_ARRAY {
- pub NumElements: u32,
- pub Clients: *mut *mut DHCP_CLIENT_INFO,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_CLIENT_INFO_ARRAY {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_CLIENT_INFO_ARRAY {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_CLIENT_INFO_ARRAY_V4 {
- pub NumElements: u32,
- pub Clients: *mut *mut DHCP_CLIENT_INFO_V4,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_CLIENT_INFO_ARRAY_V4 {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_CLIENT_INFO_ARRAY_V4 {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_CLIENT_INFO_ARRAY_V5 {
- pub NumElements: u32,
- pub Clients: *mut *mut DHCP_CLIENT_INFO_V5,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_CLIENT_INFO_ARRAY_V5 {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_CLIENT_INFO_ARRAY_V5 {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_CLIENT_INFO_ARRAY_V6 {
- pub NumElements: u32,
- pub Clients: *mut *mut DHCP_CLIENT_INFO_V6,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_CLIENT_INFO_ARRAY_V6 {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_CLIENT_INFO_ARRAY_V6 {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[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)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_CLIENT_INFO_EX {
- pub ClientIpAddress: u32,
- pub SubnetMask: u32,
- pub ClientHardwareAddress: DHCP_BINARY_DATA,
- pub ClientName: super::super::Foundation::PWSTR,
- pub ClientComment: super::super::Foundation::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: super::super::Foundation::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)]
-#[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)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_CLIENT_INFO_PB {
- pub ClientIpAddress: u32,
- pub SubnetMask: u32,
- pub ClientHardwareAddress: DHCP_BINARY_DATA,
- pub ClientName: super::super::Foundation::PWSTR,
- pub ClientComment: super::super::Foundation::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: super::super::Foundation::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)]
-#[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)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_CLIENT_INFO_V4 {
- pub ClientIpAddress: u32,
- pub SubnetMask: u32,
- pub ClientHardwareAddress: DHCP_BINARY_DATA,
- pub ClientName: super::super::Foundation::PWSTR,
- pub ClientComment: super::super::Foundation::PWSTR,
- pub ClientLeaseExpires: DATE_TIME,
- pub OwnerHost: DHCP_HOST_INFO,
- pub bClientType: u8,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_CLIENT_INFO_V4 {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_CLIENT_INFO_V4 {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_CLIENT_INFO_V5 {
- pub ClientIpAddress: u32,
- pub SubnetMask: u32,
- pub ClientHardwareAddress: DHCP_BINARY_DATA,
- pub ClientName: super::super::Foundation::PWSTR,
- pub ClientComment: super::super::Foundation::PWSTR,
- pub ClientLeaseExpires: DATE_TIME,
- pub OwnerHost: DHCP_HOST_INFO,
- pub bClientType: u8,
- pub AddressState: u8,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_CLIENT_INFO_V5 {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_CLIENT_INFO_V5 {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_CLIENT_INFO_V6 {
- pub ClientIpAddress: DHCP_IPV6_ADDRESS,
- pub ClientDUID: DHCP_BINARY_DATA,
- pub AddressType: u32,
- pub IAID: u32,
- pub ClientName: super::super::Foundation::PWSTR,
- pub ClientComment: super::super::Foundation::PWSTR,
- pub ClientValidLeaseExpires: DATE_TIME,
- pub ClientPrefLeaseExpires: DATE_TIME,
- pub OwnerHost: DHCP_HOST_INFO_V6,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_CLIENT_INFO_V6 {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_CLIENT_INFO_V6 {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_CLIENT_INFO_VQ {
- pub ClientIpAddress: u32,
- pub SubnetMask: u32,
- pub ClientHardwareAddress: DHCP_BINARY_DATA,
- pub ClientName: super::super::Foundation::PWSTR,
- pub ClientComment: super::super::Foundation::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_CLIENT_SEARCH_UNION(pub u8);
-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 type DHCP_FAILOVER_MODE = i32;
-pub const LoadBalance: DHCP_FAILOVER_MODE = 0i32;
-pub const HotStandby: DHCP_FAILOVER_MODE = 1i32;
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-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: super::super::Foundation::PWSTR,
- pub PrimaryServerName: super::super::Foundation::PWSTR,
- pub SecondaryServerName: super::super::Foundation::PWSTR,
- pub pScopes: *mut DHCP_IP_ARRAY,
- pub Percentage: u8,
- pub SharedSecret: super::super::Foundation::PWSTR,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_FAILOVER_RELATIONSHIP {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_FAILOVER_RELATIONSHIP {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_FAILOVER_RELATIONSHIP_ARRAY {
- pub NumElements: u32,
- pub pRelationships: *mut DHCP_FAILOVER_RELATIONSHIP,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_FAILOVER_RELATIONSHIP_ARRAY {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_FAILOVER_RELATIONSHIP_ARRAY {
- fn clone(&self) -> Self {
- *self
- }
-}
-pub type DHCP_FAILOVER_SERVER = i32;
-pub const PrimaryServer: DHCP_FAILOVER_SERVER = 0i32;
-pub const SecondaryServer: DHCP_FAILOVER_SERVER = 1i32;
-#[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)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_FILTER_ADD_INFO {
- pub AddrPatt: DHCP_ADDR_PATTERN,
- pub Comment: super::super::Foundation::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)]
-#[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)]
-#[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
- }
-}
-pub type DHCP_FILTER_LIST_TYPE = i32;
-pub const Deny: DHCP_FILTER_LIST_TYPE = 0i32;
-pub const Allow: DHCP_FILTER_LIST_TYPE = 1i32;
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_FILTER_RECORD {
- pub AddrPatt: DHCP_ADDR_PATTERN,
- pub Comment: super::super::Foundation::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
- }
-}
-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 type DHCP_FORCE_FLAG = i32;
-pub const DhcpFullForce: DHCP_FORCE_FLAG = 0i32;
-pub const DhcpNoForce: DHCP_FORCE_FLAG = 1i32;
-pub const DhcpFailoverForce: DHCP_FORCE_FLAG = 2i32;
-pub const DHCP_GIVE_ADDRESS_NEW: u32 = 805306369u32;
-pub const DHCP_GIVE_ADDRESS_OLD: u32 = 805306370u32;
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_HOST_INFO {
- pub IpAddress: u32,
- pub NetBiosName: super::super::Foundation::PWSTR,
- pub HostName: super::super::Foundation::PWSTR,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_HOST_INFO {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_HOST_INFO {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_HOST_INFO_V6 {
- pub IpAddress: DHCP_IPV6_ADDRESS,
- pub NetBiosName: super::super::Foundation::PWSTR,
- pub HostName: super::super::Foundation::PWSTR,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_HOST_INFO_V6 {}
-#[cfg(feature = "Win32_Foundation")]
-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)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_IP_RESERVATION_INFO {
- pub ReservedIpAddress: u32,
- pub ReservedForClient: DHCP_BINARY_DATA,
- pub ReservedClientName: super::super::Foundation::PWSTR,
- pub ReservedClientDesc: super::super::Foundation::PWSTR,
- pub bAllowedClientTypes: u8,
- pub fOptionsPresent: u8,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_IP_RESERVATION_INFO {}
-#[cfg(feature = "Win32_Foundation")]
-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
- }
-}
-pub const DHCP_MAX_DELAY: u32 = 1000u32;
-#[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
- }
-}
-pub const DHCP_MIN_DELAY: u32 = 0u32;
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_OPTION {
- pub OptionID: u32,
- pub OptionName: super::super::Foundation::PWSTR,
- pub OptionComment: super::super::Foundation::PWSTR,
- pub DefaultValue: DHCP_OPTION_DATA,
- pub OptionType: DHCP_OPTION_TYPE,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_OPTION {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_OPTION {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_OPTION_ARRAY {
- pub NumElements: u32,
- pub Options: *mut DHCP_OPTION,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_OPTION_ARRAY {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_OPTION_ARRAY {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_OPTION_DATA {
- pub NumElements: u32,
- pub Elements: *mut DHCP_OPTION_DATA_ELEMENT,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_OPTION_DATA {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_OPTION_DATA {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_OPTION_DATA_ELEMENT {
- pub OptionType: DHCP_OPTION_DATA_TYPE,
- pub Element: DHCP_OPTION_DATA_ELEMENT_0,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_OPTION_DATA_ELEMENT {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_OPTION_DATA_ELEMENT {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-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: super::super::Foundation::PWSTR,
- pub BinaryDataOption: DHCP_BINARY_DATA,
- pub EncapsulatedDataOption: DHCP_BINARY_DATA,
- pub Ipv6AddressDataOption: super::super::Foundation::PWSTR,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_OPTION_DATA_ELEMENT_0 {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_OPTION_DATA_ELEMENT_0 {
- fn clone(&self) -> Self {
- *self
- }
-}
-pub type DHCP_OPTION_DATA_TYPE = i32;
-pub const DhcpByteOption: DHCP_OPTION_DATA_TYPE = 0i32;
-pub const DhcpWordOption: DHCP_OPTION_DATA_TYPE = 1i32;
-pub const DhcpDWordOption: DHCP_OPTION_DATA_TYPE = 2i32;
-pub const DhcpDWordDWordOption: DHCP_OPTION_DATA_TYPE = 3i32;
-pub const DhcpIpAddressOption: DHCP_OPTION_DATA_TYPE = 4i32;
-pub const DhcpStringDataOption: DHCP_OPTION_DATA_TYPE = 5i32;
-pub const DhcpBinaryDataOption: DHCP_OPTION_DATA_TYPE = 6i32;
-pub const DhcpEncapsulatedDataOption: DHCP_OPTION_DATA_TYPE = 7i32;
-pub const DhcpIpv6AddressOption: DHCP_OPTION_DATA_TYPE = 8i32;
-#[repr(C)]
-pub struct DHCP_OPTION_ELEMENT_UNION(pub u8);
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_OPTION_LIST {
- pub NumOptions: u32,
- pub Options: *mut DHCP_OPTION_VALUE,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_OPTION_LIST {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_OPTION_LIST {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_OPTION_SCOPE_INFO {
- pub ScopeType: DHCP_OPTION_SCOPE_TYPE,
- pub ScopeInfo: DHCP_OPTION_SCOPE_INFO_0,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_OPTION_SCOPE_INFO {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_OPTION_SCOPE_INFO {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-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: super::super::Foundation::PWSTR,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_OPTION_SCOPE_INFO_0 {}
-#[cfg(feature = "Win32_Foundation")]
-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
- }
-}
-pub type DHCP_OPTION_SCOPE_TYPE = i32;
-pub const DhcpDefaultOptions: DHCP_OPTION_SCOPE_TYPE = 0i32;
-pub const DhcpGlobalOptions: DHCP_OPTION_SCOPE_TYPE = 1i32;
-pub const DhcpSubnetOptions: DHCP_OPTION_SCOPE_TYPE = 2i32;
-pub const DhcpReservedOptions: DHCP_OPTION_SCOPE_TYPE = 3i32;
-pub const DhcpMScopeOptions: DHCP_OPTION_SCOPE_TYPE = 4i32;
-pub type DHCP_OPTION_SCOPE_TYPE6 = i32;
-pub const DhcpDefaultOptions6: DHCP_OPTION_SCOPE_TYPE6 = 0i32;
-pub const DhcpScopeOptions6: DHCP_OPTION_SCOPE_TYPE6 = 1i32;
-pub const DhcpReservedOptions6: DHCP_OPTION_SCOPE_TYPE6 = 2i32;
-pub const DhcpGlobalOptions6: DHCP_OPTION_SCOPE_TYPE6 = 3i32;
-#[repr(C)]
-pub struct DHCP_OPTION_SCOPE_UNION6(pub u8);
-pub type DHCP_OPTION_TYPE = i32;
-pub const DhcpUnaryElementTypeOption: DHCP_OPTION_TYPE = 0i32;
-pub const DhcpArrayTypeOption: DHCP_OPTION_TYPE = 1i32;
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_OPTION_VALUE {
- pub OptionID: u32,
- pub Value: DHCP_OPTION_DATA,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_OPTION_VALUE {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_OPTION_VALUE {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_OPTION_VALUE_ARRAY {
- pub NumElements: u32,
- pub Values: *mut DHCP_OPTION_VALUE,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_OPTION_VALUE_ARRAY {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_OPTION_VALUE_ARRAY {
- fn clone(&self) -> Self {
- *self
- }
-}
-pub const DHCP_OPT_ENUM_IGNORE_VENDOR: u32 = 1u32;
-pub const DHCP_OPT_ENUM_USE_CLASSNAME: u32 = 2u32;
-#[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)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_POLICY {
- pub PolicyName: super::super::Foundation::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: super::super::Foundation::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)]
-#[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)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_POLICY_EX {
- pub PolicyName: super::super::Foundation::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: super::super::Foundation::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)]
-#[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
- }
-}
-pub type DHCP_POLICY_FIELDS_TO_UPDATE = i32;
-pub const DhcpUpdatePolicyName: DHCP_POLICY_FIELDS_TO_UPDATE = 1i32;
-pub const DhcpUpdatePolicyOrder: DHCP_POLICY_FIELDS_TO_UPDATE = 2i32;
-pub const DhcpUpdatePolicyExpr: DHCP_POLICY_FIELDS_TO_UPDATE = 4i32;
-pub const DhcpUpdatePolicyRanges: DHCP_POLICY_FIELDS_TO_UPDATE = 8i32;
-pub const DhcpUpdatePolicyDescr: DHCP_POLICY_FIELDS_TO_UPDATE = 16i32;
-pub const DhcpUpdatePolicyStatus: DHCP_POLICY_FIELDS_TO_UPDATE = 32i32;
-pub const DhcpUpdatePolicyDnsSuffix: DHCP_POLICY_FIELDS_TO_UPDATE = 64i32;
-pub type DHCP_POL_ATTR_TYPE = i32;
-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 DhcpAttrFqdn: DHCP_POL_ATTR_TYPE = 3i32;
-pub const DhcpAttrFqdnSingleLabel: DHCP_POL_ATTR_TYPE = 4i32;
-pub type DHCP_POL_COMPARATOR = i32;
-pub const DhcpCompEqual: DHCP_POL_COMPARATOR = 0i32;
-pub const DhcpCompNotEqual: DHCP_POL_COMPARATOR = 1i32;
-pub const DhcpCompBeginsWith: DHCP_POL_COMPARATOR = 2i32;
-pub const DhcpCompNotBeginWith: DHCP_POL_COMPARATOR = 3i32;
-pub const DhcpCompEndsWith: DHCP_POL_COMPARATOR = 4i32;
-pub const DhcpCompNotEndWith: DHCP_POL_COMPARATOR = 5i32;
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_POL_COND {
- pub ParentExpr: u32,
- pub Type: DHCP_POL_ATTR_TYPE,
- pub OptionID: u32,
- pub SubOptionID: u32,
- pub VendorName: super::super::Foundation::PWSTR,
- pub Operator: DHCP_POL_COMPARATOR,
- pub Value: *mut u8,
- pub ValueLength: u32,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_POL_COND {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_POL_COND {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_POL_COND_ARRAY {
- pub NumElements: u32,
- pub Elements: *mut DHCP_POL_COND,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_POL_COND_ARRAY {}
-#[cfg(feature = "Win32_Foundation")]
-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
- }
-}
-pub type DHCP_POL_LOGIC_OPER = i32;
-pub const DhcpLogicalOr: DHCP_POL_LOGIC_OPER = 0i32;
-pub const DhcpLogicalAnd: DHCP_POL_LOGIC_OPER = 1i32;
-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;
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_PROPERTY {
- pub ID: DHCP_PROPERTY_ID,
- pub Type: DHCP_PROPERTY_TYPE,
- pub Value: DHCP_PROPERTY_0,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_PROPERTY {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_PROPERTY {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub union DHCP_PROPERTY_0 {
- pub ByteValue: u8,
- pub WordValue: u16,
- pub DWordValue: u32,
- pub StringValue: super::super::Foundation::PWSTR,
- pub BinaryValue: DHCP_BINARY_DATA,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_PROPERTY_0 {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_PROPERTY_0 {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_PROPERTY_ARRAY {
- pub NumElements: u32,
- pub Elements: *mut DHCP_PROPERTY,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_PROPERTY_ARRAY {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_PROPERTY_ARRAY {
- fn clone(&self) -> Self {
- *self
- }
-}
-pub type DHCP_PROPERTY_ID = i32;
-pub const DhcpPropIdPolicyDnsSuffix: DHCP_PROPERTY_ID = 0i32;
-pub const DhcpPropIdClientAddressStateEx: DHCP_PROPERTY_ID = 1i32;
-pub type DHCP_PROPERTY_TYPE = i32;
-pub const DhcpPropTypeByte: DHCP_PROPERTY_TYPE = 0i32;
-pub const DhcpPropTypeWord: DHCP_PROPERTY_TYPE = 1i32;
-pub const DhcpPropTypeDword: DHCP_PROPERTY_TYPE = 2i32;
-pub const DhcpPropTypeString: DHCP_PROPERTY_TYPE = 3i32;
-pub const DhcpPropTypeBinary: DHCP_PROPERTY_TYPE = 4i32;
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_RESERVATION_INFO_ARRAY {
- pub NumElements: u32,
- pub Elements: *mut *mut DHCP_IP_RESERVATION_INFO,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_RESERVATION_INFO_ARRAY {}
-#[cfg(feature = "Win32_Foundation")]
-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
- }
-}
-pub type DHCP_SCAN_FLAG = i32;
-pub const DhcpRegistryFix: DHCP_SCAN_FLAG = 0i32;
-pub const DhcpDatabaseFix: DHCP_SCAN_FLAG = 1i32;
-#[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)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_SEARCH_INFO {
- pub SearchType: DHCP_SEARCH_INFO_TYPE,
- pub SearchInfo: DHCP_SEARCH_INFO_0,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_SEARCH_INFO {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_SEARCH_INFO {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub union DHCP_SEARCH_INFO_0 {
- pub ClientIpAddress: u32,
- pub ClientHardwareAddress: DHCP_BINARY_DATA,
- pub ClientName: super::super::Foundation::PWSTR,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_SEARCH_INFO_0 {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_SEARCH_INFO_0 {
- fn clone(&self) -> Self {
- *self
- }
-}
-pub type DHCP_SEARCH_INFO_TYPE = i32;
-pub const DhcpClientIpAddress: DHCP_SEARCH_INFO_TYPE = 0i32;
-pub const DhcpClientHardwareAddress: DHCP_SEARCH_INFO_TYPE = 1i32;
-pub const DhcpClientName: DHCP_SEARCH_INFO_TYPE = 2i32;
-pub type DHCP_SEARCH_INFO_TYPE_V6 = i32;
-pub const Dhcpv6ClientIpAddress: DHCP_SEARCH_INFO_TYPE_V6 = 0i32;
-pub const Dhcpv6ClientDUID: DHCP_SEARCH_INFO_TYPE_V6 = 1i32;
-pub const Dhcpv6ClientName: DHCP_SEARCH_INFO_TYPE_V6 = 2i32;
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_SEARCH_INFO_V6 {
- pub SearchType: DHCP_SEARCH_INFO_TYPE_V6,
- pub SearchInfo: DHCP_SEARCH_INFO_V6_0,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_SEARCH_INFO_V6 {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_SEARCH_INFO_V6 {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub union DHCP_SEARCH_INFO_V6_0 {
- pub ClientIpAddress: DHCP_IPV6_ADDRESS,
- pub ClientDUID: DHCP_BINARY_DATA,
- pub ClientName: super::super::Foundation::PWSTR,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_SEARCH_INFO_V6_0 {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_SEARCH_INFO_V6_0 {
- fn clone(&self) -> Self {
- *self
- }
-}
-pub const DHCP_SEND_PACKET: u32 = 268435456u32;
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_SERVER_CONFIG_INFO {
- pub APIProtocolSupport: u32,
- pub DatabaseName: super::super::Foundation::PWSTR,
- pub DatabasePath: super::super::Foundation::PWSTR,
- pub BackupPath: super::super::Foundation::PWSTR,
- pub BackupInterval: u32,
- pub DatabaseLoggingFlag: u32,
- pub RestoreFlag: u32,
- pub DatabaseCleanupInterval: u32,
- pub DebugFlag: u32,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_SERVER_CONFIG_INFO {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_SERVER_CONFIG_INFO {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_SERVER_CONFIG_INFO_V4 {
- pub APIProtocolSupport: u32,
- pub DatabaseName: super::super::Foundation::PWSTR,
- pub DatabasePath: super::super::Foundation::PWSTR,
- pub BackupPath: super::super::Foundation::PWSTR,
- pub BackupInterval: u32,
- pub DatabaseLoggingFlag: u32,
- pub RestoreFlag: u32,
- pub DatabaseCleanupInterval: u32,
- pub DebugFlag: u32,
- pub dwPingRetries: u32,
- pub cbBootTableString: u32,
- pub wszBootTableString: super::super::Foundation::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)]
-#[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)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_SERVER_CONFIG_INFO_VQ {
- pub APIProtocolSupport: u32,
- pub DatabaseName: super::super::Foundation::PWSTR,
- pub DatabasePath: super::super::Foundation::PWSTR,
- pub BackupPath: super::super::Foundation::PWSTR,
- pub BackupInterval: u32,
- pub DatabaseLoggingFlag: u32,
- pub RestoreFlag: u32,
- pub DatabaseCleanupInterval: u32,
- pub DebugFlag: u32,
- pub dwPingRetries: u32,
- pub cbBootTableString: u32,
- pub wszBootTableString: super::super::Foundation::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)]
-#[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))]
-#[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: super::super::Foundation::PSTR,
- pub MachineNameLength: u32,
- pub ClientHardwareAddressType: u8,
- pub ClientHardwareAddressLength: u8,
- pub ClientHardwareAddress: *mut u8,
- pub ClassIdentifier: super::super::Foundation::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: super::super::Foundation::PSTR,
- pub DSDomainNameLen: u32,
- pub ScopeId: *mut u32,
-}
-#[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))]
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_SERVER_OPTIONS {}
-#[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))]
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_SERVER_OPTIONS {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(any(target_arch = "x86",))]
-#[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: super::super::Foundation::PSTR,
- pub MachineNameLength: u32,
- pub ClientHardwareAddressType: u8,
- pub ClientHardwareAddressLength: u8,
- pub ClientHardwareAddress: *mut u8,
- pub ClassIdentifier: super::super::Foundation::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: super::super::Foundation::PSTR,
- pub DSDomainNameLen: u32,
- pub ScopeId: *mut u32,
-}
-#[cfg(any(target_arch = "x86",))]
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_SERVER_OPTIONS {}
-#[cfg(any(target_arch = "x86",))]
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_SERVER_OPTIONS {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_SERVER_SPECIFIC_STRINGS {
- pub DefaultVendorClassName: super::super::Foundation::PWSTR,
- pub DefaultUserClassName: super::super::Foundation::PWSTR,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_SERVER_SPECIFIC_STRINGS {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_SERVER_SPECIFIC_STRINGS {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_SUBNET_ELEMENT_DATA {
- pub ElementType: DHCP_SUBNET_ELEMENT_TYPE,
- pub Element: DHCP_SUBNET_ELEMENT_DATA_0,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_DATA {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_DATA {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-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,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_DATA_0 {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_DATA_0 {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_SUBNET_ELEMENT_DATA_V4 {
- pub ElementType: DHCP_SUBNET_ELEMENT_TYPE,
- pub Element: DHCP_SUBNET_ELEMENT_DATA_V4_0,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_DATA_V4 {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_DATA_V4 {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-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,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_DATA_V4_0 {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_DATA_V4_0 {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_SUBNET_ELEMENT_DATA_V5 {
- pub ElementType: DHCP_SUBNET_ELEMENT_TYPE,
- pub Element: DHCP_SUBNET_ELEMENT_DATA_V5_0,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_DATA_V5 {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_DATA_V5 {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-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,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_DATA_V5_0 {}
-#[cfg(feature = "Win32_Foundation")]
-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)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_SUBNET_ELEMENT_INFO_ARRAY {
- pub NumElements: u32,
- pub Elements: *mut DHCP_SUBNET_ELEMENT_DATA,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_INFO_ARRAY {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_INFO_ARRAY {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_SUBNET_ELEMENT_INFO_ARRAY_V4 {
- pub NumElements: u32,
- pub Elements: *mut DHCP_SUBNET_ELEMENT_DATA_V4,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_INFO_ARRAY_V4 {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_INFO_ARRAY_V4 {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_SUBNET_ELEMENT_INFO_ARRAY_V5 {
- pub NumElements: u32,
- pub Elements: *mut DHCP_SUBNET_ELEMENT_DATA_V5,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_INFO_ARRAY_V5 {}
-#[cfg(feature = "Win32_Foundation")]
-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
- }
-}
-pub type DHCP_SUBNET_ELEMENT_TYPE = i32;
-pub const DhcpIpRanges: DHCP_SUBNET_ELEMENT_TYPE = 0i32;
-pub const DhcpSecondaryHosts: DHCP_SUBNET_ELEMENT_TYPE = 1i32;
-pub const DhcpReservedIps: DHCP_SUBNET_ELEMENT_TYPE = 2i32;
-pub const DhcpExcludedIpRanges: DHCP_SUBNET_ELEMENT_TYPE = 3i32;
-pub const DhcpIpUsedClusters: DHCP_SUBNET_ELEMENT_TYPE = 4i32;
-pub const DhcpIpRangesDhcpOnly: DHCP_SUBNET_ELEMENT_TYPE = 5i32;
-pub const DhcpIpRangesDhcpBootp: DHCP_SUBNET_ELEMENT_TYPE = 6i32;
-pub const DhcpIpRangesBootpOnly: DHCP_SUBNET_ELEMENT_TYPE = 7i32;
-pub type DHCP_SUBNET_ELEMENT_TYPE_V6 = i32;
-pub const Dhcpv6IpRanges: DHCP_SUBNET_ELEMENT_TYPE_V6 = 0i32;
-pub const Dhcpv6ReservedIps: DHCP_SUBNET_ELEMENT_TYPE_V6 = 1i32;
-pub const Dhcpv6ExcludedIpRanges: DHCP_SUBNET_ELEMENT_TYPE_V6 = 2i32;
-#[repr(C)]
-pub struct DHCP_SUBNET_ELEMENT_UNION(pub u8);
-#[repr(C)]
-pub struct DHCP_SUBNET_ELEMENT_UNION_V4(pub u8);
-#[repr(C)]
-pub struct DHCP_SUBNET_ELEMENT_UNION_V6(pub u8);
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_SUBNET_INFO {
- pub SubnetAddress: u32,
- pub SubnetMask: u32,
- pub SubnetName: super::super::Foundation::PWSTR,
- pub SubnetComment: super::super::Foundation::PWSTR,
- pub PrimaryHost: DHCP_HOST_INFO,
- pub SubnetState: DHCP_SUBNET_STATE,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_SUBNET_INFO {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_SUBNET_INFO {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_SUBNET_INFO_V6 {
- pub SubnetAddress: DHCP_IPV6_ADDRESS,
- pub Prefix: u32,
- pub Preference: u16,
- pub SubnetName: super::super::Foundation::PWSTR,
- pub SubnetComment: super::super::Foundation::PWSTR,
- pub State: u32,
- pub ScopeId: u32,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_SUBNET_INFO_V6 {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_SUBNET_INFO_V6 {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_SUBNET_INFO_VQ {
- pub SubnetAddress: u32,
- pub SubnetMask: u32,
- pub SubnetName: super::super::Foundation::PWSTR,
- pub SubnetComment: super::super::Foundation::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,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_SUBNET_INFO_VQ {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_SUBNET_INFO_VQ {
- fn clone(&self) -> Self {
- *self
- }
-}
-pub const DHCP_SUBNET_INFO_VQ_FLAG_QUARANTINE: u32 = 1u32;
-pub type DHCP_SUBNET_STATE = i32;
-pub const DhcpSubnetEnabled: DHCP_SUBNET_STATE = 0i32;
-pub const DhcpSubnetDisabled: DHCP_SUBNET_STATE = 1i32;
-pub const DhcpSubnetEnabledSwitched: DHCP_SUBNET_STATE = 2i32;
-pub const DhcpSubnetDisabledSwitched: DHCP_SUBNET_STATE = 3i32;
-pub const DhcpSubnetInvalidState: DHCP_SUBNET_STATE = 4i32;
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_SUPER_SCOPE_TABLE {
- pub cEntries: u32,
- pub pEntries: *mut DHCP_SUPER_SCOPE_TABLE_ENTRY,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_SUPER_SCOPE_TABLE {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_SUPER_SCOPE_TABLE {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DHCP_SUPER_SCOPE_TABLE_ENTRY {
- pub SubnetAddress: u32,
- pub SuperScopeNumber: u32,
- pub NextInSuperScope: u32,
- pub SuperScopeName: super::super::Foundation::PWSTR,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DHCP_SUPER_SCOPE_TABLE_ENTRY {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DHCP_SUPER_SCOPE_TABLE_ENTRY {
- fn clone(&self) -> Self {
- *self
- }
-}
-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;
-#[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
- }
-}
-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 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 type FSM_STATE = i32;
-pub const NO_STATE: FSM_STATE = 0i32;
-pub const INIT: FSM_STATE = 1i32;
-pub const STARTUP: FSM_STATE = 2i32;
-pub const NORMAL: FSM_STATE = 3i32;
-pub const COMMUNICATION_INT: FSM_STATE = 4i32;
-pub const PARTNER_DOWN: FSM_STATE = 5i32;
-pub const POTENTIAL_CONFLICT: FSM_STATE = 6i32;
-pub const CONFLICT_DONE: FSM_STATE = 7i32;
-pub const RESOLUTION_INT: FSM_STATE = 8i32;
-pub const RECOVER: FSM_STATE = 9i32;
-pub const RECOVER_WAIT: FSM_STATE = 10i32;
-pub const RECOVER_DONE: FSM_STATE = 11i32;
-pub const PAUSED: FSM_STATE = 12i32;
-pub const SHUTDOWN: FSM_STATE = 13i32;
-pub const HWTYPE_ETHERNET_10MB: u32 = 1u32;
-pub type LPDHCP_CONTROL = unsafe extern "system" fn(dwcontrolcode: u32, lpreserved: *mut ::core::ffi::c_void) -> u32;
-pub type LPDHCP_DELETE_CLIENT = unsafe extern "system" fn(ipaddress: u32, hwaddress: *mut u8, hwaddresslength: u32, reserved: u32, clienttype: u32) -> u32;
-pub type LPDHCP_DROP_SEND = 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;
-#[cfg(feature = "Win32_Foundation")]
-pub type LPDHCP_ENTRY_POINT_FUNC = unsafe extern "system" fn(chaindlls: super::super::Foundation::PWSTR, calloutversion: u32, callouttbl: *mut DHCP_CALLOUT_TABLE) -> u32;
-pub type LPDHCP_GIVE_ADDRESS = 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;
-#[cfg(feature = "Win32_Foundation")]
-pub type LPDHCP_HANDLE_OPTIONS = 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;
-pub type LPDHCP_NEWPKT = 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 i32) -> u32;
-pub type LPDHCP_PROB = 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;
-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 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 PERCENTAGE: u32 = 8u32;
-pub const PREVSTATE: u32 = 32u32;
-pub const QUARANTINE_CONFIG_OPTION: u32 = 43222u32;
-pub const QUARANTINE_SCOPE_QUARPROFILE_OPTION: u32 = 43221u32;
-pub const QUARANTIN_OPTION_BASE: u32 = 43220u32;
-pub type QuarantineStatus = i32;
-pub const NOQUARANTINE: QuarantineStatus = 0i32;
-pub const RESTRICTEDACCESS: QuarantineStatus = 1i32;
-pub const DROPPACKET: QuarantineStatus = 2i32;
-pub const PROBATION: QuarantineStatus = 3i32;
-pub const EXEMPT: QuarantineStatus = 4i32;
-pub const DEFAULTQUARSETTING: QuarantineStatus = 5i32;
-pub const NOQUARINFO: QuarantineStatus = 6i32;
-pub const SAFEPERIOD: u32 = 2u32;
-#[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 const SHAREDSECRET: u32 = 64u32;
-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 type StatusCode = i32;
-pub const STATUS_NO_ERROR: StatusCode = 0i32;
-pub const STATUS_UNSPECIFIED_FAILURE: StatusCode = 1i32;
-pub const STATUS_NO_BINDING: StatusCode = 3i32;
-pub const STATUS_NOPREFIX_AVAIL: StatusCode = 6i32;
-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;