From ab59761e3e4395ef118ddf02137ed4948d27115b Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath <[email protected]>
Date: Sun, 14 Jul 2024 17:50:34 +0000
Subject: [PATCH 1/2] headers: Add DNS related error codes in winerror.h

Signed-off-by: Biswapriyo Nath <[email protected]>
---
 mingw-w64-headers/include/winerror.h | 94 ++++++++++++++++++++++++++++
 1 file changed, 94 insertions(+)

diff --git a/mingw-w64-headers/include/winerror.h 
b/mingw-w64-headers/include/winerror.h
index a12150e..bf64527 100755
--- a/mingw-w64-headers/include/winerror.h
+++ b/mingw-w64-headers/include/winerror.h
@@ -2604,6 +2604,37 @@
 #define DNS_ERROR_RCODE_BADKEY __MSABI_LONG(9017)
 #define DNS_ERROR_RCODE_BADTIME __MSABI_LONG(9018)
 #define DNS_ERROR_RCODE_LAST DNS_ERROR_RCODE_BADTIME
+#define DNS_ERROR_DNSSEC_BASE 9100
+#define DNS_ERROR_KEYMASTER_REQUIRED __MSABI_LONG(9101)
+#define DNS_ERROR_NOT_ALLOWED_ON_SIGNED_ZONE __MSABI_LONG(9102)
+#define DNS_ERROR_NSEC3_INCOMPATIBLE_WITH_RSA_SHA1 __MSABI_LONG(9103)
+#define DNS_ERROR_NOT_ENOUGH_SIGNING_KEY_DESCRIPTORS __MSABI_LONG(9104)
+#define DNS_ERROR_UNSUPPORTED_ALGORITHM __MSABI_LONG(9105)
+#define DNS_ERROR_INVALID_KEY_SIZE __MSABI_LONG(9106)
+#define DNS_ERROR_SIGNING_KEY_NOT_ACCESSIBLE __MSABI_LONG(9107)
+#define DNS_ERROR_KSP_DOES_NOT_SUPPORT_PROTECTION __MSABI_LONG(9108)
+#define DNS_ERROR_UNEXPECTED_DATA_PROTECTION_ERROR __MSABI_LONG(9109)
+#define DNS_ERROR_UNEXPECTED_CNG_ERROR __MSABI_LONG(9110)
+#define DNS_ERROR_UNKNOWN_SIGNING_PARAMETER_VERSION __MSABI_LONG(9111)
+#define DNS_ERROR_KSP_NOT_ACCESSIBLE __MSABI_LONG(9112)
+#define DNS_ERROR_TOO_MANY_SKDS __MSABI_LONG(9113)
+#define DNS_ERROR_INVALID_ROLLOVER_PERIOD __MSABI_LONG(9114)
+#define DNS_ERROR_INVALID_INITIAL_ROLLOVER_OFFSET __MSABI_LONG(9115)
+#define DNS_ERROR_ROLLOVER_IN_PROGRESS __MSABI_LONG(9116)
+#define DNS_ERROR_STANDBY_KEY_NOT_PRESENT __MSABI_LONG(9117)
+#define DNS_ERROR_NOT_ALLOWED_ON_ZSK __MSABI_LONG(9118)
+#define DNS_ERROR_NOT_ALLOWED_ON_ACTIVE_SKD __MSABI_LONG(9119)
+#define DNS_ERROR_ROLLOVER_ALREADY_QUEUED __MSABI_LONG(9120)
+#define DNS_ERROR_NOT_ALLOWED_ON_UNSIGNED_ZONE __MSABI_LONG(9121)
+#define DNS_ERROR_BAD_KEYMASTER __MSABI_LONG(9122)
+#define DNS_ERROR_INVALID_SIGNATURE_VALIDITY_PERIOD __MSABI_LONG(9123)
+#define DNS_ERROR_INVALID_NSEC3_ITERATION_COUNT __MSABI_LONG(9124)
+#define DNS_ERROR_DNSSEC_IS_DISABLED __MSABI_LONG(9125)
+#define DNS_ERROR_INVALID_XML __MSABI_LONG(9126)
+#define DNS_ERROR_NO_VALID_TRUST_ANCHORS __MSABI_LONG(9127)
+#define DNS_ERROR_ROLLOVER_NOT_POKEABLE __MSABI_LONG(9128)
+#define DNS_ERROR_NSEC3_NAME_COLLISION __MSABI_LONG(9129)
+#define DNS_ERROR_NSEC_INCOMPATIBLE_WITH_NSEC3_RSA_SHA1 __MSABI_LONG(9130)
 #define DNS_ERROR_PACKET_FMT_BASE 9500
 #define DNS_INFO_NO_RECORDS __MSABI_LONG(9501)
 #define DNS_ERROR_BAD_PACKET __MSABI_LONG(9502)
