| 1 |
#[cfg(feature = "Win32_Foundation")] |
| 2 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsAcquireContextHandle_A(credentialflags : u32, credentials : *const ::core::ffi::c_void, pcontext : *mut super::super::Foundation:: HANDLE) -> i32); |
| 3 |
#[cfg(feature = "Win32_Foundation")] |
| 4 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsAcquireContextHandle_W(credentialflags : u32, credentials : *const ::core::ffi::c_void, pcontext : *mut super::super::Foundation:: HANDLE) -> i32); |
| 5 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsCancelQuery(pcancelhandle : *const DNS_QUERY_CANCEL) -> i32); |
| 6 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsConnectionDeletePolicyEntries(policyentrytag : DNS_CONNECTION_POLICY_TAG) -> u32); |
| 7 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsConnectionDeleteProxyInfo(pwszconnectionname : ::windows_sys::core::PCWSTR, r#type : DNS_CONNECTION_PROXY_TYPE) -> u32); |
| 8 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsConnectionFreeNameList(pnamelist : *mut DNS_CONNECTION_NAME_LIST) -> ()); |
| 9 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsConnectionFreeProxyInfo(pproxyinfo : *mut DNS_CONNECTION_PROXY_INFO) -> ()); |
| 10 |
#[cfg(feature = "Win32_Foundation")] |
| 11 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsConnectionFreeProxyInfoEx(pproxyinfoex : *mut DNS_CONNECTION_PROXY_INFO_EX) -> ()); |
| 12 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsConnectionFreeProxyList(pproxylist : *mut DNS_CONNECTION_PROXY_LIST) -> ()); |
| 13 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsConnectionGetNameList(pnamelist : *mut DNS_CONNECTION_NAME_LIST) -> u32); |
| 14 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsConnectionGetProxyInfo(pwszconnectionname : ::windows_sys::core::PCWSTR, r#type : DNS_CONNECTION_PROXY_TYPE, pproxyinfo : *mut DNS_CONNECTION_PROXY_INFO) -> u32); |
| 15 |
#[cfg(feature = "Win32_Foundation")] |
| 16 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsConnectionGetProxyInfoForHostUrl(pwszhosturl : ::windows_sys::core::PCWSTR, pselectioncontext : *const u8, dwselectioncontextlength : u32, dwexplicitinterfaceindex : u32, pproxyinfoex : *mut DNS_CONNECTION_PROXY_INFO_EX) -> u32); |
| 17 |
#[cfg(feature = "Win32_Foundation")] |
| 18 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsConnectionGetProxyInfoForHostUrlEx(pwszhosturl : ::windows_sys::core::PCWSTR, pselectioncontext : *const u8, dwselectioncontextlength : u32, dwexplicitinterfaceindex : u32, pwszconnectionname : ::windows_sys::core::PCWSTR, pproxyinfoex : *mut DNS_CONNECTION_PROXY_INFO_EX) -> u32); |
| 19 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsConnectionGetProxyList(pwszconnectionname : ::windows_sys::core::PCWSTR, pproxylist : *mut DNS_CONNECTION_PROXY_LIST) -> u32); |
| 20 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsConnectionSetPolicyEntries(policyentrytag : DNS_CONNECTION_POLICY_TAG, ppolicyentrylist : *const DNS_CONNECTION_POLICY_ENTRY_LIST) -> u32); |
| 21 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsConnectionSetProxyInfo(pwszconnectionname : ::windows_sys::core::PCWSTR, r#type : DNS_CONNECTION_PROXY_TYPE, pproxyinfo : *const DNS_CONNECTION_PROXY_INFO) -> u32); |
| 22 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsConnectionUpdateIfIndexTable(pconnectionifindexentries : *const DNS_CONNECTION_IFINDEX_LIST) -> u32); |
| 23 |
#[cfg(feature = "Win32_Foundation")] |
| 24 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsExtractRecordsFromMessage_UTF8(pdnsbuffer : *const DNS_MESSAGE_BUFFER, wmessagelength : u16, pprecord : *mut *mut DNS_RECORDA) -> i32); |
| 25 |
#[cfg(feature = "Win32_Foundation")] |
| 26 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsExtractRecordsFromMessage_W(pdnsbuffer : *const DNS_MESSAGE_BUFFER, wmessagelength : u16, pprecord : *mut *mut DNS_RECORDA) -> i32); |
| 27 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsFree(pdata : *const ::core::ffi::c_void, freetype : DNS_FREE_TYPE) -> ()); |
| 28 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsFreeCustomServers(pcservers : *mut u32, ppservers : *mut *mut DNS_CUSTOM_SERVER) -> ()); |
| 29 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsFreeProxyName(proxyname : ::windows_sys::core::PCWSTR) -> ()); |
| 30 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsGetApplicationSettings(pcservers : *mut u32, ppdefaultservers : *mut *mut DNS_CUSTOM_SERVER, psettings : *mut DNS_APPLICATION_SETTINGS) -> u32); |
| 31 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsGetProxyInformation(hostname : ::windows_sys::core::PCWSTR, proxyinformation : *mut DNS_PROXY_INFORMATION, defaultproxyinformation : *mut DNS_PROXY_INFORMATION, completionroutine : DNS_PROXY_COMPLETION_ROUTINE, completioncontext : *const ::core::ffi::c_void) -> u32); |
| 32 |
#[cfg(feature = "Win32_Foundation")] |
| 33 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsModifyRecordsInSet_A(paddrecords : *const DNS_RECORDA, pdeleterecords : *const DNS_RECORDA, options : u32, hcredentials : super::super::Foundation:: HANDLE, pextralist : *mut ::core::ffi::c_void, preserved : *mut ::core::ffi::c_void) -> i32); |
| 34 |
#[cfg(feature = "Win32_Foundation")] |
| 35 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsModifyRecordsInSet_UTF8(paddrecords : *const DNS_RECORDA, pdeleterecords : *const DNS_RECORDA, options : u32, hcredentials : super::super::Foundation:: HANDLE, pextralist : *mut ::core::ffi::c_void, preserved : *mut ::core::ffi::c_void) -> i32); |
| 36 |
#[cfg(feature = "Win32_Foundation")] |
| 37 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsModifyRecordsInSet_W(paddrecords : *const DNS_RECORDA, pdeleterecords : *const DNS_RECORDA, options : u32, hcredentials : super::super::Foundation:: HANDLE, pextralist : *mut ::core::ffi::c_void, preserved : *mut ::core::ffi::c_void) -> i32); |
| 38 |
#[cfg(feature = "Win32_Foundation")] |
| 39 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsNameCompare_A(pname1 : ::windows_sys::core::PCSTR, pname2 : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); |
| 40 |
#[cfg(feature = "Win32_Foundation")] |
| 41 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsNameCompare_W(pname1 : ::windows_sys::core::PCWSTR, pname2 : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); |
| 42 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsQueryConfig(config : DNS_CONFIG_TYPE, flag : u32, pwsadaptername : ::windows_sys::core::PCWSTR, preserved : *const ::core::ffi::c_void, pbuffer : *mut ::core::ffi::c_void, pbuflen : *mut u32) -> i32); |
| 43 |
#[cfg(feature = "Win32_Foundation")] |
| 44 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsQueryEx(pqueryrequest : *const DNS_QUERY_REQUEST, pqueryresults : *mut DNS_QUERY_RESULT, pcancelhandle : *mut DNS_QUERY_CANCEL) -> i32); |
| 45 |
#[cfg(feature = "Win32_Foundation")] |
| 46 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsQuery_A(pszname : ::windows_sys::core::PCSTR, wtype : DNS_TYPE, options : DNS_QUERY_OPTIONS, pextra : *mut ::core::ffi::c_void, ppqueryresults : *mut *mut DNS_RECORDA, preserved : *mut *mut ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR); |
| 47 |
#[cfg(feature = "Win32_Foundation")] |
| 48 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsQuery_UTF8(pszname : ::windows_sys::core::PCSTR, wtype : DNS_TYPE, options : DNS_QUERY_OPTIONS, pextra : *mut ::core::ffi::c_void, ppqueryresults : *mut *mut DNS_RECORDA, preserved : *mut *mut ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR); |
| 49 |
#[cfg(feature = "Win32_Foundation")] |
| 50 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsQuery_W(pszname : ::windows_sys::core::PCWSTR, wtype : DNS_TYPE, options : DNS_QUERY_OPTIONS, pextra : *mut ::core::ffi::c_void, ppqueryresults : *mut *mut DNS_RECORDA, preserved : *mut *mut ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR); |
| 51 |
#[cfg(feature = "Win32_Foundation")] |
| 52 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsRecordCompare(precord1 : *const DNS_RECORDA, precord2 : *const DNS_RECORDA) -> super::super::Foundation:: BOOL); |
| 53 |
#[cfg(feature = "Win32_Foundation")] |
| 54 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsRecordCopyEx(precord : *const DNS_RECORDA, charsetin : DNS_CHARSET, charsetout : DNS_CHARSET) -> *mut DNS_RECORDA); |
| 55 |
#[cfg(feature = "Win32_Foundation")] |
| 56 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsRecordSetCompare(prr1 : *mut DNS_RECORDA, prr2 : *mut DNS_RECORDA, ppdiff1 : *mut *mut DNS_RECORDA, ppdiff2 : *mut *mut DNS_RECORDA) -> super::super::Foundation:: BOOL); |
| 57 |
#[cfg(feature = "Win32_Foundation")] |
| 58 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsRecordSetCopyEx(precordset : *const DNS_RECORDA, charsetin : DNS_CHARSET, charsetout : DNS_CHARSET) -> *mut DNS_RECORDA); |
| 59 |
#[cfg(feature = "Win32_Foundation")] |
| 60 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsRecordSetDetach(precordlist : *mut DNS_RECORDA) -> *mut DNS_RECORDA); |
| 61 |
#[cfg(feature = "Win32_Foundation")] |
| 62 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsReleaseContextHandle(hcontext : super::super::Foundation:: HANDLE) -> ()); |
| 63 |
#[cfg(feature = "Win32_Foundation")] |
| 64 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsReplaceRecordSetA(preplaceset : *const DNS_RECORDA, options : u32, hcontext : super::super::Foundation:: HANDLE, pextrainfo : *mut ::core::ffi::c_void, preserved : *mut ::core::ffi::c_void) -> i32); |
| 65 |
#[cfg(feature = "Win32_Foundation")] |
| 66 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsReplaceRecordSetUTF8(preplaceset : *const DNS_RECORDA, options : u32, hcontext : super::super::Foundation:: HANDLE, pextrainfo : *mut ::core::ffi::c_void, preserved : *mut ::core::ffi::c_void) -> i32); |
| 67 |
#[cfg(feature = "Win32_Foundation")] |
| 68 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsReplaceRecordSetW(preplaceset : *const DNS_RECORDA, options : u32, hcontext : super::super::Foundation:: HANDLE, pextrainfo : *mut ::core::ffi::c_void, preserved : *mut ::core::ffi::c_void) -> i32); |
| 69 |
#[cfg(feature = "Win32_Foundation")] |
| 70 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsServiceBrowse(prequest : *const DNS_SERVICE_BROWSE_REQUEST, pcancel : *mut DNS_SERVICE_CANCEL) -> i32); |
| 71 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsServiceBrowseCancel(pcancelhandle : *const DNS_SERVICE_CANCEL) -> i32); |
| 72 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsServiceConstructInstance(pservicename : ::windows_sys::core::PCWSTR, phostname : ::windows_sys::core::PCWSTR, pip4 : *const u32, pip6 : *const IP6_ADDRESS, wport : u16, wpriority : u16, wweight : u16, dwpropertiescount : u32, keys : *const ::windows_sys::core::PCWSTR, values : *const ::windows_sys::core::PCWSTR) -> *mut DNS_SERVICE_INSTANCE); |
| 73 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsServiceCopyInstance(porig : *const DNS_SERVICE_INSTANCE) -> *mut DNS_SERVICE_INSTANCE); |
| 74 |
#[cfg(feature = "Win32_Foundation")] |
| 75 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsServiceDeRegister(prequest : *const DNS_SERVICE_REGISTER_REQUEST, pcancel : *mut DNS_SERVICE_CANCEL) -> u32); |
| 76 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsServiceFreeInstance(pinstance : *const DNS_SERVICE_INSTANCE) -> ()); |
| 77 |
#[cfg(feature = "Win32_Foundation")] |
| 78 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsServiceRegister(prequest : *const DNS_SERVICE_REGISTER_REQUEST, pcancel : *mut DNS_SERVICE_CANCEL) -> u32); |
| 79 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsServiceRegisterCancel(pcancelhandle : *const DNS_SERVICE_CANCEL) -> u32); |
| 80 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsServiceResolve(prequest : *const DNS_SERVICE_RESOLVE_REQUEST, pcancel : *mut DNS_SERVICE_CANCEL) -> i32); |
| 81 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsServiceResolveCancel(pcancelhandle : *const DNS_SERVICE_CANCEL) -> i32); |
| 82 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsSetApplicationSettings(cservers : u32, pservers : *const DNS_CUSTOM_SERVER, psettings : *const DNS_APPLICATION_SETTINGS) -> u32); |
| 83 |
#[cfg(feature = "Win32_Foundation")] |
| 84 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsStartMulticastQuery(pqueryrequest : *const MDNS_QUERY_REQUEST, phandle : *mut MDNS_QUERY_HANDLE) -> i32); |
| 85 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsStopMulticastQuery(phandle : *mut MDNS_QUERY_HANDLE) -> i32); |
| 86 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsValidateName_A(pszname : ::windows_sys::core::PCSTR, format : DNS_NAME_FORMAT) -> i32); |
| 87 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsValidateName_UTF8(pszname : ::windows_sys::core::PCSTR, format : DNS_NAME_FORMAT) -> i32); |
| 88 |
::windows_targets::link!("dnsapi.dll" "system" fn DnsValidateName_W(pszname : ::windows_sys::core::PCWSTR, format : DNS_NAME_FORMAT) -> i32); |
| 89 |
#[cfg(feature = "Win32_Foundation")] |
| 90 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsWriteQuestionToBuffer_UTF8(pdnsbuffer : *mut DNS_MESSAGE_BUFFER, pdwbuffersize : *mut u32, pszname : ::windows_sys::core::PCSTR, wtype : u16, xid : u16, frecursiondesired : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); |
| 91 |
#[cfg(feature = "Win32_Foundation")] |
| 92 |
::windows_targets::link!("dnsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DnsWriteQuestionToBuffer_W(pdnsbuffer : *mut DNS_MESSAGE_BUFFER, pdwbuffersize : *mut u32, pszname : ::windows_sys::core::PCWSTR, wtype : u16, xid : u16, frecursiondesired : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); |
| 93 |
pub const DDR_MAX_IP_HINTS: u32 = 4u32; |
| 94 |
pub const DNSREC_ADDITIONAL: u32 = 3u32; |
| 95 |
pub const DNSREC_ANSWER: u32 = 1u32; |
| 96 |
pub const DNSREC_AUTHORITY: u32 = 2u32; |
| 97 |
pub const DNSREC_DELETE: u32 = 4u32; |
| 98 |
pub const DNSREC_NOEXIST: u32 = 4u32; |
| 99 |
pub const DNSREC_PREREQ: u32 = 1u32; |
| 100 |
pub const DNSREC_QUESTION: u32 = 0u32; |
| 101 |
pub const DNSREC_SECTION: u32 = 3u32; |
| 102 |
pub const DNSREC_UPDATE: u32 = 2u32; |
| 103 |
pub const DNSREC_ZONE: u32 = 0u32; |
| 104 |
pub const DNSSEC_ALGORITHM_ECDSAP256_SHA256: u32 = 13u32; |
| 105 |
pub const DNSSEC_ALGORITHM_ECDSAP384_SHA384: u32 = 14u32; |
| 106 |
pub const DNSSEC_ALGORITHM_NULL: u32 = 253u32; |
| 107 |
pub const DNSSEC_ALGORITHM_PRIVATE: u32 = 254u32; |
| 108 |
pub const DNSSEC_ALGORITHM_RSAMD5: u32 = 1u32; |
| 109 |
pub const DNSSEC_ALGORITHM_RSASHA1: u32 = 5u32; |
| 110 |
pub const DNSSEC_ALGORITHM_RSASHA1_NSEC3: u32 = 7u32; |
| 111 |
pub const DNSSEC_ALGORITHM_RSASHA256: u32 = 8u32; |
| 112 |
pub const DNSSEC_ALGORITHM_RSASHA512: u32 = 10u32; |
| 113 |
pub const DNSSEC_DIGEST_ALGORITHM_SHA1: u32 = 1u32; |
| 114 |
pub const DNSSEC_DIGEST_ALGORITHM_SHA256: u32 = 2u32; |
| 115 |
pub const DNSSEC_DIGEST_ALGORITHM_SHA384: u32 = 4u32; |
| 116 |
pub const DNSSEC_KEY_FLAG_EXTEND: u32 = 8u32; |
| 117 |
pub const DNSSEC_KEY_FLAG_FLAG10: u32 = 1024u32; |
| 118 |
pub const DNSSEC_KEY_FLAG_FLAG11: u32 = 2048u32; |
| 119 |
pub const DNSSEC_KEY_FLAG_FLAG2: u32 = 4u32; |
| 120 |
pub const DNSSEC_KEY_FLAG_FLAG4: u32 = 16u32; |
| 121 |
pub const DNSSEC_KEY_FLAG_FLAG5: u32 = 32u32; |
| 122 |
pub const DNSSEC_KEY_FLAG_FLAG8: u32 = 256u32; |
| 123 |
pub const DNSSEC_KEY_FLAG_FLAG9: u32 = 512u32; |
| 124 |
pub const DNSSEC_KEY_FLAG_HOST: u32 = 128u32; |
| 125 |
pub const DNSSEC_KEY_FLAG_NOAUTH: u32 = 1u32; |
| 126 |
pub const DNSSEC_KEY_FLAG_NOCONF: u32 = 2u32; |
| 127 |
pub const DNSSEC_KEY_FLAG_NTPE3: u32 = 192u32; |
| 128 |
pub const DNSSEC_KEY_FLAG_SIG0: u32 = 0u32; |
| 129 |
pub const DNSSEC_KEY_FLAG_SIG1: u32 = 4096u32; |
| 130 |
pub const DNSSEC_KEY_FLAG_SIG10: u32 = 40960u32; |
| 131 |
pub const DNSSEC_KEY_FLAG_SIG11: u32 = 45056u32; |
| 132 |
pub const DNSSEC_KEY_FLAG_SIG12: u32 = 49152u32; |
| 133 |
pub const DNSSEC_KEY_FLAG_SIG13: u32 = 53248u32; |
| 134 |
pub const DNSSEC_KEY_FLAG_SIG14: u32 = 57344u32; |
| 135 |
pub const DNSSEC_KEY_FLAG_SIG15: u32 = 61440u32; |
| 136 |
pub const DNSSEC_KEY_FLAG_SIG2: u32 = 8192u32; |
| 137 |
pub const DNSSEC_KEY_FLAG_SIG3: u32 = 12288u32; |
| 138 |
pub const DNSSEC_KEY_FLAG_SIG4: u32 = 16384u32; |
| 139 |
pub const DNSSEC_KEY_FLAG_SIG5: u32 = 20480u32; |
| 140 |
pub const DNSSEC_KEY_FLAG_SIG6: u32 = 24576u32; |
| 141 |
pub const DNSSEC_KEY_FLAG_SIG7: u32 = 28672u32; |
| 142 |
pub const DNSSEC_KEY_FLAG_SIG8: u32 = 32768u32; |
| 143 |
pub const DNSSEC_KEY_FLAG_SIG9: u32 = 36864u32; |
| 144 |
pub const DNSSEC_KEY_FLAG_USER: u32 = 0u32; |
| 145 |
pub const DNSSEC_KEY_FLAG_ZONE: u32 = 64u32; |
| 146 |
pub const DNSSEC_PROTOCOL_DNSSEC: u32 = 3u32; |
| 147 |
pub const DNSSEC_PROTOCOL_EMAIL: u32 = 2u32; |
| 148 |
pub const DNSSEC_PROTOCOL_IPSEC: u32 = 4u32; |
| 149 |
pub const DNSSEC_PROTOCOL_NONE: u32 = 0u32; |
| 150 |
pub const DNSSEC_PROTOCOL_TLS: u32 = 1u32; |
| 151 |
pub const DNS_ADDRESS_STRING_LENGTH: u32 = 65u32; |
| 152 |
pub const DNS_ADDR_MAX_SOCKADDR_LENGTH: u32 = 32u32; |
| 153 |
pub const DNS_APP_SETTINGS_EXCLUSIVE_SERVERS: u32 = 1u32; |
| 154 |
pub const DNS_APP_SETTINGS_VERSION1: u32 = 1u32; |
| 155 |
pub const DNS_ATMA_AESA_ADDR_LENGTH: u32 = 20u32; |
| 156 |
pub const DNS_ATMA_FORMAT_AESA: u32 = 2u32; |
| 157 |
pub const DNS_ATMA_FORMAT_E164: u32 = 1u32; |
| 158 |
pub const DNS_ATMA_MAX_ADDR_LENGTH: u32 = 20u32; |
| 159 |
pub const DNS_ATMA_MAX_RECORD_LENGTH: u32 = 21u32; |
| 160 |
pub const DNS_CLASS_ALL: u32 = 255u32; |
| 161 |
pub const DNS_CLASS_ANY: u32 = 255u32; |
| 162 |
pub const DNS_CLASS_CHAOS: u32 = 3u32; |
| 163 |
pub const DNS_CLASS_CSNET: u32 = 2u32; |
| 164 |
pub const DNS_CLASS_HESIOD: u32 = 4u32; |
| 165 |
pub const DNS_CLASS_INTERNET: u32 = 1u32; |
| 166 |
pub const DNS_CLASS_NONE: u32 = 254u32; |
| 167 |
pub const DNS_CLASS_UNICAST_RESPONSE: u32 = 32768u32; |
| 168 |
pub const DNS_COMPRESSED_QUESTION_NAME: u32 = 49164u32; |
| 169 |
pub const DNS_CONFIG_FLAG_ALLOC: u32 = 1u32; |
| 170 |
pub const DNS_CONNECTION_NAME_MAX_LENGTH: u32 = 64u32; |
| 171 |
pub const DNS_CONNECTION_POLICY_ENTRY_ONDEMAND: u32 = 1u32; |
| 172 |
pub const DNS_CONNECTION_PROXY_INFO_CURRENT_VERSION: u32 = 1u32; |
| 173 |
pub const DNS_CONNECTION_PROXY_INFO_EXCEPTION_MAX_LENGTH: u32 = 1024u32; |
| 174 |
pub const DNS_CONNECTION_PROXY_INFO_EXTRA_INFO_MAX_LENGTH: u32 = 1024u32; |
| 175 |
pub const DNS_CONNECTION_PROXY_INFO_FLAG_BYPASSLOCAL: u32 = 2u32; |
| 176 |
pub const DNS_CONNECTION_PROXY_INFO_FLAG_DISABLED: u32 = 1u32; |
| 177 |
pub const DNS_CONNECTION_PROXY_INFO_FRIENDLY_NAME_MAX_LENGTH: u32 = 64u32; |
| 178 |
pub const DNS_CONNECTION_PROXY_INFO_PASSWORD_MAX_LENGTH: u32 = 128u32; |
| 179 |
pub const DNS_CONNECTION_PROXY_INFO_SERVER_MAX_LENGTH: u32 = 256u32; |
| 180 |
pub const DNS_CONNECTION_PROXY_INFO_SWITCH_CONFIG: DNS_CONNECTION_PROXY_INFO_SWITCH = 0i32; |
| 181 |
pub const DNS_CONNECTION_PROXY_INFO_SWITCH_SCRIPT: DNS_CONNECTION_PROXY_INFO_SWITCH = 1i32; |
| 182 |
pub const DNS_CONNECTION_PROXY_INFO_SWITCH_WPAD: DNS_CONNECTION_PROXY_INFO_SWITCH = 2i32; |
| 183 |
pub const DNS_CONNECTION_PROXY_INFO_USERNAME_MAX_LENGTH: u32 = 128u32; |
| 184 |
pub const DNS_CONNECTION_PROXY_TYPE_HTTP: DNS_CONNECTION_PROXY_TYPE = 1i32; |
| 185 |
pub const DNS_CONNECTION_PROXY_TYPE_NULL: DNS_CONNECTION_PROXY_TYPE = 0i32; |
| 186 |
pub const DNS_CONNECTION_PROXY_TYPE_SOCKS4: DNS_CONNECTION_PROXY_TYPE = 4i32; |
| 187 |
pub const DNS_CONNECTION_PROXY_TYPE_SOCKS5: DNS_CONNECTION_PROXY_TYPE = 5i32; |
| 188 |
pub const DNS_CONNECTION_PROXY_TYPE_WAP: DNS_CONNECTION_PROXY_TYPE = 2i32; |
| 189 |
pub const DNS_CUSTOM_SERVER_TYPE_DOH: u32 = 2u32; |
| 190 |
pub const DNS_CUSTOM_SERVER_TYPE_UDP: u32 = 1u32; |
| 191 |
pub const DNS_CUSTOM_SERVER_UDP_FALLBACK: u32 = 1u32; |
| 192 |
pub const DNS_MAX_IP4_REVERSE_NAME_BUFFER_LENGTH: u32 = 31u32; |
| 193 |
pub const DNS_MAX_IP4_REVERSE_NAME_LENGTH: u32 = 31u32; |
| 194 |
pub const DNS_MAX_IP6_REVERSE_NAME_BUFFER_LENGTH: u32 = 75u32; |
| 195 |
pub const DNS_MAX_IP6_REVERSE_NAME_LENGTH: u32 = 75u32; |
| 196 |
pub const DNS_MAX_LABEL_BUFFER_LENGTH: u32 = 64u32; |
| 197 |
pub const DNS_MAX_LABEL_LENGTH: u32 = 63u32; |
| 198 |
pub const DNS_MAX_NAME_BUFFER_LENGTH: u32 = 256u32; |
| 199 |
pub const DNS_MAX_NAME_LENGTH: u32 = 255u32; |
| 200 |
pub const DNS_MAX_REVERSE_NAME_BUFFER_LENGTH: u32 = 75u32; |
| 201 |
pub const DNS_MAX_REVERSE_NAME_LENGTH: u32 = 75u32; |
| 202 |
pub const DNS_MAX_TEXT_STRING_LENGTH: u32 = 255u32; |
| 203 |
pub const DNS_OPCODE_IQUERY: u32 = 1u32; |
| 204 |
pub const DNS_OPCODE_NOTIFY: u32 = 4u32; |
| 205 |
pub const DNS_OPCODE_QUERY: u32 = 0u32; |
| 206 |
pub const DNS_OPCODE_SERVER_STATUS: u32 = 2u32; |
| 207 |
pub const DNS_OPCODE_UNKNOWN: u32 = 3u32; |
| 208 |
pub const DNS_OPCODE_UPDATE: u32 = 5u32; |
| 209 |
pub const DNS_PORT_HOST_ORDER: u32 = 53u32; |
| 210 |
pub const DNS_PORT_NET_ORDER: u32 = 13568u32; |
| 211 |
pub const DNS_PROXY_INFORMATION_DEFAULT_SETTINGS: DNS_PROXY_INFORMATION_TYPE = 1i32; |
| 212 |
pub const DNS_PROXY_INFORMATION_DIRECT: DNS_PROXY_INFORMATION_TYPE = 0i32; |
| 213 |
pub const DNS_PROXY_INFORMATION_DOES_NOT_EXIST: DNS_PROXY_INFORMATION_TYPE = 3i32; |
| 214 |
pub const DNS_PROXY_INFORMATION_PROXY_NAME: DNS_PROXY_INFORMATION_TYPE = 2i32; |
| 215 |
pub const DNS_QUERY_ACCEPT_TRUNCATED_RESPONSE: DNS_QUERY_OPTIONS = 1u32; |
| 216 |
pub const DNS_QUERY_ADDRCONFIG: DNS_QUERY_OPTIONS = 8192u32; |
| 217 |
pub const DNS_QUERY_APPEND_MULTILABEL: DNS_QUERY_OPTIONS = 8388608u32; |
| 218 |
pub const DNS_QUERY_BYPASS_CACHE: DNS_QUERY_OPTIONS = 8u32; |
| 219 |
pub const DNS_QUERY_CACHE_ONLY: DNS_QUERY_OPTIONS = 16u32; |
| 220 |
pub const DNS_QUERY_DISABLE_IDN_ENCODING: DNS_QUERY_OPTIONS = 2097152u32; |
| 221 |
pub const DNS_QUERY_DNSSEC_CHECKING_DISABLED: DNS_QUERY_OPTIONS = 33554432u32; |
| 222 |
pub const DNS_QUERY_DNSSEC_OK: DNS_QUERY_OPTIONS = 16777216u32; |
| 223 |
pub const DNS_QUERY_DONT_RESET_TTL_VALUES: DNS_QUERY_OPTIONS = 1048576u32; |
| 224 |
pub const DNS_QUERY_DUAL_ADDR: DNS_QUERY_OPTIONS = 16384u32; |
| 225 |
pub const DNS_QUERY_MULTICAST_ONLY: DNS_QUERY_OPTIONS = 1024u32; |
| 226 |
pub const DNS_QUERY_NO_HOSTS_FILE: DNS_QUERY_OPTIONS = 64u32; |
| 227 |
pub const DNS_QUERY_NO_LOCAL_NAME: DNS_QUERY_OPTIONS = 32u32; |
| 228 |
pub const DNS_QUERY_NO_MULTICAST: DNS_QUERY_OPTIONS = 2048u32; |
| 229 |
pub const DNS_QUERY_NO_NETBT: DNS_QUERY_OPTIONS = 128u32; |
| 230 |
pub const DNS_QUERY_NO_RECURSION: DNS_QUERY_OPTIONS = 4u32; |
| 231 |
pub const DNS_QUERY_NO_WIRE_QUERY: DNS_QUERY_OPTIONS = 16u32; |
| 232 |
pub const DNS_QUERY_REQUEST_VERSION1: DNS_QUERY_OPTIONS = 1u32; |
| 233 |
pub const DNS_QUERY_REQUEST_VERSION2: DNS_QUERY_OPTIONS = 2u32; |
| 234 |
pub const DNS_QUERY_REQUEST_VERSION3: DNS_QUERY_OPTIONS = 3u32; |
| 235 |
pub const DNS_QUERY_RESERVED: DNS_QUERY_OPTIONS = 4026531840u32; |
| 236 |
pub const DNS_QUERY_RESULTS_VERSION1: DNS_QUERY_OPTIONS = 1u32; |
| 237 |
pub const DNS_QUERY_RETURN_MESSAGE: DNS_QUERY_OPTIONS = 512u32; |
| 238 |
pub const DNS_QUERY_STANDARD: DNS_QUERY_OPTIONS = 0u32; |
| 239 |
pub const DNS_QUERY_TREAT_AS_FQDN: DNS_QUERY_OPTIONS = 4096u32; |
| 240 |
pub const DNS_QUERY_USE_TCP_ONLY: DNS_QUERY_OPTIONS = 2u32; |
| 241 |
pub const DNS_QUERY_WIRE_ONLY: DNS_QUERY_OPTIONS = 256u32; |
| 242 |
pub const DNS_RCLASS_ALL: u32 = 65280u32; |
| 243 |
pub const DNS_RCLASS_ANY: u32 = 65280u32; |
| 244 |
pub const DNS_RCLASS_CHAOS: u32 = 768u32; |
| 245 |
pub const DNS_RCLASS_CSNET: u32 = 512u32; |
| 246 |
pub const DNS_RCLASS_HESIOD: u32 = 1024u32; |
| 247 |
pub const DNS_RCLASS_INTERNET: u32 = 256u32; |
| 248 |
pub const DNS_RCLASS_MDNS_CACHE_FLUSH: u32 = 128u32; |
| 249 |
pub const DNS_RCLASS_NONE: u32 = 65024u32; |
| 250 |
pub const DNS_RCLASS_UNICAST_RESPONSE: u32 = 128u32; |
| 251 |
pub const DNS_RCODE_BADKEY: u32 = 17u32; |
| 252 |
pub const DNS_RCODE_BADSIG: u32 = 16u32; |
| 253 |
pub const DNS_RCODE_BADTIME: u32 = 18u32; |
| 254 |
pub const DNS_RCODE_BADVERS: u32 = 16u32; |
| 255 |
pub const DNS_RCODE_FORMAT_ERROR: u32 = 1u32; |
| 256 |
pub const DNS_RCODE_FORMERR: u32 = 1u32; |
| 257 |
pub const DNS_RCODE_MAX: u32 = 15u32; |
| 258 |
pub const DNS_RCODE_NAME_ERROR: u32 = 3u32; |
| 259 |
pub const DNS_RCODE_NOERROR: u32 = 0u32; |
| 260 |
pub const DNS_RCODE_NOTAUTH: u32 = 9u32; |
| 261 |
pub const DNS_RCODE_NOTIMPL: u32 = 4u32; |
| 262 |
pub const DNS_RCODE_NOTZONE: u32 = 10u32; |
| 263 |
pub const DNS_RCODE_NOT_IMPLEMENTED: u32 = 4u32; |
| 264 |
pub const DNS_RCODE_NO_ERROR: u32 = 0u32; |
| 265 |
pub const DNS_RCODE_NXDOMAIN: u32 = 3u32; |
| 266 |
pub const DNS_RCODE_NXRRSET: u32 = 8u32; |
| 267 |
pub const DNS_RCODE_REFUSED: u32 = 5u32; |
| 268 |
pub const DNS_RCODE_SERVER_FAILURE: u32 = 2u32; |
| 269 |
pub const DNS_RCODE_SERVFAIL: u32 = 2u32; |
| 270 |
pub const DNS_RCODE_YXDOMAIN: u32 = 6u32; |
| 271 |
pub const DNS_RCODE_YXRRSET: u32 = 7u32; |
| 272 |
pub const DNS_RFC_MAX_UDP_PACKET_LENGTH: u32 = 512u32; |
| 273 |
pub const DNS_RTYPE_A: u32 = 256u32; |
| 274 |
pub const DNS_RTYPE_A6: u32 = 9728u32; |
| 275 |
pub const DNS_RTYPE_AAAA: u32 = 7168u32; |
| 276 |
pub const DNS_RTYPE_AFSDB: u32 = 4608u32; |
| 277 |
pub const DNS_RTYPE_ALL: u32 = 65280u32; |
| 278 |
pub const DNS_RTYPE_ANY: u32 = 65280u32; |
| 279 |
pub const DNS_RTYPE_ATMA: u32 = 8704u32; |
| 280 |
pub const DNS_RTYPE_AXFR: u32 = 64512u32; |
| 281 |
pub const DNS_RTYPE_CERT: u32 = 9472u32; |
| 282 |
pub const DNS_RTYPE_CNAME: u32 = 1280u32; |
| 283 |
pub const DNS_RTYPE_DHCID: u32 = 12544u32; |
| 284 |
pub const DNS_RTYPE_DNAME: u32 = 9984u32; |
| 285 |
pub const DNS_RTYPE_DNSKEY: u32 = 12288u32; |
| 286 |
pub const DNS_RTYPE_DS: u32 = 11008u32; |
| 287 |
pub const DNS_RTYPE_EID: u32 = 7936u32; |
| 288 |
pub const DNS_RTYPE_GID: u32 = 26112u32; |
| 289 |
pub const DNS_RTYPE_GPOS: u32 = 6912u32; |
| 290 |
pub const DNS_RTYPE_HINFO: u32 = 3328u32; |
| 291 |
pub const DNS_RTYPE_ISDN: u32 = 5120u32; |
| 292 |
pub const DNS_RTYPE_IXFR: u32 = 64256u32; |
| 293 |
pub const DNS_RTYPE_KEY: u32 = 6400u32; |
| 294 |
pub const DNS_RTYPE_KX: u32 = 9216u32; |
| 295 |
pub const DNS_RTYPE_LOC: u32 = 7424u32; |
| 296 |
pub const DNS_RTYPE_MAILA: u32 = 65024u32; |
| 297 |
pub const DNS_RTYPE_MAILB: u32 = 64768u32; |
| 298 |
pub const DNS_RTYPE_MB: u32 = 1792u32; |
| 299 |
pub const DNS_RTYPE_MD: u32 = 768u32; |
| 300 |
pub const DNS_RTYPE_MF: u32 = 1024u32; |
| 301 |
pub const DNS_RTYPE_MG: u32 = 2048u32; |
| 302 |
pub const DNS_RTYPE_MINFO: u32 = 3584u32; |
| 303 |
pub const DNS_RTYPE_MR: u32 = 2304u32; |
| 304 |
pub const DNS_RTYPE_MX: u32 = 3840u32; |
| 305 |
pub const DNS_RTYPE_NAPTR: u32 = 8960u32; |
| 306 |
pub const DNS_RTYPE_NIMLOC: u32 = 8192u32; |
| 307 |
pub const DNS_RTYPE_NS: u32 = 512u32; |
| 308 |
pub const DNS_RTYPE_NSAP: u32 = 5632u32; |
| 309 |
pub const DNS_RTYPE_NSAPPTR: u32 = 5888u32; |
| 310 |
pub const DNS_RTYPE_NSEC: u32 = 12032u32; |
| 311 |
pub const DNS_RTYPE_NSEC3: u32 = 12800u32; |
| 312 |
pub const DNS_RTYPE_NSEC3PARAM: u32 = 13056u32; |
| 313 |
pub const DNS_RTYPE_NULL: u32 = 2560u32; |
| 314 |
pub const DNS_RTYPE_NXT: u32 = 7680u32; |
| 315 |
pub const DNS_RTYPE_OPT: u32 = 10496u32; |
| 316 |
pub const DNS_RTYPE_PTR: u32 = 3072u32; |
| 317 |
pub const DNS_RTYPE_PX: u32 = 6656u32; |
| 318 |
pub const DNS_RTYPE_RP: u32 = 4352u32; |
| 319 |
pub const DNS_RTYPE_RRSIG: u32 = 11776u32; |
| 320 |
pub const DNS_RTYPE_RT: u32 = 5376u32; |
| 321 |
pub const DNS_RTYPE_SIG: u32 = 6144u32; |
| 322 |
pub const DNS_RTYPE_SINK: u32 = 10240u32; |
| 323 |
pub const DNS_RTYPE_SOA: u32 = 1536u32; |
| 324 |
pub const DNS_RTYPE_SRV: u32 = 8448u32; |
| 325 |
pub const DNS_RTYPE_TEXT: u32 = 4096u32; |
| 326 |
pub const DNS_RTYPE_TKEY: u32 = 63744u32; |
| 327 |
pub const DNS_RTYPE_TLSA: u32 = 13312u32; |
| 328 |
pub const DNS_RTYPE_TSIG: u32 = 64000u32; |
| 329 |
pub const DNS_RTYPE_UID: u32 = 25856u32; |
| 330 |
pub const DNS_RTYPE_UINFO: u32 = 25600u32; |
| 331 |
pub const DNS_RTYPE_UNSPEC: u32 = 26368u32; |
| 332 |
pub const DNS_RTYPE_WINS: u32 = 511u32; |
| 333 |
pub const DNS_RTYPE_WINSR: u32 = 767u32; |
| 334 |
pub const DNS_RTYPE_WKS: u32 = 2816u32; |
| 335 |
pub const DNS_RTYPE_X25: u32 = 4864u32; |
| 336 |
pub const DNS_TKEY_MODE_DIFFIE_HELLMAN: u32 = 2u32; |
| 337 |
pub const DNS_TKEY_MODE_GSS: u32 = 3u32; |
| 338 |
pub const DNS_TKEY_MODE_RESOLVER_ASSIGN: u32 = 4u32; |
| 339 |
pub const DNS_TKEY_MODE_SERVER_ASSIGN: u32 = 1u32; |
| 340 |
pub const DNS_TYPE_A: DNS_TYPE = 1u16; |
| 341 |
pub const DNS_TYPE_A6: DNS_TYPE = 38u16; |
| 342 |
pub const DNS_TYPE_AAAA: DNS_TYPE = 28u16; |
| 343 |
pub const DNS_TYPE_ADDRS: DNS_TYPE = 248u16; |
| 344 |
pub const DNS_TYPE_AFSDB: DNS_TYPE = 18u16; |
| 345 |
pub const DNS_TYPE_ALL: DNS_TYPE = 255u16; |
| 346 |
pub const DNS_TYPE_ANY: DNS_TYPE = 255u16; |
| 347 |
pub const DNS_TYPE_ATMA: DNS_TYPE = 34u16; |
| 348 |
pub const DNS_TYPE_AXFR: DNS_TYPE = 252u16; |
| 349 |
pub const DNS_TYPE_CERT: DNS_TYPE = 37u16; |
| 350 |
pub const DNS_TYPE_CNAME: DNS_TYPE = 5u16; |
| 351 |
pub const DNS_TYPE_DHCID: DNS_TYPE = 49u16; |
| 352 |
pub const DNS_TYPE_DNAME: DNS_TYPE = 39u16; |
| 353 |
pub const DNS_TYPE_DNSKEY: DNS_TYPE = 48u16; |
| 354 |
pub const DNS_TYPE_DS: DNS_TYPE = 43u16; |
| 355 |
pub const DNS_TYPE_EID: DNS_TYPE = 31u16; |
| 356 |
pub const DNS_TYPE_GID: DNS_TYPE = 102u16; |
| 357 |
pub const DNS_TYPE_GPOS: DNS_TYPE = 27u16; |
| 358 |
pub const DNS_TYPE_HINFO: DNS_TYPE = 13u16; |
| 359 |
pub const DNS_TYPE_HTTPS: DNS_TYPE = 65u16; |
| 360 |
pub const DNS_TYPE_ISDN: DNS_TYPE = 20u16; |
| 361 |
pub const DNS_TYPE_IXFR: DNS_TYPE = 251u16; |
| 362 |
pub const DNS_TYPE_KEY: DNS_TYPE = 25u16; |
| 363 |
pub const DNS_TYPE_KX: DNS_TYPE = 36u16; |
| 364 |
pub const DNS_TYPE_LOC: DNS_TYPE = 29u16; |
| 365 |
pub const DNS_TYPE_MAILA: DNS_TYPE = 254u16; |
| 366 |
pub const DNS_TYPE_MAILB: DNS_TYPE = 253u16; |
| 367 |
pub const DNS_TYPE_MB: DNS_TYPE = 7u16; |
| 368 |
pub const DNS_TYPE_MD: DNS_TYPE = 3u16; |
| 369 |
pub const DNS_TYPE_MF: DNS_TYPE = 4u16; |
| 370 |
pub const DNS_TYPE_MG: DNS_TYPE = 8u16; |
| 371 |
pub const DNS_TYPE_MINFO: DNS_TYPE = 14u16; |
| 372 |
pub const DNS_TYPE_MR: DNS_TYPE = 9u16; |
| 373 |
pub const DNS_TYPE_MX: DNS_TYPE = 15u16; |
| 374 |
pub const DNS_TYPE_NAPTR: DNS_TYPE = 35u16; |
| 375 |
pub const DNS_TYPE_NBSTAT: DNS_TYPE = 65282u16; |
| 376 |
pub const DNS_TYPE_NIMLOC: DNS_TYPE = 32u16; |
| 377 |
pub const DNS_TYPE_NS: DNS_TYPE = 2u16; |
| 378 |
pub const DNS_TYPE_NSAP: DNS_TYPE = 22u16; |
| 379 |
pub const DNS_TYPE_NSAPPTR: DNS_TYPE = 23u16; |
| 380 |
pub const DNS_TYPE_NSEC: DNS_TYPE = 47u16; |
| 381 |
pub const DNS_TYPE_NSEC3: DNS_TYPE = 50u16; |
| 382 |
pub const DNS_TYPE_NSEC3PARAM: DNS_TYPE = 51u16; |
| 383 |
pub const DNS_TYPE_NULL: DNS_TYPE = 10u16; |
| 384 |
pub const DNS_TYPE_NXT: DNS_TYPE = 30u16; |
| 385 |
pub const DNS_TYPE_OPT: DNS_TYPE = 41u16; |
| 386 |
pub const DNS_TYPE_PTR: DNS_TYPE = 12u16; |
| 387 |
pub const DNS_TYPE_PX: DNS_TYPE = 26u16; |
| 388 |
pub const DNS_TYPE_RP: DNS_TYPE = 17u16; |
| 389 |
pub const DNS_TYPE_RRSIG: DNS_TYPE = 46u16; |
| 390 |
pub const DNS_TYPE_RT: DNS_TYPE = 21u16; |
| 391 |
pub const DNS_TYPE_SIG: DNS_TYPE = 24u16; |
| 392 |
pub const DNS_TYPE_SINK: DNS_TYPE = 40u16; |
| 393 |
pub const DNS_TYPE_SOA: DNS_TYPE = 6u16; |
| 394 |
pub const DNS_TYPE_SRV: DNS_TYPE = 33u16; |
| 395 |
pub const DNS_TYPE_SVCB: DNS_TYPE = 64u16; |
| 396 |
pub const DNS_TYPE_TEXT: DNS_TYPE = 16u16; |
| 397 |
pub const DNS_TYPE_TKEY: DNS_TYPE = 249u16; |
| 398 |
pub const DNS_TYPE_TLSA: DNS_TYPE = 52u16; |
| 399 |
pub const DNS_TYPE_TSIG: DNS_TYPE = 250u16; |
| 400 |
pub const DNS_TYPE_UID: DNS_TYPE = 101u16; |
| 401 |
pub const DNS_TYPE_UINFO: DNS_TYPE = 100u16; |
| 402 |
pub const DNS_TYPE_UNSPEC: DNS_TYPE = 103u16; |
| 403 |
pub const DNS_TYPE_WINS: DNS_TYPE = 65281u16; |
| 404 |
pub const DNS_TYPE_WINSR: DNS_TYPE = 65282u16; |
| 405 |
pub const DNS_TYPE_WKS: DNS_TYPE = 11u16; |
| 406 |
pub const DNS_TYPE_X25: DNS_TYPE = 19u16; |
| 407 |
pub const DNS_TYPE_ZERO: DNS_TYPE = 0u16; |
| 408 |
pub const DNS_UPDATE_CACHE_SECURITY_CONTEXT: u32 = 512u32; |
| 409 |
pub const DNS_UPDATE_FORCE_SECURITY_NEGO: u32 = 2048u32; |
| 410 |
pub const DNS_UPDATE_REMOTE_SERVER: u32 = 16384u32; |
| 411 |
pub const DNS_UPDATE_RESERVED: u32 = 4294901760u32; |
| 412 |
pub const DNS_UPDATE_SECURITY_OFF: u32 = 16u32; |
| 413 |
pub const DNS_UPDATE_SECURITY_ON: u32 = 32u32; |
| 414 |
pub const DNS_UPDATE_SECURITY_ONLY: u32 = 256u32; |
| 415 |
pub const DNS_UPDATE_SECURITY_USE_DEFAULT: u32 = 0u32; |
| 416 |
pub const DNS_UPDATE_SKIP_NO_UPDATE_ADAPTERS: u32 = 8192u32; |
| 417 |
pub const DNS_UPDATE_TEST_USE_LOCAL_SYS_ACCT: u32 = 1024u32; |
| 418 |
pub const DNS_UPDATE_TRY_ALL_MASTER_SERVERS: u32 = 4096u32; |
| 419 |
pub const DNS_VALSVR_ERROR_INVALID_ADDR: u32 = 1u32; |
| 420 |
pub const DNS_VALSVR_ERROR_INVALID_NAME: u32 = 2u32; |
| 421 |
pub const DNS_VALSVR_ERROR_NO_AUTH: u32 = 5u32; |
| 422 |
pub const DNS_VALSVR_ERROR_NO_RESPONSE: u32 = 4u32; |
| 423 |
pub const DNS_VALSVR_ERROR_NO_TCP: u32 = 16u32; |
| 424 |
pub const DNS_VALSVR_ERROR_REFUSED: u32 = 6u32; |
| 425 |
pub const DNS_VALSVR_ERROR_UNKNOWN: u32 = 255u32; |
| 426 |
pub const DNS_VALSVR_ERROR_UNREACHABLE: u32 = 3u32; |
| 427 |
pub const DNS_WINS_FLAG_LOCAL: u32 = 65536u32; |
| 428 |
pub const DNS_WINS_FLAG_SCOPE: u32 = 2147483648u32; |
| 429 |
pub const DnsCharSetAnsi: DNS_CHARSET = 3i32; |
| 430 |
pub const DnsCharSetUnicode: DNS_CHARSET = 1i32; |
| 431 |
pub const DnsCharSetUnknown: DNS_CHARSET = 0i32; |
| 432 |
pub const DnsCharSetUtf8: DNS_CHARSET = 2i32; |
| 433 |
pub const DnsConfigAdapterDomainName_A: DNS_CONFIG_TYPE = 4i32; |
| 434 |
pub const DnsConfigAdapterDomainName_UTF8: DNS_CONFIG_TYPE = 5i32; |
| 435 |
pub const DnsConfigAdapterDomainName_W: DNS_CONFIG_TYPE = 3i32; |
| 436 |
pub const DnsConfigAdapterHostNameRegistrationEnabled: DNS_CONFIG_TYPE = 10i32; |
| 437 |
pub const DnsConfigAdapterInfo: DNS_CONFIG_TYPE = 8i32; |
| 438 |
pub const DnsConfigAddressRegistrationMaxCount: DNS_CONFIG_TYPE = 11i32; |
| 439 |
pub const DnsConfigDnsServerList: DNS_CONFIG_TYPE = 6i32; |
| 440 |
pub const DnsConfigFullHostName_A: DNS_CONFIG_TYPE = 16i32; |
| 441 |
pub const DnsConfigFullHostName_UTF8: DNS_CONFIG_TYPE = 17i32; |
| 442 |
pub const DnsConfigFullHostName_W: DNS_CONFIG_TYPE = 15i32; |
| 443 |
pub const DnsConfigHostName_A: DNS_CONFIG_TYPE = 13i32; |
| 444 |
pub const DnsConfigHostName_UTF8: DNS_CONFIG_TYPE = 14i32; |
| 445 |
pub const DnsConfigHostName_W: DNS_CONFIG_TYPE = 12i32; |
| 446 |
pub const DnsConfigNameServer: DNS_CONFIG_TYPE = 18i32; |
| 447 |
pub const DnsConfigPrimaryDomainName_A: DNS_CONFIG_TYPE = 1i32; |
| 448 |
pub const DnsConfigPrimaryDomainName_UTF8: DNS_CONFIG_TYPE = 2i32; |
| 449 |
pub const DnsConfigPrimaryDomainName_W: DNS_CONFIG_TYPE = 0i32; |
| 450 |
pub const DnsConfigPrimaryHostNameRegistrationEnabled: DNS_CONFIG_TYPE = 9i32; |
| 451 |
pub const DnsConfigSearchList: DNS_CONFIG_TYPE = 7i32; |
| 452 |
pub const DnsFreeFlat: DNS_FREE_TYPE = 0i32; |
| 453 |
pub const DnsFreeParsedMessageFields: DNS_FREE_TYPE = 2i32; |
| 454 |
pub const DnsFreeRecordList: DNS_FREE_TYPE = 1i32; |
| 455 |
pub const DnsNameDomain: DNS_NAME_FORMAT = 0i32; |
| 456 |
pub const DnsNameDomainLabel: DNS_NAME_FORMAT = 1i32; |
| 457 |
pub const DnsNameHostnameFull: DNS_NAME_FORMAT = 2i32; |
| 458 |
pub const DnsNameHostnameLabel: DNS_NAME_FORMAT = 3i32; |
| 459 |
pub const DnsNameSrvRecord: DNS_NAME_FORMAT = 5i32; |
| 460 |
pub const DnsNameValidateTld: DNS_NAME_FORMAT = 6i32; |
| 461 |
pub const DnsNameWildcard: DNS_NAME_FORMAT = 4i32; |
| 462 |
pub const DnsSectionAddtional: DNS_SECTION = 3i32; |
| 463 |
pub const DnsSectionAnswer: DNS_SECTION = 1i32; |
| 464 |
pub const DnsSectionAuthority: DNS_SECTION = 2i32; |
| 465 |
pub const DnsSectionQuestion: DNS_SECTION = 0i32; |
| 466 |
pub const DnsSvcbParamAlpn: DNS_SVCB_PARAM_TYPE = 1i32; |
| 467 |
pub const DnsSvcbParamDohPath: DNS_SVCB_PARAM_TYPE = 7i32; |
| 468 |
pub const DnsSvcbParamDohPathOpenDns: DNS_SVCB_PARAM_TYPE = 65432i32; |
| 469 |
pub const DnsSvcbParamDohPathQuad9: DNS_SVCB_PARAM_TYPE = 65380i32; |
| 470 |
pub const DnsSvcbParamEch: DNS_SVCB_PARAM_TYPE = 5i32; |
| 471 |
pub const DnsSvcbParamIpv4Hint: DNS_SVCB_PARAM_TYPE = 4i32; |
| 472 |
pub const DnsSvcbParamIpv6Hint: DNS_SVCB_PARAM_TYPE = 6i32; |
| 473 |
pub const DnsSvcbParamMandatory: DNS_SVCB_PARAM_TYPE = 0i32; |
| 474 |
pub const DnsSvcbParamNoDefaultAlpn: DNS_SVCB_PARAM_TYPE = 2i32; |
| 475 |
pub const DnsSvcbParamPort: DNS_SVCB_PARAM_TYPE = 3i32; |
| 476 |
pub const IP4_ADDRESS_STRING_BUFFER_LENGTH: u32 = 16u32; |
| 477 |
pub const IP4_ADDRESS_STRING_LENGTH: u32 = 16u32; |
| 478 |
pub const IP6_ADDRESS_STRING_BUFFER_LENGTH: u32 = 65u32; |
| 479 |
pub const IP6_ADDRESS_STRING_LENGTH: u32 = 65u32; |
| 480 |
pub const SIZEOF_IP4_ADDRESS: u32 = 4u32; |
| 481 |
pub const TAG_DNS_CONNECTION_POLICY_TAG_CONNECTION_MANAGER: DNS_CONNECTION_POLICY_TAG = 1i32; |
| 482 |
pub const TAG_DNS_CONNECTION_POLICY_TAG_DEFAULT: DNS_CONNECTION_POLICY_TAG = 0i32; |
| 483 |
pub const TAG_DNS_CONNECTION_POLICY_TAG_WWWPT: DNS_CONNECTION_POLICY_TAG = 2i32; |
| 484 |
pub type DNS_CHARSET = i32; |
| 485 |
pub type DNS_CONFIG_TYPE = i32; |
| 486 |
pub type DNS_CONNECTION_POLICY_TAG = i32; |
| 487 |
pub type DNS_CONNECTION_PROXY_INFO_SWITCH = i32; |
| 488 |
pub type DNS_CONNECTION_PROXY_TYPE = i32; |
| 489 |
pub type DNS_FREE_TYPE = i32; |
| 490 |
pub type DNS_NAME_FORMAT = i32; |
| 491 |
pub type DNS_PROXY_INFORMATION_TYPE = i32; |
| 492 |
pub type DNS_QUERY_OPTIONS = u32; |
| 493 |
pub type DNS_SECTION = i32; |
| 494 |
pub type DNS_SVCB_PARAM_TYPE = i32; |
| 495 |
pub type DNS_TYPE = u16; |
| 496 |
#[repr(C)] |
| 497 |
pub struct DNS_AAAA_DATA { |
| 498 |
pub Ip6Address: IP6_ADDRESS, |
| 499 |
} |
| 500 |
impl ::core::marker::Copy for DNS_AAAA_DATA {} |
| 501 |
impl ::core::clone::Clone for DNS_AAAA_DATA { |
| 502 |
fn clone(&self) -> Self { |
| 503 |
*self |
| 504 |
} |
| 505 |
} |
| 506 |
#[repr(C)] |
| 507 |
pub struct DNS_ADDR { |
| 508 |
pub MaxSa: [u8; 32], |
| 509 |
pub Data: DNS_ADDR_0, |
| 510 |
} |
| 511 |
impl ::core::marker::Copy for DNS_ADDR {} |
| 512 |
impl ::core::clone::Clone for DNS_ADDR { |
| 513 |
fn clone(&self) -> Self { |
| 514 |
*self |
| 515 |
} |
| 516 |
} |
| 517 |
#[repr(C, packed(1))] |
| 518 |
pub union DNS_ADDR_0 { |
| 519 |
pub DnsAddrUserDword: [u32; 8], |
| 520 |
} |
| 521 |
impl ::core::marker::Copy for DNS_ADDR_0 {} |
| 522 |
impl ::core::clone::Clone for DNS_ADDR_0 { |
| 523 |
fn clone(&self) -> Self { |
| 524 |
*self |
| 525 |
} |
| 526 |
} |
| 527 |
#[repr(C, packed(1))] |
| 528 |
pub struct DNS_ADDR_ARRAY { |
| 529 |
pub MaxCount: u32, |
| 530 |
pub AddrCount: u32, |
| 531 |
pub Tag: u32, |
| 532 |
pub Family: u16, |
| 533 |
pub WordReserved: u16, |
| 534 |
pub Flags: u32, |
| 535 |
pub MatchFlag: u32, |
| 536 |
pub Reserved1: u32, |
| 537 |
pub Reserved2: u32, |
| 538 |
pub AddrArray: [DNS_ADDR; 1], |
| 539 |
} |
| 540 |
impl ::core::marker::Copy for DNS_ADDR_ARRAY {} |
| 541 |
impl ::core::clone::Clone for DNS_ADDR_ARRAY { |
| 542 |
fn clone(&self) -> Self { |
| 543 |
*self |
| 544 |
} |
| 545 |
} |
| 546 |
#[repr(C)] |
| 547 |
pub struct DNS_APPLICATION_SETTINGS { |
| 548 |
pub Version: u32, |
| 549 |
pub Flags: u64, |
| 550 |
} |
| 551 |
impl ::core::marker::Copy for DNS_APPLICATION_SETTINGS {} |
| 552 |
impl ::core::clone::Clone for DNS_APPLICATION_SETTINGS { |
| 553 |
fn clone(&self) -> Self { |
| 554 |
*self |
| 555 |
} |
| 556 |
} |
| 557 |
#[repr(C)] |
| 558 |
pub struct DNS_ATMA_DATA { |
| 559 |
pub AddressType: u8, |
| 560 |
pub Address: [u8; 20], |
| 561 |
} |
| 562 |
impl ::core::marker::Copy for DNS_ATMA_DATA {} |
| 563 |
impl ::core::clone::Clone for DNS_ATMA_DATA { |
| 564 |
fn clone(&self) -> Self { |
| 565 |
*self |
| 566 |
} |
| 567 |
} |
| 568 |
#[repr(C)] |
| 569 |
pub struct DNS_A_DATA { |
| 570 |
pub IpAddress: u32, |
| 571 |
} |
| 572 |
impl ::core::marker::Copy for DNS_A_DATA {} |
| 573 |
impl ::core::clone::Clone for DNS_A_DATA { |
| 574 |
fn clone(&self) -> Self { |
| 575 |
*self |
| 576 |
} |
| 577 |
} |
| 578 |
#[repr(C)] |
| 579 |
pub struct DNS_CONNECTION_IFINDEX_ENTRY { |
| 580 |
pub pwszConnectionName: ::windows_sys::core::PCWSTR, |
| 581 |
pub dwIfIndex: u32, |
| 582 |
} |
| 583 |
impl ::core::marker::Copy for DNS_CONNECTION_IFINDEX_ENTRY {} |
| 584 |
impl ::core::clone::Clone for DNS_CONNECTION_IFINDEX_ENTRY { |
| 585 |
fn clone(&self) -> Self { |
| 586 |
*self |
| 587 |
} |
| 588 |
} |
| 589 |
#[repr(C)] |
| 590 |
pub struct DNS_CONNECTION_IFINDEX_LIST { |
| 591 |
pub pConnectionIfIndexEntries: *mut DNS_CONNECTION_IFINDEX_ENTRY, |
| 592 |
pub nEntries: u32, |
| 593 |
} |
| 594 |
impl ::core::marker::Copy for DNS_CONNECTION_IFINDEX_LIST {} |
| 595 |
impl ::core::clone::Clone for DNS_CONNECTION_IFINDEX_LIST { |
| 596 |
fn clone(&self) -> Self { |
| 597 |
*self |
| 598 |
} |
| 599 |
} |
| 600 |
#[repr(C)] |
| 601 |
pub struct DNS_CONNECTION_NAME { |
| 602 |
pub wszName: [u16; 65], |
| 603 |
} |
| 604 |
impl ::core::marker::Copy for DNS_CONNECTION_NAME {} |
| 605 |
impl ::core::clone::Clone for DNS_CONNECTION_NAME { |
| 606 |
fn clone(&self) -> Self { |
| 607 |
*self |
| 608 |
} |
| 609 |
} |
| 610 |
#[repr(C)] |
| 611 |
pub struct DNS_CONNECTION_NAME_LIST { |
| 612 |
pub cNames: u32, |
| 613 |
pub pNames: *mut DNS_CONNECTION_NAME, |
| 614 |
} |
| 615 |
impl ::core::marker::Copy for DNS_CONNECTION_NAME_LIST {} |
| 616 |
impl ::core::clone::Clone for DNS_CONNECTION_NAME_LIST { |
| 617 |
fn clone(&self) -> Self { |
| 618 |
*self |
| 619 |
} |
| 620 |
} |
| 621 |
#[repr(C)] |
| 622 |
pub struct DNS_CONNECTION_POLICY_ENTRY { |
| 623 |
pub pwszHost: ::windows_sys::core::PCWSTR, |
| 624 |
pub pwszAppId: ::windows_sys::core::PCWSTR, |
| 625 |
pub cbAppSid: u32, |
| 626 |
pub pbAppSid: *mut u8, |
| 627 |
pub nConnections: u32, |
| 628 |
pub ppwszConnections: *const ::windows_sys::core::PCWSTR, |
| 629 |
pub dwPolicyEntryFlags: u32, |
| 630 |
} |
| 631 |
impl ::core::marker::Copy for DNS_CONNECTION_POLICY_ENTRY {} |
| 632 |
impl ::core::clone::Clone for DNS_CONNECTION_POLICY_ENTRY { |
| 633 |
fn clone(&self) -> Self { |
| 634 |
*self |
| 635 |
} |
| 636 |
} |
| 637 |
#[repr(C)] |
| 638 |
pub struct DNS_CONNECTION_POLICY_ENTRY_LIST { |
| 639 |
pub pPolicyEntries: *mut DNS_CONNECTION_POLICY_ENTRY, |
| 640 |
pub nEntries: u32, |
| 641 |
} |
| 642 |
impl ::core::marker::Copy for DNS_CONNECTION_POLICY_ENTRY_LIST {} |
| 643 |
impl ::core::clone::Clone for DNS_CONNECTION_POLICY_ENTRY_LIST { |
| 644 |
fn clone(&self) -> Self { |
| 645 |
*self |
| 646 |
} |
| 647 |
} |
| 648 |
#[repr(C)] |
| 649 |
pub struct DNS_CONNECTION_PROXY_ELEMENT { |
| 650 |
pub Type: DNS_CONNECTION_PROXY_TYPE, |
| 651 |
pub Info: DNS_CONNECTION_PROXY_INFO, |
| 652 |
} |
| 653 |
impl ::core::marker::Copy for DNS_CONNECTION_PROXY_ELEMENT {} |
| 654 |
impl ::core::clone::Clone for DNS_CONNECTION_PROXY_ELEMENT { |
| 655 |
fn clone(&self) -> Self { |
| 656 |
*self |
| 657 |
} |
| 658 |
} |
| 659 |
#[repr(C)] |
| 660 |
pub struct DNS_CONNECTION_PROXY_INFO { |
| 661 |
pub Version: u32, |
| 662 |
pub pwszFriendlyName: ::windows_sys::core::PWSTR, |
| 663 |
pub Flags: u32, |
| 664 |
pub Switch: DNS_CONNECTION_PROXY_INFO_SWITCH, |
| 665 |
pub Anonymous: DNS_CONNECTION_PROXY_INFO_0, |
| 666 |
} |
| 667 |
impl ::core::marker::Copy for DNS_CONNECTION_PROXY_INFO {} |
| 668 |
impl ::core::clone::Clone for DNS_CONNECTION_PROXY_INFO { |
| 669 |
fn clone(&self) -> Self { |
| 670 |
*self |
| 671 |
} |
| 672 |
} |
| 673 |
#[repr(C)] |
| 674 |
pub union DNS_CONNECTION_PROXY_INFO_0 { |
| 675 |
pub Config: DNS_CONNECTION_PROXY_INFO_0_0, |
| 676 |
pub Script: DNS_CONNECTION_PROXY_INFO_0_1, |
| 677 |
} |
| 678 |
impl ::core::marker::Copy for DNS_CONNECTION_PROXY_INFO_0 {} |
| 679 |
impl ::core::clone::Clone for DNS_CONNECTION_PROXY_INFO_0 { |
| 680 |
fn clone(&self) -> Self { |
| 681 |
*self |
| 682 |
} |
| 683 |
} |
| 684 |
#[repr(C)] |
| 685 |
pub struct DNS_CONNECTION_PROXY_INFO_0_0 { |
| 686 |
pub pwszServer: ::windows_sys::core::PWSTR, |
| 687 |
pub pwszUsername: ::windows_sys::core::PWSTR, |
| 688 |
pub pwszPassword: ::windows_sys::core::PWSTR, |
| 689 |
pub pwszException: ::windows_sys::core::PWSTR, |
| 690 |
pub pwszExtraInfo: ::windows_sys::core::PWSTR, |
| 691 |
pub Port: u16, |
| 692 |
} |
| 693 |
impl ::core::marker::Copy for DNS_CONNECTION_PROXY_INFO_0_0 {} |
| 694 |
impl ::core::clone::Clone for DNS_CONNECTION_PROXY_INFO_0_0 { |
| 695 |
fn clone(&self) -> Self { |
| 696 |
*self |
| 697 |
} |
| 698 |
} |
| 699 |
#[repr(C)] |
| 700 |
pub struct DNS_CONNECTION_PROXY_INFO_0_1 { |
| 701 |
pub pwszScript: ::windows_sys::core::PWSTR, |
| 702 |
pub pwszUsername: ::windows_sys::core::PWSTR, |
| 703 |
pub pwszPassword: ::windows_sys::core::PWSTR, |
| 704 |
} |
| 705 |
impl ::core::marker::Copy for DNS_CONNECTION_PROXY_INFO_0_1 {} |
| 706 |
impl ::core::clone::Clone for DNS_CONNECTION_PROXY_INFO_0_1 { |
| 707 |
fn clone(&self) -> Self { |
| 708 |
*self |
| 709 |
} |
| 710 |
} |
| 711 |
#[repr(C)] |
| 712 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 713 |
#[cfg(feature = "Win32_Foundation")] |
| 714 |
pub struct DNS_CONNECTION_PROXY_INFO_EX { |
| 715 |
pub ProxyInfo: DNS_CONNECTION_PROXY_INFO, |
| 716 |
pub dwInterfaceIndex: u32, |
| 717 |
pub pwszConnectionName: ::windows_sys::core::PWSTR, |
| 718 |
pub fDirectConfiguration: super::super::Foundation::BOOL, |
| 719 |
pub hConnection: super::super::Foundation::HANDLE, |
| 720 |
} |
| 721 |
#[cfg(feature = "Win32_Foundation")] |
| 722 |
impl ::core::marker::Copy for DNS_CONNECTION_PROXY_INFO_EX {} |
| 723 |
#[cfg(feature = "Win32_Foundation")] |
| 724 |
impl ::core::clone::Clone for DNS_CONNECTION_PROXY_INFO_EX { |
| 725 |
fn clone(&self) -> Self { |
| 726 |
*self |
| 727 |
} |
| 728 |
} |
| 729 |
#[repr(C)] |
| 730 |
pub struct DNS_CONNECTION_PROXY_LIST { |
| 731 |
pub cProxies: u32, |
| 732 |
pub pProxies: *mut DNS_CONNECTION_PROXY_ELEMENT, |
| 733 |
} |
| 734 |
impl ::core::marker::Copy for DNS_CONNECTION_PROXY_LIST {} |
| 735 |
impl ::core::clone::Clone for DNS_CONNECTION_PROXY_LIST { |
| 736 |
fn clone(&self) -> Self { |
| 737 |
*self |
| 738 |
} |
| 739 |
} |
| 740 |
#[repr(C)] |
| 741 |
pub struct DNS_CUSTOM_SERVER { |
| 742 |
pub dwServerType: u32, |
| 743 |
pub ullFlags: u64, |
| 744 |
pub Anonymous1: DNS_CUSTOM_SERVER_0, |
| 745 |
pub Anonymous2: DNS_CUSTOM_SERVER_1, |
| 746 |
} |
| 747 |
impl ::core::marker::Copy for DNS_CUSTOM_SERVER {} |
| 748 |
impl ::core::clone::Clone for DNS_CUSTOM_SERVER { |
| 749 |
fn clone(&self) -> Self { |
| 750 |
*self |
| 751 |
} |
| 752 |
} |
| 753 |
#[repr(C)] |
| 754 |
pub union DNS_CUSTOM_SERVER_0 { |
| 755 |
pub pwszTemplate: ::windows_sys::core::PWSTR, |
| 756 |
} |
| 757 |
impl ::core::marker::Copy for DNS_CUSTOM_SERVER_0 {} |
| 758 |
impl ::core::clone::Clone for DNS_CUSTOM_SERVER_0 { |
| 759 |
fn clone(&self) -> Self { |
| 760 |
*self |
| 761 |
} |
| 762 |
} |
| 763 |
#[repr(C)] |
| 764 |
pub union DNS_CUSTOM_SERVER_1 { |
| 765 |
pub MaxSa: [u8; 32], |
| 766 |
} |
| 767 |
impl ::core::marker::Copy for DNS_CUSTOM_SERVER_1 {} |
| 768 |
impl ::core::clone::Clone for DNS_CUSTOM_SERVER_1 { |
| 769 |
fn clone(&self) -> Self { |
| 770 |
*self |
| 771 |
} |
| 772 |
} |
| 773 |
#[repr(C)] |
| 774 |
pub struct DNS_DHCID_DATA { |
| 775 |
pub dwByteCount: u32, |
| 776 |
pub DHCID: [u8; 1], |
| 777 |
} |
| 778 |
impl ::core::marker::Copy for DNS_DHCID_DATA {} |
| 779 |
impl ::core::clone::Clone for DNS_DHCID_DATA { |
| 780 |
fn clone(&self) -> Self { |
| 781 |
*self |
| 782 |
} |
| 783 |
} |
| 784 |
#[repr(C)] |
| 785 |
pub struct DNS_DS_DATA { |
| 786 |
pub wKeyTag: u16, |
| 787 |
pub chAlgorithm: u8, |
| 788 |
pub chDigestType: u8, |
| 789 |
pub wDigestLength: u16, |
| 790 |
pub wPad: u16, |
| 791 |
pub Digest: [u8; 1], |
| 792 |
} |
| 793 |
impl ::core::marker::Copy for DNS_DS_DATA {} |
| 794 |
impl ::core::clone::Clone for DNS_DS_DATA { |
| 795 |
fn clone(&self) -> Self { |
| 796 |
*self |
| 797 |
} |
| 798 |
} |
| 799 |
#[repr(C, packed(1))] |
| 800 |
pub struct DNS_HEADER { |
| 801 |
pub Xid: u16, |
| 802 |
pub _bitfield1: u8, |
| 803 |
pub _bitfield2: u8, |
| 804 |
pub QuestionCount: u16, |
| 805 |
pub AnswerCount: u16, |
| 806 |
pub NameServerCount: u16, |
| 807 |
pub AdditionalCount: u16, |
| 808 |
} |
| 809 |
impl ::core::marker::Copy for DNS_HEADER {} |
| 810 |
impl ::core::clone::Clone for DNS_HEADER { |
| 811 |
fn clone(&self) -> Self { |
| 812 |
*self |
| 813 |
} |
| 814 |
} |
| 815 |
#[repr(C, packed(1))] |
| 816 |
pub struct DNS_HEADER_EXT { |
| 817 |
pub _bitfield: u16, |
| 818 |
pub chRcode: u8, |
| 819 |
pub chVersion: u8, |
| 820 |
} |
| 821 |
impl ::core::marker::Copy for DNS_HEADER_EXT {} |
| 822 |
impl ::core::clone::Clone for DNS_HEADER_EXT { |
| 823 |
fn clone(&self) -> Self { |
| 824 |
*self |
| 825 |
} |
| 826 |
} |
| 827 |
#[repr(C)] |
| 828 |
pub struct DNS_KEY_DATA { |
| 829 |
pub wFlags: u16, |
| 830 |
pub chProtocol: u8, |
| 831 |
pub chAlgorithm: u8, |
| 832 |
pub wKeyLength: u16, |
| 833 |
pub wPad: u16, |
| 834 |
pub Key: [u8; 1], |
| 835 |
} |
| 836 |
impl ::core::marker::Copy for DNS_KEY_DATA {} |
| 837 |
impl ::core::clone::Clone for DNS_KEY_DATA { |
| 838 |
fn clone(&self) -> Self { |
| 839 |
*self |
| 840 |
} |
| 841 |
} |
| 842 |
#[repr(C)] |
| 843 |
pub struct DNS_LOC_DATA { |
| 844 |
pub wVersion: u16, |
| 845 |
pub wSize: u16, |
| 846 |
pub wHorPrec: u16, |
| 847 |
pub wVerPrec: u16, |
| 848 |
pub dwLatitude: u32, |
| 849 |
pub dwLongitude: u32, |
| 850 |
pub dwAltitude: u32, |
| 851 |
} |
| 852 |
impl ::core::marker::Copy for DNS_LOC_DATA {} |
| 853 |
impl ::core::clone::Clone for DNS_LOC_DATA { |
| 854 |
fn clone(&self) -> Self { |
| 855 |
*self |
| 856 |
} |
| 857 |
} |
| 858 |
#[repr(C)] |
| 859 |
pub struct DNS_MESSAGE_BUFFER { |
| 860 |
pub MessageHead: DNS_HEADER, |
| 861 |
pub MessageBody: [u8; 1], |
| 862 |
} |
| 863 |
impl ::core::marker::Copy for DNS_MESSAGE_BUFFER {} |
| 864 |
impl ::core::clone::Clone for DNS_MESSAGE_BUFFER { |
| 865 |
fn clone(&self) -> Self { |
| 866 |
*self |
| 867 |
} |
| 868 |
} |
| 869 |
#[repr(C)] |
| 870 |
pub struct DNS_MINFO_DATAA { |
| 871 |
pub pNameMailbox: ::windows_sys::core::PSTR, |
| 872 |
pub pNameErrorsMailbox: ::windows_sys::core::PSTR, |
| 873 |
} |
| 874 |
impl ::core::marker::Copy for DNS_MINFO_DATAA {} |
| 875 |
impl ::core::clone::Clone for DNS_MINFO_DATAA { |
| 876 |
fn clone(&self) -> Self { |
| 877 |
*self |
| 878 |
} |
| 879 |
} |
| 880 |
#[repr(C)] |
| 881 |
pub struct DNS_MINFO_DATAW { |
| 882 |
pub pNameMailbox: ::windows_sys::core::PWSTR, |
| 883 |
pub pNameErrorsMailbox: ::windows_sys::core::PWSTR, |
| 884 |
} |
| 885 |
impl ::core::marker::Copy for DNS_MINFO_DATAW {} |
| 886 |
impl ::core::clone::Clone for DNS_MINFO_DATAW { |
| 887 |
fn clone(&self) -> Self { |
| 888 |
*self |
| 889 |
} |
| 890 |
} |
| 891 |
#[repr(C)] |
| 892 |
pub struct DNS_MX_DATAA { |
| 893 |
pub pNameExchange: ::windows_sys::core::PSTR, |
| 894 |
pub wPreference: u16, |
| 895 |
pub Pad: u16, |
| 896 |
} |
| 897 |
impl ::core::marker::Copy for DNS_MX_DATAA {} |
| 898 |
impl ::core::clone::Clone for DNS_MX_DATAA { |
| 899 |
fn clone(&self) -> Self { |
| 900 |
*self |
| 901 |
} |
| 902 |
} |
| 903 |
#[repr(C)] |
| 904 |
pub struct DNS_MX_DATAW { |
| 905 |
pub pNameExchange: ::windows_sys::core::PWSTR, |
| 906 |
pub wPreference: u16, |
| 907 |
pub Pad: u16, |
| 908 |
} |
| 909 |
impl ::core::marker::Copy for DNS_MX_DATAW {} |
| 910 |
impl ::core::clone::Clone for DNS_MX_DATAW { |
| 911 |
fn clone(&self) -> Self { |
| 912 |
*self |
| 913 |
} |
| 914 |
} |
| 915 |
#[repr(C)] |
| 916 |
pub struct DNS_NAPTR_DATAA { |
| 917 |
pub wOrder: u16, |
| 918 |
pub wPreference: u16, |
| 919 |
pub pFlags: ::windows_sys::core::PSTR, |
| 920 |
pub pService: ::windows_sys::core::PSTR, |
| 921 |
pub pRegularExpression: ::windows_sys::core::PSTR, |
| 922 |
pub pReplacement: ::windows_sys::core::PSTR, |
| 923 |
} |
| 924 |
impl ::core::marker::Copy for DNS_NAPTR_DATAA {} |
| 925 |
impl ::core::clone::Clone for DNS_NAPTR_DATAA { |
| 926 |
fn clone(&self) -> Self { |
| 927 |
*self |
| 928 |
} |
| 929 |
} |
| 930 |
#[repr(C)] |
| 931 |
pub struct DNS_NAPTR_DATAW { |
| 932 |
pub wOrder: u16, |
| 933 |
pub wPreference: u16, |
| 934 |
pub pFlags: ::windows_sys::core::PWSTR, |
| 935 |
pub pService: ::windows_sys::core::PWSTR, |
| 936 |
pub pRegularExpression: ::windows_sys::core::PWSTR, |
| 937 |
pub pReplacement: ::windows_sys::core::PWSTR, |
| 938 |
} |
| 939 |
impl ::core::marker::Copy for DNS_NAPTR_DATAW {} |
| 940 |
impl ::core::clone::Clone for DNS_NAPTR_DATAW { |
| 941 |
fn clone(&self) -> Self { |
| 942 |
*self |
| 943 |
} |
| 944 |
} |
| 945 |
#[repr(C)] |
| 946 |
pub struct DNS_NSEC3PARAM_DATA { |
| 947 |
pub chAlgorithm: u8, |
| 948 |
pub bFlags: u8, |
| 949 |
pub wIterations: u16, |
| 950 |
pub bSaltLength: u8, |
| 951 |
pub bPad: [u8; 3], |
| 952 |
pub pbSalt: [u8; 1], |
| 953 |
} |
| 954 |
impl ::core::marker::Copy for DNS_NSEC3PARAM_DATA {} |
| 955 |
impl ::core::clone::Clone for DNS_NSEC3PARAM_DATA { |
| 956 |
fn clone(&self) -> Self { |
| 957 |
*self |
| 958 |
} |
| 959 |
} |
| 960 |
#[repr(C)] |
| 961 |
pub struct DNS_NSEC3_DATA { |
| 962 |
pub chAlgorithm: u8, |
| 963 |
pub bFlags: u8, |
| 964 |
pub wIterations: u16, |
| 965 |
pub bSaltLength: u8, |
| 966 |
pub bHashLength: u8, |
| 967 |
pub wTypeBitMapsLength: u16, |
| 968 |
pub chData: [u8; 1], |
| 969 |
} |
| 970 |
impl ::core::marker::Copy for DNS_NSEC3_DATA {} |
| 971 |
impl ::core::clone::Clone for DNS_NSEC3_DATA { |
| 972 |
fn clone(&self) -> Self { |
| 973 |
*self |
| 974 |
} |
| 975 |
} |
| 976 |
#[repr(C)] |
| 977 |
pub struct DNS_NSEC_DATAA { |
| 978 |
pub pNextDomainName: ::windows_sys::core::PSTR, |
| 979 |
pub wTypeBitMapsLength: u16, |
| 980 |
pub wPad: u16, |
| 981 |
pub TypeBitMaps: [u8; 1], |
| 982 |
} |
| 983 |
impl ::core::marker::Copy for DNS_NSEC_DATAA {} |
| 984 |
impl ::core::clone::Clone for DNS_NSEC_DATAA { |
| 985 |
fn clone(&self) -> Self { |
| 986 |
*self |
| 987 |
} |
| 988 |
} |
| 989 |
#[repr(C)] |
| 990 |
pub struct DNS_NSEC_DATAW { |
| 991 |
pub pNextDomainName: ::windows_sys::core::PWSTR, |
| 992 |
pub wTypeBitMapsLength: u16, |
| 993 |
pub wPad: u16, |
| 994 |
pub TypeBitMaps: [u8; 1], |
| 995 |
} |
| 996 |
impl ::core::marker::Copy for DNS_NSEC_DATAW {} |
| 997 |
impl ::core::clone::Clone for DNS_NSEC_DATAW { |
| 998 |
fn clone(&self) -> Self { |
| 999 |
*self |
| 1000 |
} |
| 1001 |
} |
| 1002 |
#[repr(C)] |
| 1003 |
pub struct DNS_NULL_DATA { |
| 1004 |
pub dwByteCount: u32, |
| 1005 |
pub Data: [u8; 1], |
| 1006 |
} |
| 1007 |
impl ::core::marker::Copy for DNS_NULL_DATA {} |
| 1008 |
impl ::core::clone::Clone for DNS_NULL_DATA { |
| 1009 |
fn clone(&self) -> Self { |
| 1010 |
*self |
| 1011 |
} |
| 1012 |
} |
| 1013 |
#[repr(C)] |
| 1014 |
pub struct DNS_NXT_DATAA { |
| 1015 |
pub pNameNext: ::windows_sys::core::PSTR, |
| 1016 |
pub wNumTypes: u16, |
| 1017 |
pub wTypes: [u16; 1], |
| 1018 |
} |
| 1019 |
impl ::core::marker::Copy for DNS_NXT_DATAA {} |
| 1020 |
impl ::core::clone::Clone for DNS_NXT_DATAA { |
| 1021 |
fn clone(&self) -> Self { |
| 1022 |
*self |
| 1023 |
} |
| 1024 |
} |
| 1025 |
#[repr(C)] |
| 1026 |
pub struct DNS_NXT_DATAW { |
| 1027 |
pub pNameNext: ::windows_sys::core::PWSTR, |
| 1028 |
pub wNumTypes: u16, |
| 1029 |
pub wTypes: [u16; 1], |
| 1030 |
} |
| 1031 |
impl ::core::marker::Copy for DNS_NXT_DATAW {} |
| 1032 |
impl ::core::clone::Clone for DNS_NXT_DATAW { |
| 1033 |
fn clone(&self) -> Self { |
| 1034 |
*self |
| 1035 |
} |
| 1036 |
} |
| 1037 |
#[repr(C)] |
| 1038 |
pub struct DNS_OPT_DATA { |
| 1039 |
pub wDataLength: u16, |
| 1040 |
pub wPad: u16, |
| 1041 |
pub Data: [u8; 1], |
| 1042 |
} |
| 1043 |
impl ::core::marker::Copy for DNS_OPT_DATA {} |
| 1044 |
impl ::core::clone::Clone for DNS_OPT_DATA { |
| 1045 |
fn clone(&self) -> Self { |
| 1046 |
*self |
| 1047 |
} |
| 1048 |
} |
| 1049 |
#[repr(C)] |
| 1050 |
pub struct DNS_PROXY_INFORMATION { |
| 1051 |
pub version: u32, |
| 1052 |
pub proxyInformationType: DNS_PROXY_INFORMATION_TYPE, |
| 1053 |
pub proxyName: ::windows_sys::core::PWSTR, |
| 1054 |
} |
| 1055 |
impl ::core::marker::Copy for DNS_PROXY_INFORMATION {} |
| 1056 |
impl ::core::clone::Clone for DNS_PROXY_INFORMATION { |
| 1057 |
fn clone(&self) -> Self { |
| 1058 |
*self |
| 1059 |
} |
| 1060 |
} |
| 1061 |
#[repr(C)] |
| 1062 |
pub struct DNS_PTR_DATAA { |
| 1063 |
pub pNameHost: ::windows_sys::core::PSTR, |
| 1064 |
} |
| 1065 |
impl ::core::marker::Copy for DNS_PTR_DATAA {} |
| 1066 |
impl ::core::clone::Clone for DNS_PTR_DATAA { |
| 1067 |
fn clone(&self) -> Self { |
| 1068 |
*self |
| 1069 |
} |
| 1070 |
} |
| 1071 |
#[repr(C)] |
| 1072 |
pub struct DNS_PTR_DATAW { |
| 1073 |
pub pNameHost: ::windows_sys::core::PWSTR, |
| 1074 |
} |
| 1075 |
impl ::core::marker::Copy for DNS_PTR_DATAW {} |
| 1076 |
impl ::core::clone::Clone for DNS_PTR_DATAW { |
| 1077 |
fn clone(&self) -> Self { |
| 1078 |
*self |
| 1079 |
} |
| 1080 |
} |
| 1081 |
#[repr(C)] |
| 1082 |
pub struct DNS_QUERY_CANCEL { |
| 1083 |
pub Reserved: [u8; 32], |
| 1084 |
} |
| 1085 |
impl ::core::marker::Copy for DNS_QUERY_CANCEL {} |
| 1086 |
impl ::core::clone::Clone for DNS_QUERY_CANCEL { |
| 1087 |
fn clone(&self) -> Self { |
| 1088 |
*self |
| 1089 |
} |
| 1090 |
} |
| 1091 |
#[repr(C)] |
| 1092 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1093 |
#[cfg(feature = "Win32_Foundation")] |
| 1094 |
pub struct DNS_QUERY_REQUEST { |
| 1095 |
pub Version: u32, |
| 1096 |
pub QueryName: ::windows_sys::core::PCWSTR, |
| 1097 |
pub QueryType: u16, |
| 1098 |
pub QueryOptions: u64, |
| 1099 |
pub pDnsServerList: *mut DNS_ADDR_ARRAY, |
| 1100 |
pub InterfaceIndex: u32, |
| 1101 |
pub pQueryCompletionCallback: PDNS_QUERY_COMPLETION_ROUTINE, |
| 1102 |
pub pQueryContext: *mut ::core::ffi::c_void, |
| 1103 |
} |
| 1104 |
#[cfg(feature = "Win32_Foundation")] |
| 1105 |
impl ::core::marker::Copy for DNS_QUERY_REQUEST {} |
| 1106 |
#[cfg(feature = "Win32_Foundation")] |
| 1107 |
impl ::core::clone::Clone for DNS_QUERY_REQUEST { |
| 1108 |
fn clone(&self) -> Self { |
| 1109 |
*self |
| 1110 |
} |
| 1111 |
} |
| 1112 |
#[repr(C)] |
| 1113 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1114 |
#[cfg(feature = "Win32_Foundation")] |
| 1115 |
pub struct DNS_QUERY_REQUEST3 { |
| 1116 |
pub Version: u32, |
| 1117 |
pub QueryName: ::windows_sys::core::PCWSTR, |
| 1118 |
pub QueryType: u16, |
| 1119 |
pub QueryOptions: u64, |
| 1120 |
pub pDnsServerList: *mut DNS_ADDR_ARRAY, |
| 1121 |
pub InterfaceIndex: u32, |
| 1122 |
pub pQueryCompletionCallback: PDNS_QUERY_COMPLETION_ROUTINE, |
| 1123 |
pub pQueryContext: *mut ::core::ffi::c_void, |
| 1124 |
pub IsNetworkQueryRequired: super::super::Foundation::BOOL, |
| 1125 |
pub RequiredNetworkIndex: u32, |
| 1126 |
pub cCustomServers: u32, |
| 1127 |
pub pCustomServers: *mut DNS_CUSTOM_SERVER, |
| 1128 |
} |
| 1129 |
#[cfg(feature = "Win32_Foundation")] |
| 1130 |
impl ::core::marker::Copy for DNS_QUERY_REQUEST3 {} |
| 1131 |
#[cfg(feature = "Win32_Foundation")] |
| 1132 |
impl ::core::clone::Clone for DNS_QUERY_REQUEST3 { |
| 1133 |
fn clone(&self) -> Self { |
| 1134 |
*self |
| 1135 |
} |
| 1136 |
} |
| 1137 |
#[repr(C)] |
| 1138 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1139 |
#[cfg(feature = "Win32_Foundation")] |
| 1140 |
pub struct DNS_QUERY_RESULT { |
| 1141 |
pub Version: u32, |
| 1142 |
pub QueryStatus: i32, |
| 1143 |
pub QueryOptions: u64, |
| 1144 |
pub pQueryRecords: *mut DNS_RECORDA, |
| 1145 |
pub Reserved: *mut ::core::ffi::c_void, |
| 1146 |
} |
| 1147 |
#[cfg(feature = "Win32_Foundation")] |
| 1148 |
impl ::core::marker::Copy for DNS_QUERY_RESULT {} |
| 1149 |
#[cfg(feature = "Win32_Foundation")] |
| 1150 |
impl ::core::clone::Clone for DNS_QUERY_RESULT { |
| 1151 |
fn clone(&self) -> Self { |
| 1152 |
*self |
| 1153 |
} |
| 1154 |
} |
| 1155 |
#[repr(C)] |
| 1156 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1157 |
#[cfg(feature = "Win32_Foundation")] |
| 1158 |
pub struct DNS_RECORDA { |
| 1159 |
pub pNext: *mut DNS_RECORDA, |
| 1160 |
pub pName: ::windows_sys::core::PSTR, |
| 1161 |
pub wType: u16, |
| 1162 |
pub wDataLength: u16, |
| 1163 |
pub Flags: DNS_RECORDA_1, |
| 1164 |
pub dwTtl: u32, |
| 1165 |
pub dwReserved: u32, |
| 1166 |
pub Data: DNS_RECORDA_0, |
| 1167 |
} |
| 1168 |
#[cfg(feature = "Win32_Foundation")] |
| 1169 |
impl ::core::marker::Copy for DNS_RECORDA {} |
| 1170 |
#[cfg(feature = "Win32_Foundation")] |
| 1171 |
impl ::core::clone::Clone for DNS_RECORDA { |
| 1172 |
fn clone(&self) -> Self { |
| 1173 |
*self |
| 1174 |
} |
| 1175 |
} |
| 1176 |
#[repr(C)] |
| 1177 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1178 |
#[cfg(feature = "Win32_Foundation")] |
| 1179 |
pub union DNS_RECORDA_0 { |
| 1180 |
pub A: DNS_A_DATA, |
| 1181 |
pub SOA: DNS_SOA_DATAA, |
| 1182 |
pub Soa: DNS_SOA_DATAA, |
| 1183 |
pub PTR: DNS_PTR_DATAA, |
| 1184 |
pub Ptr: DNS_PTR_DATAA, |
| 1185 |
pub NS: DNS_PTR_DATAA, |
| 1186 |
pub Ns: DNS_PTR_DATAA, |
| 1187 |
pub CNAME: DNS_PTR_DATAA, |
| 1188 |
pub Cname: DNS_PTR_DATAA, |
| 1189 |
pub DNAME: DNS_PTR_DATAA, |
| 1190 |
pub Dname: DNS_PTR_DATAA, |
| 1191 |
pub MB: DNS_PTR_DATAA, |
| 1192 |
pub Mb: DNS_PTR_DATAA, |
| 1193 |
pub MD: DNS_PTR_DATAA, |
| 1194 |
pub Md: DNS_PTR_DATAA, |
| 1195 |
pub MF: DNS_PTR_DATAA, |
| 1196 |
pub Mf: DNS_PTR_DATAA, |
| 1197 |
pub MG: DNS_PTR_DATAA, |
| 1198 |
pub Mg: DNS_PTR_DATAA, |
| 1199 |
pub MR: DNS_PTR_DATAA, |
| 1200 |
pub Mr: DNS_PTR_DATAA, |
| 1201 |
pub MINFO: DNS_MINFO_DATAA, |
| 1202 |
pub Minfo: DNS_MINFO_DATAA, |
| 1203 |
pub RP: DNS_MINFO_DATAA, |
| 1204 |
pub Rp: DNS_MINFO_DATAA, |
| 1205 |
pub MX: DNS_MX_DATAA, |
| 1206 |
pub Mx: DNS_MX_DATAA, |
| 1207 |
pub AFSDB: DNS_MX_DATAA, |
| 1208 |
pub Afsdb: DNS_MX_DATAA, |
| 1209 |
pub RT: DNS_MX_DATAA, |
| 1210 |
pub Rt: DNS_MX_DATAA, |
| 1211 |
pub HINFO: DNS_TXT_DATAA, |
| 1212 |
pub Hinfo: DNS_TXT_DATAA, |
| 1213 |
pub ISDN: DNS_TXT_DATAA, |
| 1214 |
pub Isdn: DNS_TXT_DATAA, |
| 1215 |
pub TXT: DNS_TXT_DATAA, |
| 1216 |
pub Txt: DNS_TXT_DATAA, |
| 1217 |
pub X25: DNS_TXT_DATAA, |
| 1218 |
pub Null: DNS_NULL_DATA, |
| 1219 |
pub WKS: DNS_WKS_DATA, |
| 1220 |
pub Wks: DNS_WKS_DATA, |
| 1221 |
pub AAAA: DNS_AAAA_DATA, |
| 1222 |
pub KEY: DNS_KEY_DATA, |
| 1223 |
pub Key: DNS_KEY_DATA, |
| 1224 |
pub SIG: DNS_SIG_DATAA, |
| 1225 |
pub Sig: DNS_SIG_DATAA, |
| 1226 |
pub ATMA: DNS_ATMA_DATA, |
| 1227 |
pub Atma: DNS_ATMA_DATA, |
| 1228 |
pub NXT: DNS_NXT_DATAA, |
| 1229 |
pub Nxt: DNS_NXT_DATAA, |
| 1230 |
pub SRV: DNS_SRV_DATAA, |
| 1231 |
pub Srv: DNS_SRV_DATAA, |
| 1232 |
pub NAPTR: DNS_NAPTR_DATAA, |
| 1233 |
pub Naptr: DNS_NAPTR_DATAA, |
| 1234 |
pub OPT: DNS_OPT_DATA, |
| 1235 |
pub Opt: DNS_OPT_DATA, |
| 1236 |
pub DS: DNS_DS_DATA, |
| 1237 |
pub Ds: DNS_DS_DATA, |
| 1238 |
pub RRSIG: DNS_SIG_DATAA, |
| 1239 |
pub Rrsig: DNS_SIG_DATAA, |
| 1240 |
pub NSEC: DNS_NSEC_DATAA, |
| 1241 |
pub Nsec: DNS_NSEC_DATAA, |
| 1242 |
pub DNSKEY: DNS_KEY_DATA, |
| 1243 |
pub Dnskey: DNS_KEY_DATA, |
| 1244 |
pub TKEY: DNS_TKEY_DATAA, |
| 1245 |
pub Tkey: DNS_TKEY_DATAA, |
| 1246 |
pub TSIG: DNS_TSIG_DATAA, |
| 1247 |
pub Tsig: DNS_TSIG_DATAA, |
| 1248 |
pub WINS: DNS_WINS_DATA, |
| 1249 |
pub Wins: DNS_WINS_DATA, |
| 1250 |
pub WINSR: DNS_WINSR_DATAA, |
| 1251 |
pub WinsR: DNS_WINSR_DATAA, |
| 1252 |
pub NBSTAT: DNS_WINSR_DATAA, |
| 1253 |
pub Nbstat: DNS_WINSR_DATAA, |
| 1254 |
pub DHCID: DNS_DHCID_DATA, |
| 1255 |
pub NSEC3: DNS_NSEC3_DATA, |
| 1256 |
pub Nsec3: DNS_NSEC3_DATA, |
| 1257 |
pub NSEC3PARAM: DNS_NSEC3PARAM_DATA, |
| 1258 |
pub Nsec3Param: DNS_NSEC3PARAM_DATA, |
| 1259 |
pub TLSA: DNS_TLSA_DATA, |
| 1260 |
pub Tlsa: DNS_TLSA_DATA, |
| 1261 |
pub SVCB: DNS_SVCB_DATA, |
| 1262 |
pub Svcb: DNS_SVCB_DATA, |
| 1263 |
pub UNKNOWN: DNS_UNKNOWN_DATA, |
| 1264 |
pub Unknown: DNS_UNKNOWN_DATA, |
| 1265 |
pub pDataPtr: *mut u8, |
| 1266 |
} |
| 1267 |
#[cfg(feature = "Win32_Foundation")] |
| 1268 |
impl ::core::marker::Copy for DNS_RECORDA_0 {} |
| 1269 |
#[cfg(feature = "Win32_Foundation")] |
| 1270 |
impl ::core::clone::Clone for DNS_RECORDA_0 { |
| 1271 |
fn clone(&self) -> Self { |
| 1272 |
*self |
| 1273 |
} |
| 1274 |
} |
| 1275 |
#[repr(C)] |
| 1276 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1277 |
#[cfg(feature = "Win32_Foundation")] |
| 1278 |
pub union DNS_RECORDA_1 { |
| 1279 |
pub DW: u32, |
| 1280 |
pub S: DNS_RECORD_FLAGS, |
| 1281 |
} |
| 1282 |
#[cfg(feature = "Win32_Foundation")] |
| 1283 |
impl ::core::marker::Copy for DNS_RECORDA_1 {} |
| 1284 |
#[cfg(feature = "Win32_Foundation")] |
| 1285 |
impl ::core::clone::Clone for DNS_RECORDA_1 { |
| 1286 |
fn clone(&self) -> Self { |
| 1287 |
*self |
| 1288 |
} |
| 1289 |
} |
| 1290 |
#[repr(C)] |
| 1291 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1292 |
#[cfg(feature = "Win32_Foundation")] |
| 1293 |
pub struct DNS_RECORDW { |
| 1294 |
pub pNext: *mut DNS_RECORDW, |
| 1295 |
pub pName: ::windows_sys::core::PWSTR, |
| 1296 |
pub wType: u16, |
| 1297 |
pub wDataLength: u16, |
| 1298 |
pub Flags: DNS_RECORDW_1, |
| 1299 |
pub dwTtl: u32, |
| 1300 |
pub dwReserved: u32, |
| 1301 |
pub Data: DNS_RECORDW_0, |
| 1302 |
} |
| 1303 |
#[cfg(feature = "Win32_Foundation")] |
| 1304 |
impl ::core::marker::Copy for DNS_RECORDW {} |
| 1305 |
#[cfg(feature = "Win32_Foundation")] |
| 1306 |
impl ::core::clone::Clone for DNS_RECORDW { |
| 1307 |
fn clone(&self) -> Self { |
| 1308 |
*self |
| 1309 |
} |
| 1310 |
} |
| 1311 |
#[repr(C)] |
| 1312 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1313 |
#[cfg(feature = "Win32_Foundation")] |
| 1314 |
pub union DNS_RECORDW_0 { |
| 1315 |
pub A: DNS_A_DATA, |
| 1316 |
pub SOA: DNS_SOA_DATAW, |
| 1317 |
pub Soa: DNS_SOA_DATAW, |
| 1318 |
pub PTR: DNS_PTR_DATAW, |
| 1319 |
pub Ptr: DNS_PTR_DATAW, |
| 1320 |
pub NS: DNS_PTR_DATAW, |
| 1321 |
pub Ns: DNS_PTR_DATAW, |
| 1322 |
pub CNAME: DNS_PTR_DATAW, |
| 1323 |
pub Cname: DNS_PTR_DATAW, |
| 1324 |
pub DNAME: DNS_PTR_DATAW, |
| 1325 |
pub Dname: DNS_PTR_DATAW, |
| 1326 |
pub MB: DNS_PTR_DATAW, |
| 1327 |
pub Mb: DNS_PTR_DATAW, |
| 1328 |
pub MD: DNS_PTR_DATAW, |
| 1329 |
pub Md: DNS_PTR_DATAW, |
| 1330 |
pub MF: DNS_PTR_DATAW, |
| 1331 |
pub Mf: DNS_PTR_DATAW, |
| 1332 |
pub MG: DNS_PTR_DATAW, |
| 1333 |
pub Mg: DNS_PTR_DATAW, |
| 1334 |
pub MR: DNS_PTR_DATAW, |
| 1335 |
pub Mr: DNS_PTR_DATAW, |
| 1336 |
pub MINFO: DNS_MINFO_DATAW, |
| 1337 |
pub Minfo: DNS_MINFO_DATAW, |
| 1338 |
pub RP: DNS_MINFO_DATAW, |
| 1339 |
pub Rp: DNS_MINFO_DATAW, |
| 1340 |
pub MX: DNS_MX_DATAW, |
| 1341 |
pub Mx: DNS_MX_DATAW, |
| 1342 |
pub AFSDB: DNS_MX_DATAW, |
| 1343 |
pub Afsdb: DNS_MX_DATAW, |
| 1344 |
pub RT: DNS_MX_DATAW, |
| 1345 |
pub Rt: DNS_MX_DATAW, |
| 1346 |
pub HINFO: DNS_TXT_DATAW, |
| 1347 |
pub Hinfo: DNS_TXT_DATAW, |
| 1348 |
pub ISDN: DNS_TXT_DATAW, |
| 1349 |
pub Isdn: DNS_TXT_DATAW, |
| 1350 |
pub TXT: DNS_TXT_DATAW, |
| 1351 |
pub Txt: DNS_TXT_DATAW, |
| 1352 |
pub X25: DNS_TXT_DATAW, |
| 1353 |
pub Null: DNS_NULL_DATA, |
| 1354 |
pub WKS: DNS_WKS_DATA, |
| 1355 |
pub Wks: DNS_WKS_DATA, |
| 1356 |
pub AAAA: DNS_AAAA_DATA, |
| 1357 |
pub KEY: DNS_KEY_DATA, |
| 1358 |
pub Key: DNS_KEY_DATA, |
| 1359 |
pub SIG: DNS_SIG_DATAW, |
| 1360 |
pub Sig: DNS_SIG_DATAW, |
| 1361 |
pub ATMA: DNS_ATMA_DATA, |
| 1362 |
pub Atma: DNS_ATMA_DATA, |
| 1363 |
pub NXT: DNS_NXT_DATAW, |
| 1364 |
pub Nxt: DNS_NXT_DATAW, |
| 1365 |
pub SRV: DNS_SRV_DATAW, |
| 1366 |
pub Srv: DNS_SRV_DATAW, |
| 1367 |
pub NAPTR: DNS_NAPTR_DATAW, |
| 1368 |
pub Naptr: DNS_NAPTR_DATAW, |
| 1369 |
pub OPT: DNS_OPT_DATA, |
| 1370 |
pub Opt: DNS_OPT_DATA, |
| 1371 |
pub DS: DNS_DS_DATA, |
| 1372 |
pub Ds: DNS_DS_DATA, |
| 1373 |
pub RRSIG: DNS_SIG_DATAW, |
| 1374 |
pub Rrsig: DNS_SIG_DATAW, |
| 1375 |
pub NSEC: DNS_NSEC_DATAW, |
| 1376 |
pub Nsec: DNS_NSEC_DATAW, |
| 1377 |
pub DNSKEY: DNS_KEY_DATA, |
| 1378 |
pub Dnskey: DNS_KEY_DATA, |
| 1379 |
pub TKEY: DNS_TKEY_DATAW, |
| 1380 |
pub Tkey: DNS_TKEY_DATAW, |
| 1381 |
pub TSIG: DNS_TSIG_DATAW, |
| 1382 |
pub Tsig: DNS_TSIG_DATAW, |
| 1383 |
pub WINS: DNS_WINS_DATA, |
| 1384 |
pub Wins: DNS_WINS_DATA, |
| 1385 |
pub WINSR: DNS_WINSR_DATAW, |
| 1386 |
pub WinsR: DNS_WINSR_DATAW, |
| 1387 |
pub NBSTAT: DNS_WINSR_DATAW, |
| 1388 |
pub Nbstat: DNS_WINSR_DATAW, |
| 1389 |
pub DHCID: DNS_DHCID_DATA, |
| 1390 |
pub NSEC3: DNS_NSEC3_DATA, |
| 1391 |
pub Nsec3: DNS_NSEC3_DATA, |
| 1392 |
pub NSEC3PARAM: DNS_NSEC3PARAM_DATA, |
| 1393 |
pub Nsec3Param: DNS_NSEC3PARAM_DATA, |
| 1394 |
pub TLSA: DNS_TLSA_DATA, |
| 1395 |
pub Tlsa: DNS_TLSA_DATA, |
| 1396 |
pub SVCB: DNS_SVCB_DATA, |
| 1397 |
pub Svcb: DNS_SVCB_DATA, |
| 1398 |
pub UNKNOWN: DNS_UNKNOWN_DATA, |
| 1399 |
pub Unknown: DNS_UNKNOWN_DATA, |
| 1400 |
pub pDataPtr: *mut u8, |
| 1401 |
} |
| 1402 |
#[cfg(feature = "Win32_Foundation")] |
| 1403 |
impl ::core::marker::Copy for DNS_RECORDW_0 {} |
| 1404 |
#[cfg(feature = "Win32_Foundation")] |
| 1405 |
impl ::core::clone::Clone for DNS_RECORDW_0 { |
| 1406 |
fn clone(&self) -> Self { |
| 1407 |
*self |
| 1408 |
} |
| 1409 |
} |
| 1410 |
#[repr(C)] |
| 1411 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1412 |
#[cfg(feature = "Win32_Foundation")] |
| 1413 |
pub union DNS_RECORDW_1 { |
| 1414 |
pub DW: u32, |
| 1415 |
pub S: DNS_RECORD_FLAGS, |
| 1416 |
} |
| 1417 |
#[cfg(feature = "Win32_Foundation")] |
| 1418 |
impl ::core::marker::Copy for DNS_RECORDW_1 {} |
| 1419 |
#[cfg(feature = "Win32_Foundation")] |
| 1420 |
impl ::core::clone::Clone for DNS_RECORDW_1 { |
| 1421 |
fn clone(&self) -> Self { |
| 1422 |
*self |
| 1423 |
} |
| 1424 |
} |
| 1425 |
#[repr(C)] |
| 1426 |
pub struct DNS_RECORD_FLAGS { |
| 1427 |
pub _bitfield: u32, |
| 1428 |
} |
| 1429 |
impl ::core::marker::Copy for DNS_RECORD_FLAGS {} |
| 1430 |
impl ::core::clone::Clone for DNS_RECORD_FLAGS { |
| 1431 |
fn clone(&self) -> Self { |
| 1432 |
*self |
| 1433 |
} |
| 1434 |
} |
| 1435 |
#[repr(C)] |
| 1436 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1437 |
#[cfg(feature = "Win32_Foundation")] |
| 1438 |
pub struct DNS_RECORD_OPTW { |
| 1439 |
pub pNext: *mut DNS_RECORDW, |
| 1440 |
pub pName: ::windows_sys::core::PWSTR, |
| 1441 |
pub wType: u16, |
| 1442 |
pub wDataLength: u16, |
| 1443 |
pub Flags: DNS_RECORD_OPTW_1, |
| 1444 |
pub ExtHeader: DNS_HEADER_EXT, |
| 1445 |
pub wPayloadSize: u16, |
| 1446 |
pub wReserved: u16, |
| 1447 |
pub Data: DNS_RECORD_OPTW_0, |
| 1448 |
} |
| 1449 |
#[cfg(feature = "Win32_Foundation")] |
| 1450 |
impl ::core::marker::Copy for DNS_RECORD_OPTW {} |
| 1451 |
#[cfg(feature = "Win32_Foundation")] |
| 1452 |
impl ::core::clone::Clone for DNS_RECORD_OPTW { |
| 1453 |
fn clone(&self) -> Self { |
| 1454 |
*self |
| 1455 |
} |
| 1456 |
} |
| 1457 |
#[repr(C)] |
| 1458 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1459 |
#[cfg(feature = "Win32_Foundation")] |
| 1460 |
pub union DNS_RECORD_OPTW_0 { |
| 1461 |
pub OPT: DNS_OPT_DATA, |
| 1462 |
pub Opt: DNS_OPT_DATA, |
| 1463 |
} |
| 1464 |
#[cfg(feature = "Win32_Foundation")] |
| 1465 |
impl ::core::marker::Copy for DNS_RECORD_OPTW_0 {} |
| 1466 |
#[cfg(feature = "Win32_Foundation")] |
| 1467 |
impl ::core::clone::Clone for DNS_RECORD_OPTW_0 { |
| 1468 |
fn clone(&self) -> Self { |
| 1469 |
*self |
| 1470 |
} |
| 1471 |
} |
| 1472 |
#[repr(C)] |
| 1473 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1474 |
#[cfg(feature = "Win32_Foundation")] |
| 1475 |
pub union DNS_RECORD_OPTW_1 { |
| 1476 |
pub DW: u32, |
| 1477 |
pub S: DNS_RECORD_FLAGS, |
| 1478 |
} |
| 1479 |
#[cfg(feature = "Win32_Foundation")] |
| 1480 |
impl ::core::marker::Copy for DNS_RECORD_OPTW_1 {} |
| 1481 |
#[cfg(feature = "Win32_Foundation")] |
| 1482 |
impl ::core::clone::Clone for DNS_RECORD_OPTW_1 { |
| 1483 |
fn clone(&self) -> Self { |
| 1484 |
*self |
| 1485 |
} |
| 1486 |
} |
| 1487 |
#[repr(C)] |
| 1488 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1489 |
#[cfg(feature = "Win32_Foundation")] |
| 1490 |
pub struct DNS_RRSET { |
| 1491 |
pub pFirstRR: *mut DNS_RECORDA, |
| 1492 |
pub pLastRR: *mut DNS_RECORDA, |
| 1493 |
} |
| 1494 |
#[cfg(feature = "Win32_Foundation")] |
| 1495 |
impl ::core::marker::Copy for DNS_RRSET {} |
| 1496 |
#[cfg(feature = "Win32_Foundation")] |
| 1497 |
impl ::core::clone::Clone for DNS_RRSET { |
| 1498 |
fn clone(&self) -> Self { |
| 1499 |
*self |
| 1500 |
} |
| 1501 |
} |
| 1502 |
#[repr(C)] |
| 1503 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1504 |
#[cfg(feature = "Win32_Foundation")] |
| 1505 |
pub struct DNS_SERVICE_BROWSE_REQUEST { |
| 1506 |
pub Version: u32, |
| 1507 |
pub InterfaceIndex: u32, |
| 1508 |
pub QueryName: ::windows_sys::core::PCWSTR, |
| 1509 |
pub Anonymous: DNS_SERVICE_BROWSE_REQUEST_0, |
| 1510 |
pub pQueryContext: *mut ::core::ffi::c_void, |
| 1511 |
} |
| 1512 |
#[cfg(feature = "Win32_Foundation")] |
| 1513 |
impl ::core::marker::Copy for DNS_SERVICE_BROWSE_REQUEST {} |
| 1514 |
#[cfg(feature = "Win32_Foundation")] |
| 1515 |
impl ::core::clone::Clone for DNS_SERVICE_BROWSE_REQUEST { |
| 1516 |
fn clone(&self) -> Self { |
| 1517 |
*self |
| 1518 |
} |
| 1519 |
} |
| 1520 |
#[repr(C)] |
| 1521 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1522 |
#[cfg(feature = "Win32_Foundation")] |
| 1523 |
pub union DNS_SERVICE_BROWSE_REQUEST_0 { |
| 1524 |
pub pBrowseCallback: PDNS_SERVICE_BROWSE_CALLBACK, |
| 1525 |
pub pBrowseCallbackV2: PDNS_QUERY_COMPLETION_ROUTINE, |
| 1526 |
} |
| 1527 |
#[cfg(feature = "Win32_Foundation")] |
| 1528 |
impl ::core::marker::Copy for DNS_SERVICE_BROWSE_REQUEST_0 {} |
| 1529 |
#[cfg(feature = "Win32_Foundation")] |
| 1530 |
impl ::core::clone::Clone for DNS_SERVICE_BROWSE_REQUEST_0 { |
| 1531 |
fn clone(&self) -> Self { |
| 1532 |
*self |
| 1533 |
} |
| 1534 |
} |
| 1535 |
#[repr(C)] |
| 1536 |
pub struct DNS_SERVICE_CANCEL { |
| 1537 |
pub reserved: *mut ::core::ffi::c_void, |
| 1538 |
} |
| 1539 |
impl ::core::marker::Copy for DNS_SERVICE_CANCEL {} |
| 1540 |
impl ::core::clone::Clone for DNS_SERVICE_CANCEL { |
| 1541 |
fn clone(&self) -> Self { |
| 1542 |
*self |
| 1543 |
} |
| 1544 |
} |
| 1545 |
#[repr(C)] |
| 1546 |
pub struct DNS_SERVICE_INSTANCE { |
| 1547 |
pub pszInstanceName: ::windows_sys::core::PWSTR, |
| 1548 |
pub pszHostName: ::windows_sys::core::PWSTR, |
| 1549 |
pub ip4Address: *mut u32, |
| 1550 |
pub ip6Address: *mut IP6_ADDRESS, |
| 1551 |
pub wPort: u16, |
| 1552 |
pub wPriority: u16, |
| 1553 |
pub wWeight: u16, |
| 1554 |
pub dwPropertyCount: u32, |
| 1555 |
pub keys: *mut ::windows_sys::core::PWSTR, |
| 1556 |
pub values: *mut ::windows_sys::core::PWSTR, |
| 1557 |
pub dwInterfaceIndex: u32, |
| 1558 |
} |
| 1559 |
impl ::core::marker::Copy for DNS_SERVICE_INSTANCE {} |
| 1560 |
impl ::core::clone::Clone for DNS_SERVICE_INSTANCE { |
| 1561 |
fn clone(&self) -> Self { |
| 1562 |
*self |
| 1563 |
} |
| 1564 |
} |
| 1565 |
#[repr(C)] |
| 1566 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1567 |
#[cfg(feature = "Win32_Foundation")] |
| 1568 |
pub struct DNS_SERVICE_REGISTER_REQUEST { |
| 1569 |
pub Version: u32, |
| 1570 |
pub InterfaceIndex: u32, |
| 1571 |
pub pServiceInstance: *mut DNS_SERVICE_INSTANCE, |
| 1572 |
pub pRegisterCompletionCallback: PDNS_SERVICE_REGISTER_COMPLETE, |
| 1573 |
pub pQueryContext: *mut ::core::ffi::c_void, |
| 1574 |
pub hCredentials: super::super::Foundation::HANDLE, |
| 1575 |
pub unicastEnabled: super::super::Foundation::BOOL, |
| 1576 |
} |
| 1577 |
#[cfg(feature = "Win32_Foundation")] |
| 1578 |
impl ::core::marker::Copy for DNS_SERVICE_REGISTER_REQUEST {} |
| 1579 |
#[cfg(feature = "Win32_Foundation")] |
| 1580 |
impl ::core::clone::Clone for DNS_SERVICE_REGISTER_REQUEST { |
| 1581 |
fn clone(&self) -> Self { |
| 1582 |
*self |
| 1583 |
} |
| 1584 |
} |
| 1585 |
#[repr(C)] |
| 1586 |
pub struct DNS_SERVICE_RESOLVE_REQUEST { |
| 1587 |
pub Version: u32, |
| 1588 |
pub InterfaceIndex: u32, |
| 1589 |
pub QueryName: ::windows_sys::core::PWSTR, |
| 1590 |
pub pResolveCompletionCallback: PDNS_SERVICE_RESOLVE_COMPLETE, |
| 1591 |
pub pQueryContext: *mut ::core::ffi::c_void, |
| 1592 |
} |
| 1593 |
impl ::core::marker::Copy for DNS_SERVICE_RESOLVE_REQUEST {} |
| 1594 |
impl ::core::clone::Clone for DNS_SERVICE_RESOLVE_REQUEST { |
| 1595 |
fn clone(&self) -> Self { |
| 1596 |
*self |
| 1597 |
} |
| 1598 |
} |
| 1599 |
#[repr(C)] |
| 1600 |
pub struct DNS_SIG_DATAA { |
| 1601 |
pub wTypeCovered: u16, |
| 1602 |
pub chAlgorithm: u8, |
| 1603 |
pub chLabelCount: u8, |
| 1604 |
pub dwOriginalTtl: u32, |
| 1605 |
pub dwExpiration: u32, |
| 1606 |
pub dwTimeSigned: u32, |
| 1607 |
pub wKeyTag: u16, |
| 1608 |
pub wSignatureLength: u16, |
| 1609 |
pub pNameSigner: ::windows_sys::core::PSTR, |
| 1610 |
pub Signature: [u8; 1], |
| 1611 |
} |
| 1612 |
impl ::core::marker::Copy for DNS_SIG_DATAA {} |
| 1613 |
impl ::core::clone::Clone for DNS_SIG_DATAA { |
| 1614 |
fn clone(&self) -> Self { |
| 1615 |
*self |
| 1616 |
} |
| 1617 |
} |
| 1618 |
#[repr(C)] |
| 1619 |
pub struct DNS_SIG_DATAW { |
| 1620 |
pub wTypeCovered: u16, |
| 1621 |
pub chAlgorithm: u8, |
| 1622 |
pub chLabelCount: u8, |
| 1623 |
pub dwOriginalTtl: u32, |
| 1624 |
pub dwExpiration: u32, |
| 1625 |
pub dwTimeSigned: u32, |
| 1626 |
pub wKeyTag: u16, |
| 1627 |
pub wSignatureLength: u16, |
| 1628 |
pub pNameSigner: ::windows_sys::core::PWSTR, |
| 1629 |
pub Signature: [u8; 1], |
| 1630 |
} |
| 1631 |
impl ::core::marker::Copy for DNS_SIG_DATAW {} |
| 1632 |
impl ::core::clone::Clone for DNS_SIG_DATAW { |
| 1633 |
fn clone(&self) -> Self { |
| 1634 |
*self |
| 1635 |
} |
| 1636 |
} |
| 1637 |
#[repr(C)] |
| 1638 |
pub struct DNS_SOA_DATAA { |
| 1639 |
pub pNamePrimaryServer: ::windows_sys::core::PSTR, |
| 1640 |
pub pNameAdministrator: ::windows_sys::core::PSTR, |
| 1641 |
pub dwSerialNo: u32, |
| 1642 |
pub dwRefresh: u32, |
| 1643 |
pub dwRetry: u32, |
| 1644 |
pub dwExpire: u32, |
| 1645 |
pub dwDefaultTtl: u32, |
| 1646 |
} |
| 1647 |
impl ::core::marker::Copy for DNS_SOA_DATAA {} |
| 1648 |
impl ::core::clone::Clone for DNS_SOA_DATAA { |
| 1649 |
fn clone(&self) -> Self { |
| 1650 |
*self |
| 1651 |
} |
| 1652 |
} |
| 1653 |
#[repr(C)] |
| 1654 |
pub struct DNS_SOA_DATAW { |
| 1655 |
pub pNamePrimaryServer: ::windows_sys::core::PWSTR, |
| 1656 |
pub pNameAdministrator: ::windows_sys::core::PWSTR, |
| 1657 |
pub dwSerialNo: u32, |
| 1658 |
pub dwRefresh: u32, |
| 1659 |
pub dwRetry: u32, |
| 1660 |
pub dwExpire: u32, |
| 1661 |
pub dwDefaultTtl: u32, |
| 1662 |
} |
| 1663 |
impl ::core::marker::Copy for DNS_SOA_DATAW {} |
| 1664 |
impl ::core::clone::Clone for DNS_SOA_DATAW { |
| 1665 |
fn clone(&self) -> Self { |
| 1666 |
*self |
| 1667 |
} |
| 1668 |
} |
| 1669 |
#[repr(C)] |
| 1670 |
pub struct DNS_SRV_DATAA { |
| 1671 |
pub pNameTarget: ::windows_sys::core::PSTR, |
| 1672 |
pub wPriority: u16, |
| 1673 |
pub wWeight: u16, |
| 1674 |
pub wPort: u16, |
| 1675 |
pub Pad: u16, |
| 1676 |
} |
| 1677 |
impl ::core::marker::Copy for DNS_SRV_DATAA {} |
| 1678 |
impl ::core::clone::Clone for DNS_SRV_DATAA { |
| 1679 |
fn clone(&self) -> Self { |
| 1680 |
*self |
| 1681 |
} |
| 1682 |
} |
| 1683 |
#[repr(C)] |
| 1684 |
pub struct DNS_SRV_DATAW { |
| 1685 |
pub pNameTarget: ::windows_sys::core::PWSTR, |
| 1686 |
pub wPriority: u16, |
| 1687 |
pub wWeight: u16, |
| 1688 |
pub wPort: u16, |
| 1689 |
pub Pad: u16, |
| 1690 |
} |
| 1691 |
impl ::core::marker::Copy for DNS_SRV_DATAW {} |
| 1692 |
impl ::core::clone::Clone for DNS_SRV_DATAW { |
| 1693 |
fn clone(&self) -> Self { |
| 1694 |
*self |
| 1695 |
} |
| 1696 |
} |
| 1697 |
#[repr(C)] |
| 1698 |
pub struct DNS_SVCB_DATA { |
| 1699 |
pub wSvcPriority: u16, |
| 1700 |
pub pszTargetName: ::windows_sys::core::PSTR, |
| 1701 |
pub cSvcParams: u16, |
| 1702 |
pub pSvcParams: *mut DNS_SVCB_PARAM, |
| 1703 |
} |
| 1704 |
impl ::core::marker::Copy for DNS_SVCB_DATA {} |
| 1705 |
impl ::core::clone::Clone for DNS_SVCB_DATA { |
| 1706 |
fn clone(&self) -> Self { |
| 1707 |
*self |
| 1708 |
} |
| 1709 |
} |
| 1710 |
#[repr(C)] |
| 1711 |
pub struct DNS_SVCB_PARAM { |
| 1712 |
pub wSvcParamKey: u16, |
| 1713 |
pub Anonymous: DNS_SVCB_PARAM_0, |
| 1714 |
} |
| 1715 |
impl ::core::marker::Copy for DNS_SVCB_PARAM {} |
| 1716 |
impl ::core::clone::Clone for DNS_SVCB_PARAM { |
| 1717 |
fn clone(&self) -> Self { |
| 1718 |
*self |
| 1719 |
} |
| 1720 |
} |
| 1721 |
#[repr(C)] |
| 1722 |
pub union DNS_SVCB_PARAM_0 { |
| 1723 |
pub pIpv4Hints: *mut DNS_SVCB_PARAM_IPV4, |
| 1724 |
pub pIpv6Hints: *mut DNS_SVCB_PARAM_IPV6, |
| 1725 |
pub pMandatory: *mut DNS_SVCB_PARAM_MANDATORY, |
| 1726 |
pub pAlpn: *mut DNS_SVCB_PARAM_ALPN, |
| 1727 |
pub wPort: u16, |
| 1728 |
pub pUnknown: *mut DNS_SVCB_PARAM_UNKNOWN, |
| 1729 |
pub pszDohPath: ::windows_sys::core::PSTR, |
| 1730 |
pub pReserved: *mut ::core::ffi::c_void, |
| 1731 |
} |
| 1732 |
impl ::core::marker::Copy for DNS_SVCB_PARAM_0 {} |
| 1733 |
impl ::core::clone::Clone for DNS_SVCB_PARAM_0 { |
| 1734 |
fn clone(&self) -> Self { |
| 1735 |
*self |
| 1736 |
} |
| 1737 |
} |
| 1738 |
#[repr(C)] |
| 1739 |
pub struct DNS_SVCB_PARAM_ALPN { |
| 1740 |
pub cIds: u16, |
| 1741 |
pub rgIds: [DNS_SVCB_PARAM_ALPN_ID; 1], |
| 1742 |
} |
| 1743 |
impl ::core::marker::Copy for DNS_SVCB_PARAM_ALPN {} |
| 1744 |
impl ::core::clone::Clone for DNS_SVCB_PARAM_ALPN { |
| 1745 |
fn clone(&self) -> Self { |
| 1746 |
*self |
| 1747 |
} |
| 1748 |
} |
| 1749 |
#[repr(C)] |
| 1750 |
pub struct DNS_SVCB_PARAM_ALPN_ID { |
| 1751 |
pub cBytes: u8, |
| 1752 |
pub pbId: *mut u8, |
| 1753 |
} |
| 1754 |
impl ::core::marker::Copy for DNS_SVCB_PARAM_ALPN_ID {} |
| 1755 |
impl ::core::clone::Clone for DNS_SVCB_PARAM_ALPN_ID { |
| 1756 |
fn clone(&self) -> Self { |
| 1757 |
*self |
| 1758 |
} |
| 1759 |
} |
| 1760 |
#[repr(C)] |
| 1761 |
pub struct DNS_SVCB_PARAM_IPV4 { |
| 1762 |
pub cIps: u16, |
| 1763 |
pub rgIps: [u32; 1], |
| 1764 |
} |
| 1765 |
impl ::core::marker::Copy for DNS_SVCB_PARAM_IPV4 {} |
| 1766 |
impl ::core::clone::Clone for DNS_SVCB_PARAM_IPV4 { |
| 1767 |
fn clone(&self) -> Self { |
| 1768 |
*self |
| 1769 |
} |
| 1770 |
} |
| 1771 |
#[repr(C)] |
| 1772 |
pub struct DNS_SVCB_PARAM_IPV6 { |
| 1773 |
pub cIps: u16, |
| 1774 |
pub rgIps: [IP6_ADDRESS; 1], |
| 1775 |
} |
| 1776 |
impl ::core::marker::Copy for DNS_SVCB_PARAM_IPV6 {} |
| 1777 |
impl ::core::clone::Clone for DNS_SVCB_PARAM_IPV6 { |
| 1778 |
fn clone(&self) -> Self { |
| 1779 |
*self |
| 1780 |
} |
| 1781 |
} |
| 1782 |
#[repr(C)] |
| 1783 |
pub struct DNS_SVCB_PARAM_MANDATORY { |
| 1784 |
pub cMandatoryKeys: u16, |
| 1785 |
pub rgwMandatoryKeys: [u16; 1], |
| 1786 |
} |
| 1787 |
impl ::core::marker::Copy for DNS_SVCB_PARAM_MANDATORY {} |
| 1788 |
impl ::core::clone::Clone for DNS_SVCB_PARAM_MANDATORY { |
| 1789 |
fn clone(&self) -> Self { |
| 1790 |
*self |
| 1791 |
} |
| 1792 |
} |
| 1793 |
#[repr(C)] |
| 1794 |
pub struct DNS_SVCB_PARAM_UNKNOWN { |
| 1795 |
pub cBytes: u16, |
| 1796 |
pub pbSvcParamValue: [u8; 1], |
| 1797 |
} |
| 1798 |
impl ::core::marker::Copy for DNS_SVCB_PARAM_UNKNOWN {} |
| 1799 |
impl ::core::clone::Clone for DNS_SVCB_PARAM_UNKNOWN { |
| 1800 |
fn clone(&self) -> Self { |
| 1801 |
*self |
| 1802 |
} |
| 1803 |
} |
| 1804 |
#[repr(C)] |
| 1805 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1806 |
#[cfg(feature = "Win32_Foundation")] |
| 1807 |
pub struct DNS_TKEY_DATAA { |
| 1808 |
pub pNameAlgorithm: ::windows_sys::core::PSTR, |
| 1809 |
pub pAlgorithmPacket: *mut u8, |
| 1810 |
pub pKey: *mut u8, |
| 1811 |
pub pOtherData: *mut u8, |
| 1812 |
pub dwCreateTime: u32, |
| 1813 |
pub dwExpireTime: u32, |
| 1814 |
pub wMode: u16, |
| 1815 |
pub wError: u16, |
| 1816 |
pub wKeyLength: u16, |
| 1817 |
pub wOtherLength: u16, |
| 1818 |
pub cAlgNameLength: u8, |
| 1819 |
pub bPacketPointers: super::super::Foundation::BOOL, |
| 1820 |
} |
| 1821 |
#[cfg(feature = "Win32_Foundation")] |
| 1822 |
impl ::core::marker::Copy for DNS_TKEY_DATAA {} |
| 1823 |
#[cfg(feature = "Win32_Foundation")] |
| 1824 |
impl ::core::clone::Clone for DNS_TKEY_DATAA { |
| 1825 |
fn clone(&self) -> Self { |
| 1826 |
*self |
| 1827 |
} |
| 1828 |
} |
| 1829 |
#[repr(C)] |
| 1830 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1831 |
#[cfg(feature = "Win32_Foundation")] |
| 1832 |
pub struct DNS_TKEY_DATAW { |
| 1833 |
pub pNameAlgorithm: ::windows_sys::core::PWSTR, |
| 1834 |
pub pAlgorithmPacket: *mut u8, |
| 1835 |
pub pKey: *mut u8, |
| 1836 |
pub pOtherData: *mut u8, |
| 1837 |
pub dwCreateTime: u32, |
| 1838 |
pub dwExpireTime: u32, |
| 1839 |
pub wMode: u16, |
| 1840 |
pub wError: u16, |
| 1841 |
pub wKeyLength: u16, |
| 1842 |
pub wOtherLength: u16, |
| 1843 |
pub cAlgNameLength: u8, |
| 1844 |
pub bPacketPointers: super::super::Foundation::BOOL, |
| 1845 |
} |
| 1846 |
#[cfg(feature = "Win32_Foundation")] |
| 1847 |
impl ::core::marker::Copy for DNS_TKEY_DATAW {} |
| 1848 |
#[cfg(feature = "Win32_Foundation")] |
| 1849 |
impl ::core::clone::Clone for DNS_TKEY_DATAW { |
| 1850 |
fn clone(&self) -> Self { |
| 1851 |
*self |
| 1852 |
} |
| 1853 |
} |
| 1854 |
#[repr(C)] |
| 1855 |
pub struct DNS_TLSA_DATA { |
| 1856 |
pub bCertUsage: u8, |
| 1857 |
pub bSelector: u8, |
| 1858 |
pub bMatchingType: u8, |
| 1859 |
pub bCertificateAssociationDataLength: u16, |
| 1860 |
pub bPad: [u8; 3], |
| 1861 |
pub bCertificateAssociationData: [u8; 1], |
| 1862 |
} |
| 1863 |
impl ::core::marker::Copy for DNS_TLSA_DATA {} |
| 1864 |
impl ::core::clone::Clone for DNS_TLSA_DATA { |
| 1865 |
fn clone(&self) -> Self { |
| 1866 |
*self |
| 1867 |
} |
| 1868 |
} |
| 1869 |
#[repr(C)] |
| 1870 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1871 |
#[cfg(feature = "Win32_Foundation")] |
| 1872 |
pub struct DNS_TSIG_DATAA { |
| 1873 |
pub pNameAlgorithm: ::windows_sys::core::PSTR, |
| 1874 |
pub pAlgorithmPacket: *mut u8, |
| 1875 |
pub pSignature: *mut u8, |
| 1876 |
pub pOtherData: *mut u8, |
| 1877 |
pub i64CreateTime: i64, |
| 1878 |
pub wFudgeTime: u16, |
| 1879 |
pub wOriginalXid: u16, |
| 1880 |
pub wError: u16, |
| 1881 |
pub wSigLength: u16, |
| 1882 |
pub wOtherLength: u16, |
| 1883 |
pub cAlgNameLength: u8, |
| 1884 |
pub bPacketPointers: super::super::Foundation::BOOL, |
| 1885 |
} |
| 1886 |
#[cfg(feature = "Win32_Foundation")] |
| 1887 |
impl ::core::marker::Copy for DNS_TSIG_DATAA {} |
| 1888 |
#[cfg(feature = "Win32_Foundation")] |
| 1889 |
impl ::core::clone::Clone for DNS_TSIG_DATAA { |
| 1890 |
fn clone(&self) -> Self { |
| 1891 |
*self |
| 1892 |
} |
| 1893 |
} |
| 1894 |
#[repr(C)] |
| 1895 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1896 |
#[cfg(feature = "Win32_Foundation")] |
| 1897 |
pub struct DNS_TSIG_DATAW { |
| 1898 |
pub pNameAlgorithm: ::windows_sys::core::PWSTR, |
| 1899 |
pub pAlgorithmPacket: *mut u8, |
| 1900 |
pub pSignature: *mut u8, |
| 1901 |
pub pOtherData: *mut u8, |
| 1902 |
pub i64CreateTime: i64, |
| 1903 |
pub wFudgeTime: u16, |
| 1904 |
pub wOriginalXid: u16, |
| 1905 |
pub wError: u16, |
| 1906 |
pub wSigLength: u16, |
| 1907 |
pub wOtherLength: u16, |
| 1908 |
pub cAlgNameLength: u8, |
| 1909 |
pub bPacketPointers: super::super::Foundation::BOOL, |
| 1910 |
} |
| 1911 |
#[cfg(feature = "Win32_Foundation")] |
| 1912 |
impl ::core::marker::Copy for DNS_TSIG_DATAW {} |
| 1913 |
#[cfg(feature = "Win32_Foundation")] |
| 1914 |
impl ::core::clone::Clone for DNS_TSIG_DATAW { |
| 1915 |
fn clone(&self) -> Self { |
| 1916 |
*self |
| 1917 |
} |
| 1918 |
} |
| 1919 |
#[repr(C)] |
| 1920 |
pub struct DNS_TXT_DATAA { |
| 1921 |
pub dwStringCount: u32, |
| 1922 |
pub pStringArray: [::windows_sys::core::PSTR; 1], |
| 1923 |
} |
| 1924 |
impl ::core::marker::Copy for DNS_TXT_DATAA {} |
| 1925 |
impl ::core::clone::Clone for DNS_TXT_DATAA { |
| 1926 |
fn clone(&self) -> Self { |
| 1927 |
*self |
| 1928 |
} |
| 1929 |
} |
| 1930 |
#[repr(C)] |
| 1931 |
pub struct DNS_TXT_DATAW { |
| 1932 |
pub dwStringCount: u32, |
| 1933 |
pub pStringArray: [::windows_sys::core::PWSTR; 1], |
| 1934 |
} |
| 1935 |
impl ::core::marker::Copy for DNS_TXT_DATAW {} |
| 1936 |
impl ::core::clone::Clone for DNS_TXT_DATAW { |
| 1937 |
fn clone(&self) -> Self { |
| 1938 |
*self |
| 1939 |
} |
| 1940 |
} |
| 1941 |
#[repr(C)] |
| 1942 |
pub struct DNS_UNKNOWN_DATA { |
| 1943 |
pub dwByteCount: u32, |
| 1944 |
pub bData: [u8; 1], |
| 1945 |
} |
| 1946 |
impl ::core::marker::Copy for DNS_UNKNOWN_DATA {} |
| 1947 |
impl ::core::clone::Clone for DNS_UNKNOWN_DATA { |
| 1948 |
fn clone(&self) -> Self { |
| 1949 |
*self |
| 1950 |
} |
| 1951 |
} |
| 1952 |
#[repr(C)] |
| 1953 |
pub struct DNS_WINSR_DATAA { |
| 1954 |
pub dwMappingFlag: u32, |
| 1955 |
pub dwLookupTimeout: u32, |
| 1956 |
pub dwCacheTimeout: u32, |
| 1957 |
pub pNameResultDomain: ::windows_sys::core::PSTR, |
| 1958 |
} |
| 1959 |
impl ::core::marker::Copy for DNS_WINSR_DATAA {} |
| 1960 |
impl ::core::clone::Clone for DNS_WINSR_DATAA { |
| 1961 |
fn clone(&self) -> Self { |
| 1962 |
*self |
| 1963 |
} |
| 1964 |
} |
| 1965 |
#[repr(C)] |
| 1966 |
pub struct DNS_WINSR_DATAW { |
| 1967 |
pub dwMappingFlag: u32, |
| 1968 |
pub dwLookupTimeout: u32, |
| 1969 |
pub dwCacheTimeout: u32, |
| 1970 |
pub pNameResultDomain: ::windows_sys::core::PWSTR, |
| 1971 |
} |
| 1972 |
impl ::core::marker::Copy for DNS_WINSR_DATAW {} |
| 1973 |
impl ::core::clone::Clone for DNS_WINSR_DATAW { |
| 1974 |
fn clone(&self) -> Self { |
| 1975 |
*self |
| 1976 |
} |
| 1977 |
} |
| 1978 |
#[repr(C)] |
| 1979 |
pub struct DNS_WINS_DATA { |
| 1980 |
pub dwMappingFlag: u32, |
| 1981 |
pub dwLookupTimeout: u32, |
| 1982 |
pub dwCacheTimeout: u32, |
| 1983 |
pub cWinsServerCount: u32, |
| 1984 |
pub WinsServers: [u32; 1], |
| 1985 |
} |
| 1986 |
impl ::core::marker::Copy for DNS_WINS_DATA {} |
| 1987 |
impl ::core::clone::Clone for DNS_WINS_DATA { |
| 1988 |
fn clone(&self) -> Self { |
| 1989 |
*self |
| 1990 |
} |
| 1991 |
} |
| 1992 |
#[repr(C, packed(1))] |
| 1993 |
pub struct DNS_WIRE_QUESTION { |
| 1994 |
pub QuestionType: u16, |
| 1995 |
pub QuestionClass: u16, |
| 1996 |
} |
| 1997 |
impl ::core::marker::Copy for DNS_WIRE_QUESTION {} |
| 1998 |
impl ::core::clone::Clone for DNS_WIRE_QUESTION { |
| 1999 |
fn clone(&self) -> Self { |
| 2000 |
*self |
| 2001 |
} |
| 2002 |
} |
| 2003 |
#[repr(C, packed(1))] |
| 2004 |
pub struct DNS_WIRE_RECORD { |
| 2005 |
pub RecordType: u16, |
| 2006 |
pub RecordClass: u16, |
| 2007 |
pub TimeToLive: u32, |
| 2008 |
pub DataLength: u16, |
| 2009 |
} |
| 2010 |
impl ::core::marker::Copy for DNS_WIRE_RECORD {} |
| 2011 |
impl ::core::clone::Clone for DNS_WIRE_RECORD { |
| 2012 |
fn clone(&self) -> Self { |
| 2013 |
*self |
| 2014 |
} |
| 2015 |
} |
| 2016 |
#[repr(C)] |
| 2017 |
pub struct DNS_WKS_DATA { |
| 2018 |
pub IpAddress: u32, |
| 2019 |
pub chProtocol: u8, |
| 2020 |
pub BitMask: [u8; 1], |
| 2021 |
} |
| 2022 |
impl ::core::marker::Copy for DNS_WKS_DATA {} |
| 2023 |
impl ::core::clone::Clone for DNS_WKS_DATA { |
| 2024 |
fn clone(&self) -> Self { |
| 2025 |
*self |
| 2026 |
} |
| 2027 |
} |
| 2028 |
#[repr(C)] |
| 2029 |
pub struct IP4_ARRAY { |
| 2030 |
pub AddrCount: u32, |
| 2031 |
pub AddrArray: [u32; 1], |
| 2032 |
} |
| 2033 |
impl ::core::marker::Copy for IP4_ARRAY {} |
| 2034 |
impl ::core::clone::Clone for IP4_ARRAY { |
| 2035 |
fn clone(&self) -> Self { |
| 2036 |
*self |
| 2037 |
} |
| 2038 |
} |
| 2039 |
#[repr(C)] |
| 2040 |
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| 2041 |
pub union IP6_ADDRESS { |
| 2042 |
pub IP6Qword: [u64; 2], |
| 2043 |
pub IP6Dword: [u32; 4], |
| 2044 |
pub IP6Word: [u16; 8], |
| 2045 |
pub IP6Byte: [u8; 16], |
| 2046 |
} |
| 2047 |
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| 2048 |
impl ::core::marker::Copy for IP6_ADDRESS {} |
| 2049 |
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| 2050 |
impl ::core::clone::Clone for IP6_ADDRESS { |
| 2051 |
fn clone(&self) -> Self { |
| 2052 |
*self |
| 2053 |
} |
| 2054 |
} |
| 2055 |
#[repr(C)] |
| 2056 |
#[cfg(target_arch = "x86")] |
| 2057 |
pub union IP6_ADDRESS { |
| 2058 |
pub IP6Dword: [u32; 4], |
| 2059 |
pub IP6Word: [u16; 8], |
| 2060 |
pub IP6Byte: [u8; 16], |
| 2061 |
} |
| 2062 |
#[cfg(target_arch = "x86")] |
| 2063 |
impl ::core::marker::Copy for IP6_ADDRESS {} |
| 2064 |
#[cfg(target_arch = "x86")] |
| 2065 |
impl ::core::clone::Clone for IP6_ADDRESS { |
| 2066 |
fn clone(&self) -> Self { |
| 2067 |
*self |
| 2068 |
} |
| 2069 |
} |
| 2070 |
#[repr(C)] |
| 2071 |
pub struct MDNS_QUERY_HANDLE { |
| 2072 |
pub nameBuf: [u16; 256], |
| 2073 |
pub wType: u16, |
| 2074 |
pub pSubscription: *mut ::core::ffi::c_void, |
| 2075 |
pub pWnfCallbackParams: *mut ::core::ffi::c_void, |
| 2076 |
pub stateNameData: [u32; 2], |
| 2077 |
} |
| 2078 |
impl ::core::marker::Copy for MDNS_QUERY_HANDLE {} |
| 2079 |
impl ::core::clone::Clone for MDNS_QUERY_HANDLE { |
| 2080 |
fn clone(&self) -> Self { |
| 2081 |
*self |
| 2082 |
} |
| 2083 |
} |
| 2084 |
#[repr(C)] |
| 2085 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 2086 |
#[cfg(feature = "Win32_Foundation")] |
| 2087 |
pub struct MDNS_QUERY_REQUEST { |
| 2088 |
pub Version: u32, |
| 2089 |
pub ulRefCount: u32, |
| 2090 |
pub Query: ::windows_sys::core::PCWSTR, |
| 2091 |
pub QueryType: u16, |
| 2092 |
pub QueryOptions: u64, |
| 2093 |
pub InterfaceIndex: u32, |
| 2094 |
pub pQueryCallback: PMDNS_QUERY_CALLBACK, |
| 2095 |
pub pQueryContext: *mut ::core::ffi::c_void, |
| 2096 |
pub fAnswerReceived: super::super::Foundation::BOOL, |
| 2097 |
pub ulResendCount: u32, |
| 2098 |
} |
| 2099 |
#[cfg(feature = "Win32_Foundation")] |
| 2100 |
impl ::core::marker::Copy for MDNS_QUERY_REQUEST {} |
| 2101 |
#[cfg(feature = "Win32_Foundation")] |
| 2102 |
impl ::core::clone::Clone for MDNS_QUERY_REQUEST { |
| 2103 |
fn clone(&self) -> Self { |
| 2104 |
*self |
| 2105 |
} |
| 2106 |
} |
| 2107 |
#[repr(C)] |
| 2108 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 2109 |
#[cfg(feature = "Win32_Foundation")] |
| 2110 |
pub struct _DnsRecordOptA { |
| 2111 |
pub pNext: *mut DNS_RECORDA, |
| 2112 |
pub pName: ::windows_sys::core::PSTR, |
| 2113 |
pub wType: u16, |
| 2114 |
pub wDataLength: u16, |
| 2115 |
pub Flags: _DnsRecordOptA_1, |
| 2116 |
pub ExtHeader: DNS_HEADER_EXT, |
| 2117 |
pub wPayloadSize: u16, |
| 2118 |
pub wReserved: u16, |
| 2119 |
pub Data: _DnsRecordOptA_0, |
| 2120 |
} |
| 2121 |
#[cfg(feature = "Win32_Foundation")] |
| 2122 |
impl ::core::marker::Copy for _DnsRecordOptA {} |
| 2123 |
#[cfg(feature = "Win32_Foundation")] |
| 2124 |
impl ::core::clone::Clone for _DnsRecordOptA { |
| 2125 |
fn clone(&self) -> Self { |
| 2126 |
*self |
| 2127 |
} |
| 2128 |
} |
| 2129 |
#[repr(C)] |
| 2130 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 2131 |
#[cfg(feature = "Win32_Foundation")] |
| 2132 |
pub union _DnsRecordOptA_0 { |
| 2133 |
pub OPT: DNS_OPT_DATA, |
| 2134 |
pub Opt: DNS_OPT_DATA, |
| 2135 |
} |
| 2136 |
#[cfg(feature = "Win32_Foundation")] |
| 2137 |
impl ::core::marker::Copy for _DnsRecordOptA_0 {} |
| 2138 |
#[cfg(feature = "Win32_Foundation")] |
| 2139 |
impl ::core::clone::Clone for _DnsRecordOptA_0 { |
| 2140 |
fn clone(&self) -> Self { |
| 2141 |
*self |
| 2142 |
} |
| 2143 |
} |
| 2144 |
#[repr(C)] |
| 2145 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 2146 |
#[cfg(feature = "Win32_Foundation")] |
| 2147 |
pub union _DnsRecordOptA_1 { |
| 2148 |
pub DW: u32, |
| 2149 |
pub S: DNS_RECORD_FLAGS, |
| 2150 |
} |
| 2151 |
#[cfg(feature = "Win32_Foundation")] |
| 2152 |
impl ::core::marker::Copy for _DnsRecordOptA_1 {} |
| 2153 |
#[cfg(feature = "Win32_Foundation")] |
| 2154 |
impl ::core::clone::Clone for _DnsRecordOptA_1 { |
| 2155 |
fn clone(&self) -> Self { |
| 2156 |
*self |
| 2157 |
} |
| 2158 |
} |
| 2159 |
pub type DNS_PROXY_COMPLETION_ROUTINE = ::core::option::Option<unsafe extern "system" fn(completioncontext: *const ::core::ffi::c_void, status: i32) -> ()>; |
| 2160 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 2161 |
#[cfg(feature = "Win32_Foundation")] |
| 2162 |
pub type PDNS_QUERY_COMPLETION_ROUTINE = ::core::option::Option<unsafe extern "system" fn(pquerycontext: *const ::core::ffi::c_void, pqueryresults: *mut DNS_QUERY_RESULT) -> ()>; |
| 2163 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 2164 |
#[cfg(feature = "Win32_Foundation")] |
| 2165 |
pub type PDNS_SERVICE_BROWSE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(status: u32, pquerycontext: *const ::core::ffi::c_void, pdnsrecord: *const DNS_RECORDW) -> ()>; |
| 2166 |
pub type PDNS_SERVICE_REGISTER_COMPLETE = ::core::option::Option<unsafe extern "system" fn(status: u32, pquerycontext: *const ::core::ffi::c_void, pinstance: *const DNS_SERVICE_INSTANCE) -> ()>; |
| 2167 |
pub type PDNS_SERVICE_RESOLVE_COMPLETE = ::core::option::Option<unsafe extern "system" fn(status: u32, pquerycontext: *const ::core::ffi::c_void, pinstance: *const DNS_SERVICE_INSTANCE) -> ()>; |
| 2168 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 2169 |
#[cfg(feature = "Win32_Foundation")] |
| 2170 |
pub type PMDNS_QUERY_CALLBACK = ::core::option::Option<unsafe extern "system" fn(pquerycontext: *const ::core::ffi::c_void, pqueryhandle: *mut MDNS_QUERY_HANDLE, pqueryresults: *mut DNS_QUERY_RESULT) -> ()>; |