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
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
|
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpAddFilterV4(serveripaddress : ::windows_sys::core::PCWSTR, addfilterinfo : *const DHCP_FILTER_ADD_INFO, forceflag : super::super::Foundation:: BOOL) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpAddSecurityGroup(pserver : ::windows_sys::core::PCWSTR) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpAddServer(flags : u32, idinfo : *mut ::core::ffi::c_void, newserver : *mut DHCPDS_SERVER, callbackfn : *mut ::core::ffi::c_void, callbackdata : *mut ::core::ffi::c_void) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpAddSubnetElement(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, addelementinfo : *const DHCP_SUBNET_ELEMENT_DATA) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpAddSubnetElementV4(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, addelementinfo : *const DHCP_SUBNET_ELEMENT_DATA_V4) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpAddSubnetElementV5(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, addelementinfo : *const DHCP_SUBNET_ELEMENT_DATA_V5) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpAddSubnetElementV6(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : DHCP_IPV6_ADDRESS, addelementinfo : *mut DHCP_SUBNET_ELEMENT_DATA_V6) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpAuditLogGetParams(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, auditlogdir : *mut ::windows_sys::core::PWSTR, diskcheckinterval : *mut u32, maxlogfilessize : *mut u32, minspaceondisk : *mut u32) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpAuditLogSetParams(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, auditlogdir : ::windows_sys::core::PCWSTR, diskcheckinterval : u32, maxlogfilessize : u32, minspaceondisk : u32) -> u32);
::windows_targets::link!("dhcpcsvc.dll" "system" fn DhcpCApiCleanup() -> ());
::windows_targets::link!("dhcpcsvc.dll" "system" fn DhcpCApiInitialize(version : *mut u32) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpCreateClass(serveripaddress : ::windows_sys::core::PCWSTR, reservedmustbezero : u32, classinfo : *mut DHCP_CLASS_INFO) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpCreateClassV6(serveripaddress : ::windows_sys::core::PCWSTR, reservedmustbezero : u32, classinfo : *mut DHCP_CLASS_INFO_V6) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpCreateClientInfo(serveripaddress : ::windows_sys::core::PCWSTR, clientinfo : *const DHCP_CLIENT_INFO) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpCreateClientInfoV4(serveripaddress : ::windows_sys::core::PCWSTR, clientinfo : *const DHCP_CLIENT_INFO_V4) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpCreateClientInfoVQ(serveripaddress : ::windows_sys::core::PCWSTR, clientinfo : *const DHCP_CLIENT_INFO_VQ) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpCreateOption(serveripaddress : ::windows_sys::core::PCWSTR, optionid : u32, optioninfo : *const DHCP_OPTION) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpCreateOptionV5(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, optioninfo : *mut DHCP_OPTION) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpCreateOptionV6(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, optioninfo : *mut DHCP_OPTION) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpCreateSubnet(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, subnetinfo : *const DHCP_SUBNET_INFO) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpCreateSubnetV6(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : DHCP_IPV6_ADDRESS, subnetinfo : *mut DHCP_SUBNET_INFO_V6) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpCreateSubnetVQ(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, subnetinfo : *const DHCP_SUBNET_INFO_VQ) -> u32);
::windows_targets::link!("dhcpcsvc.dll" "system" fn DhcpDeRegisterParamChange(flags : u32, reserved : *mut ::core::ffi::c_void, event : *mut ::core::ffi::c_void) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpDeleteClass(serveripaddress : ::windows_sys::core::PCWSTR, reservedmustbezero : u32, classname : ::windows_sys::core::PCWSTR) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpDeleteClassV6(serveripaddress : ::windows_sys::core::PCWSTR, reservedmustbezero : u32, classname : ::windows_sys::core::PCWSTR) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpDeleteClientInfo(serveripaddress : ::windows_sys::core::PCWSTR, clientinfo : *const DHCP_SEARCH_INFO) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpDeleteClientInfoV6(serveripaddress : ::windows_sys::core::PCWSTR, clientinfo : *const DHCP_SEARCH_INFO_V6) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpDeleteFilterV4(serveripaddress : ::windows_sys::core::PCWSTR, deletefilterinfo : *const DHCP_ADDR_PATTERN) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpDeleteServer(flags : u32, idinfo : *mut ::core::ffi::c_void, newserver : *mut DHCPDS_SERVER, callbackfn : *mut ::core::ffi::c_void, callbackdata : *mut ::core::ffi::c_void) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpDeleteSubnet(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, forceflag : DHCP_FORCE_FLAG) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpDeleteSubnetV6(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : DHCP_IPV6_ADDRESS, forceflag : DHCP_FORCE_FLAG) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpDeleteSuperScopeV4(serveripaddress : ::windows_sys::core::PCWSTR, superscopename : ::windows_sys::core::PCWSTR) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpDsCleanup() -> ());
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpDsInit() -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpEnumClasses(serveripaddress : ::windows_sys::core::PCWSTR, reservedmustbezero : u32, resumehandle : *mut u32, preferredmaximum : u32, classinfoarray : *mut *mut DHCP_CLASS_INFO_ARRAY, nread : *mut u32, ntotal : *mut u32) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpEnumClassesV6(serveripaddress : ::windows_sys::core::PCWSTR, reservedmustbezero : u32, resumehandle : *mut u32, preferredmaximum : u32, classinfoarray : *mut *mut DHCP_CLASS_INFO_ARRAY_V6, nread : *mut u32, ntotal : *mut u32) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpEnumFilterV4(serveripaddress : ::windows_sys::core::PCWSTR, resumehandle : *mut DHCP_ADDR_PATTERN, preferredmaximum : u32, listtype : DHCP_FILTER_LIST_TYPE, enumfilterinfo : *mut *mut DHCP_FILTER_ENUM_INFO, elementsread : *mut u32, elementstotal : *mut u32) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumOptionValues(serveripaddress : ::windows_sys::core::PCWSTR, scopeinfo : *const DHCP_OPTION_SCOPE_INFO, resumehandle : *mut u32, preferredmaximum : u32, optionvalues : *mut *mut DHCP_OPTION_VALUE_ARRAY, optionsread : *mut u32, optionstotal : *mut u32) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumOptionValuesV5(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO, resumehandle : *mut u32, preferredmaximum : u32, optionvalues : *mut *mut DHCP_OPTION_VALUE_ARRAY, optionsread : *mut u32, optionstotal : *mut u32) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumOptionValuesV6(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO6, resumehandle : *mut u32, preferredmaximum : u32, optionvalues : *mut *mut DHCP_OPTION_VALUE_ARRAY, optionsread : *mut u32, optionstotal : *mut u32) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumOptions(serveripaddress : ::windows_sys::core::PCWSTR, resumehandle : *mut u32, preferredmaximum : u32, options : *mut *mut DHCP_OPTION_ARRAY, optionsread : *mut u32, optionstotal : *mut u32) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumOptionsV5(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, resumehandle : *mut u32, preferredmaximum : u32, options : *mut *mut DHCP_OPTION_ARRAY, optionsread : *mut u32, optionstotal : *mut u32) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumOptionsV6(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, resumehandle : *mut u32, preferredmaximum : u32, options : *mut *mut DHCP_OPTION_ARRAY, optionsread : *mut u32, optionstotal : *mut u32) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumServers(flags : u32, idinfo : *mut ::core::ffi::c_void, servers : *mut *mut DHCPDS_SERVERS, callbackfn : *mut ::core::ffi::c_void, callbackdata : *mut ::core::ffi::c_void) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumSubnetClients(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, resumehandle : *mut u32, preferredmaximum : u32, clientinfo : *mut *mut DHCP_CLIENT_INFO_ARRAY, clientsread : *mut u32, clientstotal : *mut u32) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpEnumSubnetClientsFilterStatusInfo(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, resumehandle : *mut u32, preferredmaximum : u32, clientinfo : *mut *mut DHCP_CLIENT_FILTER_STATUS_INFO_ARRAY, clientsread : *mut u32, clientstotal : *mut u32) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumSubnetClientsV4(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, resumehandle : *mut u32, preferredmaximum : u32, clientinfo : *mut *mut DHCP_CLIENT_INFO_ARRAY_V4, clientsread : *mut u32, clientstotal : *mut u32) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumSubnetClientsV5(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, resumehandle : *mut u32, preferredmaximum : u32, clientinfo : *mut *mut DHCP_CLIENT_INFO_ARRAY_V5, clientsread : *mut u32, clientstotal : *mut u32) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumSubnetClientsV6(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : DHCP_IPV6_ADDRESS, resumehandle : *mut DHCP_IPV6_ADDRESS, preferredmaximum : u32, clientinfo : *mut *mut DHCP_CLIENT_INFO_ARRAY_V6, clientsread : *mut u32, clientstotal : *mut u32) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpEnumSubnetClientsVQ(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, resumehandle : *mut u32, preferredmaximum : u32, clientinfo : *mut *mut DHCP_CLIENT_INFO_ARRAY_VQ, clientsread : *mut u32, clientstotal : *mut u32) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumSubnetElements(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, enumelementtype : DHCP_SUBNET_ELEMENT_TYPE, resumehandle : *mut u32, preferredmaximum : u32, enumelementinfo : *mut *mut DHCP_SUBNET_ELEMENT_INFO_ARRAY, elementsread : *mut u32, elementstotal : *mut u32) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumSubnetElementsV4(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, enumelementtype : DHCP_SUBNET_ELEMENT_TYPE, resumehandle : *mut u32, preferredmaximum : u32, enumelementinfo : *mut *mut DHCP_SUBNET_ELEMENT_INFO_ARRAY_V4, elementsread : *mut u32, elementstotal : *mut u32) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumSubnetElementsV5(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, enumelementtype : DHCP_SUBNET_ELEMENT_TYPE, resumehandle : *mut u32, preferredmaximum : u32, enumelementinfo : *mut *mut DHCP_SUBNET_ELEMENT_INFO_ARRAY_V5, elementsread : *mut u32, elementstotal : *mut u32) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumSubnetElementsV6(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : DHCP_IPV6_ADDRESS, enumelementtype : DHCP_SUBNET_ELEMENT_TYPE_V6, resumehandle : *mut u32, preferredmaximum : u32, enumelementinfo : *mut *mut DHCP_SUBNET_ELEMENT_INFO_ARRAY_V6, elementsread : *mut u32, elementstotal : *mut u32) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumSubnets(serveripaddress : ::windows_sys::core::PCWSTR, resumehandle : *mut u32, preferredmaximum : u32, enuminfo : *mut *mut DHCP_IP_ARRAY, elementsread : *mut u32, elementstotal : *mut u32) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpEnumSubnetsV6(serveripaddress : ::windows_sys::core::PCWSTR, resumehandle : *mut u32, preferredmaximum : u32, enuminfo : *mut *mut DHCPV6_IP_ARRAY, elementsread : *mut u32, elementstotal : *mut u32) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpGetAllOptionValues(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO, values : *mut *mut DHCP_ALL_OPTION_VALUES) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpGetAllOptionValuesV6(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO6, values : *mut *mut DHCP_ALL_OPTION_VALUES) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetAllOptions(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionstruct : *mut *mut DHCP_ALL_OPTIONS) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetAllOptionsV6(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionstruct : *mut *mut DHCP_ALL_OPTIONS) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpGetClassInfo(serveripaddress : ::windows_sys::core::PCWSTR, reservedmustbezero : u32, partialclassinfo : *mut DHCP_CLASS_INFO, filledclassinfo : *mut *mut DHCP_CLASS_INFO) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetClientInfo(serveripaddress : ::windows_sys::core::PCWSTR, searchinfo : *const DHCP_SEARCH_INFO, clientinfo : *mut *mut DHCP_CLIENT_INFO) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetClientInfoV4(serveripaddress : ::windows_sys::core::PCWSTR, searchinfo : *const DHCP_SEARCH_INFO, clientinfo : *mut *mut DHCP_CLIENT_INFO_V4) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetClientInfoV6(serveripaddress : ::windows_sys::core::PCWSTR, searchinfo : *const DHCP_SEARCH_INFO_V6, clientinfo : *mut *mut DHCP_CLIENT_INFO_V6) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpGetClientInfoVQ(serveripaddress : ::windows_sys::core::PCWSTR, searchinfo : *const DHCP_SEARCH_INFO, clientinfo : *mut *mut DHCP_CLIENT_INFO_VQ) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetClientOptions(serveripaddress : ::windows_sys::core::PCWSTR, clientipaddress : u32, clientsubnetmask : u32, clientoptions : *mut *mut DHCP_OPTION_LIST) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpGetFilterV4(serveripaddress : ::windows_sys::core::PCWSTR, globalfilterinfo : *mut DHCP_FILTER_GLOBAL_INFO) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetMibInfo(serveripaddress : ::windows_sys::core::PCWSTR, mibinfo : *mut *mut DHCP_MIB_INFO) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetMibInfoV5(serveripaddress : ::windows_sys::core::PCWSTR, mibinfo : *mut *mut DHCP_MIB_INFO_V5) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetMibInfoV6(serveripaddress : ::windows_sys::core::PCWSTR, mibinfo : *mut *mut DHCP_MIB_INFO_V6) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetOptionInfo(serveripaddress : ::windows_sys::core::PCWSTR, optionid : u32, optioninfo : *mut *mut DHCP_OPTION) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetOptionInfoV5(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, optioninfo : *mut *mut DHCP_OPTION) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetOptionInfoV6(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, optioninfo : *mut *mut DHCP_OPTION) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetOptionValue(serveripaddress : ::windows_sys::core::PCWSTR, optionid : u32, scopeinfo : *const DHCP_OPTION_SCOPE_INFO, optionvalue : *mut *mut DHCP_OPTION_VALUE) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetOptionValueV5(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO, optionvalue : *mut *mut DHCP_OPTION_VALUE) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetOptionValueV6(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO6, optionvalue : *mut *mut DHCP_OPTION_VALUE) -> u32);
::windows_targets::link!("dhcpcsvc.dll" "system" fn DhcpGetOriginalSubnetMask(sadaptername : ::windows_sys::core::PCWSTR, dwsubnetmask : *mut u32) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpGetServerBindingInfo(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, bindelementsinfo : *mut *mut DHCP_BIND_ELEMENT_ARRAY) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpGetServerBindingInfoV6(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, bindelementsinfo : *mut *mut DHCPV6_BIND_ELEMENT_ARRAY) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetServerSpecificStrings(serveripaddress : ::windows_sys::core::PCWSTR, serverspecificstrings : *mut *mut DHCP_SERVER_SPECIFIC_STRINGS) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetSubnetDelayOffer(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, timedelayinmilliseconds : *mut u16) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetSubnetInfo(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, subnetinfo : *mut *mut DHCP_SUBNET_INFO) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetSubnetInfoV6(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : DHCP_IPV6_ADDRESS, subnetinfo : *mut *mut DHCP_SUBNET_INFO_V6) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetSubnetInfoVQ(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, subnetinfo : *mut *mut DHCP_SUBNET_INFO_VQ) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetSuperScopeInfoV4(serveripaddress : ::windows_sys::core::PCWSTR, superscopetable : *mut *mut DHCP_SUPER_SCOPE_TABLE) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetThreadOptions(pflags : *mut u32, reserved : *mut ::core::ffi::c_void) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpGetVersion(serveripaddress : ::windows_sys::core::PCWSTR, majorversion : *mut u32, minorversion : *mut u32) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpHlprAddV4PolicyCondition(policy : *mut DHCP_POLICY, parentexpr : u32, r#type : DHCP_POL_ATTR_TYPE, optionid : u32, suboptionid : u32, vendorname : ::windows_sys::core::PCWSTR, operator : DHCP_POL_COMPARATOR, value : *const u8, valuelength : u32, conditionindex : *mut u32) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpHlprAddV4PolicyExpr(policy : *mut DHCP_POLICY, parentexpr : u32, operator : DHCP_POL_LOGIC_OPER, exprindex : *mut u32) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpHlprAddV4PolicyRange(policy : *mut DHCP_POLICY, range : *const DHCP_IP_RANGE) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpHlprCreateV4Policy(policyname : ::windows_sys::core::PCWSTR, fglobalpolicy : super::super::Foundation:: BOOL, subnet : u32, processingorder : u32, rootoperator : DHCP_POL_LOGIC_OPER, description : ::windows_sys::core::PCWSTR, enabled : super::super::Foundation:: BOOL, policy : *mut *mut DHCP_POLICY) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpHlprCreateV4PolicyEx(policyname : ::windows_sys::core::PCWSTR, fglobalpolicy : super::super::Foundation:: BOOL, subnet : u32, processingorder : u32, rootoperator : DHCP_POL_LOGIC_OPER, description : ::windows_sys::core::PCWSTR, enabled : super::super::Foundation:: BOOL, policy : *mut *mut DHCP_POLICY_EX) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpHlprFindV4DhcpProperty(propertyarray : *const DHCP_PROPERTY_ARRAY, id : DHCP_PROPERTY_ID, r#type : DHCP_PROPERTY_TYPE) -> *mut DHCP_PROPERTY);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpHlprFreeV4DhcpProperty(property : *mut DHCP_PROPERTY) -> ());
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpHlprFreeV4DhcpPropertyArray(propertyarray : *mut DHCP_PROPERTY_ARRAY) -> ());
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpHlprFreeV4Policy(policy : *mut DHCP_POLICY) -> ());
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpHlprFreeV4PolicyArray(policyarray : *mut DHCP_POLICY_ARRAY) -> ());
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpHlprFreeV4PolicyEx(policyex : *mut DHCP_POLICY_EX) -> ());
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpHlprFreeV4PolicyExArray(policyexarray : *mut DHCP_POLICY_EX_ARRAY) -> ());
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpHlprIsV4PolicySingleUC(policy : *const DHCP_POLICY) -> super::super::Foundation:: BOOL);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpHlprIsV4PolicyValid(ppolicy : *const DHCP_POLICY) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpHlprIsV4PolicyWellFormed(ppolicy : *const DHCP_POLICY) -> super::super::Foundation:: BOOL);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpHlprModifyV4PolicyExpr(policy : *mut DHCP_POLICY, operator : DHCP_POL_LOGIC_OPER) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpHlprResetV4PolicyExpr(policy : *mut DHCP_POLICY) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpModifyClass(serveripaddress : ::windows_sys::core::PCWSTR, reservedmustbezero : u32, classinfo : *mut DHCP_CLASS_INFO) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpModifyClassV6(serveripaddress : ::windows_sys::core::PCWSTR, reservedmustbezero : u32, classinfo : *mut DHCP_CLASS_INFO_V6) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpcsvc.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpRegisterParamChange(flags : u32, reserved : *const ::core::ffi::c_void, adaptername : ::windows_sys::core::PCWSTR, classid : *mut DHCPCAPI_CLASSID, params : DHCPCAPI_PARAMS_ARRAY, handle : *mut ::core::ffi::c_void) -> u32);
::windows_targets::link!("dhcpcsvc.dll" "system" fn DhcpRemoveDNSRegistrations() -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpRemoveOption(serveripaddress : ::windows_sys::core::PCWSTR, optionid : u32) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpRemoveOptionV5(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpRemoveOptionV6(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpRemoveOptionValue(serveripaddress : ::windows_sys::core::PCWSTR, optionid : u32, scopeinfo : *const DHCP_OPTION_SCOPE_INFO) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpRemoveOptionValueV5(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpRemoveOptionValueV6(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO6) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpRemoveSubnetElement(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, removeelementinfo : *const DHCP_SUBNET_ELEMENT_DATA, forceflag : DHCP_FORCE_FLAG) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpRemoveSubnetElementV4(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, removeelementinfo : *const DHCP_SUBNET_ELEMENT_DATA_V4, forceflag : DHCP_FORCE_FLAG) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpRemoveSubnetElementV5(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, removeelementinfo : *const DHCP_SUBNET_ELEMENT_DATA_V5, forceflag : DHCP_FORCE_FLAG) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpRemoveSubnetElementV6(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : DHCP_IPV6_ADDRESS, removeelementinfo : *mut DHCP_SUBNET_ELEMENT_DATA_V6, forceflag : DHCP_FORCE_FLAG) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpcsvc.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpRequestParams(flags : u32, reserved : *mut ::core::ffi::c_void, adaptername : ::windows_sys::core::PCWSTR, classid : *mut DHCPCAPI_CLASSID, sendparams : DHCPCAPI_PARAMS_ARRAY, recdparams : DHCPCAPI_PARAMS_ARRAY, buffer : *mut u8, psize : *mut u32, requestidstr : ::windows_sys::core::PCWSTR) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpRpcFreeMemory(bufferpointer : *mut ::core::ffi::c_void) -> ());
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpScanDatabase(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, fixflag : u32, scanlist : *mut *mut DHCP_SCAN_LIST) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpServerAuditlogParamsFree(configinfo : *mut DHCP_SERVER_CONFIG_INFO_VQ) -> ());
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpServerBackupDatabase(serveripaddress : ::windows_sys::core::PCWSTR, path : ::windows_sys::core::PCWSTR) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpServerGetConfig(serveripaddress : ::windows_sys::core::PCWSTR, configinfo : *mut *mut DHCP_SERVER_CONFIG_INFO) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpServerGetConfigV4(serveripaddress : ::windows_sys::core::PCWSTR, configinfo : *mut *mut DHCP_SERVER_CONFIG_INFO_V4) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpServerGetConfigV6(serveripaddress : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO6, configinfo : *mut *mut DHCP_SERVER_CONFIG_INFO_V6) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpServerGetConfigVQ(serveripaddress : ::windows_sys::core::PCWSTR, configinfo : *mut *mut DHCP_SERVER_CONFIG_INFO_VQ) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpServerQueryAttribute(serveripaddr : ::windows_sys::core::PCWSTR, dwreserved : u32, dhcpattribid : u32, pdhcpattrib : *mut *mut DHCP_ATTRIB) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpServerQueryAttributes(serveripaddr : ::windows_sys::core::PCWSTR, dwreserved : u32, dwattribcount : u32, pdhcpattribs : *mut u32, pdhcpattribarr : *mut *mut DHCP_ATTRIB_ARRAY) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpServerQueryDnsRegCredentials(serveripaddress : ::windows_sys::core::PCWSTR, unamesize : u32, uname : ::windows_sys::core::PWSTR, domainsize : u32, domain : ::windows_sys::core::PWSTR) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpServerRedoAuthorization(serveripaddr : ::windows_sys::core::PCWSTR, dwreserved : u32) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpServerRestoreDatabase(serveripaddress : ::windows_sys::core::PCWSTR, path : ::windows_sys::core::PCWSTR) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpServerSetConfig(serveripaddress : ::windows_sys::core::PCWSTR, fieldstoset : u32, configinfo : *mut DHCP_SERVER_CONFIG_INFO) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpServerSetConfigV4(serveripaddress : ::windows_sys::core::PCWSTR, fieldstoset : u32, configinfo : *mut DHCP_SERVER_CONFIG_INFO_V4) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpServerSetConfigV6(serveripaddress : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO6, fieldstoset : u32, configinfo : *mut DHCP_SERVER_CONFIG_INFO_V6) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpServerSetConfigVQ(serveripaddress : ::windows_sys::core::PCWSTR, fieldstoset : u32, configinfo : *mut DHCP_SERVER_CONFIG_INFO_VQ) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpServerSetDnsRegCredentials(serveripaddress : ::windows_sys::core::PCWSTR, uname : ::windows_sys::core::PCWSTR, domain : ::windows_sys::core::PCWSTR, passwd : ::windows_sys::core::PCWSTR) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpServerSetDnsRegCredentialsV5(serveripaddress : ::windows_sys::core::PCWSTR, uname : ::windows_sys::core::PCWSTR, domain : ::windows_sys::core::PCWSTR, passwd : ::windows_sys::core::PCWSTR) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetClientInfo(serveripaddress : ::windows_sys::core::PCWSTR, clientinfo : *const DHCP_CLIENT_INFO) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetClientInfoV4(serveripaddress : ::windows_sys::core::PCWSTR, clientinfo : *const DHCP_CLIENT_INFO_V4) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetClientInfoV6(serveripaddress : ::windows_sys::core::PCWSTR, clientinfo : *const DHCP_CLIENT_INFO_V6) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpSetClientInfoVQ(serveripaddress : ::windows_sys::core::PCWSTR, clientinfo : *const DHCP_CLIENT_INFO_VQ) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpSetFilterV4(serveripaddress : ::windows_sys::core::PCWSTR, globalfilterinfo : *const DHCP_FILTER_GLOBAL_INFO) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetOptionInfo(serveripaddress : ::windows_sys::core::PCWSTR, optionid : u32, optioninfo : *const DHCP_OPTION) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetOptionInfoV5(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, optioninfo : *mut DHCP_OPTION) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetOptionInfoV6(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, optioninfo : *mut DHCP_OPTION) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetOptionValue(serveripaddress : ::windows_sys::core::PCWSTR, optionid : u32, scopeinfo : *const DHCP_OPTION_SCOPE_INFO, optionvalue : *const DHCP_OPTION_DATA) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetOptionValueV5(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO, optionvalue : *mut DHCP_OPTION_DATA) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetOptionValueV6(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO6, optionvalue : *mut DHCP_OPTION_DATA) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetOptionValues(serveripaddress : ::windows_sys::core::PCWSTR, scopeinfo : *const DHCP_OPTION_SCOPE_INFO, optionvalues : *const DHCP_OPTION_VALUE_ARRAY) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetOptionValuesV5(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, classname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO, optionvalues : *mut DHCP_OPTION_VALUE_ARRAY) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpSetServerBindingInfo(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, bindelementinfo : *mut DHCP_BIND_ELEMENT_ARRAY) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpSetServerBindingInfoV6(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, bindelementinfo : *mut DHCPV6_BIND_ELEMENT_ARRAY) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetSubnetDelayOffer(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, timedelayinmilliseconds : u16) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetSubnetInfo(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, subnetinfo : *const DHCP_SUBNET_INFO) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetSubnetInfoV6(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : DHCP_IPV6_ADDRESS, subnetinfo : *mut DHCP_SUBNET_INFO_V6) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetSubnetInfoVQ(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, subnetinfo : *const DHCP_SUBNET_INFO_VQ) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpSetSuperScopeV4(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, superscopename : ::windows_sys::core::PCWSTR, changeexisting : super::super::Foundation:: BOOL) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpSetThreadOptions(flags : u32, reserved : *mut ::core::ffi::c_void) -> u32);
::windows_targets::link!("dhcpcsvc.dll" "system" fn DhcpUndoRequestParams(flags : u32, reserved : *const ::core::ffi::c_void, adaptername : ::windows_sys::core::PCWSTR, requestidstr : ::windows_sys::core::PCWSTR) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4AddPolicyRange(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, policyname : ::windows_sys::core::PCWSTR, range : *const DHCP_IP_RANGE) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4CreateClientInfo(serveripaddress : ::windows_sys::core::PCWSTR, clientinfo : *const DHCP_CLIENT_INFO_PB) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4CreateClientInfoEx(serveripaddress : ::windows_sys::core::PCWSTR, clientinfo : *const DHCP_CLIENT_INFO_EX) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4CreatePolicy(serveripaddress : ::windows_sys::core::PCWSTR, ppolicy : *const DHCP_POLICY) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4CreatePolicyEx(serveripaddress : ::windows_sys::core::PCWSTR, policyex : *const DHCP_POLICY_EX) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4DeletePolicy(serveripaddress : ::windows_sys::core::PCWSTR, fglobalpolicy : super::super::Foundation:: BOOL, subnetaddress : u32, policyname : ::windows_sys::core::PCWSTR) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4EnumPolicies(serveripaddress : ::windows_sys::core::PCWSTR, resumehandle : *mut u32, preferredmaximum : u32, fglobalpolicy : super::super::Foundation:: BOOL, subnetaddress : u32, enuminfo : *mut *mut DHCP_POLICY_ARRAY, elementsread : *mut u32, elementstotal : *mut u32) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4EnumPoliciesEx(serveripaddress : ::windows_sys::core::PCWSTR, resumehandle : *mut u32, preferredmaximum : u32, globalpolicy : super::super::Foundation:: BOOL, subnetaddress : u32, enuminfo : *mut *mut DHCP_POLICY_EX_ARRAY, elementsread : *mut u32, elementstotal : *mut u32) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4EnumSubnetClients(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, resumehandle : *mut u32, preferredmaximum : u32, clientinfo : *mut *mut DHCP_CLIENT_INFO_PB_ARRAY, clientsread : *mut u32, clientstotal : *mut u32) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4EnumSubnetClientsEx(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, resumehandle : *mut u32, preferredmaximum : u32, clientinfo : *mut *mut DHCP_CLIENT_INFO_EX_ARRAY, clientsread : *mut u32, clientstotal : *mut u32) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4EnumSubnetReservations(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, resumehandle : *mut u32, preferredmaximum : u32, enumelementinfo : *mut *mut DHCP_RESERVATION_INFO_ARRAY, elementsread : *mut u32, elementstotal : *mut u32) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4FailoverAddScopeToRelationship(serveripaddress : ::windows_sys::core::PCWSTR, prelationship : *const DHCP_FAILOVER_RELATIONSHIP) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4FailoverCreateRelationship(serveripaddress : ::windows_sys::core::PCWSTR, prelationship : *const DHCP_FAILOVER_RELATIONSHIP) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4FailoverDeleteRelationship(serveripaddress : ::windows_sys::core::PCWSTR, prelationshipname : ::windows_sys::core::PCWSTR) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4FailoverDeleteScopeFromRelationship(serveripaddress : ::windows_sys::core::PCWSTR, prelationship : *const DHCP_FAILOVER_RELATIONSHIP) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4FailoverEnumRelationship(serveripaddress : ::windows_sys::core::PCWSTR, resumehandle : *mut u32, preferredmaximum : u32, prelationship : *mut *mut DHCP_FAILOVER_RELATIONSHIP_ARRAY, relationshipread : *mut u32, relationshiptotal : *mut u32) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4FailoverGetAddressStatus(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, pstatus : *mut u32) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4FailoverGetClientInfo(serveripaddress : ::windows_sys::core::PCWSTR, searchinfo : *const DHCP_SEARCH_INFO, clientinfo : *mut *mut DHCPV4_FAILOVER_CLIENT_INFO) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4FailoverGetRelationship(serveripaddress : ::windows_sys::core::PCWSTR, prelationshipname : ::windows_sys::core::PCWSTR, prelationship : *mut *mut DHCP_FAILOVER_RELATIONSHIP) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4FailoverGetScopeRelationship(serveripaddress : ::windows_sys::core::PCWSTR, scopeid : u32, prelationship : *mut *mut DHCP_FAILOVER_RELATIONSHIP) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4FailoverGetScopeStatistics(serveripaddress : ::windows_sys::core::PCWSTR, scopeid : u32, pstats : *mut *mut DHCP_FAILOVER_STATISTICS) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4FailoverGetSystemTime(serveripaddress : ::windows_sys::core::PCWSTR, ptime : *mut u32, pmaxalloweddeltatime : *mut u32) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4FailoverSetRelationship(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, prelationship : *const DHCP_FAILOVER_RELATIONSHIP) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4FailoverTriggerAddrAllocation(serveripaddress : ::windows_sys::core::PCWSTR, pfailrelname : ::windows_sys::core::PCWSTR) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4GetAllOptionValues(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO, values : *mut *mut DHCP_ALL_OPTION_VALUES_PB) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4GetClientInfo(serveripaddress : ::windows_sys::core::PCWSTR, searchinfo : *const DHCP_SEARCH_INFO, clientinfo : *mut *mut DHCP_CLIENT_INFO_PB) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4GetClientInfoEx(serveripaddress : ::windows_sys::core::PCWSTR, searchinfo : *const DHCP_SEARCH_INFO, clientinfo : *mut *mut DHCP_CLIENT_INFO_EX) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4GetFreeIPAddress(serveripaddress : ::windows_sys::core::PCWSTR, scopeid : u32, startip : u32, endip : u32, numfreeaddrreq : u32, ipaddrlist : *mut *mut DHCP_IP_ARRAY) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4GetOptionValue(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, policyname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO, optionvalue : *mut *mut DHCP_OPTION_VALUE) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4GetPolicy(serveripaddress : ::windows_sys::core::PCWSTR, fglobalpolicy : super::super::Foundation:: BOOL, subnetaddress : u32, policyname : ::windows_sys::core::PCWSTR, policy : *mut *mut DHCP_POLICY) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4GetPolicyEx(serveripaddress : ::windows_sys::core::PCWSTR, globalpolicy : super::super::Foundation:: BOOL, subnetaddress : u32, policyname : ::windows_sys::core::PCWSTR, policy : *mut *mut DHCP_POLICY_EX) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4QueryPolicyEnforcement(serveripaddress : ::windows_sys::core::PCWSTR, fglobalpolicy : super::super::Foundation:: BOOL, subnetaddress : u32, enabled : *mut super::super::Foundation:: BOOL) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4RemoveOptionValue(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, policyname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4RemovePolicyRange(serveripaddress : ::windows_sys::core::PCWSTR, subnetaddress : u32, policyname : ::windows_sys::core::PCWSTR, range : *const DHCP_IP_RANGE) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4SetOptionValue(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, optionid : u32, policyname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO, optionvalue : *mut DHCP_OPTION_DATA) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV4SetOptionValues(serveripaddress : ::windows_sys::core::PCWSTR, flags : u32, policyname : ::windows_sys::core::PCWSTR, vendorname : ::windows_sys::core::PCWSTR, scopeinfo : *mut DHCP_OPTION_SCOPE_INFO, optionvalues : *mut DHCP_OPTION_VALUE_ARRAY) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4SetPolicy(serveripaddress : ::windows_sys::core::PCWSTR, fieldsmodified : u32, fglobalpolicy : super::super::Foundation:: BOOL, subnetaddress : u32, policyname : ::windows_sys::core::PCWSTR, policy : *const DHCP_POLICY) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4SetPolicyEnforcement(serveripaddress : ::windows_sys::core::PCWSTR, fglobalpolicy : super::super::Foundation:: BOOL, subnetaddress : u32, enable : super::super::Foundation:: BOOL) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV4SetPolicyEx(serveripaddress : ::windows_sys::core::PCWSTR, fieldsmodified : u32, globalpolicy : super::super::Foundation:: BOOL, subnetaddress : u32, policyname : ::windows_sys::core::PCWSTR, policy : *const DHCP_POLICY_EX) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV6CreateClientInfo(serveripaddress : ::windows_sys::core::PCWSTR, clientinfo : *const DHCP_CLIENT_INFO_V6) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV6GetFreeIPAddress(serveripaddress : ::windows_sys::core::PCWSTR, scopeid : DHCP_IPV6_ADDRESS, startip : DHCP_IPV6_ADDRESS, endip : DHCP_IPV6_ADDRESS, numfreeaddrreq : u32, ipaddrlist : *mut *mut DHCPV6_IP_ARRAY) -> u32);
::windows_targets::link!("dhcpsapi.dll" "system" fn DhcpV6GetStatelessStatistics(serveripaddress : ::windows_sys::core::PCWSTR, statelessstats : *mut *mut DHCPV6_STATELESS_STATS) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV6GetStatelessStoreParams(serveripaddress : ::windows_sys::core::PCWSTR, fserverlevel : super::super::Foundation:: BOOL, subnetaddress : DHCP_IPV6_ADDRESS, params : *mut *mut DHCPV6_STATELESS_PARAMS) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpsapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DhcpV6SetStatelessStoreParams(serveripaddress : ::windows_sys::core::PCWSTR, fserverlevel : super::super::Foundation:: BOOL, subnetaddress : DHCP_IPV6_ADDRESS, fieldmodified : u32, params : *const DHCPV6_STATELESS_PARAMS) -> u32);
::windows_targets::link!("dhcpcsvc6.dll" "system" fn Dhcpv6CApiCleanup() -> ());
::windows_targets::link!("dhcpcsvc6.dll" "system" fn Dhcpv6CApiInitialize(version : *mut u32) -> ());
::windows_targets::link!("dhcpcsvc6.dll" "system" fn Dhcpv6ReleasePrefix(adaptername : ::windows_sys::core::PCWSTR, classid : *mut DHCPV6CAPI_CLASSID, leaseinfo : *mut DHCPV6PrefixLeaseInformation) -> u32);
::windows_targets::link!("dhcpcsvc6.dll" "system" fn Dhcpv6RenewPrefix(adaptername : ::windows_sys::core::PCWSTR, pclassid : *mut DHCPV6CAPI_CLASSID, prefixleaseinfo : *mut DHCPV6PrefixLeaseInformation, pdwtimetowait : *mut u32, bvalidateprefix : u32) -> u32);
#[cfg(feature = "Win32_Foundation")]
::windows_targets::link!("dhcpcsvc6.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn Dhcpv6RequestParams(forcenewinform : super::super::Foundation:: BOOL, reserved : *mut ::core::ffi::c_void, adaptername : ::windows_sys::core::PCWSTR, classid : *mut DHCPV6CAPI_CLASSID, recdparams : DHCPV6CAPI_PARAMS_ARRAY, buffer : *mut u8, psize : *mut u32) -> u32);
::windows_targets::link!("dhcpcsvc6.dll" "system" fn Dhcpv6RequestPrefix(adaptername : ::windows_sys::core::PCWSTR, pclassid : *mut DHCPV6CAPI_CLASSID, prefixleaseinfo : *mut DHCPV6PrefixLeaseInformation, pdwtimetowait : *mut u32) -> u32);
pub const ADDRESS_TYPE_IANA: u32 = 0u32;
pub const ADDRESS_TYPE_IATA: u32 = 1u32;
pub const Allow: DHCP_FILTER_LIST_TYPE = 1i32;
pub const CHANGESTATE: u32 = 4u32;
pub const CLIENT_TYPE_BOOTP: u32 = 2u32;
pub const CLIENT_TYPE_DHCP: u32 = 1u32;
pub const CLIENT_TYPE_NONE: u32 = 100u32;
pub const CLIENT_TYPE_RESERVATION_FLAG: u32 = 4u32;
pub const CLIENT_TYPE_UNSPECIFIED: u32 = 0u32;
pub const COMMUNICATION_INT: FSM_STATE = 4i32;
pub const CONFLICT_DONE: FSM_STATE = 7i32;
pub const DEFAULTQUARSETTING: QuarantineStatus = 5i32;
pub const DHCPCAPI_DEREGISTER_HANDLE_EVENT: u32 = 1u32;
pub const DHCPCAPI_REGISTER_HANDLE_EVENT: u32 = 1u32;
pub const DHCPCAPI_REQUEST_ASYNCHRONOUS: u32 = 4u32;
pub const DHCPCAPI_REQUEST_CANCEL: u32 = 8u32;
pub const DHCPCAPI_REQUEST_MASK: u32 = 15u32;
pub const DHCPCAPI_REQUEST_PERSISTENT: u32 = 1u32;
pub const DHCPCAPI_REQUEST_SYNCHRONOUS: u32 = 2u32;
pub const DHCPV6_OPTION_CLIENTID: u32 = 1u32;
pub const DHCPV6_OPTION_DNS_SERVERS: u32 = 23u32;
pub const DHCPV6_OPTION_DOMAIN_LIST: u32 = 24u32;
pub const DHCPV6_OPTION_IA_NA: u32 = 3u32;
pub const DHCPV6_OPTION_IA_PD: u32 = 25u32;
pub const DHCPV6_OPTION_IA_TA: u32 = 4u32;
pub const DHCPV6_OPTION_NISP_DOMAIN_NAME: u32 = 30u32;
pub const DHCPV6_OPTION_NISP_SERVERS: u32 = 28u32;
pub const DHCPV6_OPTION_NIS_DOMAIN_NAME: u32 = 29u32;
pub const DHCPV6_OPTION_NIS_SERVERS: u32 = 27u32;
pub const DHCPV6_OPTION_ORO: u32 = 6u32;
pub const DHCPV6_OPTION_PREFERENCE: u32 = 7u32;
pub const DHCPV6_OPTION_RAPID_COMMIT: u32 = 14u32;
pub const DHCPV6_OPTION_RECONF_MSG: u32 = 19u32;
pub const DHCPV6_OPTION_SERVERID: u32 = 2u32;
pub const DHCPV6_OPTION_SIP_SERVERS_ADDRS: u32 = 22u32;
pub const DHCPV6_OPTION_SIP_SERVERS_NAMES: u32 = 21u32;
pub const DHCPV6_OPTION_UNICAST: u32 = 12u32;
pub const DHCPV6_OPTION_USER_CLASS: u32 = 15u32;
pub const DHCPV6_OPTION_VENDOR_CLASS: u32 = 16u32;
pub const DHCPV6_OPTION_VENDOR_OPTS: u32 = 17u32;
pub const DHCP_ATTRIB_BOOL_IS_ADMIN: u32 = 5u32;
pub const DHCP_ATTRIB_BOOL_IS_BINDING_AWARE: u32 = 4u32;
pub const DHCP_ATTRIB_BOOL_IS_DYNBOOTP: u32 = 2u32;
pub const DHCP_ATTRIB_BOOL_IS_PART_OF_DSDC: u32 = 3u32;
pub const DHCP_ATTRIB_BOOL_IS_ROGUE: u32 = 1u32;
pub const DHCP_ATTRIB_TYPE_BOOL: u32 = 1u32;
pub const DHCP_ATTRIB_TYPE_ULONG: u32 = 2u32;
pub const DHCP_ATTRIB_ULONG_RESTORE_STATUS: u32 = 6u32;
pub const DHCP_CALLOUT_ENTRY_POINT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("DhcpServerCalloutEntry");
pub const DHCP_CALLOUT_LIST_KEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("System\\CurrentControlSet\\Services\\DHCPServer\\Parameters");
pub const DHCP_CALLOUT_LIST_VALUE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CalloutDlls");
pub const DHCP_CLIENT_BOOTP: u32 = 805306371u32;
pub const DHCP_CLIENT_DHCP: u32 = 805306372u32;
pub const DHCP_CONTROL_CONTINUE: u32 = 4u32;
pub const DHCP_CONTROL_PAUSE: u32 = 3u32;
pub const DHCP_CONTROL_START: u32 = 1u32;
pub const DHCP_CONTROL_STOP: u32 = 2u32;
pub const DHCP_DROP_DUPLICATE: u32 = 1u32;
pub const DHCP_DROP_GEN_FAILURE: u32 = 256u32;
pub const DHCP_DROP_INTERNAL_ERROR: u32 = 3u32;
pub const DHCP_DROP_INVALID: u32 = 8u32;
pub const DHCP_DROP_NOADDRESS: u32 = 10u32;
pub const DHCP_DROP_NOMEM: u32 = 2u32;
pub const DHCP_DROP_NO_SUBNETS: u32 = 7u32;
pub const DHCP_DROP_PAUSED: u32 = 6u32;
pub const DHCP_DROP_PROCESSED: u32 = 11u32;
pub const DHCP_DROP_TIMEOUT: u32 = 4u32;
pub const DHCP_DROP_UNAUTH: u32 = 5u32;
pub const DHCP_DROP_WRONG_SERVER: u32 = 9u32;
pub const DHCP_ENDPOINT_FLAG_CANT_MODIFY: u32 = 1u32;
pub const DHCP_FAILOVER_DELETE_SCOPES: u32 = 1u32;
pub const DHCP_FAILOVER_MAX_NUM_ADD_SCOPES: u32 = 400u32;
pub const DHCP_FAILOVER_MAX_NUM_REL: u32 = 31u32;
pub const DHCP_FLAGS_DONT_ACCESS_DS: u32 = 1u32;
pub const DHCP_FLAGS_DONT_DO_RPC: u32 = 2u32;
pub const DHCP_FLAGS_OPTION_IS_VENDOR: u32 = 3u32;
pub const DHCP_GIVE_ADDRESS_NEW: u32 = 805306369u32;
pub const DHCP_GIVE_ADDRESS_OLD: u32 = 805306370u32;
pub const DHCP_MAX_DELAY: u32 = 1000u32;
pub const DHCP_MIN_DELAY: u32 = 0u32;
pub const DHCP_OPT_ENUM_IGNORE_VENDOR: u32 = 1u32;
pub const DHCP_OPT_ENUM_USE_CLASSNAME: u32 = 2u32;
pub const DHCP_PROB_CONFLICT: u32 = 536870913u32;
pub const DHCP_PROB_DECLINE: u32 = 536870914u32;
pub const DHCP_PROB_NACKED: u32 = 536870916u32;
pub const DHCP_PROB_RELEASE: u32 = 536870915u32;
pub const DHCP_SEND_PACKET: u32 = 268435456u32;
pub const DHCP_SUBNET_INFO_VQ_FLAG_QUARANTINE: u32 = 1u32;
pub const DNS_FLAG_CLEANUP_EXPIRED: u32 = 4u32;
pub const DNS_FLAG_DISABLE_PTR_UPDATE: u32 = 64u32;
pub const DNS_FLAG_ENABLED: u32 = 1u32;
pub const DNS_FLAG_HAS_DNS_SUFFIX: u32 = 128u32;
pub const DNS_FLAG_UPDATE_BOTH_ALWAYS: u32 = 16u32;
pub const DNS_FLAG_UPDATE_DHCID: u32 = 32u32;
pub const DNS_FLAG_UPDATE_DOWNLEVEL: u32 = 2u32;
pub const DROPPACKET: QuarantineStatus = 2i32;
pub const Deny: DHCP_FILTER_LIST_TYPE = 0i32;
pub const DhcpArrayTypeOption: DHCP_OPTION_TYPE = 1i32;
pub const DhcpAttrFqdn: DHCP_POL_ATTR_TYPE = 3i32;
pub const DhcpAttrFqdnSingleLabel: DHCP_POL_ATTR_TYPE = 4i32;
pub const DhcpAttrHWAddr: DHCP_POL_ATTR_TYPE = 0i32;
pub const DhcpAttrOption: DHCP_POL_ATTR_TYPE = 1i32;
pub const DhcpAttrSubOption: DHCP_POL_ATTR_TYPE = 2i32;
pub const DhcpBinaryDataOption: DHCP_OPTION_DATA_TYPE = 6i32;
pub const DhcpByteOption: DHCP_OPTION_DATA_TYPE = 0i32;
pub const DhcpClientHardwareAddress: DHCP_SEARCH_INFO_TYPE = 1i32;
pub const DhcpClientIpAddress: DHCP_SEARCH_INFO_TYPE = 0i32;
pub const DhcpClientName: DHCP_SEARCH_INFO_TYPE = 2i32;
pub const DhcpCompBeginsWith: DHCP_POL_COMPARATOR = 2i32;
pub const DhcpCompEndsWith: DHCP_POL_COMPARATOR = 4i32;
pub const DhcpCompEqual: DHCP_POL_COMPARATOR = 0i32;
pub const DhcpCompNotBeginWith: DHCP_POL_COMPARATOR = 3i32;
pub const DhcpCompNotEndWith: DHCP_POL_COMPARATOR = 5i32;
pub const DhcpCompNotEqual: DHCP_POL_COMPARATOR = 1i32;
pub const DhcpDWordDWordOption: DHCP_OPTION_DATA_TYPE = 3i32;
pub const DhcpDWordOption: DHCP_OPTION_DATA_TYPE = 2i32;
pub const DhcpDatabaseFix: DHCP_SCAN_FLAG = 1i32;
pub const DhcpDefaultOptions: DHCP_OPTION_SCOPE_TYPE = 0i32;
pub const DhcpDefaultOptions6: DHCP_OPTION_SCOPE_TYPE6 = 0i32;
pub const DhcpEncapsulatedDataOption: DHCP_OPTION_DATA_TYPE = 7i32;
pub const DhcpExcludedIpRanges: DHCP_SUBNET_ELEMENT_TYPE = 3i32;
pub const DhcpFailoverForce: DHCP_FORCE_FLAG = 2i32;
pub const DhcpFullForce: DHCP_FORCE_FLAG = 0i32;
pub const DhcpGlobalOptions: DHCP_OPTION_SCOPE_TYPE = 1i32;
pub const DhcpGlobalOptions6: DHCP_OPTION_SCOPE_TYPE6 = 3i32;
pub const DhcpIpAddressOption: DHCP_OPTION_DATA_TYPE = 4i32;
pub const DhcpIpRanges: DHCP_SUBNET_ELEMENT_TYPE = 0i32;
pub const DhcpIpRangesBootpOnly: DHCP_SUBNET_ELEMENT_TYPE = 7i32;
pub const DhcpIpRangesDhcpBootp: DHCP_SUBNET_ELEMENT_TYPE = 6i32;
pub const DhcpIpRangesDhcpOnly: DHCP_SUBNET_ELEMENT_TYPE = 5i32;
pub const DhcpIpUsedClusters: DHCP_SUBNET_ELEMENT_TYPE = 4i32;
pub const DhcpIpv6AddressOption: DHCP_OPTION_DATA_TYPE = 8i32;
pub const DhcpLogicalAnd: DHCP_POL_LOGIC_OPER = 1i32;
pub const DhcpLogicalOr: DHCP_POL_LOGIC_OPER = 0i32;
pub const DhcpMScopeOptions: DHCP_OPTION_SCOPE_TYPE = 4i32;
pub const DhcpNoForce: DHCP_FORCE_FLAG = 1i32;
pub const DhcpPropIdClientAddressStateEx: DHCP_PROPERTY_ID = 1i32;
pub const DhcpPropIdPolicyDnsSuffix: DHCP_PROPERTY_ID = 0i32;
pub const DhcpPropTypeBinary: DHCP_PROPERTY_TYPE = 4i32;
pub const DhcpPropTypeByte: DHCP_PROPERTY_TYPE = 0i32;
pub const DhcpPropTypeDword: DHCP_PROPERTY_TYPE = 2i32;
pub const DhcpPropTypeString: DHCP_PROPERTY_TYPE = 3i32;
pub const DhcpPropTypeWord: DHCP_PROPERTY_TYPE = 1i32;
pub const DhcpRegistryFix: DHCP_SCAN_FLAG = 0i32;
pub const DhcpReservedIps: DHCP_SUBNET_ELEMENT_TYPE = 2i32;
pub const DhcpReservedOptions: DHCP_OPTION_SCOPE_TYPE = 3i32;
pub const DhcpReservedOptions6: DHCP_OPTION_SCOPE_TYPE6 = 2i32;
pub const DhcpScopeOptions6: DHCP_OPTION_SCOPE_TYPE6 = 1i32;
pub const DhcpSecondaryHosts: DHCP_SUBNET_ELEMENT_TYPE = 1i32;
pub const DhcpStatelessPurgeInterval: DHCPV6_STATELESS_PARAM_TYPE = 1i32;
pub const DhcpStatelessStatus: DHCPV6_STATELESS_PARAM_TYPE = 2i32;
pub const DhcpStringDataOption: DHCP_OPTION_DATA_TYPE = 5i32;
pub const DhcpSubnetDisabled: DHCP_SUBNET_STATE = 1i32;
pub const DhcpSubnetDisabledSwitched: DHCP_SUBNET_STATE = 3i32;
pub const DhcpSubnetEnabled: DHCP_SUBNET_STATE = 0i32;
pub const DhcpSubnetEnabledSwitched: DHCP_SUBNET_STATE = 2i32;
pub const DhcpSubnetInvalidState: DHCP_SUBNET_STATE = 4i32;
pub const DhcpSubnetOptions: DHCP_OPTION_SCOPE_TYPE = 2i32;
pub const DhcpUnaryElementTypeOption: DHCP_OPTION_TYPE = 0i32;
pub const DhcpUpdatePolicyDescr: DHCP_POLICY_FIELDS_TO_UPDATE = 16i32;
pub const DhcpUpdatePolicyDnsSuffix: DHCP_POLICY_FIELDS_TO_UPDATE = 64i32;
pub const DhcpUpdatePolicyExpr: DHCP_POLICY_FIELDS_TO_UPDATE = 4i32;
pub const DhcpUpdatePolicyName: DHCP_POLICY_FIELDS_TO_UPDATE = 1i32;
pub const DhcpUpdatePolicyOrder: DHCP_POLICY_FIELDS_TO_UPDATE = 2i32;
pub const DhcpUpdatePolicyRanges: DHCP_POLICY_FIELDS_TO_UPDATE = 8i32;
pub const DhcpUpdatePolicyStatus: DHCP_POLICY_FIELDS_TO_UPDATE = 32i32;
pub const DhcpWordOption: DHCP_OPTION_DATA_TYPE = 1i32;
pub const Dhcpv6ClientDUID: DHCP_SEARCH_INFO_TYPE_V6 = 1i32;
pub const Dhcpv6ClientIpAddress: DHCP_SEARCH_INFO_TYPE_V6 = 0i32;
pub const Dhcpv6ClientName: DHCP_SEARCH_INFO_TYPE_V6 = 2i32;
pub const Dhcpv6ExcludedIpRanges: DHCP_SUBNET_ELEMENT_TYPE_V6 = 2i32;
pub const Dhcpv6IpRanges: DHCP_SUBNET_ELEMENT_TYPE_V6 = 0i32;
pub const Dhcpv6ReservedIps: DHCP_SUBNET_ELEMENT_TYPE_V6 = 1i32;
pub const ERROR_DDS_CLASS_DOES_NOT_EXIST: u32 = 20078u32;
pub const ERROR_DDS_CLASS_EXISTS: u32 = 20077u32;
pub const ERROR_DDS_DHCP_SERVER_NOT_FOUND: u32 = 20074u32;
pub const ERROR_DDS_NO_DHCP_ROOT: u32 = 20071u32;
pub const ERROR_DDS_NO_DS_AVAILABLE: u32 = 20070u32;
pub const ERROR_DDS_OPTION_ALREADY_EXISTS: u32 = 20075u32;
pub const ERROR_DDS_OPTION_DOES_NOT_EXIST: u32 = 20076u32;
pub const ERROR_DDS_POSSIBLE_RANGE_CONFLICT: u32 = 20087u32;
pub const ERROR_DDS_RANGE_DOES_NOT_EXIST: u32 = 20088u32;
pub const ERROR_DDS_RESERVATION_CONFLICT: u32 = 20086u32;
pub const ERROR_DDS_RESERVATION_NOT_PRESENT: u32 = 20085u32;
pub const ERROR_DDS_SERVER_ADDRESS_MISMATCH: u32 = 20081u32;
pub const ERROR_DDS_SERVER_ALREADY_EXISTS: u32 = 20079u32;
pub const ERROR_DDS_SERVER_DOES_NOT_EXIST: u32 = 20080u32;
pub const ERROR_DDS_SUBNET_EXISTS: u32 = 20082u32;
pub const ERROR_DDS_SUBNET_HAS_DIFF_SSCOPE: u32 = 20083u32;
pub const ERROR_DDS_SUBNET_NOT_PRESENT: u32 = 20084u32;
pub const ERROR_DDS_TOO_MANY_ERRORS: u32 = 20073u32;
pub const ERROR_DDS_UNEXPECTED_ERROR: u32 = 20072u32;
pub const ERROR_DHCP_ADDRESS_NOT_AVAILABLE: u32 = 20011u32;
pub const ERROR_DHCP_CANNOT_MODIFY_BINDINGS: u32 = 20051u32;
pub const ERROR_DHCP_CANT_CHANGE_ATTRIBUTE: u32 = 20048u32;
pub const ERROR_DHCP_CLASS_ALREADY_EXISTS: u32 = 20045u32;
pub const ERROR_DHCP_CLASS_NOT_FOUND: u32 = 20044u32;
pub const ERROR_DHCP_CLIENT_EXISTS: u32 = 20014u32;
pub const ERROR_DHCP_DATABASE_INIT_FAILED: u32 = 20001u32;
pub const ERROR_DHCP_DEFAULT_SCOPE_EXITS: u32 = 20047u32;
pub const ERROR_DHCP_DELETE_BUILTIN_CLASS: u32 = 20089u32;
pub const ERROR_DHCP_ELEMENT_CANT_REMOVE: u32 = 20007u32;
pub const ERROR_DHCP_EXEMPTION_EXISTS: u32 = 20055u32;
pub const ERROR_DHCP_EXEMPTION_NOT_PRESENT: u32 = 20056u32;
pub const ERROR_DHCP_FO_ADDSCOPE_LEASES_NOT_SYNCED: u32 = 20127u32;
pub const ERROR_DHCP_FO_BOOT_NOT_SUPPORTED: u32 = 20131u32;
pub const ERROR_DHCP_FO_FEATURE_NOT_SUPPORTED: u32 = 20134u32;
pub const ERROR_DHCP_FO_IPRANGE_TYPE_CONV_ILLEGAL: u32 = 20129u32;
pub const ERROR_DHCP_FO_MAX_ADD_SCOPES: u32 = 20130u32;
pub const ERROR_DHCP_FO_MAX_RELATIONSHIPS: u32 = 20128u32;
pub const ERROR_DHCP_FO_NOT_SUPPORTED: u32 = 20118u32;
pub const ERROR_DHCP_FO_RANGE_PART_OF_REL: u32 = 20132u32;
pub const ERROR_DHCP_FO_RELATIONSHIP_DOES_NOT_EXIST: u32 = 20115u32;
pub const ERROR_DHCP_FO_RELATIONSHIP_EXISTS: u32 = 20114u32;
pub const ERROR_DHCP_FO_RELATIONSHIP_NAME_TOO_LONG: u32 = 20125u32;
pub const ERROR_DHCP_FO_RELATION_IS_SECONDARY: u32 = 20117u32;
pub const ERROR_DHCP_FO_SCOPE_ALREADY_IN_RELATIONSHIP: u32 = 20113u32;
pub const ERROR_DHCP_FO_SCOPE_NOT_IN_RELATIONSHIP: u32 = 20116u32;
pub const ERROR_DHCP_FO_SCOPE_SYNC_IN_PROGRESS: u32 = 20133u32;
pub const ERROR_DHCP_FO_STATE_NOT_NORMAL: u32 = 20120u32;
pub const ERROR_DHCP_FO_TIME_OUT_OF_SYNC: u32 = 20119u32;
pub const ERROR_DHCP_HARDWARE_ADDRESS_TYPE_ALREADY_EXEMPT: u32 = 20101u32;
pub const ERROR_DHCP_INVALID_DELAY: u32 = 20092u32;
pub const ERROR_DHCP_INVALID_DHCP_CLIENT: u32 = 20016u32;
pub const ERROR_DHCP_INVALID_DHCP_MESSAGE: u32 = 20015u32;
pub const ERROR_DHCP_INVALID_PARAMETER_OPTION32: u32 = 20057u32;
pub const ERROR_DHCP_INVALID_POLICY_EXPRESSION: u32 = 20109u32;
pub const ERROR_DHCP_INVALID_PROCESSING_ORDER: u32 = 20110u32;
pub const ERROR_DHCP_INVALID_RANGE: u32 = 20023u32;
pub const ERROR_DHCP_INVALID_SUBNET_PREFIX: u32 = 20091u32;
pub const ERROR_DHCP_IPRANGE_CONV_ILLEGAL: u32 = 20049u32;
pub const ERROR_DHCP_IPRANGE_EXITS: u32 = 20021u32;
pub const ERROR_DHCP_IP_ADDRESS_IN_USE: u32 = 20032u32;
pub const ERROR_DHCP_JET97_CONV_REQUIRED: u32 = 20036u32;
pub const ERROR_DHCP_JET_CONV_REQUIRED: u32 = 20027u32;
pub const ERROR_DHCP_JET_ERROR: u32 = 20013u32;
pub const ERROR_DHCP_LINKLAYER_ADDRESS_DOES_NOT_EXIST: u32 = 20095u32;
pub const ERROR_DHCP_LINKLAYER_ADDRESS_EXISTS: u32 = 20093u32;
pub const ERROR_DHCP_LINKLAYER_ADDRESS_RESERVATION_EXISTS: u32 = 20094u32;
pub const ERROR_DHCP_LOG_FILE_PATH_TOO_LONG: u32 = 20033u32;
pub const ERROR_DHCP_MSCOPE_EXISTS: u32 = 20053u32;
pub const ERROR_DHCP_NAP_NOT_SUPPORTED: u32 = 20138u32;
pub const ERROR_DHCP_NETWORK_CHANGED: u32 = 20050u32;
pub const ERROR_DHCP_NETWORK_INIT_FAILED: u32 = 20003u32;
pub const ERROR_DHCP_NOT_RESERVED_CLIENT: u32 = 20018u32;
pub const ERROR_DHCP_NO_ADMIN_PERMISSION: u32 = 20121u32;
pub const ERROR_DHCP_OPTION_EXITS: u32 = 20009u32;
pub const ERROR_DHCP_OPTION_NOT_PRESENT: u32 = 20010u32;
pub const ERROR_DHCP_OPTION_TYPE_MISMATCH: u32 = 20103u32;
pub const ERROR_DHCP_POLICY_BAD_PARENT_EXPR: u32 = 20104u32;
pub const ERROR_DHCP_POLICY_EDIT_FQDN_UNSUPPORTED: u32 = 20137u32;
pub const ERROR_DHCP_POLICY_EXISTS: u32 = 20105u32;
pub const ERROR_DHCP_POLICY_FQDN_OPTION_UNSUPPORTED: u32 = 20136u32;
pub const ERROR_DHCP_POLICY_FQDN_RANGE_UNSUPPORTED: u32 = 20135u32;
pub const ERROR_DHCP_POLICY_NOT_FOUND: u32 = 20111u32;
pub const ERROR_DHCP_POLICY_RANGE_BAD: u32 = 20107u32;
pub const ERROR_DHCP_POLICY_RANGE_EXISTS: u32 = 20106u32;
pub const ERROR_DHCP_PRIMARY_NOT_FOUND: u32 = 20006u32;
pub const ERROR_DHCP_RANGE_EXTENDED: u32 = 20024u32;
pub const ERROR_DHCP_RANGE_FULL: u32 = 20012u32;
pub const ERROR_DHCP_RANGE_INVALID_IN_SERVER_POLICY: u32 = 20108u32;
pub const ERROR_DHCP_RANGE_TOO_SMALL: u32 = 20020u32;
pub const ERROR_DHCP_REACHED_END_OF_SELECTION: u32 = 20126u32;
pub const ERROR_DHCP_REGISTRY_INIT_FAILED: u32 = 20000u32;
pub const ERROR_DHCP_RESERVEDIP_EXITS: u32 = 20022u32;
pub const ERROR_DHCP_RESERVED_CLIENT: u32 = 20019u32;
pub const ERROR_DHCP_ROGUE_DS_CONFLICT: u32 = 20041u32;
pub const ERROR_DHCP_ROGUE_DS_UNREACHABLE: u32 = 20040u32;
pub const ERROR_DHCP_ROGUE_INIT_FAILED: u32 = 20037u32;
pub const ERROR_DHCP_ROGUE_NOT_AUTHORIZED: u32 = 20039u32;
pub const ERROR_DHCP_ROGUE_NOT_OUR_ENTERPRISE: u32 = 20042u32;
pub const ERROR_DHCP_ROGUE_SAMSHUTDOWN: u32 = 20038u32;
pub const ERROR_DHCP_ROGUE_STANDALONE_IN_DS: u32 = 20043u32;
pub const ERROR_DHCP_RPC_INIT_FAILED: u32 = 20002u32;
pub const ERROR_DHCP_SCOPE_NAME_TOO_LONG: u32 = 20046u32;
pub const ERROR_DHCP_SERVER_NAME_NOT_RESOLVED: u32 = 20124u32;
pub const ERROR_DHCP_SERVER_NOT_REACHABLE: u32 = 20122u32;
pub const ERROR_DHCP_SERVER_NOT_RUNNING: u32 = 20123u32;
pub const ERROR_DHCP_SERVICE_PAUSED: u32 = 20017u32;
pub const ERROR_DHCP_SUBNET_EXISTS: u32 = 20052u32;
pub const ERROR_DHCP_SUBNET_EXITS: u32 = 20004u32;
pub const ERROR_DHCP_SUBNET_NOT_PRESENT: u32 = 20005u32;
pub const ERROR_DHCP_SUPER_SCOPE_NAME_TOO_LONG: u32 = 20030u32;
pub const ERROR_DHCP_UNDEFINED_HARDWARE_ADDRESS_TYPE: u32 = 20102u32;
pub const ERROR_DHCP_UNSUPPORTED_CLIENT: u32 = 20034u32;
pub const ERROR_EXTEND_TOO_SMALL: u32 = 20025u32;
pub const ERROR_LAST_DHCP_SERVER_ERROR: u32 = 20139u32;
pub const ERROR_MSCOPE_RANGE_TOO_SMALL: u32 = 20054u32;
pub const ERROR_SCOPE_RANGE_POLICY_RANGE_CONFLICT: u32 = 20112u32;
pub const ERROR_SERVER_INVALID_BOOT_FILE_TABLE: u32 = 20028u32;
pub const ERROR_SERVER_UNKNOWN_BOOT_FILE_NAME: u32 = 20029u32;
pub const EXEMPT: QuarantineStatus = 4i32;
pub const FILTER_STATUS_FULL_MATCH_IN_ALLOW_LIST: u32 = 2u32;
pub const FILTER_STATUS_FULL_MATCH_IN_DENY_LIST: u32 = 4u32;
pub const FILTER_STATUS_NONE: u32 = 1u32;
pub const FILTER_STATUS_WILDCARD_MATCH_IN_ALLOW_LIST: u32 = 8u32;
pub const FILTER_STATUS_WILDCARD_MATCH_IN_DENY_LIST: u32 = 16u32;
pub const HWTYPE_ETHERNET_10MB: u32 = 1u32;
pub const HotStandby: DHCP_FAILOVER_MODE = 1i32;
pub const INIT: FSM_STATE = 1i32;
pub const LoadBalance: DHCP_FAILOVER_MODE = 0i32;
pub const MAC_ADDRESS_LENGTH: u32 = 6u32;
pub const MAX_PATTERN_LENGTH: u32 = 255u32;
pub const MCLT: u32 = 1u32;
pub const MODE: u32 = 16u32;
pub const NOQUARANTINE: QuarantineStatus = 0i32;
pub const NOQUARINFO: QuarantineStatus = 6i32;
pub const NORMAL: FSM_STATE = 3i32;
pub const NO_STATE: FSM_STATE = 0i32;
pub const OPTION_ALL_SUBNETS_MTU: u32 = 27u32;
pub const OPTION_ARP_CACHE_TIMEOUT: u32 = 35u32;
pub const OPTION_BE_A_MASK_SUPPLIER: u32 = 30u32;
pub const OPTION_BE_A_ROUTER: u32 = 19u32;
pub const OPTION_BOOTFILE_NAME: u32 = 67u32;
pub const OPTION_BOOT_FILE_SIZE: u32 = 13u32;
pub const OPTION_BROADCAST_ADDRESS: u32 = 28u32;
pub const OPTION_CLIENT_CLASS_INFO: u32 = 60u32;
pub const OPTION_CLIENT_ID: u32 = 61u32;
pub const OPTION_COOKIE_SERVERS: u32 = 8u32;
pub const OPTION_DEFAULT_TTL: u32 = 23u32;
pub const OPTION_DOMAIN_NAME: u32 = 15u32;
pub const OPTION_DOMAIN_NAME_SERVERS: u32 = 6u32;
pub const OPTION_END: u32 = 255u32;
pub const OPTION_ETHERNET_ENCAPSULATION: u32 = 36u32;
pub const OPTION_EXTENSIONS_PATH: u32 = 18u32;
pub const OPTION_HOST_NAME: u32 = 12u32;
pub const OPTION_IEN116_NAME_SERVERS: u32 = 5u32;
pub const OPTION_IMPRESS_SERVERS: u32 = 10u32;
pub const OPTION_KEEP_ALIVE_DATA_SIZE: u32 = 39u32;
pub const OPTION_KEEP_ALIVE_INTERVAL: u32 = 38u32;
pub const OPTION_LEASE_TIME: u32 = 51u32;
pub const OPTION_LOG_SERVERS: u32 = 7u32;
pub const OPTION_LPR_SERVERS: u32 = 9u32;
pub const OPTION_MAX_REASSEMBLY_SIZE: u32 = 22u32;
pub const OPTION_MERIT_DUMP_FILE: u32 = 14u32;
pub const OPTION_MESSAGE: u32 = 56u32;
pub const OPTION_MESSAGE_LENGTH: u32 = 57u32;
pub const OPTION_MESSAGE_TYPE: u32 = 53u32;
pub const OPTION_MSFT_IE_PROXY: u32 = 252u32;
pub const OPTION_MTU: u32 = 26u32;
pub const OPTION_NETBIOS_DATAGRAM_SERVER: u32 = 45u32;
pub const OPTION_NETBIOS_NAME_SERVER: u32 = 44u32;
pub const OPTION_NETBIOS_NODE_TYPE: u32 = 46u32;
pub const OPTION_NETBIOS_SCOPE_OPTION: u32 = 47u32;
pub const OPTION_NETWORK_INFO_SERVERS: u32 = 41u32;
pub const OPTION_NETWORK_INFO_SERVICE_DOM: u32 = 40u32;
pub const OPTION_NETWORK_TIME_SERVERS: u32 = 42u32;
pub const OPTION_NON_LOCAL_SOURCE_ROUTING: u32 = 20u32;
pub const OPTION_OK_TO_OVERLAY: u32 = 52u32;
pub const OPTION_PAD: u32 = 0u32;
pub const OPTION_PARAMETER_REQUEST_LIST: u32 = 55u32;
pub const OPTION_PERFORM_MASK_DISCOVERY: u32 = 29u32;
pub const OPTION_PERFORM_ROUTER_DISCOVERY: u32 = 31u32;
pub const OPTION_PMTU_AGING_TIMEOUT: u32 = 24u32;
pub const OPTION_PMTU_PLATEAU_TABLE: u32 = 25u32;
pub const OPTION_POLICY_FILTER_FOR_NLSR: u32 = 21u32;
pub const OPTION_REBIND_TIME: u32 = 59u32;
pub const OPTION_RENEWAL_TIME: u32 = 58u32;
pub const OPTION_REQUESTED_ADDRESS: u32 = 50u32;
pub const OPTION_RLP_SERVERS: u32 = 11u32;
pub const OPTION_ROOT_DISK: u32 = 17u32;
pub const OPTION_ROUTER_ADDRESS: u32 = 3u32;
pub const OPTION_ROUTER_SOLICITATION_ADDR: u32 = 32u32;
pub const OPTION_SERVER_IDENTIFIER: u32 = 54u32;
pub const OPTION_STATIC_ROUTES: u32 = 33u32;
pub const OPTION_SUBNET_MASK: u32 = 1u32;
pub const OPTION_SWAP_SERVER: u32 = 16u32;
pub const OPTION_TFTP_SERVER_NAME: u32 = 66u32;
pub const OPTION_TIME_OFFSET: u32 = 2u32;
pub const OPTION_TIME_SERVERS: u32 = 4u32;
pub const OPTION_TRAILERS: u32 = 34u32;
pub const OPTION_TTL: u32 = 37u32;
pub const OPTION_VENDOR_SPEC_INFO: u32 = 43u32;
pub const OPTION_XWINDOW_DISPLAY_MANAGER: u32 = 49u32;
pub const OPTION_XWINDOW_FONT_SERVER: u32 = 48u32;
pub const PARTNER_DOWN: FSM_STATE = 5i32;
pub const PAUSED: FSM_STATE = 12i32;
pub const PERCENTAGE: u32 = 8u32;
pub const POTENTIAL_CONFLICT: FSM_STATE = 6i32;
pub const PREVSTATE: u32 = 32u32;
pub const PROBATION: QuarantineStatus = 3i32;
pub const PrimaryServer: DHCP_FAILOVER_SERVER = 0i32;
pub const QUARANTINE_CONFIG_OPTION: u32 = 43222u32;
pub const QUARANTINE_SCOPE_QUARPROFILE_OPTION: u32 = 43221u32;
pub const QUARANTIN_OPTION_BASE: u32 = 43220u32;
pub const RECOVER: FSM_STATE = 9i32;
pub const RECOVER_DONE: FSM_STATE = 11i32;
pub const RECOVER_WAIT: FSM_STATE = 10i32;
pub const RESOLUTION_INT: FSM_STATE = 8i32;
pub const RESTRICTEDACCESS: QuarantineStatus = 1i32;
pub const SAFEPERIOD: u32 = 2u32;
pub const SHAREDSECRET: u32 = 64u32;
pub const SHUTDOWN: FSM_STATE = 13i32;
pub const STARTUP: FSM_STATE = 2i32;
pub const STATUS_NOPREFIX_AVAIL: StatusCode = 6i32;
pub const STATUS_NO_BINDING: StatusCode = 3i32;
pub const STATUS_NO_ERROR: StatusCode = 0i32;
pub const STATUS_UNSPECIFIED_FAILURE: StatusCode = 1i32;
pub const SecondaryServer: DHCP_FAILOVER_SERVER = 1i32;
pub const Set_APIProtocolSupport: u32 = 1u32;
pub const Set_AuditLogState: u32 = 2048u32;
pub const Set_BackupInterval: u32 = 16u32;
pub const Set_BackupPath: u32 = 8u32;
pub const Set_BootFileTable: u32 = 1024u32;
pub const Set_DatabaseCleanupInterval: u32 = 128u32;
pub const Set_DatabaseLoggingFlag: u32 = 32u32;
pub const Set_DatabaseName: u32 = 2u32;
pub const Set_DatabasePath: u32 = 4u32;
pub const Set_DebugFlag: u32 = 256u32;
pub const Set_PingRetries: u32 = 512u32;
pub const Set_PreferredLifetime: u32 = 4u32;
pub const Set_PreferredLifetimeIATA: u32 = 64u32;
pub const Set_QuarantineDefFail: u32 = 8192u32;
pub const Set_QuarantineON: u32 = 4096u32;
pub const Set_RapidCommitFlag: u32 = 2u32;
pub const Set_RestoreFlag: u32 = 64u32;
pub const Set_T1: u32 = 16u32;
pub const Set_T2: u32 = 32u32;
pub const Set_UnicastFlag: u32 = 1u32;
pub const Set_ValidLifetime: u32 = 8u32;
pub const Set_ValidLifetimeIATA: u32 = 128u32;
pub const V5_ADDRESS_BIT_BOTH_REC: u32 = 32u32;
pub const V5_ADDRESS_BIT_DELETED: u32 = 128u32;
pub const V5_ADDRESS_BIT_UNREGISTERED: u32 = 64u32;
pub const V5_ADDRESS_EX_BIT_DISABLE_PTR_RR: u32 = 1u32;
pub const V5_ADDRESS_STATE_ACTIVE: u32 = 1u32;
pub const V5_ADDRESS_STATE_DECLINED: u32 = 2u32;
pub const V5_ADDRESS_STATE_DOOM: u32 = 3u32;
pub const V5_ADDRESS_STATE_OFFERED: u32 = 0u32;
pub const WARNING_EXTENDED_LESS: i32 = 20026i32;
pub type DHCPV6_STATELESS_PARAM_TYPE = i32;
pub type DHCP_FAILOVER_MODE = i32;
pub type DHCP_FAILOVER_SERVER = i32;
pub type DHCP_FILTER_LIST_TYPE = i32;
pub type DHCP_FORCE_FLAG = i32;
pub type DHCP_OPTION_DATA_TYPE = i32;
pub type DHCP_OPTION_SCOPE_TYPE = i32;
pub type DHCP_OPTION_SCOPE_TYPE6 = i32;
pub type DHCP_OPTION_TYPE = i32;
pub type DHCP_POLICY_FIELDS_TO_UPDATE = i32;
pub type DHCP_POL_ATTR_TYPE = i32;
pub type DHCP_POL_COMPARATOR = i32;
pub type DHCP_POL_LOGIC_OPER = i32;
pub type DHCP_PROPERTY_ID = i32;
pub type DHCP_PROPERTY_TYPE = i32;
pub type DHCP_SCAN_FLAG = i32;
pub type DHCP_SEARCH_INFO_TYPE = i32;
pub type DHCP_SEARCH_INFO_TYPE_V6 = i32;
pub type DHCP_SUBNET_ELEMENT_TYPE = i32;
pub type DHCP_SUBNET_ELEMENT_TYPE_V6 = i32;
pub type DHCP_SUBNET_STATE = i32;
pub type FSM_STATE = i32;
pub type QuarantineStatus = i32;
pub type StatusCode = i32;
#[repr(C)]
pub struct DATE_TIME {
pub dwLowDateTime: u32,
pub dwHighDateTime: u32,
}
impl ::core::marker::Copy for DATE_TIME {}
impl ::core::clone::Clone for DATE_TIME {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCPAPI_PARAMS {
pub Flags: u32,
pub OptionId: u32,
pub IsVendor: super::super::Foundation::BOOL,
pub Data: *mut u8,
pub nBytesData: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCPAPI_PARAMS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCPAPI_PARAMS {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCPCAPI_CLASSID {
pub Flags: u32,
pub Data: *mut u8,
pub nBytesData: u32,
}
impl ::core::marker::Copy for DHCPCAPI_CLASSID {}
impl ::core::clone::Clone for DHCPCAPI_CLASSID {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCPCAPI_PARAMS_ARRAY {
pub nParams: u32,
pub Params: *mut DHCPAPI_PARAMS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCPCAPI_PARAMS_ARRAY {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCPCAPI_PARAMS_ARRAY {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCPDS_SERVER {
pub Version: u32,
pub ServerName: ::windows_sys::core::PWSTR,
pub ServerAddress: u32,
pub Flags: u32,
pub State: u32,
pub DsLocation: ::windows_sys::core::PWSTR,
pub DsLocType: u32,
}
impl ::core::marker::Copy for DHCPDS_SERVER {}
impl ::core::clone::Clone for DHCPDS_SERVER {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCPDS_SERVERS {
pub Flags: u32,
pub NumElements: u32,
pub Servers: *mut DHCPDS_SERVER,
}
impl ::core::marker::Copy for DHCPDS_SERVERS {}
impl ::core::clone::Clone for DHCPDS_SERVERS {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCPV4_FAILOVER_CLIENT_INFO {
pub ClientIpAddress: u32,
pub SubnetMask: u32,
pub ClientHardwareAddress: DHCP_BINARY_DATA,
pub ClientName: ::windows_sys::core::PWSTR,
pub ClientComment: ::windows_sys::core::PWSTR,
pub ClientLeaseExpires: DATE_TIME,
pub OwnerHost: DHCP_HOST_INFO,
pub bClientType: u8,
pub AddressState: u8,
pub Status: QuarantineStatus,
pub ProbationEnds: DATE_TIME,
pub QuarantineCapable: super::super::Foundation::BOOL,
pub SentPotExpTime: u32,
pub AckPotExpTime: u32,
pub RecvPotExpTime: u32,
pub StartTime: u32,
pub CltLastTransTime: u32,
pub LastBndUpdTime: u32,
pub BndMsgStatus: u32,
pub PolicyName: ::windows_sys::core::PWSTR,
pub Flags: u8,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCPV4_FAILOVER_CLIENT_INFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCPV4_FAILOVER_CLIENT_INFO {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCPV4_FAILOVER_CLIENT_INFO_ARRAY {
pub NumElements: u32,
pub Clients: *mut *mut DHCPV4_FAILOVER_CLIENT_INFO,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCPV4_FAILOVER_CLIENT_INFO_ARRAY {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCPV4_FAILOVER_CLIENT_INFO_ARRAY {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCPV4_FAILOVER_CLIENT_INFO_EX {
pub ClientIpAddress: u32,
pub SubnetMask: u32,
pub ClientHardwareAddress: DHCP_BINARY_DATA,
pub ClientName: ::windows_sys::core::PWSTR,
pub ClientComment: ::windows_sys::core::PWSTR,
pub ClientLeaseExpires: DATE_TIME,
pub OwnerHost: DHCP_HOST_INFO,
pub bClientType: u8,
pub AddressState: u8,
pub Status: QuarantineStatus,
pub ProbationEnds: DATE_TIME,
pub QuarantineCapable: super::super::Foundation::BOOL,
pub SentPotExpTime: u32,
pub AckPotExpTime: u32,
pub RecvPotExpTime: u32,
pub StartTime: u32,
pub CltLastTransTime: u32,
pub LastBndUpdTime: u32,
pub BndMsgStatus: u32,
pub PolicyName: ::windows_sys::core::PWSTR,
pub Flags: u8,
pub AddressStateEx: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCPV4_FAILOVER_CLIENT_INFO_EX {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCPV4_FAILOVER_CLIENT_INFO_EX {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCPV6CAPI_CLASSID {
pub Flags: u32,
pub Data: *mut u8,
pub nBytesData: u32,
}
impl ::core::marker::Copy for DHCPV6CAPI_CLASSID {}
impl ::core::clone::Clone for DHCPV6CAPI_CLASSID {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCPV6CAPI_PARAMS {
pub Flags: u32,
pub OptionId: u32,
pub IsVendor: super::super::Foundation::BOOL,
pub Data: *mut u8,
pub nBytesData: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCPV6CAPI_PARAMS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCPV6CAPI_PARAMS {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCPV6CAPI_PARAMS_ARRAY {
pub nParams: u32,
pub Params: *mut DHCPV6CAPI_PARAMS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCPV6CAPI_PARAMS_ARRAY {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCPV6CAPI_PARAMS_ARRAY {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCPV6Prefix {
pub prefix: [u8; 16],
pub prefixLength: u32,
pub preferredLifeTime: u32,
pub validLifeTime: u32,
pub status: StatusCode,
}
impl ::core::marker::Copy for DHCPV6Prefix {}
impl ::core::clone::Clone for DHCPV6Prefix {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCPV6PrefixLeaseInformation {
pub nPrefixes: u32,
pub prefixArray: *mut DHCPV6Prefix,
pub iaid: u32,
pub T1: i64,
pub T2: i64,
pub MaxLeaseExpirationTime: i64,
pub LastRenewalTime: i64,
pub status: StatusCode,
pub ServerId: *mut u8,
pub ServerIdLen: u32,
}
impl ::core::marker::Copy for DHCPV6PrefixLeaseInformation {}
impl ::core::clone::Clone for DHCPV6PrefixLeaseInformation {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCPV6_BIND_ELEMENT {
pub Flags: u32,
pub fBoundToDHCPServer: super::super::Foundation::BOOL,
pub AdapterPrimaryAddress: DHCP_IPV6_ADDRESS,
pub AdapterSubnetAddress: DHCP_IPV6_ADDRESS,
pub IfDescription: ::windows_sys::core::PWSTR,
pub IpV6IfIndex: u32,
pub IfIdSize: u32,
pub IfId: *mut u8,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCPV6_BIND_ELEMENT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCPV6_BIND_ELEMENT {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCPV6_BIND_ELEMENT_ARRAY {
pub NumElements: u32,
pub Elements: *mut DHCPV6_BIND_ELEMENT,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCPV6_BIND_ELEMENT_ARRAY {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCPV6_BIND_ELEMENT_ARRAY {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCPV6_IP_ARRAY {
pub NumElements: u32,
pub Elements: *mut DHCP_IPV6_ADDRESS,
}
impl ::core::marker::Copy for DHCPV6_IP_ARRAY {}
impl ::core::clone::Clone for DHCPV6_IP_ARRAY {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCPV6_STATELESS_PARAMS {
pub Status: super::super::Foundation::BOOL,
pub PurgeInterval: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCPV6_STATELESS_PARAMS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCPV6_STATELESS_PARAMS {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCPV6_STATELESS_SCOPE_STATS {
pub SubnetAddress: DHCP_IPV6_ADDRESS,
pub NumStatelessClientsAdded: u64,
pub NumStatelessClientsRemoved: u64,
}
impl ::core::marker::Copy for DHCPV6_STATELESS_SCOPE_STATS {}
impl ::core::clone::Clone for DHCPV6_STATELESS_SCOPE_STATS {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCPV6_STATELESS_STATS {
pub NumScopes: u32,
pub ScopeStats: *mut DHCPV6_STATELESS_SCOPE_STATS,
}
impl ::core::marker::Copy for DHCPV6_STATELESS_STATS {}
impl ::core::clone::Clone for DHCPV6_STATELESS_STATS {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_ADDR_PATTERN {
pub MatchHWType: super::super::Foundation::BOOL,
pub HWType: u8,
pub IsWildcard: super::super::Foundation::BOOL,
pub Length: u8,
pub Pattern: [u8; 255],
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_ADDR_PATTERN {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_ADDR_PATTERN {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_ALL_OPTIONS {
pub Flags: u32,
pub NonVendorOptions: *mut DHCP_OPTION_ARRAY,
pub NumVendorOptions: u32,
pub VendorOptions: *mut DHCP_ALL_OPTIONS_0,
}
impl ::core::marker::Copy for DHCP_ALL_OPTIONS {}
impl ::core::clone::Clone for DHCP_ALL_OPTIONS {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_ALL_OPTIONS_0 {
pub Option: DHCP_OPTION,
pub VendorName: ::windows_sys::core::PWSTR,
pub ClassName: ::windows_sys::core::PWSTR,
}
impl ::core::marker::Copy for DHCP_ALL_OPTIONS_0 {}
impl ::core::clone::Clone for DHCP_ALL_OPTIONS_0 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_ALL_OPTION_VALUES {
pub Flags: u32,
pub NumElements: u32,
pub Options: *mut DHCP_ALL_OPTION_VALUES_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_ALL_OPTION_VALUES {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_ALL_OPTION_VALUES {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_ALL_OPTION_VALUES_0 {
pub ClassName: ::windows_sys::core::PWSTR,
pub VendorName: ::windows_sys::core::PWSTR,
pub IsVendor: super::super::Foundation::BOOL,
pub OptionsArray: *mut DHCP_OPTION_VALUE_ARRAY,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_ALL_OPTION_VALUES_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_ALL_OPTION_VALUES_0 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_ALL_OPTION_VALUES_PB {
pub Flags: u32,
pub NumElements: u32,
pub Options: *mut DHCP_ALL_OPTION_VALUES_PB_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_ALL_OPTION_VALUES_PB {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_ALL_OPTION_VALUES_PB {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_ALL_OPTION_VALUES_PB_0 {
pub PolicyName: ::windows_sys::core::PWSTR,
pub VendorName: ::windows_sys::core::PWSTR,
pub IsVendor: super::super::Foundation::BOOL,
pub OptionsArray: *mut DHCP_OPTION_VALUE_ARRAY,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_ALL_OPTION_VALUES_PB_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_ALL_OPTION_VALUES_PB_0 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_ATTRIB {
pub DhcpAttribId: u32,
pub DhcpAttribType: u32,
pub Anonymous: DHCP_ATTRIB_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_ATTRIB {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_ATTRIB {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union DHCP_ATTRIB_0 {
pub DhcpAttribBool: super::super::Foundation::BOOL,
pub DhcpAttribUlong: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_ATTRIB_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_ATTRIB_0 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_ATTRIB_ARRAY {
pub NumElements: u32,
pub DhcpAttribs: *mut DHCP_ATTRIB,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_ATTRIB_ARRAY {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_ATTRIB_ARRAY {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_BINARY_DATA {
pub DataLength: u32,
pub Data: *mut u8,
}
impl ::core::marker::Copy for DHCP_BINARY_DATA {}
impl ::core::clone::Clone for DHCP_BINARY_DATA {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_BIND_ELEMENT {
pub Flags: u32,
pub fBoundToDHCPServer: super::super::Foundation::BOOL,
pub AdapterPrimaryAddress: u32,
pub AdapterSubnetAddress: u32,
pub IfDescription: ::windows_sys::core::PWSTR,
pub IfIdSize: u32,
pub IfId: *mut u8,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_BIND_ELEMENT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_BIND_ELEMENT {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_BIND_ELEMENT_ARRAY {
pub NumElements: u32,
pub Elements: *mut DHCP_BIND_ELEMENT,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_BIND_ELEMENT_ARRAY {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_BIND_ELEMENT_ARRAY {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_BOOTP_IP_RANGE {
pub StartAddress: u32,
pub EndAddress: u32,
pub BootpAllocated: u32,
pub MaxBootpAllowed: u32,
}
impl ::core::marker::Copy for DHCP_BOOTP_IP_RANGE {}
impl ::core::clone::Clone for DHCP_BOOTP_IP_RANGE {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_CALLOUT_TABLE {
pub DhcpControlHook: LPDHCP_CONTROL,
pub DhcpNewPktHook: LPDHCP_NEWPKT,
pub DhcpPktDropHook: LPDHCP_DROP_SEND,
pub DhcpPktSendHook: LPDHCP_DROP_SEND,
pub DhcpAddressDelHook: LPDHCP_PROB,
pub DhcpAddressOfferHook: LPDHCP_GIVE_ADDRESS,
pub DhcpHandleOptionsHook: LPDHCP_HANDLE_OPTIONS,
pub DhcpDeleteClientHook: LPDHCP_DELETE_CLIENT,
pub DhcpExtensionHook: *mut ::core::ffi::c_void,
pub DhcpReservedHook: *mut ::core::ffi::c_void,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_CALLOUT_TABLE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_CALLOUT_TABLE {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_CLASS_INFO {
pub ClassName: ::windows_sys::core::PWSTR,
pub ClassComment: ::windows_sys::core::PWSTR,
pub ClassDataLength: u32,
pub IsVendor: super::super::Foundation::BOOL,
pub Flags: u32,
pub ClassData: *mut u8,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_CLASS_INFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_CLASS_INFO {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_CLASS_INFO_ARRAY {
pub NumElements: u32,
pub Classes: *mut DHCP_CLASS_INFO,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_CLASS_INFO_ARRAY {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_CLASS_INFO_ARRAY {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_CLASS_INFO_ARRAY_V6 {
pub NumElements: u32,
pub Classes: *mut DHCP_CLASS_INFO_V6,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_CLASS_INFO_ARRAY_V6 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_CLASS_INFO_ARRAY_V6 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_CLASS_INFO_V6 {
pub ClassName: ::windows_sys::core::PWSTR,
pub ClassComment: ::windows_sys::core::PWSTR,
pub ClassDataLength: u32,
pub IsVendor: super::super::Foundation::BOOL,
pub EnterpriseNumber: u32,
pub Flags: u32,
pub ClassData: *mut u8,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_CLASS_INFO_V6 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_CLASS_INFO_V6 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_CLIENT_FILTER_STATUS_INFO {
pub ClientIpAddress: u32,
pub SubnetMask: u32,
pub ClientHardwareAddress: DHCP_BINARY_DATA,
pub ClientName: ::windows_sys::core::PWSTR,
pub ClientComment: ::windows_sys::core::PWSTR,
pub ClientLeaseExpires: DATE_TIME,
pub OwnerHost: DHCP_HOST_INFO,
pub bClientType: u8,
pub AddressState: u8,
pub Status: QuarantineStatus,
pub ProbationEnds: DATE_TIME,
pub QuarantineCapable: super::super::Foundation::BOOL,
pub FilterStatus: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_CLIENT_FILTER_STATUS_INFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_CLIENT_FILTER_STATUS_INFO {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_CLIENT_FILTER_STATUS_INFO_ARRAY {
pub NumElements: u32,
pub Clients: *mut *mut DHCP_CLIENT_FILTER_STATUS_INFO,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_CLIENT_FILTER_STATUS_INFO_ARRAY {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_CLIENT_FILTER_STATUS_INFO_ARRAY {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_CLIENT_INFO {
pub ClientIpAddress: u32,
pub SubnetMask: u32,
pub ClientHardwareAddress: DHCP_BINARY_DATA,
pub ClientName: ::windows_sys::core::PWSTR,
pub ClientComment: ::windows_sys::core::PWSTR,
pub ClientLeaseExpires: DATE_TIME,
pub OwnerHost: DHCP_HOST_INFO,
}
impl ::core::marker::Copy for DHCP_CLIENT_INFO {}
impl ::core::clone::Clone for DHCP_CLIENT_INFO {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_CLIENT_INFO_ARRAY {
pub NumElements: u32,
pub Clients: *mut *mut DHCP_CLIENT_INFO,
}
impl ::core::marker::Copy for DHCP_CLIENT_INFO_ARRAY {}
impl ::core::clone::Clone for DHCP_CLIENT_INFO_ARRAY {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_CLIENT_INFO_ARRAY_V4 {
pub NumElements: u32,
pub Clients: *mut *mut DHCP_CLIENT_INFO_V4,
}
impl ::core::marker::Copy for DHCP_CLIENT_INFO_ARRAY_V4 {}
impl ::core::clone::Clone for DHCP_CLIENT_INFO_ARRAY_V4 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_CLIENT_INFO_ARRAY_V5 {
pub NumElements: u32,
pub Clients: *mut *mut DHCP_CLIENT_INFO_V5,
}
impl ::core::marker::Copy for DHCP_CLIENT_INFO_ARRAY_V5 {}
impl ::core::clone::Clone for DHCP_CLIENT_INFO_ARRAY_V5 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_CLIENT_INFO_ARRAY_V6 {
pub NumElements: u32,
pub Clients: *mut *mut DHCP_CLIENT_INFO_V6,
}
impl ::core::marker::Copy for DHCP_CLIENT_INFO_ARRAY_V6 {}
impl ::core::clone::Clone for DHCP_CLIENT_INFO_ARRAY_V6 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_CLIENT_INFO_ARRAY_VQ {
pub NumElements: u32,
pub Clients: *mut *mut DHCP_CLIENT_INFO_VQ,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_CLIENT_INFO_ARRAY_VQ {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_CLIENT_INFO_ARRAY_VQ {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_CLIENT_INFO_EX {
pub ClientIpAddress: u32,
pub SubnetMask: u32,
pub ClientHardwareAddress: DHCP_BINARY_DATA,
pub ClientName: ::windows_sys::core::PWSTR,
pub ClientComment: ::windows_sys::core::PWSTR,
pub ClientLeaseExpires: DATE_TIME,
pub OwnerHost: DHCP_HOST_INFO,
pub bClientType: u8,
pub AddressState: u8,
pub Status: QuarantineStatus,
pub ProbationEnds: DATE_TIME,
pub QuarantineCapable: super::super::Foundation::BOOL,
pub FilterStatus: u32,
pub PolicyName: ::windows_sys::core::PWSTR,
pub Properties: *mut DHCP_PROPERTY_ARRAY,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_CLIENT_INFO_EX {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_CLIENT_INFO_EX {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_CLIENT_INFO_EX_ARRAY {
pub NumElements: u32,
pub Clients: *mut *mut DHCP_CLIENT_INFO_EX,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_CLIENT_INFO_EX_ARRAY {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_CLIENT_INFO_EX_ARRAY {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_CLIENT_INFO_PB {
pub ClientIpAddress: u32,
pub SubnetMask: u32,
pub ClientHardwareAddress: DHCP_BINARY_DATA,
pub ClientName: ::windows_sys::core::PWSTR,
pub ClientComment: ::windows_sys::core::PWSTR,
pub ClientLeaseExpires: DATE_TIME,
pub OwnerHost: DHCP_HOST_INFO,
pub bClientType: u8,
pub AddressState: u8,
pub Status: QuarantineStatus,
pub ProbationEnds: DATE_TIME,
pub QuarantineCapable: super::super::Foundation::BOOL,
pub FilterStatus: u32,
pub PolicyName: ::windows_sys::core::PWSTR,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_CLIENT_INFO_PB {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_CLIENT_INFO_PB {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_CLIENT_INFO_PB_ARRAY {
pub NumElements: u32,
pub Clients: *mut *mut DHCP_CLIENT_INFO_PB,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_CLIENT_INFO_PB_ARRAY {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_CLIENT_INFO_PB_ARRAY {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_CLIENT_INFO_V4 {
pub ClientIpAddress: u32,
pub SubnetMask: u32,
pub ClientHardwareAddress: DHCP_BINARY_DATA,
pub ClientName: ::windows_sys::core::PWSTR,
pub ClientComment: ::windows_sys::core::PWSTR,
pub ClientLeaseExpires: DATE_TIME,
pub OwnerHost: DHCP_HOST_INFO,
pub bClientType: u8,
}
impl ::core::marker::Copy for DHCP_CLIENT_INFO_V4 {}
impl ::core::clone::Clone for DHCP_CLIENT_INFO_V4 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_CLIENT_INFO_V5 {
pub ClientIpAddress: u32,
pub SubnetMask: u32,
pub ClientHardwareAddress: DHCP_BINARY_DATA,
pub ClientName: ::windows_sys::core::PWSTR,
pub ClientComment: ::windows_sys::core::PWSTR,
pub ClientLeaseExpires: DATE_TIME,
pub OwnerHost: DHCP_HOST_INFO,
pub bClientType: u8,
pub AddressState: u8,
}
impl ::core::marker::Copy for DHCP_CLIENT_INFO_V5 {}
impl ::core::clone::Clone for DHCP_CLIENT_INFO_V5 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_CLIENT_INFO_V6 {
pub ClientIpAddress: DHCP_IPV6_ADDRESS,
pub ClientDUID: DHCP_BINARY_DATA,
pub AddressType: u32,
pub IAID: u32,
pub ClientName: ::windows_sys::core::PWSTR,
pub ClientComment: ::windows_sys::core::PWSTR,
pub ClientValidLeaseExpires: DATE_TIME,
pub ClientPrefLeaseExpires: DATE_TIME,
pub OwnerHost: DHCP_HOST_INFO_V6,
}
impl ::core::marker::Copy for DHCP_CLIENT_INFO_V6 {}
impl ::core::clone::Clone for DHCP_CLIENT_INFO_V6 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_CLIENT_INFO_VQ {
pub ClientIpAddress: u32,
pub SubnetMask: u32,
pub ClientHardwareAddress: DHCP_BINARY_DATA,
pub ClientName: ::windows_sys::core::PWSTR,
pub ClientComment: ::windows_sys::core::PWSTR,
pub ClientLeaseExpires: DATE_TIME,
pub OwnerHost: DHCP_HOST_INFO,
pub bClientType: u8,
pub AddressState: u8,
pub Status: QuarantineStatus,
pub ProbationEnds: DATE_TIME,
pub QuarantineCapable: super::super::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_CLIENT_INFO_VQ {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_CLIENT_INFO_VQ {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_FAILOVER_RELATIONSHIP {
pub PrimaryServer: u32,
pub SecondaryServer: u32,
pub Mode: DHCP_FAILOVER_MODE,
pub ServerType: DHCP_FAILOVER_SERVER,
pub State: FSM_STATE,
pub PrevState: FSM_STATE,
pub Mclt: u32,
pub SafePeriod: u32,
pub RelationshipName: ::windows_sys::core::PWSTR,
pub PrimaryServerName: ::windows_sys::core::PWSTR,
pub SecondaryServerName: ::windows_sys::core::PWSTR,
pub pScopes: *mut DHCP_IP_ARRAY,
pub Percentage: u8,
pub SharedSecret: ::windows_sys::core::PWSTR,
}
impl ::core::marker::Copy for DHCP_FAILOVER_RELATIONSHIP {}
impl ::core::clone::Clone for DHCP_FAILOVER_RELATIONSHIP {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_FAILOVER_RELATIONSHIP_ARRAY {
pub NumElements: u32,
pub pRelationships: *mut DHCP_FAILOVER_RELATIONSHIP,
}
impl ::core::marker::Copy for DHCP_FAILOVER_RELATIONSHIP_ARRAY {}
impl ::core::clone::Clone for DHCP_FAILOVER_RELATIONSHIP_ARRAY {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_FAILOVER_STATISTICS {
pub NumAddr: u32,
pub AddrFree: u32,
pub AddrInUse: u32,
pub PartnerAddrFree: u32,
pub ThisAddrFree: u32,
pub PartnerAddrInUse: u32,
pub ThisAddrInUse: u32,
}
impl ::core::marker::Copy for DHCP_FAILOVER_STATISTICS {}
impl ::core::clone::Clone for DHCP_FAILOVER_STATISTICS {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_FILTER_ADD_INFO {
pub AddrPatt: DHCP_ADDR_PATTERN,
pub Comment: ::windows_sys::core::PWSTR,
pub ListType: DHCP_FILTER_LIST_TYPE,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_FILTER_ADD_INFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_FILTER_ADD_INFO {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_FILTER_ENUM_INFO {
pub NumElements: u32,
pub pEnumRecords: *mut DHCP_FILTER_RECORD,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_FILTER_ENUM_INFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_FILTER_ENUM_INFO {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_FILTER_GLOBAL_INFO {
pub EnforceAllowList: super::super::Foundation::BOOL,
pub EnforceDenyList: super::super::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_FILTER_GLOBAL_INFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_FILTER_GLOBAL_INFO {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_FILTER_RECORD {
pub AddrPatt: DHCP_ADDR_PATTERN,
pub Comment: ::windows_sys::core::PWSTR,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_FILTER_RECORD {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_FILTER_RECORD {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_HOST_INFO {
pub IpAddress: u32,
pub NetBiosName: ::windows_sys::core::PWSTR,
pub HostName: ::windows_sys::core::PWSTR,
}
impl ::core::marker::Copy for DHCP_HOST_INFO {}
impl ::core::clone::Clone for DHCP_HOST_INFO {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_HOST_INFO_V6 {
pub IpAddress: DHCP_IPV6_ADDRESS,
pub NetBiosName: ::windows_sys::core::PWSTR,
pub HostName: ::windows_sys::core::PWSTR,
}
impl ::core::marker::Copy for DHCP_HOST_INFO_V6 {}
impl ::core::clone::Clone for DHCP_HOST_INFO_V6 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_IPV6_ADDRESS {
pub HighOrderBits: u64,
pub LowOrderBits: u64,
}
impl ::core::marker::Copy for DHCP_IPV6_ADDRESS {}
impl ::core::clone::Clone for DHCP_IPV6_ADDRESS {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_IP_ARRAY {
pub NumElements: u32,
pub Elements: *mut u32,
}
impl ::core::marker::Copy for DHCP_IP_ARRAY {}
impl ::core::clone::Clone for DHCP_IP_ARRAY {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_IP_CLUSTER {
pub ClusterAddress: u32,
pub ClusterMask: u32,
}
impl ::core::marker::Copy for DHCP_IP_CLUSTER {}
impl ::core::clone::Clone for DHCP_IP_CLUSTER {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_IP_RANGE {
pub StartAddress: u32,
pub EndAddress: u32,
}
impl ::core::marker::Copy for DHCP_IP_RANGE {}
impl ::core::clone::Clone for DHCP_IP_RANGE {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_IP_RANGE_ARRAY {
pub NumElements: u32,
pub Elements: *mut DHCP_IP_RANGE,
}
impl ::core::marker::Copy for DHCP_IP_RANGE_ARRAY {}
impl ::core::clone::Clone for DHCP_IP_RANGE_ARRAY {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_IP_RANGE_V6 {
pub StartAddress: DHCP_IPV6_ADDRESS,
pub EndAddress: DHCP_IPV6_ADDRESS,
}
impl ::core::marker::Copy for DHCP_IP_RANGE_V6 {}
impl ::core::clone::Clone for DHCP_IP_RANGE_V6 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_IP_RESERVATION {
pub ReservedIpAddress: u32,
pub ReservedForClient: *mut DHCP_BINARY_DATA,
}
impl ::core::marker::Copy for DHCP_IP_RESERVATION {}
impl ::core::clone::Clone for DHCP_IP_RESERVATION {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_IP_RESERVATION_INFO {
pub ReservedIpAddress: u32,
pub ReservedForClient: DHCP_BINARY_DATA,
pub ReservedClientName: ::windows_sys::core::PWSTR,
pub ReservedClientDesc: ::windows_sys::core::PWSTR,
pub bAllowedClientTypes: u8,
pub fOptionsPresent: u8,
}
impl ::core::marker::Copy for DHCP_IP_RESERVATION_INFO {}
impl ::core::clone::Clone for DHCP_IP_RESERVATION_INFO {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_IP_RESERVATION_V4 {
pub ReservedIpAddress: u32,
pub ReservedForClient: *mut DHCP_BINARY_DATA,
pub bAllowedClientTypes: u8,
}
impl ::core::marker::Copy for DHCP_IP_RESERVATION_V4 {}
impl ::core::clone::Clone for DHCP_IP_RESERVATION_V4 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_IP_RESERVATION_V6 {
pub ReservedIpAddress: DHCP_IPV6_ADDRESS,
pub ReservedForClient: *mut DHCP_BINARY_DATA,
pub InterfaceId: u32,
}
impl ::core::marker::Copy for DHCP_IP_RESERVATION_V6 {}
impl ::core::clone::Clone for DHCP_IP_RESERVATION_V6 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_MIB_INFO {
pub Discovers: u32,
pub Offers: u32,
pub Requests: u32,
pub Acks: u32,
pub Naks: u32,
pub Declines: u32,
pub Releases: u32,
pub ServerStartTime: DATE_TIME,
pub Scopes: u32,
pub ScopeInfo: *mut SCOPE_MIB_INFO,
}
impl ::core::marker::Copy for DHCP_MIB_INFO {}
impl ::core::clone::Clone for DHCP_MIB_INFO {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_MIB_INFO_V5 {
pub Discovers: u32,
pub Offers: u32,
pub Requests: u32,
pub Acks: u32,
pub Naks: u32,
pub Declines: u32,
pub Releases: u32,
pub ServerStartTime: DATE_TIME,
pub QtnNumLeases: u32,
pub QtnPctQtnLeases: u32,
pub QtnProbationLeases: u32,
pub QtnNonQtnLeases: u32,
pub QtnExemptLeases: u32,
pub QtnCapableClients: u32,
pub QtnIASErrors: u32,
pub DelayedOffers: u32,
pub ScopesWithDelayedOffers: u32,
pub Scopes: u32,
pub ScopeInfo: *mut SCOPE_MIB_INFO_V5,
}
impl ::core::marker::Copy for DHCP_MIB_INFO_V5 {}
impl ::core::clone::Clone for DHCP_MIB_INFO_V5 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_MIB_INFO_V6 {
pub Solicits: u32,
pub Advertises: u32,
pub Requests: u32,
pub Renews: u32,
pub Rebinds: u32,
pub Replies: u32,
pub Confirms: u32,
pub Declines: u32,
pub Releases: u32,
pub Informs: u32,
pub ServerStartTime: DATE_TIME,
pub Scopes: u32,
pub ScopeInfo: *mut SCOPE_MIB_INFO_V6,
}
impl ::core::marker::Copy for DHCP_MIB_INFO_V6 {}
impl ::core::clone::Clone for DHCP_MIB_INFO_V6 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_MIB_INFO_VQ {
pub Discovers: u32,
pub Offers: u32,
pub Requests: u32,
pub Acks: u32,
pub Naks: u32,
pub Declines: u32,
pub Releases: u32,
pub ServerStartTime: DATE_TIME,
pub QtnNumLeases: u32,
pub QtnPctQtnLeases: u32,
pub QtnProbationLeases: u32,
pub QtnNonQtnLeases: u32,
pub QtnExemptLeases: u32,
pub QtnCapableClients: u32,
pub QtnIASErrors: u32,
pub Scopes: u32,
pub ScopeInfo: *mut SCOPE_MIB_INFO_VQ,
}
impl ::core::marker::Copy for DHCP_MIB_INFO_VQ {}
impl ::core::clone::Clone for DHCP_MIB_INFO_VQ {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_OPTION {
pub OptionID: u32,
pub OptionName: ::windows_sys::core::PWSTR,
pub OptionComment: ::windows_sys::core::PWSTR,
pub DefaultValue: DHCP_OPTION_DATA,
pub OptionType: DHCP_OPTION_TYPE,
}
impl ::core::marker::Copy for DHCP_OPTION {}
impl ::core::clone::Clone for DHCP_OPTION {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_OPTION_ARRAY {
pub NumElements: u32,
pub Options: *mut DHCP_OPTION,
}
impl ::core::marker::Copy for DHCP_OPTION_ARRAY {}
impl ::core::clone::Clone for DHCP_OPTION_ARRAY {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_OPTION_DATA {
pub NumElements: u32,
pub Elements: *mut DHCP_OPTION_DATA_ELEMENT,
}
impl ::core::marker::Copy for DHCP_OPTION_DATA {}
impl ::core::clone::Clone for DHCP_OPTION_DATA {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_OPTION_DATA_ELEMENT {
pub OptionType: DHCP_OPTION_DATA_TYPE,
pub Element: DHCP_OPTION_DATA_ELEMENT_0,
}
impl ::core::marker::Copy for DHCP_OPTION_DATA_ELEMENT {}
impl ::core::clone::Clone for DHCP_OPTION_DATA_ELEMENT {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub union DHCP_OPTION_DATA_ELEMENT_0 {
pub ByteOption: u8,
pub WordOption: u16,
pub DWordOption: u32,
pub DWordDWordOption: DWORD_DWORD,
pub IpAddressOption: u32,
pub StringDataOption: ::windows_sys::core::PWSTR,
pub BinaryDataOption: DHCP_BINARY_DATA,
pub EncapsulatedDataOption: DHCP_BINARY_DATA,
pub Ipv6AddressDataOption: ::windows_sys::core::PWSTR,
}
impl ::core::marker::Copy for DHCP_OPTION_DATA_ELEMENT_0 {}
impl ::core::clone::Clone for DHCP_OPTION_DATA_ELEMENT_0 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_OPTION_LIST {
pub NumOptions: u32,
pub Options: *mut DHCP_OPTION_VALUE,
}
impl ::core::marker::Copy for DHCP_OPTION_LIST {}
impl ::core::clone::Clone for DHCP_OPTION_LIST {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_OPTION_SCOPE_INFO {
pub ScopeType: DHCP_OPTION_SCOPE_TYPE,
pub ScopeInfo: DHCP_OPTION_SCOPE_INFO_0,
}
impl ::core::marker::Copy for DHCP_OPTION_SCOPE_INFO {}
impl ::core::clone::Clone for DHCP_OPTION_SCOPE_INFO {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub union DHCP_OPTION_SCOPE_INFO_0 {
pub DefaultScopeInfo: *mut ::core::ffi::c_void,
pub GlobalScopeInfo: *mut ::core::ffi::c_void,
pub SubnetScopeInfo: u32,
pub ReservedScopeInfo: DHCP_RESERVED_SCOPE,
pub MScopeInfo: ::windows_sys::core::PWSTR,
}
impl ::core::marker::Copy for DHCP_OPTION_SCOPE_INFO_0 {}
impl ::core::clone::Clone for DHCP_OPTION_SCOPE_INFO_0 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_OPTION_SCOPE_INFO6 {
pub ScopeType: DHCP_OPTION_SCOPE_TYPE6,
pub ScopeInfo: DHCP_OPTION_SCOPE_INFO6_0,
}
impl ::core::marker::Copy for DHCP_OPTION_SCOPE_INFO6 {}
impl ::core::clone::Clone for DHCP_OPTION_SCOPE_INFO6 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub union DHCP_OPTION_SCOPE_INFO6_0 {
pub DefaultScopeInfo: *mut ::core::ffi::c_void,
pub SubnetScopeInfo: DHCP_IPV6_ADDRESS,
pub ReservedScopeInfo: DHCP_RESERVED_SCOPE6,
}
impl ::core::marker::Copy for DHCP_OPTION_SCOPE_INFO6_0 {}
impl ::core::clone::Clone for DHCP_OPTION_SCOPE_INFO6_0 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_OPTION_VALUE {
pub OptionID: u32,
pub Value: DHCP_OPTION_DATA,
}
impl ::core::marker::Copy for DHCP_OPTION_VALUE {}
impl ::core::clone::Clone for DHCP_OPTION_VALUE {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_OPTION_VALUE_ARRAY {
pub NumElements: u32,
pub Values: *mut DHCP_OPTION_VALUE,
}
impl ::core::marker::Copy for DHCP_OPTION_VALUE_ARRAY {}
impl ::core::clone::Clone for DHCP_OPTION_VALUE_ARRAY {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_PERF_STATS {
pub dwNumPacketsReceived: u32,
pub dwNumPacketsDuplicate: u32,
pub dwNumPacketsExpired: u32,
pub dwNumMilliSecondsProcessed: u32,
pub dwNumPacketsInActiveQueue: u32,
pub dwNumPacketsInPingQueue: u32,
pub dwNumDiscoversReceived: u32,
pub dwNumOffersSent: u32,
pub dwNumRequestsReceived: u32,
pub dwNumInformsReceived: u32,
pub dwNumAcksSent: u32,
pub dwNumNacksSent: u32,
pub dwNumDeclinesReceived: u32,
pub dwNumReleasesReceived: u32,
pub dwNumDelayedOfferInQueue: u32,
pub dwNumPacketsProcessed: u32,
pub dwNumPacketsInQuarWaitingQueue: u32,
pub dwNumPacketsInQuarReadyQueue: u32,
pub dwNumPacketsInQuarDecisionQueue: u32,
}
impl ::core::marker::Copy for DHCP_PERF_STATS {}
impl ::core::clone::Clone for DHCP_PERF_STATS {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_POLICY {
pub PolicyName: ::windows_sys::core::PWSTR,
pub IsGlobalPolicy: super::super::Foundation::BOOL,
pub Subnet: u32,
pub ProcessingOrder: u32,
pub Conditions: *mut DHCP_POL_COND_ARRAY,
pub Expressions: *mut DHCP_POL_EXPR_ARRAY,
pub Ranges: *mut DHCP_IP_RANGE_ARRAY,
pub Description: ::windows_sys::core::PWSTR,
pub Enabled: super::super::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_POLICY {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_POLICY {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_POLICY_ARRAY {
pub NumElements: u32,
pub Elements: *mut DHCP_POLICY,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_POLICY_ARRAY {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_POLICY_ARRAY {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_POLICY_EX {
pub PolicyName: ::windows_sys::core::PWSTR,
pub IsGlobalPolicy: super::super::Foundation::BOOL,
pub Subnet: u32,
pub ProcessingOrder: u32,
pub Conditions: *mut DHCP_POL_COND_ARRAY,
pub Expressions: *mut DHCP_POL_EXPR_ARRAY,
pub Ranges: *mut DHCP_IP_RANGE_ARRAY,
pub Description: ::windows_sys::core::PWSTR,
pub Enabled: super::super::Foundation::BOOL,
pub Properties: *mut DHCP_PROPERTY_ARRAY,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_POLICY_EX {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_POLICY_EX {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_POLICY_EX_ARRAY {
pub NumElements: u32,
pub Elements: *mut DHCP_POLICY_EX,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_POLICY_EX_ARRAY {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_POLICY_EX_ARRAY {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_POL_COND {
pub ParentExpr: u32,
pub Type: DHCP_POL_ATTR_TYPE,
pub OptionID: u32,
pub SubOptionID: u32,
pub VendorName: ::windows_sys::core::PWSTR,
pub Operator: DHCP_POL_COMPARATOR,
pub Value: *mut u8,
pub ValueLength: u32,
}
impl ::core::marker::Copy for DHCP_POL_COND {}
impl ::core::clone::Clone for DHCP_POL_COND {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_POL_COND_ARRAY {
pub NumElements: u32,
pub Elements: *mut DHCP_POL_COND,
}
impl ::core::marker::Copy for DHCP_POL_COND_ARRAY {}
impl ::core::clone::Clone for DHCP_POL_COND_ARRAY {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_POL_EXPR {
pub ParentExpr: u32,
pub Operator: DHCP_POL_LOGIC_OPER,
}
impl ::core::marker::Copy for DHCP_POL_EXPR {}
impl ::core::clone::Clone for DHCP_POL_EXPR {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_POL_EXPR_ARRAY {
pub NumElements: u32,
pub Elements: *mut DHCP_POL_EXPR,
}
impl ::core::marker::Copy for DHCP_POL_EXPR_ARRAY {}
impl ::core::clone::Clone for DHCP_POL_EXPR_ARRAY {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_PROPERTY {
pub ID: DHCP_PROPERTY_ID,
pub Type: DHCP_PROPERTY_TYPE,
pub Value: DHCP_PROPERTY_0,
}
impl ::core::marker::Copy for DHCP_PROPERTY {}
impl ::core::clone::Clone for DHCP_PROPERTY {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub union DHCP_PROPERTY_0 {
pub ByteValue: u8,
pub WordValue: u16,
pub DWordValue: u32,
pub StringValue: ::windows_sys::core::PWSTR,
pub BinaryValue: DHCP_BINARY_DATA,
}
impl ::core::marker::Copy for DHCP_PROPERTY_0 {}
impl ::core::clone::Clone for DHCP_PROPERTY_0 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_PROPERTY_ARRAY {
pub NumElements: u32,
pub Elements: *mut DHCP_PROPERTY,
}
impl ::core::marker::Copy for DHCP_PROPERTY_ARRAY {}
impl ::core::clone::Clone for DHCP_PROPERTY_ARRAY {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_RESERVATION_INFO_ARRAY {
pub NumElements: u32,
pub Elements: *mut *mut DHCP_IP_RESERVATION_INFO,
}
impl ::core::marker::Copy for DHCP_RESERVATION_INFO_ARRAY {}
impl ::core::clone::Clone for DHCP_RESERVATION_INFO_ARRAY {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_RESERVED_SCOPE {
pub ReservedIpAddress: u32,
pub ReservedIpSubnetAddress: u32,
}
impl ::core::marker::Copy for DHCP_RESERVED_SCOPE {}
impl ::core::clone::Clone for DHCP_RESERVED_SCOPE {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_RESERVED_SCOPE6 {
pub ReservedIpAddress: DHCP_IPV6_ADDRESS,
pub ReservedIpSubnetAddress: DHCP_IPV6_ADDRESS,
}
impl ::core::marker::Copy for DHCP_RESERVED_SCOPE6 {}
impl ::core::clone::Clone for DHCP_RESERVED_SCOPE6 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_SCAN_ITEM {
pub IpAddress: u32,
pub ScanFlag: DHCP_SCAN_FLAG,
}
impl ::core::marker::Copy for DHCP_SCAN_ITEM {}
impl ::core::clone::Clone for DHCP_SCAN_ITEM {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_SCAN_LIST {
pub NumScanItems: u32,
pub ScanItems: *mut DHCP_SCAN_ITEM,
}
impl ::core::marker::Copy for DHCP_SCAN_LIST {}
impl ::core::clone::Clone for DHCP_SCAN_LIST {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_SEARCH_INFO {
pub SearchType: DHCP_SEARCH_INFO_TYPE,
pub SearchInfo: DHCP_SEARCH_INFO_0,
}
impl ::core::marker::Copy for DHCP_SEARCH_INFO {}
impl ::core::clone::Clone for DHCP_SEARCH_INFO {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub union DHCP_SEARCH_INFO_0 {
pub ClientIpAddress: u32,
pub ClientHardwareAddress: DHCP_BINARY_DATA,
pub ClientName: ::windows_sys::core::PWSTR,
}
impl ::core::marker::Copy for DHCP_SEARCH_INFO_0 {}
impl ::core::clone::Clone for DHCP_SEARCH_INFO_0 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_SEARCH_INFO_V6 {
pub SearchType: DHCP_SEARCH_INFO_TYPE_V6,
pub SearchInfo: DHCP_SEARCH_INFO_V6_0,
}
impl ::core::marker::Copy for DHCP_SEARCH_INFO_V6 {}
impl ::core::clone::Clone for DHCP_SEARCH_INFO_V6 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub union DHCP_SEARCH_INFO_V6_0 {
pub ClientIpAddress: DHCP_IPV6_ADDRESS,
pub ClientDUID: DHCP_BINARY_DATA,
pub ClientName: ::windows_sys::core::PWSTR,
}
impl ::core::marker::Copy for DHCP_SEARCH_INFO_V6_0 {}
impl ::core::clone::Clone for DHCP_SEARCH_INFO_V6_0 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_SERVER_CONFIG_INFO {
pub APIProtocolSupport: u32,
pub DatabaseName: ::windows_sys::core::PWSTR,
pub DatabasePath: ::windows_sys::core::PWSTR,
pub BackupPath: ::windows_sys::core::PWSTR,
pub BackupInterval: u32,
pub DatabaseLoggingFlag: u32,
pub RestoreFlag: u32,
pub DatabaseCleanupInterval: u32,
pub DebugFlag: u32,
}
impl ::core::marker::Copy for DHCP_SERVER_CONFIG_INFO {}
impl ::core::clone::Clone for DHCP_SERVER_CONFIG_INFO {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_SERVER_CONFIG_INFO_V4 {
pub APIProtocolSupport: u32,
pub DatabaseName: ::windows_sys::core::PWSTR,
pub DatabasePath: ::windows_sys::core::PWSTR,
pub BackupPath: ::windows_sys::core::PWSTR,
pub BackupInterval: u32,
pub DatabaseLoggingFlag: u32,
pub RestoreFlag: u32,
pub DatabaseCleanupInterval: u32,
pub DebugFlag: u32,
pub dwPingRetries: u32,
pub cbBootTableString: u32,
pub wszBootTableString: ::windows_sys::core::PWSTR,
pub fAuditLog: super::super::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_SERVER_CONFIG_INFO_V4 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_SERVER_CONFIG_INFO_V4 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_SERVER_CONFIG_INFO_V6 {
pub UnicastFlag: super::super::Foundation::BOOL,
pub RapidCommitFlag: super::super::Foundation::BOOL,
pub PreferredLifetime: u32,
pub ValidLifetime: u32,
pub T1: u32,
pub T2: u32,
pub PreferredLifetimeIATA: u32,
pub ValidLifetimeIATA: u32,
pub fAuditLog: super::super::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_SERVER_CONFIG_INFO_V6 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_SERVER_CONFIG_INFO_V6 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_SERVER_CONFIG_INFO_VQ {
pub APIProtocolSupport: u32,
pub DatabaseName: ::windows_sys::core::PWSTR,
pub DatabasePath: ::windows_sys::core::PWSTR,
pub BackupPath: ::windows_sys::core::PWSTR,
pub BackupInterval: u32,
pub DatabaseLoggingFlag: u32,
pub RestoreFlag: u32,
pub DatabaseCleanupInterval: u32,
pub DebugFlag: u32,
pub dwPingRetries: u32,
pub cbBootTableString: u32,
pub wszBootTableString: ::windows_sys::core::PWSTR,
pub fAuditLog: super::super::Foundation::BOOL,
pub QuarantineOn: super::super::Foundation::BOOL,
pub QuarDefFail: u32,
pub QuarRuntimeStatus: super::super::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_SERVER_CONFIG_INFO_VQ {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_SERVER_CONFIG_INFO_VQ {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DHCP_SERVER_OPTIONS {
pub MessageType: *mut u8,
pub SubnetMask: *mut u32,
pub RequestedAddress: *mut u32,
pub RequestLeaseTime: *mut u32,
pub OverlayFields: *mut u8,
pub RouterAddress: *mut u32,
pub Server: *mut u32,
pub ParameterRequestList: *mut u8,
pub ParameterRequestListLength: u32,
pub MachineName: ::windows_sys::core::PSTR,
pub MachineNameLength: u32,
pub ClientHardwareAddressType: u8,
pub ClientHardwareAddressLength: u8,
pub ClientHardwareAddress: *mut u8,
pub ClassIdentifier: ::windows_sys::core::PSTR,
pub ClassIdentifierLength: u32,
pub VendorClass: *mut u8,
pub VendorClassLength: u32,
pub DNSFlags: u32,
pub DNSNameLength: u32,
pub DNSName: *mut u8,
pub DSDomainNameRequested: super::super::Foundation::BOOLEAN,
pub DSDomainName: ::windows_sys::core::PSTR,
pub DSDomainNameLen: u32,
pub ScopeId: *mut u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DHCP_SERVER_OPTIONS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DHCP_SERVER_OPTIONS {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_SERVER_SPECIFIC_STRINGS {
pub DefaultVendorClassName: ::windows_sys::core::PWSTR,
pub DefaultUserClassName: ::windows_sys::core::PWSTR,
}
impl ::core::marker::Copy for DHCP_SERVER_SPECIFIC_STRINGS {}
impl ::core::clone::Clone for DHCP_SERVER_SPECIFIC_STRINGS {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_SUBNET_ELEMENT_DATA {
pub ElementType: DHCP_SUBNET_ELEMENT_TYPE,
pub Element: DHCP_SUBNET_ELEMENT_DATA_0,
}
impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_DATA {}
impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_DATA {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub union DHCP_SUBNET_ELEMENT_DATA_0 {
pub IpRange: *mut DHCP_IP_RANGE,
pub SecondaryHost: *mut DHCP_HOST_INFO,
pub ReservedIp: *mut DHCP_IP_RESERVATION,
pub ExcludeIpRange: *mut DHCP_IP_RANGE,
pub IpUsedCluster: *mut DHCP_IP_CLUSTER,
}
impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_DATA_0 {}
impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_DATA_0 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_SUBNET_ELEMENT_DATA_V4 {
pub ElementType: DHCP_SUBNET_ELEMENT_TYPE,
pub Element: DHCP_SUBNET_ELEMENT_DATA_V4_0,
}
impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_DATA_V4 {}
impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_DATA_V4 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub union DHCP_SUBNET_ELEMENT_DATA_V4_0 {
pub IpRange: *mut DHCP_IP_RANGE,
pub SecondaryHost: *mut DHCP_HOST_INFO,
pub ReservedIp: *mut DHCP_IP_RESERVATION_V4,
pub ExcludeIpRange: *mut DHCP_IP_RANGE,
pub IpUsedCluster: *mut DHCP_IP_CLUSTER,
}
impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_DATA_V4_0 {}
impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_DATA_V4_0 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_SUBNET_ELEMENT_DATA_V5 {
pub ElementType: DHCP_SUBNET_ELEMENT_TYPE,
pub Element: DHCP_SUBNET_ELEMENT_DATA_V5_0,
}
impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_DATA_V5 {}
impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_DATA_V5 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub union DHCP_SUBNET_ELEMENT_DATA_V5_0 {
pub IpRange: *mut DHCP_BOOTP_IP_RANGE,
pub SecondaryHost: *mut DHCP_HOST_INFO,
pub ReservedIp: *mut DHCP_IP_RESERVATION_V4,
pub ExcludeIpRange: *mut DHCP_IP_RANGE,
pub IpUsedCluster: *mut DHCP_IP_CLUSTER,
}
impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_DATA_V5_0 {}
impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_DATA_V5_0 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_SUBNET_ELEMENT_DATA_V6 {
pub ElementType: DHCP_SUBNET_ELEMENT_TYPE_V6,
pub Element: DHCP_SUBNET_ELEMENT_DATA_V6_0,
}
impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_DATA_V6 {}
impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_DATA_V6 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub union DHCP_SUBNET_ELEMENT_DATA_V6_0 {
pub IpRange: *mut DHCP_IP_RANGE_V6,
pub ReservedIp: *mut DHCP_IP_RESERVATION_V6,
pub ExcludeIpRange: *mut DHCP_IP_RANGE_V6,
}
impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_DATA_V6_0 {}
impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_DATA_V6_0 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_SUBNET_ELEMENT_INFO_ARRAY {
pub NumElements: u32,
pub Elements: *mut DHCP_SUBNET_ELEMENT_DATA,
}
impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_INFO_ARRAY {}
impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_INFO_ARRAY {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_SUBNET_ELEMENT_INFO_ARRAY_V4 {
pub NumElements: u32,
pub Elements: *mut DHCP_SUBNET_ELEMENT_DATA_V4,
}
impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_INFO_ARRAY_V4 {}
impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_INFO_ARRAY_V4 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_SUBNET_ELEMENT_INFO_ARRAY_V5 {
pub NumElements: u32,
pub Elements: *mut DHCP_SUBNET_ELEMENT_DATA_V5,
}
impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_INFO_ARRAY_V5 {}
impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_INFO_ARRAY_V5 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_SUBNET_ELEMENT_INFO_ARRAY_V6 {
pub NumElements: u32,
pub Elements: *mut DHCP_SUBNET_ELEMENT_DATA_V6,
}
impl ::core::marker::Copy for DHCP_SUBNET_ELEMENT_INFO_ARRAY_V6 {}
impl ::core::clone::Clone for DHCP_SUBNET_ELEMENT_INFO_ARRAY_V6 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_SUBNET_INFO {
pub SubnetAddress: u32,
pub SubnetMask: u32,
pub SubnetName: ::windows_sys::core::PWSTR,
pub SubnetComment: ::windows_sys::core::PWSTR,
pub PrimaryHost: DHCP_HOST_INFO,
pub SubnetState: DHCP_SUBNET_STATE,
}
impl ::core::marker::Copy for DHCP_SUBNET_INFO {}
impl ::core::clone::Clone for DHCP_SUBNET_INFO {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_SUBNET_INFO_V6 {
pub SubnetAddress: DHCP_IPV6_ADDRESS,
pub Prefix: u32,
pub Preference: u16,
pub SubnetName: ::windows_sys::core::PWSTR,
pub SubnetComment: ::windows_sys::core::PWSTR,
pub State: u32,
pub ScopeId: u32,
}
impl ::core::marker::Copy for DHCP_SUBNET_INFO_V6 {}
impl ::core::clone::Clone for DHCP_SUBNET_INFO_V6 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_SUBNET_INFO_VQ {
pub SubnetAddress: u32,
pub SubnetMask: u32,
pub SubnetName: ::windows_sys::core::PWSTR,
pub SubnetComment: ::windows_sys::core::PWSTR,
pub PrimaryHost: DHCP_HOST_INFO,
pub SubnetState: DHCP_SUBNET_STATE,
pub QuarantineOn: u32,
pub Reserved1: u32,
pub Reserved2: u32,
pub Reserved3: i64,
pub Reserved4: i64,
}
impl ::core::marker::Copy for DHCP_SUBNET_INFO_VQ {}
impl ::core::clone::Clone for DHCP_SUBNET_INFO_VQ {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_SUPER_SCOPE_TABLE {
pub cEntries: u32,
pub pEntries: *mut DHCP_SUPER_SCOPE_TABLE_ENTRY,
}
impl ::core::marker::Copy for DHCP_SUPER_SCOPE_TABLE {}
impl ::core::clone::Clone for DHCP_SUPER_SCOPE_TABLE {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DHCP_SUPER_SCOPE_TABLE_ENTRY {
pub SubnetAddress: u32,
pub SuperScopeNumber: u32,
pub NextInSuperScope: u32,
pub SuperScopeName: ::windows_sys::core::PWSTR,
}
impl ::core::marker::Copy for DHCP_SUPER_SCOPE_TABLE_ENTRY {}
impl ::core::clone::Clone for DHCP_SUPER_SCOPE_TABLE_ENTRY {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct DWORD_DWORD {
pub DWord1: u32,
pub DWord2: u32,
}
impl ::core::marker::Copy for DWORD_DWORD {}
impl ::core::clone::Clone for DWORD_DWORD {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct SCOPE_MIB_INFO {
pub Subnet: u32,
pub NumAddressesInuse: u32,
pub NumAddressesFree: u32,
pub NumPendingOffers: u32,
}
impl ::core::marker::Copy for SCOPE_MIB_INFO {}
impl ::core::clone::Clone for SCOPE_MIB_INFO {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct SCOPE_MIB_INFO_V5 {
pub Subnet: u32,
pub NumAddressesInuse: u32,
pub NumAddressesFree: u32,
pub NumPendingOffers: u32,
}
impl ::core::marker::Copy for SCOPE_MIB_INFO_V5 {}
impl ::core::clone::Clone for SCOPE_MIB_INFO_V5 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct SCOPE_MIB_INFO_V6 {
pub Subnet: DHCP_IPV6_ADDRESS,
pub NumAddressesInuse: u64,
pub NumAddressesFree: u64,
pub NumPendingAdvertises: u64,
}
impl ::core::marker::Copy for SCOPE_MIB_INFO_V6 {}
impl ::core::clone::Clone for SCOPE_MIB_INFO_V6 {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct SCOPE_MIB_INFO_VQ {
pub Subnet: u32,
pub NumAddressesInuse: u32,
pub NumAddressesFree: u32,
pub NumPendingOffers: u32,
pub QtnNumLeases: u32,
pub QtnPctQtnLeases: u32,
pub QtnProbationLeases: u32,
pub QtnNonQtnLeases: u32,
pub QtnExemptLeases: u32,
pub QtnCapableClients: u32,
}
impl ::core::marker::Copy for SCOPE_MIB_INFO_VQ {}
impl ::core::clone::Clone for SCOPE_MIB_INFO_VQ {
fn clone(&self) -> Self {
*self
}
}
pub type LPDHCP_CONTROL = ::core::option::Option<unsafe extern "system" fn(dwcontrolcode: u32, lpreserved: *mut ::core::ffi::c_void) -> u32>;
pub type LPDHCP_DELETE_CLIENT = ::core::option::Option<unsafe extern "system" fn(ipaddress: u32, hwaddress: *mut u8, hwaddresslength: u32, reserved: u32, clienttype: u32) -> u32>;
pub type LPDHCP_DROP_SEND = ::core::option::Option<unsafe extern "system" fn(packet: *mut *mut u8, packetsize: *mut u32, controlcode: u32, ipaddress: u32, reserved: *mut ::core::ffi::c_void, pktcontext: *mut ::core::ffi::c_void) -> u32>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type LPDHCP_ENTRY_POINT_FUNC = ::core::option::Option<unsafe extern "system" fn(chaindlls: ::windows_sys::core::PCWSTR, calloutversion: u32, callouttbl: *mut DHCP_CALLOUT_TABLE) -> u32>;
pub type LPDHCP_GIVE_ADDRESS = ::core::option::Option<unsafe extern "system" fn(packet: *mut u8, packetsize: u32, controlcode: u32, ipaddress: u32, altaddress: u32, addrtype: u32, leasetime: u32, reserved: *mut ::core::ffi::c_void, pktcontext: *mut ::core::ffi::c_void) -> u32>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type LPDHCP_HANDLE_OPTIONS = ::core::option::Option<unsafe extern "system" fn(packet: *mut u8, packetsize: u32, reserved: *mut ::core::ffi::c_void, pktcontext: *mut ::core::ffi::c_void, serveroptions: *mut DHCP_SERVER_OPTIONS) -> u32>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type LPDHCP_NEWPKT = ::core::option::Option<unsafe extern "system" fn(packet: *mut *mut u8, packetsize: *mut u32, ipaddress: u32, reserved: *mut ::core::ffi::c_void, pktcontext: *mut *mut ::core::ffi::c_void, processit: *mut super::super::Foundation::BOOL) -> u32>;
pub type LPDHCP_PROB = ::core::option::Option<unsafe extern "system" fn(packet: *mut u8, packetsize: u32, controlcode: u32, ipaddress: u32, altaddress: u32, reserved: *mut ::core::ffi::c_void, pktcontext: *mut ::core::ffi::c_void) -> u32>;
|