@@ -2631,6 +2662,14 @@
 #define DNS_ERROR_NOT_ALLOWED_UNDER_DELEGATION __MSABI_LONG(9563)
 #define DNS_ERROR_CANNOT_FIND_ROOT_HINTS __MSABI_LONG(9564)
 #define DNS_ERROR_INCONSISTENT_ROOT_HINTS __MSABI_LONG(9565)
+#define DNS_ERROR_DWORD_VALUE_TOO_SMALL __MSABI_LONG(9566)
+#define DNS_ERROR_DWORD_VALUE_TOO_LARGE __MSABI_LONG(9567)
+#define DNS_ERROR_BACKGROUND_LOADING __MSABI_LONG(9568)
+#define DNS_ERROR_NOT_ALLOWED_ON_RODC __MSABI_LONG(9569)
+#define DNS_ERROR_NOT_ALLOWED_UNDER_DNAME __MSABI_LONG(9570)
+#define DNS_ERROR_DELEGATION_REQUIRED __MSABI_LONG(9571)
+#define DNS_ERROR_INVALID_POLICY_TABLE __MSABI_LONG(9572)
+#define DNS_ERROR_ADDRESS_REQUIRED __MSABI_LONG(9573)
 #define DNS_ERROR_ZONE_BASE 9600
 #define DNS_ERROR_ZONE_DOES_NOT_EXIST __MSABI_LONG(9601)
 #define DNS_ERROR_NO_ZONE_INFO __MSABI_LONG(9602)
@@ -2653,6 +2692,7 @@
 #define DNS_ERROR_FORWARDER_ALREADY_EXISTS __MSABI_LONG(9619)
 #define DNS_ERROR_ZONE_REQUIRES_MASTER_IP __MSABI_LONG(9620)
 #define DNS_ERROR_ZONE_IS_SHUTDOWN __MSABI_LONG(9621)
+#define DNS_ERROR_ZONE_LOCKED_FOR_SIGNING __MSABI_LONG(9622)
 #define DNS_ERROR_DATAFILE_BASE 9650
 #define DNS_ERROR_PRIMARY_REQUIRES_DATAFILE __MSABI_LONG(9651)
 #define DNS_ERROR_INVALID_DATAFILE_NAME __MSABI_LONG(9652)
@@ -2679,6 +2719,9 @@
 #define DNS_ERROR_DS_UNAVAILABLE __MSABI_LONG(9717)
 #define DNS_ERROR_DS_ZONE_ALREADY_EXISTS __MSABI_LONG(9718)
 #define DNS_ERROR_NO_BOOTFILE_IF_DS_ZONE __MSABI_LONG(9719)
+#define DNS_ERROR_NODE_IS_DNAME __MSABI_LONG(9720)
+#define DNS_ERROR_DNAME_COLLISION __MSABI_LONG(9721)
+#define DNS_ERROR_ALIAS_LOOP __MSABI_LONG(9722)
 #define DNS_ERROR_OPERATION_BASE 9750
 #define DNS_INFO_AXFR_COMPLETE __MSABI_LONG(9751)
 #define DNS_ERROR_AXFR __MSABI_LONG(9752)
@@ -2695,6 +2738,57 @@
 #define DNS_ERROR_DP_ALREADY_ENLISTED __MSABI_LONG(9904)
 #define DNS_ERROR_DP_NOT_AVAILABLE __MSABI_LONG(9905)
 #define DNS_ERROR_DP_FSMO_ERROR __MSABI_LONG(9906)
