1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
// WARNING: this file is auto-generated by xtask gen and may be overwritten
use *;
/// DNS server unable to interpret format.
pub const ERROR_RCODE_FORMAT_ERROR : ErrorCode = from_constant; // DNS_ERROR_RCODE_FORMAT_ERROR
/// DNS server failure.
pub const ERROR_RCODE_SERVER_FAILURE : ErrorCode = from_constant; // DNS_ERROR_RCODE_SERVER_FAILURE
/// DNS name does not exist.
pub const ERROR_RCODE_NAME_ERROR : ErrorCode = from_constant; // DNS_ERROR_RCODE_NAME_ERROR
/// DNS request not supported by name server.
pub const ERROR_RCODE_NOT_IMPLEMENTED : ErrorCode = from_constant; // DNS_ERROR_RCODE_NOT_IMPLEMENTED
/// DNS operation refused.
pub const ERROR_RCODE_REFUSED : ErrorCode = from_constant; // DNS_ERROR_RCODE_REFUSED
/// DNS name that ought not exist, does exist.
pub const ERROR_RCODE_YXDOMAIN : ErrorCode = from_constant; // DNS_ERROR_RCODE_YXDOMAIN
/// DNS RR set that ought not exist, does exist.
pub const ERROR_RCODE_YXRRSET : ErrorCode = from_constant; // DNS_ERROR_RCODE_YXRRSET
/// DNS RR set that ought to exist, does not exist.
pub const ERROR_RCODE_NXRRSET : ErrorCode = from_constant; // DNS_ERROR_RCODE_NXRRSET
/// DNS server not authoritative for zone.
pub const ERROR_RCODE_NOTAUTH : ErrorCode = from_constant; // DNS_ERROR_RCODE_NOTAUTH
/// DNS name in update or prereq is not in zone.
pub const ERROR_RCODE_NOTZONE : ErrorCode = from_constant; // DNS_ERROR_RCODE_NOTZONE
/// DNS signature failed to verify.
pub const ERROR_RCODE_BADSIG : ErrorCode = from_constant; // DNS_ERROR_RCODE_BADSIG
/// DNS bad key.
pub const ERROR_RCODE_BADKEY : ErrorCode = from_constant; // DNS_ERROR_RCODE_BADKEY
/// DNS signature validity expired.
pub const ERROR_RCODE_BADTIME : ErrorCode = from_constant; // DNS_ERROR_RCODE_BADTIME
/// Only the DNS server acting as the key master for the zone may perform this operation.
pub const ERROR_KEYMASTER_REQUIRED : ErrorCode = from_constant; // DNS_ERROR_KEYMASTER_REQUIRED
/// This operation is not allowed on a zone that is signed or has signing keys.
pub const ERROR_NOT_ALLOWED_ON_SIGNED_ZONE : ErrorCode = from_constant; // DNS_ERROR_NOT_ALLOWED_ON_SIGNED_ZONE
/// NSEC3 is not compatible with the RSA-SHA-1 algorithm. Choose a different algorithm or use NSEC.
pub const ERROR_NSEC3_INCOMPATIBLE_WITH_RSA_SHA1 : ErrorCode = from_constant; // DNS_ERROR_NSEC3_INCOMPATIBLE_WITH_RSA_SHA1
/// The zone does not have enough signing keys. There must be at least one key signing key (KSK) and at least one zone signing key (ZSK).
pub const ERROR_NOT_ENOUGH_SIGNING_KEY_DESCRIPTORS : ErrorCode = from_constant; // DNS_ERROR_NOT_ENOUGH_SIGNING_KEY_DESCRIPTORS
/// The specified algorithm is not supported.
pub const ERROR_UNSUPPORTED_ALGORITHM : ErrorCode = from_constant; // DNS_ERROR_UNSUPPORTED_ALGORITHM
/// The specified key size is not supported.
pub const ERROR_INVALID_KEY_SIZE : ErrorCode = from_constant; // DNS_ERROR_INVALID_KEY_SIZE
/// One or more of the signing keys for a zone are not accessible to the DNS server. Zone signing will not be operational until this error is resolved.
pub const ERROR_SIGNING_KEY_NOT_ACCESSIBLE : ErrorCode = from_constant; // DNS_ERROR_SIGNING_KEY_NOT_ACCESSIBLE
/// The specified key storage provider does not support DPAPI++ data protection. Zone signing will not be operational until this error is resolved.
pub const ERROR_KSP_DOES_NOT_SUPPORT_PROTECTION : ErrorCode = from_constant; // DNS_ERROR_KSP_DOES_NOT_SUPPORT_PROTECTION
/// An unexpected DPAPI++ error was encountered. Zone signing will not be operational until this error is resolved.
pub const ERROR_UNEXPECTED_DATA_PROTECTION_ERROR : ErrorCode = from_constant; // DNS_ERROR_UNEXPECTED_DATA_PROTECTION_ERROR
/// An unexpected crypto error was encountered. Zone signing may not be operational until this error is resolved.
pub const ERROR_UNEXPECTED_CNG_ERROR : ErrorCode = from_constant; // DNS_ERROR_UNEXPECTED_CNG_ERROR
/// The DNS server encountered a signing key with an unknown version. Zone signing will not be operational until this error is resolved.
pub const ERROR_UNKNOWN_SIGNING_PARAMETER_VERSION : ErrorCode = from_constant; // DNS_ERROR_UNKNOWN_SIGNING_PARAMETER_VERSION
/// The specified key service provider cannot be opened by the DNS server.
pub const ERROR_KSP_NOT_ACCESSIBLE : ErrorCode = from_constant; // DNS_ERROR_KSP_NOT_ACCESSIBLE
/// The DNS server cannot accept any more signing keys with the specified algorithm and KSK flag value for this zone.
pub const ERROR_TOO_MANY_SKDS : ErrorCode = from_constant; // DNS_ERROR_TOO_MANY_SKDS
/// The specified rollover period is invalid.
pub const ERROR_INVALID_ROLLOVER_PERIOD : ErrorCode = from_constant; // DNS_ERROR_INVALID_ROLLOVER_PERIOD
/// The specified initial rollover offset is invalid.
pub const ERROR_INVALID_INITIAL_ROLLOVER_OFFSET : ErrorCode = from_constant; // DNS_ERROR_INVALID_INITIAL_ROLLOVER_OFFSET
/// The specified signing key is already in process of rolling over keys.
pub const ERROR_ROLLOVER_IN_PROGRESS : ErrorCode = from_constant; // DNS_ERROR_ROLLOVER_IN_PROGRESS
/// The specified signing key does not have a standby key to revoke.
pub const ERROR_STANDBY_KEY_NOT_PRESENT : ErrorCode = from_constant; // DNS_ERROR_STANDBY_KEY_NOT_PRESENT
/// This operation is not allowed on a zone signing key (ZSK).
pub const ERROR_NOT_ALLOWED_ON_ZSK : ErrorCode = from_constant; // DNS_ERROR_NOT_ALLOWED_ON_ZSK
/// This operation is not allowed on an active signing key.
pub const ERROR_NOT_ALLOWED_ON_ACTIVE_SKD : ErrorCode = from_constant; // DNS_ERROR_NOT_ALLOWED_ON_ACTIVE_SKD
/// The specified signing key is already queued for rollover.
pub const ERROR_ROLLOVER_ALREADY_QUEUED : ErrorCode = from_constant; // DNS_ERROR_ROLLOVER_ALREADY_QUEUED
/// This operation is not allowed on an unsigned zone.
pub const ERROR_NOT_ALLOWED_ON_UNSIGNED_ZONE : ErrorCode = from_constant; // DNS_ERROR_NOT_ALLOWED_ON_UNSIGNED_ZONE
/// This operation could not be completed because the DNS server listed as the current key master for this zone is down or misconfigured. Resolve the problem on the current key master for this zone or use another DNS server to seize the key master role.
pub const ERROR_BAD_KEYMASTER : ErrorCode = from_constant; // DNS_ERROR_BAD_KEYMASTER
/// The specified signature validity period is invalid.
pub const ERROR_INVALID_SIGNATURE_VALIDITY_PERIOD : ErrorCode = from_constant; // DNS_ERROR_INVALID_SIGNATURE_VALIDITY_PERIOD
/// The specified NSEC3 iteration count is higher than allowed by the minimum key length used in the zone.
pub const ERROR_INVALID_NSEC3_ITERATION_COUNT : ErrorCode = from_constant; // DNS_ERROR_INVALID_NSEC3_ITERATION_COUNT
/// This operation could not be completed because the DNS server has been configured with DNSSEC features disabled. Enable DNSSEC on the DNS server.
pub const ERROR_DNSSEC_IS_DISABLED : ErrorCode = from_constant; // DNS_ERROR_DNSSEC_IS_DISABLED
/// This operation could not be completed because the XML stream received is empty or syntactically invalid.
pub const ERROR_INVALID_XML : ErrorCode = from_constant; // DNS_ERROR_INVALID_XML
/// This operation completed, but no trust anchors were added because all of the trust anchors received were either invalid, unsupported, expired, or would not become valid in less than 30 days.
pub const ERROR_NO_VALID_TRUST_ANCHORS : ErrorCode = from_constant; // DNS_ERROR_NO_VALID_TRUST_ANCHORS
/// The specified signing key is not waiting for parental DS update.
pub const ERROR_ROLLOVER_NOT_POKEABLE : ErrorCode = from_constant; // DNS_ERROR_ROLLOVER_NOT_POKEABLE
/// Hash collision detected during NSEC3 signing. Specify a different user-provided salt, or use a randomly generated salt, and attempt to sign the zone again.
pub const ERROR_NSEC3_NAME_COLLISION : ErrorCode = from_constant; // DNS_ERROR_NSEC3_NAME_COLLISION
/// NSEC is not compatible with the NSEC3-RSA-SHA-1 algorithm. Choose a different algorithm or use NSEC3.
pub const ERROR_NSEC_INCOMPATIBLE_WITH_NSEC3_RSA_SHA1 : ErrorCode = from_constant; // DNS_ERROR_NSEC_INCOMPATIBLE_WITH_NSEC3_RSA_SHA1
/// Bad DNS packet.
pub const ERROR_BAD_PACKET : ErrorCode = from_constant; // DNS_ERROR_BAD_PACKET
/// No DNS packet.
pub const ERROR_NO_PACKET : ErrorCode = from_constant; // DNS_ERROR_NO_PACKET
/// DNS error, check rcode.
pub const ERROR_RCODE : ErrorCode = from_constant; // DNS_ERROR_RCODE
/// Unsecured DNS packet.
pub const ERROR_UNSECURE_PACKET : ErrorCode = from_constant; // DNS_ERROR_UNSECURE_PACKET
pub const ERROR_NO_MEMORY : ErrorCode = from_constant; // DNS_ERROR_NO_MEMORY
pub const ERROR_INVALID_NAME : ErrorCode = from_constant; // DNS_ERROR_INVALID_NAME
pub const ERROR_INVALID_DATA : ErrorCode = from_constant; // DNS_ERROR_INVALID_DATA
/// Invalid DNS type.
pub const ERROR_INVALID_TYPE : ErrorCode = from_constant; // DNS_ERROR_INVALID_TYPE
/// Invalid IP address.
pub const ERROR_INVALID_IP_ADDRESS : ErrorCode = from_constant; // DNS_ERROR_INVALID_IP_ADDRESS
/// Invalid property.
pub const ERROR_INVALID_PROPERTY : ErrorCode = from_constant; // DNS_ERROR_INVALID_PROPERTY
/// Try DNS operation again later.
pub const ERROR_TRY_AGAIN_LATER : ErrorCode = from_constant; // DNS_ERROR_TRY_AGAIN_LATER
/// Record for given name and type is not unique.
pub const ERROR_NOT_UNIQUE : ErrorCode = from_constant; // DNS_ERROR_NOT_UNIQUE
/// DNS name does not comply with RFC specifications.
pub const ERROR_NON_RFC_NAME : ErrorCode = from_constant; // DNS_ERROR_NON_RFC_NAME
/// DNS name contains an invalid character.
pub const ERROR_INVALID_NAME_CHAR : ErrorCode = from_constant; // DNS_ERROR_INVALID_NAME_CHAR
/// DNS name is entirely numeric.
pub const ERROR_NUMERIC_NAME : ErrorCode = from_constant; // DNS_ERROR_NUMERIC_NAME
/// The operation requested is not permitted on a DNS root server.
pub const ERROR_NOT_ALLOWED_ON_ROOT_SERVER : ErrorCode = from_constant; // DNS_ERROR_NOT_ALLOWED_ON_ROOT_SERVER
/// The record could not be created because this part of the DNS namespace has been delegated to another server.
pub const ERROR_NOT_ALLOWED_UNDER_DELEGATION : ErrorCode = from_constant; // DNS_ERROR_NOT_ALLOWED_UNDER_DELEGATION
/// The DNS server could not find a set of root hints.
pub const ERROR_CANNOT_FIND_ROOT_HINTS : ErrorCode = from_constant; // DNS_ERROR_CANNOT_FIND_ROOT_HINTS
/// The DNS server found root hints but they were not consistent across all adapters.
pub const ERROR_INCONSISTENT_ROOT_HINTS : ErrorCode = from_constant; // DNS_ERROR_INCONSISTENT_ROOT_HINTS
/// The specified value is too small for this parameter.
pub const ERROR_DWORD_VALUE_TOO_SMALL : ErrorCode = from_constant; // DNS_ERROR_DWORD_VALUE_TOO_SMALL
/// The specified value is too large for this parameter.
pub const ERROR_DWORD_VALUE_TOO_LARGE : ErrorCode = from_constant; // DNS_ERROR_DWORD_VALUE_TOO_LARGE
/// This operation is not allowed while the DNS server is loading zones in the background. Please try again later.
pub const ERROR_BACKGROUND_LOADING : ErrorCode = from_constant; // DNS_ERROR_BACKGROUND_LOADING
/// The operation requested is not permitted on against a DNS server running on a read-only DC.
pub const ERROR_NOT_ALLOWED_ON_RODC : ErrorCode = from_constant; // DNS_ERROR_NOT_ALLOWED_ON_RODC
/// No data is allowed to exist underneath a DNAME record.
pub const ERROR_NOT_ALLOWED_UNDER_DNAME : ErrorCode = from_constant; // DNS_ERROR_NOT_ALLOWED_UNDER_DNAME
/// This operation requires credentials delegation.
pub const ERROR_DELEGATION_REQUIRED : ErrorCode = from_constant; // DNS_ERROR_DELEGATION_REQUIRED
/// Name resolution policy table has been corrupted. DNS resolution will fail until it is fixed. Contact your network administrator.
pub const ERROR_INVALID_POLICY_TABLE : ErrorCode = from_constant; // DNS_ERROR_INVALID_POLICY_TABLE
/// Not allowed to remove all addresses.
pub const ERROR_ADDRESS_REQUIRED : ErrorCode = from_constant; // DNS_ERROR_ADDRESS_REQUIRED
/// DNS zone does not exist.
pub const ERROR_ZONE_DOES_NOT_EXIST : ErrorCode = from_constant; // DNS_ERROR_ZONE_DOES_NOT_EXIST
/// DNS zone information not available.
pub const ERROR_NO_ZONE_INFO : ErrorCode = from_constant; // DNS_ERROR_NO_ZONE_INFO
/// Invalid operation for DNS zone.
pub const ERROR_INVALID_ZONE_OPERATION : ErrorCode = from_constant; // DNS_ERROR_INVALID_ZONE_OPERATION
/// Invalid DNS zone configuration.
pub const ERROR_ZONE_CONFIGURATION_ERROR : ErrorCode = from_constant; // DNS_ERROR_ZONE_CONFIGURATION_ERROR
/// DNS zone has no start of authority (SOA) record.
pub const ERROR_ZONE_HAS_NO_SOA_RECORD : ErrorCode = from_constant; // DNS_ERROR_ZONE_HAS_NO_SOA_RECORD
/// DNS zone has no Name Server (NS) record.
pub const ERROR_ZONE_HAS_NO_NS_RECORDS : ErrorCode = from_constant; // DNS_ERROR_ZONE_HAS_NO_NS_RECORDS
/// DNS zone is locked.
pub const ERROR_ZONE_LOCKED : ErrorCode = from_constant; // DNS_ERROR_ZONE_LOCKED
/// DNS zone creation failed.
pub const ERROR_ZONE_CREATION_FAILED : ErrorCode = from_constant; // DNS_ERROR_ZONE_CREATION_FAILED
/// DNS zone already exists.
pub const ERROR_ZONE_ALREADY_EXISTS : ErrorCode = from_constant; // DNS_ERROR_ZONE_ALREADY_EXISTS
/// DNS automatic zone already exists.
pub const ERROR_AUTOZONE_ALREADY_EXISTS : ErrorCode = from_constant; // DNS_ERROR_AUTOZONE_ALREADY_EXISTS
/// Invalid DNS zone type.
pub const ERROR_INVALID_ZONE_TYPE : ErrorCode = from_constant; // DNS_ERROR_INVALID_ZONE_TYPE
/// Secondary DNS zone requires master IP address.
pub const ERROR_SECONDARY_REQUIRES_MASTER_IP : ErrorCode = from_constant; // DNS_ERROR_SECONDARY_REQUIRES_MASTER_IP
/// DNS zone not secondary.
pub const ERROR_ZONE_NOT_SECONDARY : ErrorCode = from_constant; // DNS_ERROR_ZONE_NOT_SECONDARY
/// Need secondary IP address.
pub const ERROR_NEED_SECONDARY_ADDRESSES : ErrorCode = from_constant; // DNS_ERROR_NEED_SECONDARY_ADDRESSES
/// WINS initialization failed.
pub const ERROR_WINS_INIT_FAILED : ErrorCode = from_constant; // DNS_ERROR_WINS_INIT_FAILED
/// Need WINS servers.
pub const ERROR_NEED_WINS_SERVERS : ErrorCode = from_constant; // DNS_ERROR_NEED_WINS_SERVERS
/// NBTSTAT initialization call failed.
pub const ERROR_NBSTAT_INIT_FAILED : ErrorCode = from_constant; // DNS_ERROR_NBSTAT_INIT_FAILED
/// Invalid delete of start of authority (SOA)
pub const ERROR_SOA_DELETE_INVALID : ErrorCode = from_constant; // DNS_ERROR_SOA_DELETE_INVALID
/// A conditional forwarding zone already exists for that name.
pub const ERROR_FORWARDER_ALREADY_EXISTS : ErrorCode = from_constant; // DNS_ERROR_FORWARDER_ALREADY_EXISTS
/// This zone must be configured with one or more master DNS server IP addresses.
pub const ERROR_ZONE_REQUIRES_MASTER_IP : ErrorCode = from_constant; // DNS_ERROR_ZONE_REQUIRES_MASTER_IP
/// The operation cannot be performed because this zone is shut down.
pub const ERROR_ZONE_IS_SHUTDOWN : ErrorCode = from_constant; // DNS_ERROR_ZONE_IS_SHUTDOWN
/// This operation cannot be performed because the zone is currently being signed. Please try again later.
pub const ERROR_ZONE_LOCKED_FOR_SIGNING : ErrorCode = from_constant; // DNS_ERROR_ZONE_LOCKED_FOR_SIGNING
/// Primary DNS zone requires datafile.
pub const ERROR_PRIMARY_REQUIRES_DATAFILE : ErrorCode = from_constant; // DNS_ERROR_PRIMARY_REQUIRES_DATAFILE
/// Invalid datafile name for DNS zone.
pub const ERROR_INVALID_DATAFILE_NAME : ErrorCode = from_constant; // DNS_ERROR_INVALID_DATAFILE_NAME
/// Failed to open datafile for DNS zone.
pub const ERROR_DATAFILE_OPEN_FAILURE : ErrorCode = from_constant; // DNS_ERROR_DATAFILE_OPEN_FAILURE
/// Failed to write datafile for DNS zone.
pub const ERROR_FILE_WRITEBACK_FAILED : ErrorCode = from_constant; // DNS_ERROR_FILE_WRITEBACK_FAILED
/// Failure while reading datafile for DNS zone.
pub const ERROR_DATAFILE_PARSING : ErrorCode = from_constant; // DNS_ERROR_DATAFILE_PARSING
/// DNS record does not exist.
pub const ERROR_RECORD_DOES_NOT_EXIST : ErrorCode = from_constant; // DNS_ERROR_RECORD_DOES_NOT_EXIST
/// DNS record format error.
pub const ERROR_RECORD_FORMAT : ErrorCode = from_constant; // DNS_ERROR_RECORD_FORMAT
/// Node creation failure in DNS.
pub const ERROR_NODE_CREATION_FAILED : ErrorCode = from_constant; // DNS_ERROR_NODE_CREATION_FAILED
/// Unknown DNS record type.
pub const ERROR_UNKNOWN_RECORD_TYPE : ErrorCode = from_constant; // DNS_ERROR_UNKNOWN_RECORD_TYPE
/// DNS record timed out.
pub const ERROR_RECORD_TIMED_OUT : ErrorCode = from_constant; // DNS_ERROR_RECORD_TIMED_OUT
/// Name not in DNS zone.
pub const ERROR_NAME_NOT_IN_ZONE : ErrorCode = from_constant; // DNS_ERROR_NAME_NOT_IN_ZONE
/// CNAME loop detected.
pub const ERROR_CNAME_LOOP : ErrorCode = from_constant; // DNS_ERROR_CNAME_LOOP
/// Node is a CNAME DNS record.
pub const ERROR_NODE_IS_CNAME : ErrorCode = from_constant; // DNS_ERROR_NODE_IS_CNAME
/// A CNAME record already exists for given name.
pub const ERROR_CNAME_COLLISION : ErrorCode = from_constant; // DNS_ERROR_CNAME_COLLISION
/// Record only at DNS zone root.
pub const ERROR_RECORD_ONLY_AT_ZONE_ROOT : ErrorCode = from_constant; // DNS_ERROR_RECORD_ONLY_AT_ZONE_ROOT
/// DNS record already exists.
pub const ERROR_RECORD_ALREADY_EXISTS : ErrorCode = from_constant; // DNS_ERROR_RECORD_ALREADY_EXISTS
/// Secondary DNS zone data error.
pub const ERROR_SECONDARY_DATA : ErrorCode = from_constant; // DNS_ERROR_SECONDARY_DATA
/// Could not create DNS cache data.
pub const ERROR_NO_CREATE_CACHE_DATA : ErrorCode = from_constant; // DNS_ERROR_NO_CREATE_CACHE_DATA
/// DNS name does not exist.
pub const ERROR_NAME_DOES_NOT_EXIST : ErrorCode = from_constant; // DNS_ERROR_NAME_DOES_NOT_EXIST
/// The directory service is unavailable.
pub const ERROR_DS_UNAVAILABLE : ErrorCode = from_constant; // DNS_ERROR_DS_UNAVAILABLE
/// DNS zone already exists in the directory service.
pub const ERROR_DS_ZONE_ALREADY_EXISTS : ErrorCode = from_constant; // DNS_ERROR_DS_ZONE_ALREADY_EXISTS
/// DNS server not creating or reading the boot file for the directory service integrated DNS zone.
pub const ERROR_NO_BOOTFILE_IF_DS_ZONE : ErrorCode = from_constant; // DNS_ERROR_NO_BOOTFILE_IF_DS_ZONE
/// Node is a DNAME DNS record.
pub const ERROR_NODE_IS_DNAME : ErrorCode = from_constant; // DNS_ERROR_NODE_IS_DNAME
/// A DNAME record already exists for given name.
pub const ERROR_DNAME_COLLISION : ErrorCode = from_constant; // DNS_ERROR_DNAME_COLLISION
/// An alias loop has been detected with either CNAME or DNAME records.
pub const ERROR_ALIAS_LOOP : ErrorCode = from_constant; // DNS_ERROR_ALIAS_LOOP
/// DNS zone transfer failed.
pub const ERROR_AXFR : ErrorCode = from_constant; // DNS_ERROR_AXFR
/// TCP/IP network protocol not installed.
pub const ERROR_NO_TCPIP : ErrorCode = from_constant; // DNS_ERROR_NO_TCPIP
/// No DNS servers configured for local system.
pub const ERROR_NO_DNS_SERVERS : ErrorCode = from_constant; // DNS_ERROR_NO_DNS_SERVERS
/// The specified directory partition does not exist.
pub const ERROR_DP_DOES_NOT_EXIST : ErrorCode = from_constant; // DNS_ERROR_DP_DOES_NOT_EXIST
/// The specified directory partition already exists.
pub const ERROR_DP_ALREADY_EXISTS : ErrorCode = from_constant; // DNS_ERROR_DP_ALREADY_EXISTS
/// This DNS server is not enlisted in the specified directory partition.
pub const ERROR_DP_NOT_ENLISTED : ErrorCode = from_constant; // DNS_ERROR_DP_NOT_ENLISTED
/// This DNS server is already enlisted in the specified directory partition.
pub const ERROR_DP_ALREADY_ENLISTED : ErrorCode = from_constant; // DNS_ERROR_DP_ALREADY_ENLISTED
/// The directory partition is not available at this time. Please wait a few minutes and try again.
pub const ERROR_DP_NOT_AVAILABLE : ErrorCode = from_constant; // DNS_ERROR_DP_NOT_AVAILABLE
/// The operation failed because the domain naming master FSMO role could not be reached. The domain controller holding the domain naming master FSMO role is down or unable to service the request or is not running Windows Server 2003 or later.
pub const ERROR_DP_FSMO_ERROR : ErrorCode = from_constant; // DNS_ERROR_DP_FSMO_ERROR
/// The RRL is not enabled.
pub const ERROR_RRL_NOT_ENABLED : ErrorCode = from_constant; // DNS_ERROR_RRL_NOT_ENABLED
/// The window size parameter is invalid. It should be greater than or equal to 1.
pub const ERROR_RRL_INVALID_WINDOW_SIZE : ErrorCode = from_constant; // DNS_ERROR_RRL_INVALID_WINDOW_SIZE
/// The IPv4 prefix length parameter is invalid. It should be less than or equal to 32.
pub const ERROR_RRL_INVALID_IPV4_PREFIX : ErrorCode = from_constant; // DNS_ERROR_RRL_INVALID_IPV4_PREFIX
/// The IPv6 prefix length parameter is invalid. It should be less than or equal to 128.
pub const ERROR_RRL_INVALID_IPV6_PREFIX : ErrorCode = from_constant; // DNS_ERROR_RRL_INVALID_IPV6_PREFIX
/// The TC Rate parameter is invalid. It should be less than 10.
pub const ERROR_RRL_INVALID_TC_RATE : ErrorCode = from_constant; // DNS_ERROR_RRL_INVALID_TC_RATE
/// The Leak Rate parameter is invalid. It should be either 0, or between 2 and 10.
pub const ERROR_RRL_INVALID_LEAK_RATE : ErrorCode = from_constant; // DNS_ERROR_RRL_INVALID_LEAK_RATE
/// The Leak Rate or TC Rate parameter is invalid. Leak Rate should be greater than TC Rate.
pub const ERROR_RRL_LEAK_RATE_LESSTHAN_TC_RATE : ErrorCode = from_constant; // DNS_ERROR_RRL_LEAK_RATE_LESSTHAN_TC_RATE
/// The virtualization instance already exists.
pub const ERROR_VIRTUALIZATION_INSTANCE_ALREADY_EXISTS : ErrorCode = from_constant; // DNS_ERROR_VIRTUALIZATION_INSTANCE_ALREADY_EXISTS
/// The virtualization instance does not exist.
pub const ERROR_VIRTUALIZATION_INSTANCE_DOES_NOT_EXIST : ErrorCode = from_constant; // DNS_ERROR_VIRTUALIZATION_INSTANCE_DOES_NOT_EXIST
/// The virtualization tree is locked.
pub const ERROR_VIRTUALIZATION_TREE_LOCKED : ErrorCode = from_constant; // DNS_ERROR_VIRTUALIZATION_TREE_LOCKED
/// Invalid virtualization instance name.
pub const ERROR_INVAILD_VIRTUALIZATION_INSTANCE_NAME : ErrorCode = from_constant; // DNS_ERROR_INVAILD_VIRTUALIZATION_INSTANCE_NAME
/// The default virtualization instance cannot be added, removed or modified.
pub const ERROR_DEFAULT_VIRTUALIZATION_INSTANCE : ErrorCode = from_constant; // DNS_ERROR_DEFAULT_VIRTUALIZATION_INSTANCE
/// The scope already exists for the zone.
pub const ERROR_ZONESCOPE_ALREADY_EXISTS : ErrorCode = from_constant; // DNS_ERROR_ZONESCOPE_ALREADY_EXISTS
/// The scope does not exist for the zone.
pub const ERROR_ZONESCOPE_DOES_NOT_EXIST : ErrorCode = from_constant; // DNS_ERROR_ZONESCOPE_DOES_NOT_EXIST
/// The scope is the same as the default zone scope.
pub const ERROR_DEFAULT_ZONESCOPE : ErrorCode = from_constant; // DNS_ERROR_DEFAULT_ZONESCOPE
/// The scope name contains invalid characters.
pub const ERROR_INVALID_ZONESCOPE_NAME : ErrorCode = from_constant; // DNS_ERROR_INVALID_ZONESCOPE_NAME
/// Operation not allowed when the zone has scopes.
pub const ERROR_NOT_ALLOWED_WITH_ZONESCOPES : ErrorCode = from_constant; // DNS_ERROR_NOT_ALLOWED_WITH_ZONESCOPES
/// Failed to load zone scope.
pub const ERROR_LOAD_ZONESCOPE_FAILED : ErrorCode = from_constant; // DNS_ERROR_LOAD_ZONESCOPE_FAILED
/// Failed to write data file for DNS zone scope. Please verify the file exists and is writable.
pub const ERROR_ZONESCOPE_FILE_WRITEBACK_FAILED : ErrorCode = from_constant; // DNS_ERROR_ZONESCOPE_FILE_WRITEBACK_FAILED
/// The scope name contains invalid characters.
pub const ERROR_INVALID_SCOPE_NAME : ErrorCode = from_constant; // DNS_ERROR_INVALID_SCOPE_NAME
/// The scope does not exist.
pub const ERROR_SCOPE_DOES_NOT_EXIST : ErrorCode = from_constant; // DNS_ERROR_SCOPE_DOES_NOT_EXIST
/// The scope is the same as the default scope.
pub const ERROR_DEFAULT_SCOPE : ErrorCode = from_constant; // DNS_ERROR_DEFAULT_SCOPE
/// The operation is invalid on the scope.
pub const ERROR_INVALID_SCOPE_OPERATION : ErrorCode = from_constant; // DNS_ERROR_INVALID_SCOPE_OPERATION
/// The scope is locked.
pub const ERROR_SCOPE_LOCKED : ErrorCode = from_constant; // DNS_ERROR_SCOPE_LOCKED
/// The scope already exists.
pub const ERROR_SCOPE_ALREADY_EXISTS : ErrorCode = from_constant; // DNS_ERROR_SCOPE_ALREADY_EXISTS
/// A policy with the same name already exists on this level (server level or zone level) on the DNS server.
pub const ERROR_POLICY_ALREADY_EXISTS : ErrorCode = from_constant; // DNS_ERROR_POLICY_ALREADY_EXISTS
/// No policy with this name exists on this level (server level or zone level) on the DNS server.
pub const ERROR_POLICY_DOES_NOT_EXIST : ErrorCode = from_constant; // DNS_ERROR_POLICY_DOES_NOT_EXIST
/// The criteria provided in the policy are invalid.
pub const ERROR_POLICY_INVALID_CRITERIA : ErrorCode = from_constant; // DNS_ERROR_POLICY_INVALID_CRITERIA
/// At least one of the settings of this policy is invalid.
pub const ERROR_POLICY_INVALID_SETTINGS : ErrorCode = from_constant; // DNS_ERROR_POLICY_INVALID_SETTINGS
/// The client subnet cannot be deleted while it is being accessed by a policy.
pub const ERROR_CLIENT_SUBNET_IS_ACCESSED : ErrorCode = from_constant; // DNS_ERROR_CLIENT_SUBNET_IS_ACCESSED
/// The client subnet does not exist on the DNS server.
pub const ERROR_CLIENT_SUBNET_DOES_NOT_EXIST : ErrorCode = from_constant; // DNS_ERROR_CLIENT_SUBNET_DOES_NOT_EXIST
/// A client subnet with this name already exists on the DNS server.
pub const ERROR_CLIENT_SUBNET_ALREADY_EXISTS : ErrorCode = from_constant; // DNS_ERROR_CLIENT_SUBNET_ALREADY_EXISTS
/// The IP subnet specified does not exist in the client subnet.
pub const ERROR_SUBNET_DOES_NOT_EXIST : ErrorCode = from_constant; // DNS_ERROR_SUBNET_DOES_NOT_EXIST
/// The IP subnet that is being added, already exists in the client subnet.
pub const ERROR_SUBNET_ALREADY_EXISTS : ErrorCode = from_constant; // DNS_ERROR_SUBNET_ALREADY_EXISTS
/// The policy is locked.
pub const ERROR_POLICY_LOCKED : ErrorCode = from_constant; // DNS_ERROR_POLICY_LOCKED
/// The weight of the scope in the policy is invalid.
pub const ERROR_POLICY_INVALID_WEIGHT : ErrorCode = from_constant; // DNS_ERROR_POLICY_INVALID_WEIGHT
/// The DNS policy name is invalid.
pub const ERROR_POLICY_INVALID_NAME : ErrorCode = from_constant; // DNS_ERROR_POLICY_INVALID_NAME
/// The policy is missing criteria.
pub const ERROR_POLICY_MISSING_CRITERIA : ErrorCode = from_constant; // DNS_ERROR_POLICY_MISSING_CRITERIA
/// The name of the the client subnet record is invalid.
pub const ERROR_INVALID_CLIENT_SUBNET_NAME : ErrorCode = from_constant; // DNS_ERROR_INVALID_CLIENT_SUBNET_NAME
/// Invalid policy processing order.
pub const ERROR_POLICY_PROCESSING_ORDER_INVALID : ErrorCode = from_constant; // DNS_ERROR_POLICY_PROCESSING_ORDER_INVALID
/// The scope information has not been provided for a policy that requires it.
pub const ERROR_POLICY_SCOPE_MISSING : ErrorCode = from_constant; // DNS_ERROR_POLICY_SCOPE_MISSING
/// The scope information has been provided for a policy that does not require it.
pub const ERROR_POLICY_SCOPE_NOT_ALLOWED : ErrorCode = from_constant; // DNS_ERROR_POLICY_SCOPE_NOT_ALLOWED
/// The server scope cannot be deleted because it is referenced by a DNS Policy.
pub const ERROR_SERVERSCOPE_IS_REFERENCED : ErrorCode = from_constant; // DNS_ERROR_SERVERSCOPE_IS_REFERENCED
/// The zone scope cannot be deleted because it is referenced by a DNS Policy.
pub const ERROR_ZONESCOPE_IS_REFERENCED : ErrorCode = from_constant; // DNS_ERROR_ZONESCOPE_IS_REFERENCED
/// The criterion client subnet provided in the policy is invalid.
pub const ERROR_POLICY_INVALID_CRITERIA_CLIENT_SUBNET : ErrorCode = from_constant; // DNS_ERROR_POLICY_INVALID_CRITERIA_CLIENT_SUBNET
/// The criterion transport protocol provided in the policy is invalid.
pub const ERROR_POLICY_INVALID_CRITERIA_TRANSPORT_PROTOCOL : ErrorCode = from_constant; // DNS_ERROR_POLICY_INVALID_CRITERIA_TRANSPORT_PROTOCOL
/// The criterion network protocol provided in the policy is invalid.
pub const ERROR_POLICY_INVALID_CRITERIA_NETWORK_PROTOCOL : ErrorCode = from_constant; // DNS_ERROR_POLICY_INVALID_CRITERIA_NETWORK_PROTOCOL
/// The criterion interface provided in the policy is invalid.
pub const ERROR_POLICY_INVALID_CRITERIA_INTERFACE : ErrorCode = from_constant; // DNS_ERROR_POLICY_INVALID_CRITERIA_INTERFACE
/// The criterion FQDN provided in the policy is invalid.
pub const ERROR_POLICY_INVALID_CRITERIA_FQDN : ErrorCode = from_constant; // DNS_ERROR_POLICY_INVALID_CRITERIA_FQDN
/// The criterion query type provided in the policy is invalid.
pub const ERROR_POLICY_INVALID_CRITERIA_QUERY_TYPE : ErrorCode = from_constant; // DNS_ERROR_POLICY_INVALID_CRITERIA_QUERY_TYPE
/// The criterion time of day provided in the policy is invalid.
pub const ERROR_POLICY_INVALID_CRITERIA_TIME_OF_DAY : ErrorCode = from_constant; // DNS_ERROR_POLICY_INVALID_CRITERIA_TIME_OF_DAY