+#define DNS_ERROR_RRL_NOT_ENABLED __MSABI_LONG(9911)
+#define DNS_ERROR_RRL_INVALID_WINDOW_SIZE __MSABI_LONG(9912)
+#define DNS_ERROR_RRL_INVALID_IPV4_PREFIX __MSABI_LONG(9913)
+#define DNS_ERROR_RRL_INVALID_IPV6_PREFIX __MSABI_LONG(9914)
+#define DNS_ERROR_RRL_INVALID_TC_RATE __MSABI_LONG(9915)
+#define DNS_ERROR_RRL_INVALID_LEAK_RATE __MSABI_LONG(9916)
+#define DNS_ERROR_RRL_LEAK_RATE_LESSTHAN_TC_RATE __MSABI_LONG(9917)
+#define DNS_ERROR_VIRTUALIZATION_INSTANCE_ALREADY_EXISTS __MSABI_LONG(9921)
+#define DNS_ERROR_VIRTUALIZATION_INSTANCE_DOES_NOT_EXIST __MSABI_LONG(9922)
+#define DNS_ERROR_VIRTUALIZATION_TREE_LOCKED __MSABI_LONG(9923)
+#define DNS_ERROR_INVAILD_VIRTUALIZATION_INSTANCE_NAME __MSABI_LONG(9924)
+#define DNS_ERROR_DEFAULT_VIRTUALIZATION_INSTANCE __MSABI_LONG(9925)
+#define DNS_ERROR_ZONESCOPE_ALREADY_EXISTS __MSABI_LONG(9951)
+#define DNS_ERROR_ZONESCOPE_DOES_NOT_EXIST __MSABI_LONG(9952)
+#define DNS_ERROR_DEFAULT_ZONESCOPE __MSABI_LONG(9953)
+#define DNS_ERROR_INVALID_ZONESCOPE_NAME __MSABI_LONG(9954)
+#define DNS_ERROR_NOT_ALLOWED_WITH_ZONESCOPES __MSABI_LONG(9955)
+#define DNS_ERROR_LOAD_ZONESCOPE_FAILED __MSABI_LONG(9956)
+#define DNS_ERROR_ZONESCOPE_FILE_WRITEBACK_FAILED __MSABI_LONG(9957)
+#define DNS_ERROR_INVALID_SCOPE_NAME __MSABI_LONG(9958)
+#define DNS_ERROR_SCOPE_DOES_NOT_EXIST __MSABI_LONG(9959)
+#define DNS_ERROR_DEFAULT_SCOPE __MSABI_LONG(9960)
+#define DNS_ERROR_INVALID_SCOPE_OPERATION __MSABI_LONG(9961)
+#define DNS_ERROR_SCOPE_LOCKED __MSABI_LONG(9962)
+#define DNS_ERROR_SCOPE_ALREADY_EXISTS __MSABI_LONG(9963)
+#define DNS_ERROR_POLICY_ALREADY_EXISTS __MSABI_LONG(9971)
+#define DNS_ERROR_POLICY_DOES_NOT_EXIST __MSABI_LONG(9972)
+#define DNS_ERROR_POLICY_INVALID_CRITERIA __MSABI_LONG(9973)
+#define DNS_ERROR_POLICY_INVALID_SETTINGS __MSABI_LONG(9974)
+#define DNS_ERROR_CLIENT_SUBNET_IS_ACCESSED __MSABI_LONG(9975)
+#define DNS_ERROR_CLIENT_SUBNET_DOES_NOT_EXIST __MSABI_LONG(9976)
+#define DNS_ERROR_CLIENT_SUBNET_ALREADY_EXISTS __MSABI_LONG(9977)
+#define DNS_ERROR_SUBNET_DOES_NOT_EXIST __MSABI_LONG(9978)
+#define DNS_ERROR_SUBNET_ALREADY_EXISTS __MSABI_LONG(9979)
+#define DNS_ERROR_POLICY_LOCKED __MSABI_LONG(9980)
+#define DNS_ERROR_POLICY_INVALID_WEIGHT __MSABI_LONG(9981)
+#define DNS_ERROR_POLICY_INVALID_NAME __MSABI_LONG(9982)
+#define DNS_ERROR_POLICY_MISSING_CRITERIA __MSABI_LONG(9983)
+#define DNS_ERROR_INVALID_CLIENT_SUBNET_NAME __MSABI_LONG(9984)
+#define DNS_ERROR_POLICY_PROCESSING_ORDER_INVALID __MSABI_LONG(9985)
+#define DNS_ERROR_POLICY_SCOPE_MISSING __MSABI_LONG(9986)
+#define DNS_ERROR_POLICY_SCOPE_NOT_ALLOWED __MSABI_LONG(9987)
+#define DNS_ERROR_SERVERSCOPE_IS_REFERENCED __MSABI_LONG(9988)
+#define DNS_ERROR_ZONESCOPE_IS_REFERENCED __MSABI_LONG(9989)
+#define DNS_ERROR_POLICY_INVALID_CRITERIA_CLIENT_SUBNET __MSABI_LONG(9990)
+#define DNS_ERROR_POLICY_INVALID_CRITERIA_TRANSPORT_PROTOCOL __MSABI_LONG(9991)
+#define DNS_ERROR_POLICY_INVALID_CRITERIA_NETWORK_PROTOCOL __MSABI_LONG(9992)
+#define DNS_ERROR_POLICY_INVALID_CRITERIA_INTERFACE __MSABI_LONG(9993)
+#define DNS_ERROR_POLICY_INVALID_CRITERIA_FQDN __MSABI_LONG(9994)
+#define DNS_ERROR_POLICY_INVALID_CRITERIA_QUERY_TYPE __MSABI_LONG(9995)
+#define DNS_ERROR_POLICY_INVALID_CRITERIA_TIME_OF_DAY __MSABI_LONG(9996)
 
 #ifndef WSABASEERR
 #define WSABASEERR 10000
-- 
2.45.2

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to