This file is indexed.

/usr/include/wine/windows/iads.h is in libwine-dev 3.0-1ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   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
/*** Autogenerated by WIDL 3.0 from iads.idl - Do not edit ***/

#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif

#include <rpc.h>
#include <rpcndr.h>

#ifndef COM_NO_WINDOWS_H
#include <windows.h>
#include <ole2.h>
#endif

#ifndef __iads_h__
#define __iads_h__

/* Forward declarations */

#ifndef __IADsContainer_FWD_DEFINED__
#define __IADsContainer_FWD_DEFINED__
typedef interface IADsContainer IADsContainer;
#ifdef __cplusplus
interface IADsContainer;
#endif /* __cplusplus */
#endif

#ifndef __IADs_FWD_DEFINED__
#define __IADs_FWD_DEFINED__
typedef interface IADs IADs;
#ifdef __cplusplus
interface IADs;
#endif /* __cplusplus */
#endif

#ifndef __IADsMembers_FWD_DEFINED__
#define __IADsMembers_FWD_DEFINED__
typedef interface IADsMembers IADsMembers;
#ifdef __cplusplus
interface IADsMembers;
#endif /* __cplusplus */
#endif

#ifndef __IADsGroup_FWD_DEFINED__
#define __IADsGroup_FWD_DEFINED__
typedef interface IADsGroup IADsGroup;
#ifdef __cplusplus
interface IADsGroup;
#endif /* __cplusplus */
#endif

#ifndef __IADsUser_FWD_DEFINED__
#define __IADsUser_FWD_DEFINED__
typedef interface IADsUser IADsUser;
#ifdef __cplusplus
interface IADsUser;
#endif /* __cplusplus */
#endif

#ifndef __IDirectorySearch_FWD_DEFINED__
#define __IDirectorySearch_FWD_DEFINED__
typedef interface IDirectorySearch IDirectorySearch;
#ifdef __cplusplus
interface IDirectorySearch;
#endif /* __cplusplus */
#endif

/* Headers for imported files */

#include <oaidl.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef enum __WIDL_iads_generated_name_00000002 {
    ADS_RIGHT_DS_CREATE_CHILD = 0x1,
    ADS_RIGHT_DS_DELETE_CHILD = 0x2,
    ADS_RIGHT_ACTRL_DS_LIST = 0x4,
    ADS_RIGHT_DS_SELF = 0x8,
    ADS_RIGHT_DS_READ_PROP = 0x10,
    ADS_RIGHT_DS_WRITE_PROP = 0x20,
    ADS_RIGHT_DS_DELETE_TREE = 0x40,
    ADS_RIGHT_DS_LIST_OBJECT = 0x80,
    ADS_RIGHT_DS_CONTROL_ACCESS = 0x100,
    ADS_RIGHT_DELETE = 0x10000,
    ADS_RIGHT_READ_CONTROL = 0x20000,
    ADS_RIGHT_WRITE_DAC = 0x40000,
    ADS_RIGHT_WRITE_OWNER = 0x80000,
    ADS_RIGHT_SYNCHRONIZE = 0x100000,
    ADS_RIGHT_ACCESS_SYSTEM_SECURITY = 0x200000,
    ADS_RIGHT_GENERIC_ALL = 0x10000000,
    ADS_RIGHT_GENERIC_EXECUTE = 0x20000000,
    ADS_RIGHT_GENERIC_WRITE = 0x40000000,
    ADS_RIGHT_GENERIC_READ = 0x80000000
} ADS_RIGHTS_ENUM;
typedef enum __WIDL_iads_generated_name_00000003 {
    ADS_SECURE_AUTHENTICATION = 0x1,
    ADS_USE_ENCRYPTION = 0x2,
    ADS_USE_SSL = 0x2,
    ADS_READONLY_SERVER = 0x4,
    ADS_PROMPT_CREDENTIALS = 0x8,
    ADS_NO_AUTHENTICATION = 0x10,
    ADS_FAST_BIND = 0x20,
    ADS_USE_SIGNING = 0x40,
    ADS_USE_SEALING = 0x80,
    ADS_USE_DELEGATION = 0x100,
    ADS_SERVER_BIND = 0x200,
    ADS_NO_REFERRAL_CHASING = 0x400,
    ADS_AUTH_RESERVED = 0x80000000
} ADS_AUTHENTICATION_ENUM;
typedef enum __WIDL_iads_generated_name_00000004 {
    ADS_SEARCHPREF_ASYNCHRONOUS = 0,
    ADS_SEARCHPREF_DEREF_ALIASES = 1,
    ADS_SEARCHPREF_SIZE_LIMIT = 2,
    ADS_SEARCHPREF_TIME_LIMIT = 3,
    ADS_SEARCHPREF_ATTRIBTYPES_ONLY = 4,
    ADS_SEARCHPREF_SEARCH_SCOPE = 5,
    ADS_SEARCHPREF_TIMEOUT = 6,
    ADS_SEARCHPREF_PAGESIZE = 7,
    ADS_SEARCHPREF_PAGED_TIME_LIMIT = 8,
    ADS_SEARCHPREF_CHASE_REFERRALS = 9,
    ADS_SEARCHPREF_SORT_ON = 10,
    ADS_SEARCHPREF_CACHE_RESULTS = 11,
    ADS_SEARCHPREF_DIRSYNC = 12,
    ADS_SEARCHPREF_TOMBSTONE = 13,
    ADS_SEARCHPREF_VLV = 14,
    ADS_SEARCHPREF_ATTRIBUTE_QUERY = 15,
    ADS_SEARCHPREF_SECURITY_MASK = 16,
    ADS_SEARCHPREF_DIRSYNC_FLAG = 17,
    ADS_SEARCHPREF_EXTENDED_DN = 18
} ADS_SEARCHPREF_ENUM;
typedef ADS_SEARCHPREF_ENUM *PADS_SEARCHPREF_INFO;
typedef enum __WIDL_iads_generated_name_00000005 {
    ADS_STATUS_S_OK = 0,
    ADS_STATUS_INVALID_SEARCHPREF = 1,
    ADS_STATUS_INVALID_SEARCHPREFVALUE = 2
} ADS_STATUSENUM;
typedef enum __WIDL_iads_generated_name_00000006 {
    ADSTYPE_INVALID = 0,
    ADSTYPE_DN_STRING = 1,
    ADSTYPE_CASE_EXACT_STRING = 2,
    ADSTYPE_CASE_IGNORE_STRING = 3,
    ADSTYPE_PRINTABLE_STRING = 4,
    ADSTYPE_NUMERIC_STRING = 5,
    ADSTYPE_BOOLEAN = 6,
    ADSTYPE_INTEGER = 7,
    ADSTYPE_OCTET_STRING = 8,
    ADSTYPE_UTC_TIME = 9,
    ADSTYPE_LARGE_INTEGER = 10,
    ADSTYPE_PROV_SPECIFIC = 11,
    ADSTYPE_OBJECT_CLASS = 12,
    ADSTYPE_CASEIGNORE_LIST = 13,
    ADSTYPE_OCTET_LIST = 14,
    ADSTYPE_PATH = 15,
    ADSTYPE_POSTALADDRESS = 16,
    ADSTYPE_TIMESTAMP = 17,
    ADSTYPE_BACKLINK = 18,
    ADSTYPE_TYPEDNAME = 19,
    ADSTYPE_HOLD = 20,
    ADSTYPE_NETADDRESS = 21,
    ADSTYPE_REPLICAPOINTER = 22,
    ADSTYPE_FAXNUMBER = 23,
    ADSTYPE_EMAIL = 24,
    ADSTYPE_NT_SECURITY_DESCRIPTOR = 25,
    ADSTYPE_UNKNOWN = 26,
    ADSTYPE_DN_WITH_BINARY = 27,
    ADSTYPE_DN_WITH_STRING = 28
} ADSTYPEENUM;
typedef enum __WIDL_iads_generated_name_00000007 {
    ADS_PASSWORD_ENCODE_REQUIRE_SSL = 0,
    ADS_PASSWORD_ENCODE_CLEAR = 1
} ADS_PASSWORD_ENCODING_ENUM;
typedef struct _ADS_CASEIGNORE_LIST {
    struct _ADS_CASEIGNORE_LIST *Next;
    LPWSTR String;
} ADS_CASEIGNORE_LIST;
typedef struct _ADS_OCTET_LIST {
    struct _ADS_OCTET_LIST *Next;
    DWORD Length;
    BYTE *Data;
} ADS_OCTET_LIST;
typedef struct __WIDL_iads_generated_name_00000008 {
    DWORD Type;
    LPWSTR VolumeName;
    LPWSTR Path;
} ADS_PATH;
typedef struct __WIDL_iads_generated_name_00000008 *PADS_PATH;
typedef struct __WIDL_iads_generated_name_00000009 {
    DWORD WholeSeconds;
    DWORD EventID;
} ADS_TIMESTAMP;
typedef ADSTYPEENUM ADSTYPE;
typedef LPWSTR ADS_DN_STRING;
typedef LPWSTR *PADS_DN_STRING;
typedef LPWSTR ADS_CASE_EXACT_STRING;
typedef LPWSTR *PADS_CASE_EXACT_STRING;
typedef LPWSTR ADS_CASE_IGNORE_STRING;
typedef LPWSTR *PADS_CASE_IGNORE_STRING;
typedef LPWSTR ADS_PRINTABLE_STRING;
typedef LPWSTR *PADS_PRINTABLE_STRING;
typedef LPWSTR ADS_NUMERIC_STRING;
typedef LPWSTR *PADS_NUMERIC_STRING;
typedef DWORD ADS_BOOLEAN;
typedef DWORD *LPNDS_BOOLEAN;
typedef DWORD ADS_INTEGER;
typedef DWORD *PADS_INTEGER;
typedef SYSTEMTIME ADS_UTC_TIME;
typedef SYSTEMTIME *PADS_UTC_TIME;
typedef LARGE_INTEGER ADS_LARGE_INTEGER;
typedef LARGE_INTEGER *PADS_LARGE_INTEGER;
typedef LPWSTR ADS_OBJECT_CLASS;
typedef LPWSTR *PADS_OBJECT_CLASS;
typedef struct _ADS_OCTET_LIST *PADS_OCTET_LIST;
typedef struct _ADS_CASEIGNORE_LIST *PADS_CASEIGNORE_LIST;
typedef ADS_STATUSENUM ADS_STATUS;
typedef ADS_SEARCHPREF_ENUM ADS_SEARCHPREF;
typedef HANDLE ADS_SEARCH_HANDLE;
typedef HANDLE *PADS_SEARCH_HANDLE;
typedef struct __WIDL_iads_generated_name_0000000A {
    DWORD dwLength;
    BYTE *lpValue;
} ADS_OCTET_STRING;
typedef struct __WIDL_iads_generated_name_0000000B {
    DWORD dwLength;
    BYTE *lpValue;
} ADS_PROV_SPECIFIC;
typedef struct __WIDL_iads_generated_name_0000000C {
    LPWSTR PostalAddress[6];
} ADS_POSTALADDRESS;
typedef struct __WIDL_iads_generated_name_0000000C *PADS_POSTALADDRESS;
typedef struct __WIDL_iads_generated_name_0000000D {
    LPWSTR ObjectName;
    DWORD Level;
    DWORD Interval;
} ADS_TYPEDNAME;
typedef struct __WIDL_iads_generated_name_0000000D *PADS_TYPEDNAME;
typedef struct __WIDL_iads_generated_name_0000000E {
    DWORD RemoteID;
    LPWSTR ObjectName;
} ADS_BACKLINK;
typedef struct __WIDL_iads_generated_name_0000000F {
    LPWSTR ObjectName;
    DWORD Amount;
} ADS_HOLD;
typedef struct __WIDL_iads_generated_name_00000010 {
    DWORD AddressType;
    DWORD AddressLength;
    BYTE *Address;
} ADS_NETADDRESS;
typedef struct __WIDL_iads_generated_name_00000010 *PADS_NETADDRESS;
typedef struct __WIDL_iads_generated_name_00000011 {
    LPWSTR ServerName;
    DWORD ReplicaType;
    DWORD ReplicaNumber;
    DWORD Count;
    PADS_NETADDRESS ReplicaAddressHints;
} ADS_REPLICAPOINTER;
typedef struct __WIDL_iads_generated_name_00000011 *PADS_REPLICAPOINTER;
typedef struct __WIDL_iads_generated_name_00000012 {
    LPWSTR TelephoneNumber;
    DWORD NumberOfBits;
    BYTE *Parameters;
} ADS_FAXNUMBER;
typedef struct __WIDL_iads_generated_name_00000012 *PADS_FAXNUMBER;
typedef struct __WIDL_iads_generated_name_00000013 {
    LPWSTR Address;
    DWORD Type;
} ADS_EMAIL;
typedef struct __WIDL_iads_generated_name_00000013 *PADS_EMAIL;
typedef struct __WIDL_iads_generated_name_00000014 {
    DWORD dwLength;
    BYTE *lpValue;
} ADS_NT_SECURITY_DESCRIPTOR;
typedef struct __WIDL_iads_generated_name_00000015 {
    DWORD dwLength;
    BYTE *lpBinaryValue;
    LPWSTR pszDNString;
} ADS_DN_WITH_BINARY;
typedef struct __WIDL_iads_generated_name_00000015 *PADS_DN_WITH_BINARY;
typedef struct __WIDL_iads_generated_name_00000016 {
    LPWSTR pszStringValue;
    LPWSTR pszDNString;
} ADS_DN_WITH_STRING;
typedef struct __WIDL_iads_generated_name_00000016 *PADS_DN_WITH_STRING;
typedef struct _adsvalue {
    ADSTYPE dwType;
    __C89_NAMELESS union {
        ADS_DN_STRING DNString;
        ADS_CASE_EXACT_STRING CaseExactString;
        ADS_CASE_IGNORE_STRING CaseIgnoreString;
        ADS_PRINTABLE_STRING PrintableString;
        ADS_NUMERIC_STRING NumericString;
        ADS_BOOLEAN Boolean;
        ADS_INTEGER Integer;
        ADS_OCTET_STRING OctetString;
        ADS_UTC_TIME UTCTime;
        ADS_LARGE_INTEGER LargeInteger;
        ADS_OBJECT_CLASS ClassName;
        ADS_PROV_SPECIFIC ProviderSpecific;
        PADS_CASEIGNORE_LIST pCaseIgnoreList;
        PADS_OCTET_LIST pOctetList;
        PADS_PATH pPath;
        PADS_POSTALADDRESS pPostalAddress;
        ADS_TIMESTAMP Timestamp;
        ADS_BACKLINK BackLink;
        PADS_TYPEDNAME pTypedName;
        ADS_HOLD Hold;
        PADS_NETADDRESS pNetAddress;
        PADS_REPLICAPOINTER pReplicaPointer;
        PADS_FAXNUMBER pFaxNumber;
        ADS_EMAIL Email;
        ADS_NT_SECURITY_DESCRIPTOR SecurityDescriptor;
        PADS_DN_WITH_BINARY pDNWithBinary;
        PADS_DN_WITH_STRING pDNWithString;
    } __C89_NAMELESSUNIONNAME;
} ADSVALUE;
typedef struct _adsvalue *PADSVALUE;
typedef struct ads_searchpref_info {
    ADS_SEARCHPREF dwSearchPref;
    ADSVALUE vValue;
    ADS_STATUS dwStatus;
} ADS_SEARCHPREF_INFO;
typedef struct ads_search_column {
    LPWSTR pszAttrName;
    ADSTYPE dwADsType;
    PADSVALUE pADsValues;
    DWORD dwNumValues;
    HANDLE hReserved;
} ADS_SEARCH_COLUMN;
typedef struct ads_search_column *PADS_SEARCH_COLUMN;
/*****************************************************************************
 * IADsContainer interface
 */
#ifndef __IADsContainer_INTERFACE_DEFINED__
#define __IADsContainer_INTERFACE_DEFINED__

DEFINE_GUID(IID_IADsContainer, 0x001677d0, 0xfd16, 0x11ce, 0xab,0xc4, 0x02,0x60,0x8c,0x9e,0x75,0x53);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("001677d0-fd16-11ce-abc4-02608c9e7553")
IADsContainer : public IDispatch
{
    virtual HRESULT STDMETHODCALLTYPE get_Count(
        LONG *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get__NewEnum(
        IUnknown **retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_Filter(
        VARIANT *pvFilter) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_Filter(
        VARIANT vFilter) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_Hints(
        VARIANT *pvHints) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_Hints(
        VARIANT vHints) = 0;

    virtual HRESULT STDMETHODCALLTYPE GetObject(
        BSTR bstrClassName,
        BSTR bstrRelativeName,
        IDispatch **ppObject) = 0;

    virtual HRESULT STDMETHODCALLTYPE Create(
        BSTR bstrClassName,
        BSTR bstrRelativeName,
        IDispatch **ppObject) = 0;

    virtual HRESULT STDMETHODCALLTYPE Delete(
        BSTR bstrClassName,
        BSTR bstrRelativeName) = 0;

    virtual HRESULT STDMETHODCALLTYPE CopyHere(
        BSTR bstrSourceName,
        BSTR bstrNewName,
        IDispatch **ppObject) = 0;

    virtual HRESULT STDMETHODCALLTYPE MoveHere(
        BSTR bstrSourceName,
        BSTR bstrNewName,
        IDispatch **ppObject) = 0;

};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IADsContainer, 0x001677d0, 0xfd16, 0x11ce, 0xab,0xc4, 0x02,0x60,0x8c,0x9e,0x75,0x53)
#endif
#else
typedef struct IADsContainerVtbl {
    BEGIN_INTERFACE

    /*** IUnknown methods ***/
    HRESULT (STDMETHODCALLTYPE *QueryInterface)(
        IADsContainer *This,
        REFIID riid,
        void **ppvObject);

    ULONG (STDMETHODCALLTYPE *AddRef)(
        IADsContainer *This);

    ULONG (STDMETHODCALLTYPE *Release)(
        IADsContainer *This);

    /*** IDispatch methods ***/
    HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
        IADsContainer *This,
        UINT *pctinfo);

    HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
        IADsContainer *This,
        UINT iTInfo,
        LCID lcid,
        ITypeInfo **ppTInfo);

    HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
        IADsContainer *This,
        REFIID riid,
        LPOLESTR *rgszNames,
        UINT cNames,
        LCID lcid,
        DISPID *rgDispId);

    HRESULT (STDMETHODCALLTYPE *Invoke)(
        IADsContainer *This,
        DISPID dispIdMember,
        REFIID riid,
        LCID lcid,
        WORD wFlags,
        DISPPARAMS *pDispParams,
        VARIANT *pVarResult,
        EXCEPINFO *pExcepInfo,
        UINT *puArgErr);

    /*** IADsContainer methods ***/
    HRESULT (STDMETHODCALLTYPE *get_Count)(
        IADsContainer *This,
        LONG *retval);

    HRESULT (STDMETHODCALLTYPE *get__NewEnum)(
        IADsContainer *This,
        IUnknown **retval);

    HRESULT (STDMETHODCALLTYPE *get_Filter)(
        IADsContainer *This,
        VARIANT *pvFilter);

    HRESULT (STDMETHODCALLTYPE *put_Filter)(
        IADsContainer *This,
        VARIANT vFilter);

    HRESULT (STDMETHODCALLTYPE *get_Hints)(
        IADsContainer *This,
        VARIANT *pvHints);

    HRESULT (STDMETHODCALLTYPE *put_Hints)(
        IADsContainer *This,
        VARIANT vHints);

    HRESULT (STDMETHODCALLTYPE *GetObject)(
        IADsContainer *This,
        BSTR bstrClassName,
        BSTR bstrRelativeName,
        IDispatch **ppObject);

    HRESULT (STDMETHODCALLTYPE *Create)(
        IADsContainer *This,
        BSTR bstrClassName,
        BSTR bstrRelativeName,
        IDispatch **ppObject);

    HRESULT (STDMETHODCALLTYPE *Delete)(
        IADsContainer *This,
        BSTR bstrClassName,
        BSTR bstrRelativeName);

    HRESULT (STDMETHODCALLTYPE *CopyHere)(
        IADsContainer *This,
        BSTR bstrSourceName,
        BSTR bstrNewName,
        IDispatch **ppObject);

    HRESULT (STDMETHODCALLTYPE *MoveHere)(
        IADsContainer *This,
        BSTR bstrSourceName,
        BSTR bstrNewName,
        IDispatch **ppObject);

    END_INTERFACE
} IADsContainerVtbl;

interface IADsContainer {
    CONST_VTBL IADsContainerVtbl* lpVtbl;
};

#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IADsContainer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IADsContainer_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IADsContainer_Release(This) (This)->lpVtbl->Release(This)
/*** IDispatch methods ***/
#define IADsContainer_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
#define IADsContainer_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IADsContainer_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IADsContainer_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
/*** IADsContainer methods ***/
#define IADsContainer_get_Count(This,retval) (This)->lpVtbl->get_Count(This,retval)
#define IADsContainer_get__NewEnum(This,retval) (This)->lpVtbl->get__NewEnum(This,retval)
#define IADsContainer_get_Filter(This,pvFilter) (This)->lpVtbl->get_Filter(This,pvFilter)
#define IADsContainer_put_Filter(This,vFilter) (This)->lpVtbl->put_Filter(This,vFilter)
#define IADsContainer_get_Hints(This,pvHints) (This)->lpVtbl->get_Hints(This,pvHints)
#define IADsContainer_put_Hints(This,vHints) (This)->lpVtbl->put_Hints(This,vHints)
#define IADsContainer_GetObject(This,bstrClassName,bstrRelativeName,ppObject) (This)->lpVtbl->GetObject(This,bstrClassName,bstrRelativeName,ppObject)
#define IADsContainer_Create(This,bstrClassName,bstrRelativeName,ppObject) (This)->lpVtbl->Create(This,bstrClassName,bstrRelativeName,ppObject)
#define IADsContainer_Delete(This,bstrClassName,bstrRelativeName) (This)->lpVtbl->Delete(This,bstrClassName,bstrRelativeName)
#define IADsContainer_CopyHere(This,bstrSourceName,bstrNewName,ppObject) (This)->lpVtbl->CopyHere(This,bstrSourceName,bstrNewName,ppObject)
#define IADsContainer_MoveHere(This,bstrSourceName,bstrNewName,ppObject) (This)->lpVtbl->MoveHere(This,bstrSourceName,bstrNewName,ppObject)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IADsContainer_QueryInterface(IADsContainer* This,REFIID riid,void **ppvObject) {
    return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IADsContainer_AddRef(IADsContainer* This) {
    return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IADsContainer_Release(IADsContainer* This) {
    return This->lpVtbl->Release(This);
}
/*** IDispatch methods ***/
static FORCEINLINE HRESULT IADsContainer_GetTypeInfoCount(IADsContainer* This,UINT *pctinfo) {
    return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
}
static FORCEINLINE HRESULT IADsContainer_GetTypeInfo(IADsContainer* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
    return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
}
static FORCEINLINE HRESULT IADsContainer_GetIDsOfNames(IADsContainer* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
    return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
}
static FORCEINLINE HRESULT IADsContainer_Invoke(IADsContainer* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
    return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
}
/*** IADsContainer methods ***/
static FORCEINLINE HRESULT IADsContainer_get_Count(IADsContainer* This,LONG *retval) {
    return This->lpVtbl->get_Count(This,retval);
}
static FORCEINLINE HRESULT IADsContainer_get__NewEnum(IADsContainer* This,IUnknown **retval) {
    return This->lpVtbl->get__NewEnum(This,retval);
}
static FORCEINLINE HRESULT IADsContainer_get_Filter(IADsContainer* This,VARIANT *pvFilter) {
    return This->lpVtbl->get_Filter(This,pvFilter);
}
static FORCEINLINE HRESULT IADsContainer_put_Filter(IADsContainer* This,VARIANT vFilter) {
    return This->lpVtbl->put_Filter(This,vFilter);
}
static FORCEINLINE HRESULT IADsContainer_get_Hints(IADsContainer* This,VARIANT *pvHints) {
    return This->lpVtbl->get_Hints(This,pvHints);
}
static FORCEINLINE HRESULT IADsContainer_put_Hints(IADsContainer* This,VARIANT vHints) {
    return This->lpVtbl->put_Hints(This,vHints);
}
static FORCEINLINE HRESULT IADsContainer_GetObject(IADsContainer* This,BSTR bstrClassName,BSTR bstrRelativeName,IDispatch **ppObject) {
    return This->lpVtbl->GetObject(This,bstrClassName,bstrRelativeName,ppObject);
}
static FORCEINLINE HRESULT IADsContainer_Create(IADsContainer* This,BSTR bstrClassName,BSTR bstrRelativeName,IDispatch **ppObject) {
    return This->lpVtbl->Create(This,bstrClassName,bstrRelativeName,ppObject);
}
static FORCEINLINE HRESULT IADsContainer_Delete(IADsContainer* This,BSTR bstrClassName,BSTR bstrRelativeName) {
    return This->lpVtbl->Delete(This,bstrClassName,bstrRelativeName);
}
static FORCEINLINE HRESULT IADsContainer_CopyHere(IADsContainer* This,BSTR bstrSourceName,BSTR bstrNewName,IDispatch **ppObject) {
    return This->lpVtbl->CopyHere(This,bstrSourceName,bstrNewName,ppObject);
}
static FORCEINLINE HRESULT IADsContainer_MoveHere(IADsContainer* This,BSTR bstrSourceName,BSTR bstrNewName,IDispatch **ppObject) {
    return This->lpVtbl->MoveHere(This,bstrSourceName,bstrNewName,ppObject);
}
#endif
#endif

#endif


#endif  /* __IADsContainer_INTERFACE_DEFINED__ */

/*****************************************************************************
 * IADs interface
 */
#ifndef __IADs_INTERFACE_DEFINED__
#define __IADs_INTERFACE_DEFINED__

DEFINE_GUID(IID_IADs, 0xfd8256d0, 0xfd15, 0x11ce, 0xab,0xc4, 0x02,0x60,0x8c,0x9e,0x75,0x53);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("fd8256d0-fd15-11ce-abc4-02608c9e7553")
IADs : public IDispatch
{
    virtual HRESULT STDMETHODCALLTYPE get_Name(
        BSTR *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_Class(
        BSTR *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_GUID(
        BSTR *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_ADsPath(
        BSTR *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_Parent(
        BSTR *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_Schema(
        BSTR *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE GetInfo(
        ) = 0;

    virtual HRESULT STDMETHODCALLTYPE SetInfo(
        ) = 0;

    virtual HRESULT STDMETHODCALLTYPE Get(
        BSTR bstrName,
        VARIANT *pvProp) = 0;

    virtual HRESULT STDMETHODCALLTYPE Put(
        BSTR bstrName,
        VARIANT vProp) = 0;

    virtual HRESULT STDMETHODCALLTYPE GetEx(
        BSTR bstrName,
        VARIANT *pvProp) = 0;

    virtual HRESULT STDMETHODCALLTYPE PutEx(
        LONG lnControlCode,
        BSTR bstrName,
        VARIANT vProp) = 0;

    virtual HRESULT STDMETHODCALLTYPE GetInfoEx(
        VARIANT vProperties,
        LONG lnReserved) = 0;

};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IADs, 0xfd8256d0, 0xfd15, 0x11ce, 0xab,0xc4, 0x02,0x60,0x8c,0x9e,0x75,0x53)
#endif
#else
typedef struct IADsVtbl {
    BEGIN_INTERFACE

    /*** IUnknown methods ***/
    HRESULT (STDMETHODCALLTYPE *QueryInterface)(
        IADs *This,
        REFIID riid,
        void **ppvObject);

    ULONG (STDMETHODCALLTYPE *AddRef)(
        IADs *This);

    ULONG (STDMETHODCALLTYPE *Release)(
        IADs *This);

    /*** IDispatch methods ***/
    HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
        IADs *This,
        UINT *pctinfo);

    HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
        IADs *This,
        UINT iTInfo,
        LCID lcid,
        ITypeInfo **ppTInfo);

    HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
        IADs *This,
        REFIID riid,
        LPOLESTR *rgszNames,
        UINT cNames,
        LCID lcid,
        DISPID *rgDispId);

    HRESULT (STDMETHODCALLTYPE *Invoke)(
        IADs *This,
        DISPID dispIdMember,
        REFIID riid,
        LCID lcid,
        WORD wFlags,
        DISPPARAMS *pDispParams,
        VARIANT *pVarResult,
        EXCEPINFO *pExcepInfo,
        UINT *puArgErr);

    /*** IADs methods ***/
    HRESULT (STDMETHODCALLTYPE *get_Name)(
        IADs *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *get_Class)(
        IADs *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *get_GUID)(
        IADs *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *get_ADsPath)(
        IADs *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *get_Parent)(
        IADs *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *get_Schema)(
        IADs *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *GetInfo)(
        IADs *This);

    HRESULT (STDMETHODCALLTYPE *SetInfo)(
        IADs *This);

    HRESULT (STDMETHODCALLTYPE *Get)(
        IADs *This,
        BSTR bstrName,
        VARIANT *pvProp);

    HRESULT (STDMETHODCALLTYPE *Put)(
        IADs *This,
        BSTR bstrName,
        VARIANT vProp);

    HRESULT (STDMETHODCALLTYPE *GetEx)(
        IADs *This,
        BSTR bstrName,
        VARIANT *pvProp);

    HRESULT (STDMETHODCALLTYPE *PutEx)(
        IADs *This,
        LONG lnControlCode,
        BSTR bstrName,
        VARIANT vProp);

    HRESULT (STDMETHODCALLTYPE *GetInfoEx)(
        IADs *This,
        VARIANT vProperties,
        LONG lnReserved);

    END_INTERFACE
} IADsVtbl;

interface IADs {
    CONST_VTBL IADsVtbl* lpVtbl;
};

#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IADs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IADs_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IADs_Release(This) (This)->lpVtbl->Release(This)
/*** IDispatch methods ***/
#define IADs_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
#define IADs_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IADs_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IADs_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
/*** IADs methods ***/
#define IADs_get_Name(This,retval) (This)->lpVtbl->get_Name(This,retval)
#define IADs_get_Class(This,retval) (This)->lpVtbl->get_Class(This,retval)
#define IADs_get_GUID(This,retval) (This)->lpVtbl->get_GUID(This,retval)
#define IADs_get_ADsPath(This,retval) (This)->lpVtbl->get_ADsPath(This,retval)
#define IADs_get_Parent(This,retval) (This)->lpVtbl->get_Parent(This,retval)
#define IADs_get_Schema(This,retval) (This)->lpVtbl->get_Schema(This,retval)
#define IADs_GetInfo(This) (This)->lpVtbl->GetInfo(This)
#define IADs_SetInfo(This) (This)->lpVtbl->SetInfo(This)
#define IADs_Get(This,bstrName,pvProp) (This)->lpVtbl->Get(This,bstrName,pvProp)
#define IADs_Put(This,bstrName,vProp) (This)->lpVtbl->Put(This,bstrName,vProp)
#define IADs_GetEx(This,bstrName,pvProp) (This)->lpVtbl->GetEx(This,bstrName,pvProp)
#define IADs_PutEx(This,lnControlCode,bstrName,vProp) (This)->lpVtbl->PutEx(This,lnControlCode,bstrName,vProp)
#define IADs_GetInfoEx(This,vProperties,lnReserved) (This)->lpVtbl->GetInfoEx(This,vProperties,lnReserved)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IADs_QueryInterface(IADs* This,REFIID riid,void **ppvObject) {
    return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IADs_AddRef(IADs* This) {
    return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IADs_Release(IADs* This) {
    return This->lpVtbl->Release(This);
}
/*** IDispatch methods ***/
static FORCEINLINE HRESULT IADs_GetTypeInfoCount(IADs* This,UINT *pctinfo) {
    return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
}
static FORCEINLINE HRESULT IADs_GetTypeInfo(IADs* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
    return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
}
static FORCEINLINE HRESULT IADs_GetIDsOfNames(IADs* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
    return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
}
static FORCEINLINE HRESULT IADs_Invoke(IADs* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
    return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
}
/*** IADs methods ***/
static FORCEINLINE HRESULT IADs_get_Name(IADs* This,BSTR *retval) {
    return This->lpVtbl->get_Name(This,retval);
}
static FORCEINLINE HRESULT IADs_get_Class(IADs* This,BSTR *retval) {
    return This->lpVtbl->get_Class(This,retval);
}
static FORCEINLINE HRESULT IADs_get_GUID(IADs* This,BSTR *retval) {
    return This->lpVtbl->get_GUID(This,retval);
}
static FORCEINLINE HRESULT IADs_get_ADsPath(IADs* This,BSTR *retval) {
    return This->lpVtbl->get_ADsPath(This,retval);
}
static FORCEINLINE HRESULT IADs_get_Parent(IADs* This,BSTR *retval) {
    return This->lpVtbl->get_Parent(This,retval);
}
static FORCEINLINE HRESULT IADs_get_Schema(IADs* This,BSTR *retval) {
    return This->lpVtbl->get_Schema(This,retval);
}
static FORCEINLINE HRESULT IADs_GetInfo(IADs* This) {
    return This->lpVtbl->GetInfo(This);
}
static FORCEINLINE HRESULT IADs_SetInfo(IADs* This) {
    return This->lpVtbl->SetInfo(This);
}
static FORCEINLINE HRESULT IADs_Get(IADs* This,BSTR bstrName,VARIANT *pvProp) {
    return This->lpVtbl->Get(This,bstrName,pvProp);
}
static FORCEINLINE HRESULT IADs_Put(IADs* This,BSTR bstrName,VARIANT vProp) {
    return This->lpVtbl->Put(This,bstrName,vProp);
}
static FORCEINLINE HRESULT IADs_GetEx(IADs* This,BSTR bstrName,VARIANT *pvProp) {
    return This->lpVtbl->GetEx(This,bstrName,pvProp);
}
static FORCEINLINE HRESULT IADs_PutEx(IADs* This,LONG lnControlCode,BSTR bstrName,VARIANT vProp) {
    return This->lpVtbl->PutEx(This,lnControlCode,bstrName,vProp);
}
static FORCEINLINE HRESULT IADs_GetInfoEx(IADs* This,VARIANT vProperties,LONG lnReserved) {
    return This->lpVtbl->GetInfoEx(This,vProperties,lnReserved);
}
#endif
#endif

#endif


#endif  /* __IADs_INTERFACE_DEFINED__ */

/*****************************************************************************
 * IADsMembers interface
 */
#ifndef __IADsMembers_INTERFACE_DEFINED__
#define __IADsMembers_INTERFACE_DEFINED__

DEFINE_GUID(IID_IADsMembers, 0x451a0030, 0x72ec, 0x11cf, 0xb0,0x3b, 0x00,0xaa,0x00,0x6e,0x09,0x75);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("451a0030-72ec-11cf-b03b-00aa006e0975")
IADsMembers : public IDispatch
{
    virtual HRESULT STDMETHODCALLTYPE get_Count(
        LONG *plCount) = 0;

    virtual HRESULT STDMETHODCALLTYPE get__NewEnum(
        IUnknown **ppEnumerator) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_Filter(
        VARIANT *pvFilter) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_Filter(
        VARIANT pvFilter) = 0;

};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IADsMembers, 0x451a0030, 0x72ec, 0x11cf, 0xb0,0x3b, 0x00,0xaa,0x00,0x6e,0x09,0x75)
#endif
#else
typedef struct IADsMembersVtbl {
    BEGIN_INTERFACE

    /*** IUnknown methods ***/
    HRESULT (STDMETHODCALLTYPE *QueryInterface)(
        IADsMembers *This,
        REFIID riid,
        void **ppvObject);

    ULONG (STDMETHODCALLTYPE *AddRef)(
        IADsMembers *This);

    ULONG (STDMETHODCALLTYPE *Release)(
        IADsMembers *This);

    /*** IDispatch methods ***/
    HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
        IADsMembers *This,
        UINT *pctinfo);

    HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
        IADsMembers *This,
        UINT iTInfo,
        LCID lcid,
        ITypeInfo **ppTInfo);

    HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
        IADsMembers *This,
        REFIID riid,
        LPOLESTR *rgszNames,
        UINT cNames,
        LCID lcid,
        DISPID *rgDispId);

    HRESULT (STDMETHODCALLTYPE *Invoke)(
        IADsMembers *This,
        DISPID dispIdMember,
        REFIID riid,
        LCID lcid,
        WORD wFlags,
        DISPPARAMS *pDispParams,
        VARIANT *pVarResult,
        EXCEPINFO *pExcepInfo,
        UINT *puArgErr);

    /*** IADsMembers methods ***/
    HRESULT (STDMETHODCALLTYPE *get_Count)(
        IADsMembers *This,
        LONG *plCount);

    HRESULT (STDMETHODCALLTYPE *get__NewEnum)(
        IADsMembers *This,
        IUnknown **ppEnumerator);

    HRESULT (STDMETHODCALLTYPE *get_Filter)(
        IADsMembers *This,
        VARIANT *pvFilter);

    HRESULT (STDMETHODCALLTYPE *put_Filter)(
        IADsMembers *This,
        VARIANT pvFilter);

    END_INTERFACE
} IADsMembersVtbl;

interface IADsMembers {
    CONST_VTBL IADsMembersVtbl* lpVtbl;
};

#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IADsMembers_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IADsMembers_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IADsMembers_Release(This) (This)->lpVtbl->Release(This)
/*** IDispatch methods ***/
#define IADsMembers_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
#define IADsMembers_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IADsMembers_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IADsMembers_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
/*** IADsMembers methods ***/
#define IADsMembers_get_Count(This,plCount) (This)->lpVtbl->get_Count(This,plCount)
#define IADsMembers_get__NewEnum(This,ppEnumerator) (This)->lpVtbl->get__NewEnum(This,ppEnumerator)
#define IADsMembers_get_Filter(This,pvFilter) (This)->lpVtbl->get_Filter(This,pvFilter)
#define IADsMembers_put_Filter(This,pvFilter) (This)->lpVtbl->put_Filter(This,pvFilter)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IADsMembers_QueryInterface(IADsMembers* This,REFIID riid,void **ppvObject) {
    return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IADsMembers_AddRef(IADsMembers* This) {
    return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IADsMembers_Release(IADsMembers* This) {
    return This->lpVtbl->Release(This);
}
/*** IDispatch methods ***/
static FORCEINLINE HRESULT IADsMembers_GetTypeInfoCount(IADsMembers* This,UINT *pctinfo) {
    return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
}
static FORCEINLINE HRESULT IADsMembers_GetTypeInfo(IADsMembers* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
    return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
}
static FORCEINLINE HRESULT IADsMembers_GetIDsOfNames(IADsMembers* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
    return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
}
static FORCEINLINE HRESULT IADsMembers_Invoke(IADsMembers* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
    return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
}
/*** IADsMembers methods ***/
static FORCEINLINE HRESULT IADsMembers_get_Count(IADsMembers* This,LONG *plCount) {
    return This->lpVtbl->get_Count(This,plCount);
}
static FORCEINLINE HRESULT IADsMembers_get__NewEnum(IADsMembers* This,IUnknown **ppEnumerator) {
    return This->lpVtbl->get__NewEnum(This,ppEnumerator);
}
static FORCEINLINE HRESULT IADsMembers_get_Filter(IADsMembers* This,VARIANT *pvFilter) {
    return This->lpVtbl->get_Filter(This,pvFilter);
}
static FORCEINLINE HRESULT IADsMembers_put_Filter(IADsMembers* This,VARIANT pvFilter) {
    return This->lpVtbl->put_Filter(This,pvFilter);
}
#endif
#endif

#endif


#endif  /* __IADsMembers_INTERFACE_DEFINED__ */

/*****************************************************************************
 * IADsGroup interface
 */
#ifndef __IADsGroup_INTERFACE_DEFINED__
#define __IADsGroup_INTERFACE_DEFINED__

DEFINE_GUID(IID_IADsGroup, 0x27636b00, 0x410f, 0x11cf, 0xb1,0xff, 0x02,0x60,0x8c,0x9e,0x75,0x53);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("27636b00-410f-11cf-b1ff-02608c9e7553")
IADsGroup : public IADs
{
    virtual HRESULT STDMETHODCALLTYPE get_Description(
        BSTR *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_Description(
        BSTR retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE Members(
        IADsMembers **ppMembers) = 0;

    virtual HRESULT STDMETHODCALLTYPE IsMember(
        BSTR bstrMember,
        VARIANT_BOOL *bMember) = 0;

    virtual HRESULT STDMETHODCALLTYPE Add(
        BSTR bstrNewItem) = 0;

    virtual HRESULT STDMETHODCALLTYPE Remove(
        BSTR bstrItemToBeRemoved) = 0;

};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IADsGroup, 0x27636b00, 0x410f, 0x11cf, 0xb1,0xff, 0x02,0x60,0x8c,0x9e,0x75,0x53)
#endif
#else
typedef struct IADsGroupVtbl {
    BEGIN_INTERFACE

    /*** IUnknown methods ***/
    HRESULT (STDMETHODCALLTYPE *QueryInterface)(
        IADsGroup *This,
        REFIID riid,
        void **ppvObject);

    ULONG (STDMETHODCALLTYPE *AddRef)(
        IADsGroup *This);

    ULONG (STDMETHODCALLTYPE *Release)(
        IADsGroup *This);

    /*** IDispatch methods ***/
    HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
        IADsGroup *This,
        UINT *pctinfo);

    HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
        IADsGroup *This,
        UINT iTInfo,
        LCID lcid,
        ITypeInfo **ppTInfo);

    HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
        IADsGroup *This,
        REFIID riid,
        LPOLESTR *rgszNames,
        UINT cNames,
        LCID lcid,
        DISPID *rgDispId);

    HRESULT (STDMETHODCALLTYPE *Invoke)(
        IADsGroup *This,
        DISPID dispIdMember,
        REFIID riid,
        LCID lcid,
        WORD wFlags,
        DISPPARAMS *pDispParams,
        VARIANT *pVarResult,
        EXCEPINFO *pExcepInfo,
        UINT *puArgErr);

    /*** IADs methods ***/
    HRESULT (STDMETHODCALLTYPE *get_Name)(
        IADsGroup *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *get_Class)(
        IADsGroup *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *get_GUID)(
        IADsGroup *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *get_ADsPath)(
        IADsGroup *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *get_Parent)(
        IADsGroup *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *get_Schema)(
        IADsGroup *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *GetInfo)(
        IADsGroup *This);

    HRESULT (STDMETHODCALLTYPE *SetInfo)(
        IADsGroup *This);

    HRESULT (STDMETHODCALLTYPE *Get)(
        IADsGroup *This,
        BSTR bstrName,
        VARIANT *pvProp);

    HRESULT (STDMETHODCALLTYPE *Put)(
        IADsGroup *This,
        BSTR bstrName,
        VARIANT vProp);

    HRESULT (STDMETHODCALLTYPE *GetEx)(
        IADsGroup *This,
        BSTR bstrName,
        VARIANT *pvProp);

    HRESULT (STDMETHODCALLTYPE *PutEx)(
        IADsGroup *This,
        LONG lnControlCode,
        BSTR bstrName,
        VARIANT vProp);

    HRESULT (STDMETHODCALLTYPE *GetInfoEx)(
        IADsGroup *This,
        VARIANT vProperties,
        LONG lnReserved);

    /*** IADsGroup methods ***/
    HRESULT (STDMETHODCALLTYPE *get_Description)(
        IADsGroup *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *put_Description)(
        IADsGroup *This,
        BSTR retval);

    HRESULT (STDMETHODCALLTYPE *Members)(
        IADsGroup *This,
        IADsMembers **ppMembers);

    HRESULT (STDMETHODCALLTYPE *IsMember)(
        IADsGroup *This,
        BSTR bstrMember,
        VARIANT_BOOL *bMember);

    HRESULT (STDMETHODCALLTYPE *Add)(
        IADsGroup *This,
        BSTR bstrNewItem);

    HRESULT (STDMETHODCALLTYPE *Remove)(
        IADsGroup *This,
        BSTR bstrItemToBeRemoved);

    END_INTERFACE
} IADsGroupVtbl;

interface IADsGroup {
    CONST_VTBL IADsGroupVtbl* lpVtbl;
};

#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IADsGroup_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IADsGroup_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IADsGroup_Release(This) (This)->lpVtbl->Release(This)
/*** IDispatch methods ***/
#define IADsGroup_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
#define IADsGroup_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IADsGroup_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IADsGroup_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
/*** IADs methods ***/
#define IADsGroup_get_Name(This,retval) (This)->lpVtbl->get_Name(This,retval)
#define IADsGroup_get_Class(This,retval) (This)->lpVtbl->get_Class(This,retval)
#define IADsGroup_get_GUID(This,retval) (This)->lpVtbl->get_GUID(This,retval)
#define IADsGroup_get_ADsPath(This,retval) (This)->lpVtbl->get_ADsPath(This,retval)
#define IADsGroup_get_Parent(This,retval) (This)->lpVtbl->get_Parent(This,retval)
#define IADsGroup_get_Schema(This,retval) (This)->lpVtbl->get_Schema(This,retval)
#define IADsGroup_GetInfo(This) (This)->lpVtbl->GetInfo(This)
#define IADsGroup_SetInfo(This) (This)->lpVtbl->SetInfo(This)
#define IADsGroup_Get(This,bstrName,pvProp) (This)->lpVtbl->Get(This,bstrName,pvProp)
#define IADsGroup_Put(This,bstrName,vProp) (This)->lpVtbl->Put(This,bstrName,vProp)
#define IADsGroup_GetEx(This,bstrName,pvProp) (This)->lpVtbl->GetEx(This,bstrName,pvProp)
#define IADsGroup_PutEx(This,lnControlCode,bstrName,vProp) (This)->lpVtbl->PutEx(This,lnControlCode,bstrName,vProp)
#define IADsGroup_GetInfoEx(This,vProperties,lnReserved) (This)->lpVtbl->GetInfoEx(This,vProperties,lnReserved)
/*** IADsGroup methods ***/
#define IADsGroup_get_Description(This,retval) (This)->lpVtbl->get_Description(This,retval)
#define IADsGroup_put_Description(This,retval) (This)->lpVtbl->put_Description(This,retval)
#define IADsGroup_Members(This,ppMembers) (This)->lpVtbl->Members(This,ppMembers)
#define IADsGroup_IsMember(This,bstrMember,bMember) (This)->lpVtbl->IsMember(This,bstrMember,bMember)
#define IADsGroup_Add(This,bstrNewItem) (This)->lpVtbl->Add(This,bstrNewItem)
#define IADsGroup_Remove(This,bstrItemToBeRemoved) (This)->lpVtbl->Remove(This,bstrItemToBeRemoved)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IADsGroup_QueryInterface(IADsGroup* This,REFIID riid,void **ppvObject) {
    return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IADsGroup_AddRef(IADsGroup* This) {
    return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IADsGroup_Release(IADsGroup* This) {
    return This->lpVtbl->Release(This);
}
/*** IDispatch methods ***/
static FORCEINLINE HRESULT IADsGroup_GetTypeInfoCount(IADsGroup* This,UINT *pctinfo) {
    return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
}
static FORCEINLINE HRESULT IADsGroup_GetTypeInfo(IADsGroup* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
    return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
}
static FORCEINLINE HRESULT IADsGroup_GetIDsOfNames(IADsGroup* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
    return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
}
static FORCEINLINE HRESULT IADsGroup_Invoke(IADsGroup* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
    return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
}
/*** IADs methods ***/
static FORCEINLINE HRESULT IADsGroup_get_Name(IADsGroup* This,BSTR *retval) {
    return This->lpVtbl->get_Name(This,retval);
}
static FORCEINLINE HRESULT IADsGroup_get_Class(IADsGroup* This,BSTR *retval) {
    return This->lpVtbl->get_Class(This,retval);
}
static FORCEINLINE HRESULT IADsGroup_get_GUID(IADsGroup* This,BSTR *retval) {
    return This->lpVtbl->get_GUID(This,retval);
}
static FORCEINLINE HRESULT IADsGroup_get_ADsPath(IADsGroup* This,BSTR *retval) {
    return This->lpVtbl->get_ADsPath(This,retval);
}
static FORCEINLINE HRESULT IADsGroup_get_Parent(IADsGroup* This,BSTR *retval) {
    return This->lpVtbl->get_Parent(This,retval);
}
static FORCEINLINE HRESULT IADsGroup_get_Schema(IADsGroup* This,BSTR *retval) {
    return This->lpVtbl->get_Schema(This,retval);
}
static FORCEINLINE HRESULT IADsGroup_GetInfo(IADsGroup* This) {
    return This->lpVtbl->GetInfo(This);
}
static FORCEINLINE HRESULT IADsGroup_SetInfo(IADsGroup* This) {
    return This->lpVtbl->SetInfo(This);
}
static FORCEINLINE HRESULT IADsGroup_Get(IADsGroup* This,BSTR bstrName,VARIANT *pvProp) {
    return This->lpVtbl->Get(This,bstrName,pvProp);
}
static FORCEINLINE HRESULT IADsGroup_Put(IADsGroup* This,BSTR bstrName,VARIANT vProp) {
    return This->lpVtbl->Put(This,bstrName,vProp);
}
static FORCEINLINE HRESULT IADsGroup_GetEx(IADsGroup* This,BSTR bstrName,VARIANT *pvProp) {
    return This->lpVtbl->GetEx(This,bstrName,pvProp);
}
static FORCEINLINE HRESULT IADsGroup_PutEx(IADsGroup* This,LONG lnControlCode,BSTR bstrName,VARIANT vProp) {
    return This->lpVtbl->PutEx(This,lnControlCode,bstrName,vProp);
}
static FORCEINLINE HRESULT IADsGroup_GetInfoEx(IADsGroup* This,VARIANT vProperties,LONG lnReserved) {
    return This->lpVtbl->GetInfoEx(This,vProperties,lnReserved);
}
/*** IADsGroup methods ***/
static FORCEINLINE HRESULT IADsGroup_get_Description(IADsGroup* This,BSTR *retval) {
    return This->lpVtbl->get_Description(This,retval);
}
static FORCEINLINE HRESULT IADsGroup_put_Description(IADsGroup* This,BSTR retval) {
    return This->lpVtbl->put_Description(This,retval);
}
static FORCEINLINE HRESULT IADsGroup_Members(IADsGroup* This,IADsMembers **ppMembers) {
    return This->lpVtbl->Members(This,ppMembers);
}
static FORCEINLINE HRESULT IADsGroup_IsMember(IADsGroup* This,BSTR bstrMember,VARIANT_BOOL *bMember) {
    return This->lpVtbl->IsMember(This,bstrMember,bMember);
}
static FORCEINLINE HRESULT IADsGroup_Add(IADsGroup* This,BSTR bstrNewItem) {
    return This->lpVtbl->Add(This,bstrNewItem);
}
static FORCEINLINE HRESULT IADsGroup_Remove(IADsGroup* This,BSTR bstrItemToBeRemoved) {
    return This->lpVtbl->Remove(This,bstrItemToBeRemoved);
}
#endif
#endif

#endif


#endif  /* __IADsGroup_INTERFACE_DEFINED__ */

/*****************************************************************************
 * IADsUser interface
 */
#ifndef __IADsUser_INTERFACE_DEFINED__
#define __IADsUser_INTERFACE_DEFINED__

DEFINE_GUID(IID_IADsUser, 0x3e37e320, 0x17e2, 0x11cf, 0xab,0xc4, 0x02,0x60,0x8c,0x9e,0x75,0x53);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("3e37e320-17e2-11cf-abc4-02608c9e7553")
IADsUser : public IADs
{
    virtual HRESULT STDMETHODCALLTYPE get_BadLoginAddress(
        BSTR *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_BadLoginCount(
        LONG *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_LastLogin(
        DATE *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_LastLogoff(
        DATE *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_LastFailedLogin(
        DATE *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_PasswordLastChanged(
        DATE *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_Description(
        BSTR *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_Description(
        BSTR retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_Division(
        BSTR *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_Division(
        BSTR retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_Department(
        BSTR *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_Department(
        BSTR retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_EmployeeID(
        BSTR *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_EmployeeID(
        BSTR retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_FullName(
        BSTR *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_FullName(
        BSTR retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_FirstName(
        BSTR *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_FirstName(
        BSTR retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_LastName(
        BSTR *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_LastName(
        BSTR retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_OtherName(
        BSTR *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_OtherName(
        BSTR retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_NamePrefix(
        BSTR *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_NamePrefix(
        BSTR retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_NameSuffix(
        BSTR *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_NameSuffix(
        BSTR retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_Title(
        BSTR *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_Title(
        BSTR retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_Manager(
        BSTR *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_Manager(
        BSTR retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_TelephoneHome(
        VARIANT *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_TelephoneHome(
        VARIANT retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_TelephoneMobile(
        VARIANT *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_TelephoneMobile(
        VARIANT retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_TelephoneNumber(
        VARIANT *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_TelephoneNumber(
        VARIANT retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_TelephonePager(
        VARIANT *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_TelephonePager(
        VARIANT retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_FaxNumber(
        VARIANT *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_FaxNumber(
        VARIANT retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_OfficeLocations(
        VARIANT *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_OfficeLocations(
        VARIANT retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_PostalAddresses(
        VARIANT *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_PostalAddresses(
        VARIANT retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_PostalCodes(
        VARIANT *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_PostalCodes(
        VARIANT retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_SeeAlso(
        VARIANT *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_SeeAlso(
        VARIANT retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_AccountDisabled(
        VARIANT_BOOL *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_AccountDisabled(
        VARIANT_BOOL retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_AccountExpirationDate(
        DATE *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_AccountExpirationDate(
        DATE retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_GraceLoginsAllowed(
        LONG *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_GraceLoginsAllowed(
        LONG retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_GraceLoginsRemaining(
        LONG *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_GraceLoginsRemaining(
        LONG retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_IsAccountLocked(
        VARIANT_BOOL *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_IsAccountLocked(
        VARIANT_BOOL retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_LoginHours(
        VARIANT *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_LoginHours(
        VARIANT retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_LoginWorkstations(
        VARIANT *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_LoginWorkstations(
        VARIANT retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_MaxLogins(
        LONG *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_MaxLogins(
        LONG retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_MaxStorage(
        LONG *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_MaxStorage(
        LONG retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_PasswordExpirationDate(
        DATE *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_PasswordExpirationDate(
        DATE retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_PasswordMinimumLength(
        LONG *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_PasswordMinimumLength(
        LONG retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_PasswordRequired(
        VARIANT_BOOL *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_PasswordRequired(
        VARIANT_BOOL retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_RequireUniquePassword(
        VARIANT_BOOL *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_RequireUniquePassword(
        VARIANT_BOOL retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_EmailAddress(
        BSTR *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_EmailAddress(
        BSTR retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_HomeDirectory(
        BSTR *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_HomeDirectory(
        BSTR retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_Languages(
        VARIANT *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_Languages(
        VARIANT retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_Profile(
        BSTR *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_Profile(
        BSTR retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_LoginScript(
        BSTR *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_LoginScript(
        BSTR retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_Picture(
        VARIANT *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_Picture(
        VARIANT retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_HomePage(
        BSTR *retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_HomePage(
        BSTR retval) = 0;

    virtual HRESULT STDMETHODCALLTYPE Groups(
        IADsMembers **ppGroups) = 0;

    virtual HRESULT STDMETHODCALLTYPE SetPassword(
        BSTR NewPassword) = 0;

    virtual HRESULT STDMETHODCALLTYPE ChangePassword(
        BSTR bstrOldPassword,
        BSTR bstrNewPassword) = 0;

};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IADsUser, 0x3e37e320, 0x17e2, 0x11cf, 0xab,0xc4, 0x02,0x60,0x8c,0x9e,0x75,0x53)
#endif
#else
typedef struct IADsUserVtbl {
    BEGIN_INTERFACE

    /*** IUnknown methods ***/
    HRESULT (STDMETHODCALLTYPE *QueryInterface)(
        IADsUser *This,
        REFIID riid,
        void **ppvObject);

    ULONG (STDMETHODCALLTYPE *AddRef)(
        IADsUser *This);

    ULONG (STDMETHODCALLTYPE *Release)(
        IADsUser *This);

    /*** IDispatch methods ***/
    HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
        IADsUser *This,
        UINT *pctinfo);

    HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
        IADsUser *This,
        UINT iTInfo,
        LCID lcid,
        ITypeInfo **ppTInfo);

    HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
        IADsUser *This,
        REFIID riid,
        LPOLESTR *rgszNames,
        UINT cNames,
        LCID lcid,
        DISPID *rgDispId);

    HRESULT (STDMETHODCALLTYPE *Invoke)(
        IADsUser *This,
        DISPID dispIdMember,
        REFIID riid,
        LCID lcid,
        WORD wFlags,
        DISPPARAMS *pDispParams,
        VARIANT *pVarResult,
        EXCEPINFO *pExcepInfo,
        UINT *puArgErr);

    /*** IADs methods ***/
    HRESULT (STDMETHODCALLTYPE *get_Name)(
        IADsUser *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *get_Class)(
        IADsUser *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *get_GUID)(
        IADsUser *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *get_ADsPath)(
        IADsUser *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *get_Parent)(
        IADsUser *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *get_Schema)(
        IADsUser *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *GetInfo)(
        IADsUser *This);

    HRESULT (STDMETHODCALLTYPE *SetInfo)(
        IADsUser *This);

    HRESULT (STDMETHODCALLTYPE *Get)(
        IADsUser *This,
        BSTR bstrName,
        VARIANT *pvProp);

    HRESULT (STDMETHODCALLTYPE *Put)(
        IADsUser *This,
        BSTR bstrName,
        VARIANT vProp);

    HRESULT (STDMETHODCALLTYPE *GetEx)(
        IADsUser *This,
        BSTR bstrName,
        VARIANT *pvProp);

    HRESULT (STDMETHODCALLTYPE *PutEx)(
        IADsUser *This,
        LONG lnControlCode,
        BSTR bstrName,
        VARIANT vProp);

    HRESULT (STDMETHODCALLTYPE *GetInfoEx)(
        IADsUser *This,
        VARIANT vProperties,
        LONG lnReserved);

    /*** IADsUser methods ***/
    HRESULT (STDMETHODCALLTYPE *get_BadLoginAddress)(
        IADsUser *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *get_BadLoginCount)(
        IADsUser *This,
        LONG *retval);

    HRESULT (STDMETHODCALLTYPE *get_LastLogin)(
        IADsUser *This,
        DATE *retval);

    HRESULT (STDMETHODCALLTYPE *get_LastLogoff)(
        IADsUser *This,
        DATE *retval);

    HRESULT (STDMETHODCALLTYPE *get_LastFailedLogin)(
        IADsUser *This,
        DATE *retval);

    HRESULT (STDMETHODCALLTYPE *get_PasswordLastChanged)(
        IADsUser *This,
        DATE *retval);

    HRESULT (STDMETHODCALLTYPE *get_Description)(
        IADsUser *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *put_Description)(
        IADsUser *This,
        BSTR retval);

    HRESULT (STDMETHODCALLTYPE *get_Division)(
        IADsUser *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *put_Division)(
        IADsUser *This,
        BSTR retval);

    HRESULT (STDMETHODCALLTYPE *get_Department)(
        IADsUser *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *put_Department)(
        IADsUser *This,
        BSTR retval);

    HRESULT (STDMETHODCALLTYPE *get_EmployeeID)(
        IADsUser *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *put_EmployeeID)(
        IADsUser *This,
        BSTR retval);

    HRESULT (STDMETHODCALLTYPE *get_FullName)(
        IADsUser *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *put_FullName)(
        IADsUser *This,
        BSTR retval);

    HRESULT (STDMETHODCALLTYPE *get_FirstName)(
        IADsUser *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *put_FirstName)(
        IADsUser *This,
        BSTR retval);

    HRESULT (STDMETHODCALLTYPE *get_LastName)(
        IADsUser *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *put_LastName)(
        IADsUser *This,
        BSTR retval);

    HRESULT (STDMETHODCALLTYPE *get_OtherName)(
        IADsUser *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *put_OtherName)(
        IADsUser *This,
        BSTR retval);

    HRESULT (STDMETHODCALLTYPE *get_NamePrefix)(
        IADsUser *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *put_NamePrefix)(
        IADsUser *This,
        BSTR retval);

    HRESULT (STDMETHODCALLTYPE *get_NameSuffix)(
        IADsUser *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *put_NameSuffix)(
        IADsUser *This,
        BSTR retval);

    HRESULT (STDMETHODCALLTYPE *get_Title)(
        IADsUser *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *put_Title)(
        IADsUser *This,
        BSTR retval);

    HRESULT (STDMETHODCALLTYPE *get_Manager)(
        IADsUser *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *put_Manager)(
        IADsUser *This,
        BSTR retval);

    HRESULT (STDMETHODCALLTYPE *get_TelephoneHome)(
        IADsUser *This,
        VARIANT *retval);

    HRESULT (STDMETHODCALLTYPE *put_TelephoneHome)(
        IADsUser *This,
        VARIANT retval);

    HRESULT (STDMETHODCALLTYPE *get_TelephoneMobile)(
        IADsUser *This,
        VARIANT *retval);

    HRESULT (STDMETHODCALLTYPE *put_TelephoneMobile)(
        IADsUser *This,
        VARIANT retval);

    HRESULT (STDMETHODCALLTYPE *get_TelephoneNumber)(
        IADsUser *This,
        VARIANT *retval);

    HRESULT (STDMETHODCALLTYPE *put_TelephoneNumber)(
        IADsUser *This,
        VARIANT retval);

    HRESULT (STDMETHODCALLTYPE *get_TelephonePager)(
        IADsUser *This,
        VARIANT *retval);

    HRESULT (STDMETHODCALLTYPE *put_TelephonePager)(
        IADsUser *This,
        VARIANT retval);

    HRESULT (STDMETHODCALLTYPE *get_FaxNumber)(
        IADsUser *This,
        VARIANT *retval);

    HRESULT (STDMETHODCALLTYPE *put_FaxNumber)(
        IADsUser *This,
        VARIANT retval);

    HRESULT (STDMETHODCALLTYPE *get_OfficeLocations)(
        IADsUser *This,
        VARIANT *retval);

    HRESULT (STDMETHODCALLTYPE *put_OfficeLocations)(
        IADsUser *This,
        VARIANT retval);

    HRESULT (STDMETHODCALLTYPE *get_PostalAddresses)(
        IADsUser *This,
        VARIANT *retval);

    HRESULT (STDMETHODCALLTYPE *put_PostalAddresses)(
        IADsUser *This,
        VARIANT retval);

    HRESULT (STDMETHODCALLTYPE *get_PostalCodes)(
        IADsUser *This,
        VARIANT *retval);

    HRESULT (STDMETHODCALLTYPE *put_PostalCodes)(
        IADsUser *This,
        VARIANT retval);

    HRESULT (STDMETHODCALLTYPE *get_SeeAlso)(
        IADsUser *This,
        VARIANT *retval);

    HRESULT (STDMETHODCALLTYPE *put_SeeAlso)(
        IADsUser *This,
        VARIANT retval);

    HRESULT (STDMETHODCALLTYPE *get_AccountDisabled)(
        IADsUser *This,
        VARIANT_BOOL *retval);

    HRESULT (STDMETHODCALLTYPE *put_AccountDisabled)(
        IADsUser *This,
        VARIANT_BOOL retval);

    HRESULT (STDMETHODCALLTYPE *get_AccountExpirationDate)(
        IADsUser *This,
        DATE *retval);

    HRESULT (STDMETHODCALLTYPE *put_AccountExpirationDate)(
        IADsUser *This,
        DATE retval);

    HRESULT (STDMETHODCALLTYPE *get_GraceLoginsAllowed)(
        IADsUser *This,
        LONG *retval);

    HRESULT (STDMETHODCALLTYPE *put_GraceLoginsAllowed)(
        IADsUser *This,
        LONG retval);

    HRESULT (STDMETHODCALLTYPE *get_GraceLoginsRemaining)(
        IADsUser *This,
        LONG *retval);

    HRESULT (STDMETHODCALLTYPE *put_GraceLoginsRemaining)(
        IADsUser *This,
        LONG retval);

    HRESULT (STDMETHODCALLTYPE *get_IsAccountLocked)(
        IADsUser *This,
        VARIANT_BOOL *retval);

    HRESULT (STDMETHODCALLTYPE *put_IsAccountLocked)(
        IADsUser *This,
        VARIANT_BOOL retval);

    HRESULT (STDMETHODCALLTYPE *get_LoginHours)(
        IADsUser *This,
        VARIANT *retval);

    HRESULT (STDMETHODCALLTYPE *put_LoginHours)(
        IADsUser *This,
        VARIANT retval);

    HRESULT (STDMETHODCALLTYPE *get_LoginWorkstations)(
        IADsUser *This,
        VARIANT *retval);

    HRESULT (STDMETHODCALLTYPE *put_LoginWorkstations)(
        IADsUser *This,
        VARIANT retval);

    HRESULT (STDMETHODCALLTYPE *get_MaxLogins)(
        IADsUser *This,
        LONG *retval);

    HRESULT (STDMETHODCALLTYPE *put_MaxLogins)(
        IADsUser *This,
        LONG retval);

    HRESULT (STDMETHODCALLTYPE *get_MaxStorage)(
        IADsUser *This,
        LONG *retval);

    HRESULT (STDMETHODCALLTYPE *put_MaxStorage)(
        IADsUser *This,
        LONG retval);

    HRESULT (STDMETHODCALLTYPE *get_PasswordExpirationDate)(
        IADsUser *This,
        DATE *retval);

    HRESULT (STDMETHODCALLTYPE *put_PasswordExpirationDate)(
        IADsUser *This,
        DATE retval);

    HRESULT (STDMETHODCALLTYPE *get_PasswordMinimumLength)(
        IADsUser *This,
        LONG *retval);

    HRESULT (STDMETHODCALLTYPE *put_PasswordMinimumLength)(
        IADsUser *This,
        LONG retval);

    HRESULT (STDMETHODCALLTYPE *get_PasswordRequired)(
        IADsUser *This,
        VARIANT_BOOL *retval);

    HRESULT (STDMETHODCALLTYPE *put_PasswordRequired)(
        IADsUser *This,
        VARIANT_BOOL retval);

    HRESULT (STDMETHODCALLTYPE *get_RequireUniquePassword)(
        IADsUser *This,
        VARIANT_BOOL *retval);

    HRESULT (STDMETHODCALLTYPE *put_RequireUniquePassword)(
        IADsUser *This,
        VARIANT_BOOL retval);

    HRESULT (STDMETHODCALLTYPE *get_EmailAddress)(
        IADsUser *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *put_EmailAddress)(
        IADsUser *This,
        BSTR retval);

    HRESULT (STDMETHODCALLTYPE *get_HomeDirectory)(
        IADsUser *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *put_HomeDirectory)(
        IADsUser *This,
        BSTR retval);

    HRESULT (STDMETHODCALLTYPE *get_Languages)(
        IADsUser *This,
        VARIANT *retval);

    HRESULT (STDMETHODCALLTYPE *put_Languages)(
        IADsUser *This,
        VARIANT retval);

    HRESULT (STDMETHODCALLTYPE *get_Profile)(
        IADsUser *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *put_Profile)(
        IADsUser *This,
        BSTR retval);

    HRESULT (STDMETHODCALLTYPE *get_LoginScript)(
        IADsUser *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *put_LoginScript)(
        IADsUser *This,
        BSTR retval);

    HRESULT (STDMETHODCALLTYPE *get_Picture)(
        IADsUser *This,
        VARIANT *retval);

    HRESULT (STDMETHODCALLTYPE *put_Picture)(
        IADsUser *This,
        VARIANT retval);

    HRESULT (STDMETHODCALLTYPE *get_HomePage)(
        IADsUser *This,
        BSTR *retval);

    HRESULT (STDMETHODCALLTYPE *put_HomePage)(
        IADsUser *This,
        BSTR retval);

    HRESULT (STDMETHODCALLTYPE *Groups)(
        IADsUser *This,
        IADsMembers **ppGroups);

    HRESULT (STDMETHODCALLTYPE *SetPassword)(
        IADsUser *This,
        BSTR NewPassword);

    HRESULT (STDMETHODCALLTYPE *ChangePassword)(
        IADsUser *This,
        BSTR bstrOldPassword,
        BSTR bstrNewPassword);

    END_INTERFACE
} IADsUserVtbl;

interface IADsUser {
    CONST_VTBL IADsUserVtbl* lpVtbl;
};

#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IADsUser_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IADsUser_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IADsUser_Release(This) (This)->lpVtbl->Release(This)
/*** IDispatch methods ***/
#define IADsUser_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
#define IADsUser_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IADsUser_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IADsUser_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
/*** IADs methods ***/
#define IADsUser_get_Name(This,retval) (This)->lpVtbl->get_Name(This,retval)
#define IADsUser_get_Class(This,retval) (This)->lpVtbl->get_Class(This,retval)
#define IADsUser_get_GUID(This,retval) (This)->lpVtbl->get_GUID(This,retval)
#define IADsUser_get_ADsPath(This,retval) (This)->lpVtbl->get_ADsPath(This,retval)
#define IADsUser_get_Parent(This,retval) (This)->lpVtbl->get_Parent(This,retval)
#define IADsUser_get_Schema(This,retval) (This)->lpVtbl->get_Schema(This,retval)
#define IADsUser_GetInfo(This) (This)->lpVtbl->GetInfo(This)
#define IADsUser_SetInfo(This) (This)->lpVtbl->SetInfo(This)
#define IADsUser_Get(This,bstrName,pvProp) (This)->lpVtbl->Get(This,bstrName,pvProp)
#define IADsUser_Put(This,bstrName,vProp) (This)->lpVtbl->Put(This,bstrName,vProp)
#define IADsUser_GetEx(This,bstrName,pvProp) (This)->lpVtbl->GetEx(This,bstrName,pvProp)
#define IADsUser_PutEx(This,lnControlCode,bstrName,vProp) (This)->lpVtbl->PutEx(This,lnControlCode,bstrName,vProp)
#define IADsUser_GetInfoEx(This,vProperties,lnReserved) (This)->lpVtbl->GetInfoEx(This,vProperties,lnReserved)
/*** IADsUser methods ***/
#define IADsUser_get_BadLoginAddress(This,retval) (This)->lpVtbl->get_BadLoginAddress(This,retval)
#define IADsUser_get_BadLoginCount(This,retval) (This)->lpVtbl->get_BadLoginCount(This,retval)
#define IADsUser_get_LastLogin(This,retval) (This)->lpVtbl->get_LastLogin(This,retval)
#define IADsUser_get_LastLogoff(This,retval) (This)->lpVtbl->get_LastLogoff(This,retval)
#define IADsUser_get_LastFailedLogin(This,retval) (This)->lpVtbl->get_LastFailedLogin(This,retval)
#define IADsUser_get_PasswordLastChanged(This,retval) (This)->lpVtbl->get_PasswordLastChanged(This,retval)
#define IADsUser_get_Description(This,retval) (This)->lpVtbl->get_Description(This,retval)
#define IADsUser_put_Description(This,retval) (This)->lpVtbl->put_Description(This,retval)
#define IADsUser_get_Division(This,retval) (This)->lpVtbl->get_Division(This,retval)
#define IADsUser_put_Division(This,retval) (This)->lpVtbl->put_Division(This,retval)
#define IADsUser_get_Department(This,retval) (This)->lpVtbl->get_Department(This,retval)
#define IADsUser_put_Department(This,retval) (This)->lpVtbl->put_Department(This,retval)
#define IADsUser_get_EmployeeID(This,retval) (This)->lpVtbl->get_EmployeeID(This,retval)
#define IADsUser_put_EmployeeID(This,retval) (This)->lpVtbl->put_EmployeeID(This,retval)
#define IADsUser_get_FullName(This,retval) (This)->lpVtbl->get_FullName(This,retval)
#define IADsUser_put_FullName(This,retval) (This)->lpVtbl->put_FullName(This,retval)
#define IADsUser_get_FirstName(This,retval) (This)->lpVtbl->get_FirstName(This,retval)
#define IADsUser_put_FirstName(This,retval) (This)->lpVtbl->put_FirstName(This,retval)
#define IADsUser_get_LastName(This,retval) (This)->lpVtbl->get_LastName(This,retval)
#define IADsUser_put_LastName(This,retval) (This)->lpVtbl->put_LastName(This,retval)
#define IADsUser_get_OtherName(This,retval) (This)->lpVtbl->get_OtherName(This,retval)
#define IADsUser_put_OtherName(This,retval) (This)->lpVtbl->put_OtherName(This,retval)
#define IADsUser_get_NamePrefix(This,retval) (This)->lpVtbl->get_NamePrefix(This,retval)
#define IADsUser_put_NamePrefix(This,retval) (This)->lpVtbl->put_NamePrefix(This,retval)
#define IADsUser_get_NameSuffix(This,retval) (This)->lpVtbl->get_NameSuffix(This,retval)
#define IADsUser_put_NameSuffix(This,retval) (This)->lpVtbl->put_NameSuffix(This,retval)
#define IADsUser_get_Title(This,retval) (This)->lpVtbl->get_Title(This,retval)
#define IADsUser_put_Title(This,retval) (This)->lpVtbl->put_Title(This,retval)
#define IADsUser_get_Manager(This,retval) (This)->lpVtbl->get_Manager(This,retval)
#define IADsUser_put_Manager(This,retval) (This)->lpVtbl->put_Manager(This,retval)
#define IADsUser_get_TelephoneHome(This,retval) (This)->lpVtbl->get_TelephoneHome(This,retval)
#define IADsUser_put_TelephoneHome(This,retval) (This)->lpVtbl->put_TelephoneHome(This,retval)
#define IADsUser_get_TelephoneMobile(This,retval) (This)->lpVtbl->get_TelephoneMobile(This,retval)
#define IADsUser_put_TelephoneMobile(This,retval) (This)->lpVtbl->put_TelephoneMobile(This,retval)
#define IADsUser_get_TelephoneNumber(This,retval) (This)->lpVtbl->get_TelephoneNumber(This,retval)
#define IADsUser_put_TelephoneNumber(This,retval) (This)->lpVtbl->put_TelephoneNumber(This,retval)
#define IADsUser_get_TelephonePager(This,retval) (This)->lpVtbl->get_TelephonePager(This,retval)
#define IADsUser_put_TelephonePager(This,retval) (This)->lpVtbl->put_TelephonePager(This,retval)
#define IADsUser_get_FaxNumber(This,retval) (This)->lpVtbl->get_FaxNumber(This,retval)
#define IADsUser_put_FaxNumber(This,retval) (This)->lpVtbl->put_FaxNumber(This,retval)
#define IADsUser_get_OfficeLocations(This,retval) (This)->lpVtbl->get_OfficeLocations(This,retval)
#define IADsUser_put_OfficeLocations(This,retval) (This)->lpVtbl->put_OfficeLocations(This,retval)
#define IADsUser_get_PostalAddresses(This,retval) (This)->lpVtbl->get_PostalAddresses(This,retval)
#define IADsUser_put_PostalAddresses(This,retval) (This)->lpVtbl->put_PostalAddresses(This,retval)
#define IADsUser_get_PostalCodes(This,retval) (This)->lpVtbl->get_PostalCodes(This,retval)
#define IADsUser_put_PostalCodes(This,retval) (This)->lpVtbl->put_PostalCodes(This,retval)
#define IADsUser_get_SeeAlso(This,retval) (This)->lpVtbl->get_SeeAlso(This,retval)
#define IADsUser_put_SeeAlso(This,retval) (This)->lpVtbl->put_SeeAlso(This,retval)
#define IADsUser_get_AccountDisabled(This,retval) (This)->lpVtbl->get_AccountDisabled(This,retval)
#define IADsUser_put_AccountDisabled(This,retval) (This)->lpVtbl->put_AccountDisabled(This,retval)
#define IADsUser_get_AccountExpirationDate(This,retval) (This)->lpVtbl->get_AccountExpirationDate(This,retval)
#define IADsUser_put_AccountExpirationDate(This,retval) (This)->lpVtbl->put_AccountExpirationDate(This,retval)
#define IADsUser_get_GraceLoginsAllowed(This,retval) (This)->lpVtbl->get_GraceLoginsAllowed(This,retval)
#define IADsUser_put_GraceLoginsAllowed(This,retval) (This)->lpVtbl->put_GraceLoginsAllowed(This,retval)
#define IADsUser_get_GraceLoginsRemaining(This,retval) (This)->lpVtbl->get_GraceLoginsRemaining(This,retval)
#define IADsUser_put_GraceLoginsRemaining(This,retval) (This)->lpVtbl->put_GraceLoginsRemaining(This,retval)
#define IADsUser_get_IsAccountLocked(This,retval) (This)->lpVtbl->get_IsAccountLocked(This,retval)
#define IADsUser_put_IsAccountLocked(This,retval) (This)->lpVtbl->put_IsAccountLocked(This,retval)
#define IADsUser_get_LoginHours(This,retval) (This)->lpVtbl->get_LoginHours(This,retval)
#define IADsUser_put_LoginHours(This,retval) (This)->lpVtbl->put_LoginHours(This,retval)
#define IADsUser_get_LoginWorkstations(This,retval) (This)->lpVtbl->get_LoginWorkstations(This,retval)
#define IADsUser_put_LoginWorkstations(This,retval) (This)->lpVtbl->put_LoginWorkstations(This,retval)
#define IADsUser_get_MaxLogins(This,retval) (This)->lpVtbl->get_MaxLogins(This,retval)
#define IADsUser_put_MaxLogins(This,retval) (This)->lpVtbl->put_MaxLogins(This,retval)
#define IADsUser_get_MaxStorage(This,retval) (This)->lpVtbl->get_MaxStorage(This,retval)
#define IADsUser_put_MaxStorage(This,retval) (This)->lpVtbl->put_MaxStorage(This,retval)
#define IADsUser_get_PasswordExpirationDate(This,retval) (This)->lpVtbl->get_PasswordExpirationDate(This,retval)
#define IADsUser_put_PasswordExpirationDate(This,retval) (This)->lpVtbl->put_PasswordExpirationDate(This,retval)
#define IADsUser_get_PasswordMinimumLength(This,retval) (This)->lpVtbl->get_PasswordMinimumLength(This,retval)
#define IADsUser_put_PasswordMinimumLength(This,retval) (This)->lpVtbl->put_PasswordMinimumLength(This,retval)
#define IADsUser_get_PasswordRequired(This,retval) (This)->lpVtbl->get_PasswordRequired(This,retval)
#define IADsUser_put_PasswordRequired(This,retval) (This)->lpVtbl->put_PasswordRequired(This,retval)
#define IADsUser_get_RequireUniquePassword(This,retval) (This)->lpVtbl->get_RequireUniquePassword(This,retval)
#define IADsUser_put_RequireUniquePassword(This,retval) (This)->lpVtbl->put_RequireUniquePassword(This,retval)
#define IADsUser_get_EmailAddress(This,retval) (This)->lpVtbl->get_EmailAddress(This,retval)
#define IADsUser_put_EmailAddress(This,retval) (This)->lpVtbl->put_EmailAddress(This,retval)
#define IADsUser_get_HomeDirectory(This,retval) (This)->lpVtbl->get_HomeDirectory(This,retval)
#define IADsUser_put_HomeDirectory(This,retval) (This)->lpVtbl->put_HomeDirectory(This,retval)
#define IADsUser_get_Languages(This,retval) (This)->lpVtbl->get_Languages(This,retval)
#define IADsUser_put_Languages(This,retval) (This)->lpVtbl->put_Languages(This,retval)
#define IADsUser_get_Profile(This,retval) (This)->lpVtbl->get_Profile(This,retval)
#define IADsUser_put_Profile(This,retval) (This)->lpVtbl->put_Profile(This,retval)
#define IADsUser_get_LoginScript(This,retval) (This)->lpVtbl->get_LoginScript(This,retval)
#define IADsUser_put_LoginScript(This,retval) (This)->lpVtbl->put_LoginScript(This,retval)
#define IADsUser_get_Picture(This,retval) (This)->lpVtbl->get_Picture(This,retval)
#define IADsUser_put_Picture(This,retval) (This)->lpVtbl->put_Picture(This,retval)
#define IADsUser_get_HomePage(This,retval) (This)->lpVtbl->get_HomePage(This,retval)
#define IADsUser_put_HomePage(This,retval) (This)->lpVtbl->put_HomePage(This,retval)
#define IADsUser_Groups(This,ppGroups) (This)->lpVtbl->Groups(This,ppGroups)
#define IADsUser_SetPassword(This,NewPassword) (This)->lpVtbl->SetPassword(This,NewPassword)
#define IADsUser_ChangePassword(This,bstrOldPassword,bstrNewPassword) (This)->lpVtbl->ChangePassword(This,bstrOldPassword,bstrNewPassword)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IADsUser_QueryInterface(IADsUser* This,REFIID riid,void **ppvObject) {
    return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IADsUser_AddRef(IADsUser* This) {
    return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IADsUser_Release(IADsUser* This) {
    return This->lpVtbl->Release(This);
}
/*** IDispatch methods ***/
static FORCEINLINE HRESULT IADsUser_GetTypeInfoCount(IADsUser* This,UINT *pctinfo) {
    return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
}
static FORCEINLINE HRESULT IADsUser_GetTypeInfo(IADsUser* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
    return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
}
static FORCEINLINE HRESULT IADsUser_GetIDsOfNames(IADsUser* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
    return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
}
static FORCEINLINE HRESULT IADsUser_Invoke(IADsUser* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
    return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
}
/*** IADs methods ***/
static FORCEINLINE HRESULT IADsUser_get_Name(IADsUser* This,BSTR *retval) {
    return This->lpVtbl->get_Name(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_Class(IADsUser* This,BSTR *retval) {
    return This->lpVtbl->get_Class(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_GUID(IADsUser* This,BSTR *retval) {
    return This->lpVtbl->get_GUID(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_ADsPath(IADsUser* This,BSTR *retval) {
    return This->lpVtbl->get_ADsPath(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_Parent(IADsUser* This,BSTR *retval) {
    return This->lpVtbl->get_Parent(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_Schema(IADsUser* This,BSTR *retval) {
    return This->lpVtbl->get_Schema(This,retval);
}
static FORCEINLINE HRESULT IADsUser_GetInfo(IADsUser* This) {
    return This->lpVtbl->GetInfo(This);
}
static FORCEINLINE HRESULT IADsUser_SetInfo(IADsUser* This) {
    return This->lpVtbl->SetInfo(This);
}
static FORCEINLINE HRESULT IADsUser_Get(IADsUser* This,BSTR bstrName,VARIANT *pvProp) {
    return This->lpVtbl->Get(This,bstrName,pvProp);
}
static FORCEINLINE HRESULT IADsUser_Put(IADsUser* This,BSTR bstrName,VARIANT vProp) {
    return This->lpVtbl->Put(This,bstrName,vProp);
}
static FORCEINLINE HRESULT IADsUser_GetEx(IADsUser* This,BSTR bstrName,VARIANT *pvProp) {
    return This->lpVtbl->GetEx(This,bstrName,pvProp);
}
static FORCEINLINE HRESULT IADsUser_PutEx(IADsUser* This,LONG lnControlCode,BSTR bstrName,VARIANT vProp) {
    return This->lpVtbl->PutEx(This,lnControlCode,bstrName,vProp);
}
static FORCEINLINE HRESULT IADsUser_GetInfoEx(IADsUser* This,VARIANT vProperties,LONG lnReserved) {
    return This->lpVtbl->GetInfoEx(This,vProperties,lnReserved);
}
/*** IADsUser methods ***/
static FORCEINLINE HRESULT IADsUser_get_BadLoginAddress(IADsUser* This,BSTR *retval) {
    return This->lpVtbl->get_BadLoginAddress(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_BadLoginCount(IADsUser* This,LONG *retval) {
    return This->lpVtbl->get_BadLoginCount(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_LastLogin(IADsUser* This,DATE *retval) {
    return This->lpVtbl->get_LastLogin(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_LastLogoff(IADsUser* This,DATE *retval) {
    return This->lpVtbl->get_LastLogoff(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_LastFailedLogin(IADsUser* This,DATE *retval) {
    return This->lpVtbl->get_LastFailedLogin(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_PasswordLastChanged(IADsUser* This,DATE *retval) {
    return This->lpVtbl->get_PasswordLastChanged(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_Description(IADsUser* This,BSTR *retval) {
    return This->lpVtbl->get_Description(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_Description(IADsUser* This,BSTR retval) {
    return This->lpVtbl->put_Description(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_Division(IADsUser* This,BSTR *retval) {
    return This->lpVtbl->get_Division(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_Division(IADsUser* This,BSTR retval) {
    return This->lpVtbl->put_Division(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_Department(IADsUser* This,BSTR *retval) {
    return This->lpVtbl->get_Department(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_Department(IADsUser* This,BSTR retval) {
    return This->lpVtbl->put_Department(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_EmployeeID(IADsUser* This,BSTR *retval) {
    return This->lpVtbl->get_EmployeeID(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_EmployeeID(IADsUser* This,BSTR retval) {
    return This->lpVtbl->put_EmployeeID(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_FullName(IADsUser* This,BSTR *retval) {
    return This->lpVtbl->get_FullName(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_FullName(IADsUser* This,BSTR retval) {
    return This->lpVtbl->put_FullName(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_FirstName(IADsUser* This,BSTR *retval) {
    return This->lpVtbl->get_FirstName(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_FirstName(IADsUser* This,BSTR retval) {
    return This->lpVtbl->put_FirstName(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_LastName(IADsUser* This,BSTR *retval) {
    return This->lpVtbl->get_LastName(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_LastName(IADsUser* This,BSTR retval) {
    return This->lpVtbl->put_LastName(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_OtherName(IADsUser* This,BSTR *retval) {
    return This->lpVtbl->get_OtherName(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_OtherName(IADsUser* This,BSTR retval) {
    return This->lpVtbl->put_OtherName(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_NamePrefix(IADsUser* This,BSTR *retval) {
    return This->lpVtbl->get_NamePrefix(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_NamePrefix(IADsUser* This,BSTR retval) {
    return This->lpVtbl->put_NamePrefix(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_NameSuffix(IADsUser* This,BSTR *retval) {
    return This->lpVtbl->get_NameSuffix(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_NameSuffix(IADsUser* This,BSTR retval) {
    return This->lpVtbl->put_NameSuffix(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_Title(IADsUser* This,BSTR *retval) {
    return This->lpVtbl->get_Title(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_Title(IADsUser* This,BSTR retval) {
    return This->lpVtbl->put_Title(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_Manager(IADsUser* This,BSTR *retval) {
    return This->lpVtbl->get_Manager(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_Manager(IADsUser* This,BSTR retval) {
    return This->lpVtbl->put_Manager(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_TelephoneHome(IADsUser* This,VARIANT *retval) {
    return This->lpVtbl->get_TelephoneHome(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_TelephoneHome(IADsUser* This,VARIANT retval) {
    return This->lpVtbl->put_TelephoneHome(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_TelephoneMobile(IADsUser* This,VARIANT *retval) {
    return This->lpVtbl->get_TelephoneMobile(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_TelephoneMobile(IADsUser* This,VARIANT retval) {
    return This->lpVtbl->put_TelephoneMobile(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_TelephoneNumber(IADsUser* This,VARIANT *retval) {
    return This->lpVtbl->get_TelephoneNumber(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_TelephoneNumber(IADsUser* This,VARIANT retval) {
    return This->lpVtbl->put_TelephoneNumber(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_TelephonePager(IADsUser* This,VARIANT *retval) {
    return This->lpVtbl->get_TelephonePager(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_TelephonePager(IADsUser* This,VARIANT retval) {
    return This->lpVtbl->put_TelephonePager(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_FaxNumber(IADsUser* This,VARIANT *retval) {
    return This->lpVtbl->get_FaxNumber(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_FaxNumber(IADsUser* This,VARIANT retval) {
    return This->lpVtbl->put_FaxNumber(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_OfficeLocations(IADsUser* This,VARIANT *retval) {
    return This->lpVtbl->get_OfficeLocations(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_OfficeLocations(IADsUser* This,VARIANT retval) {
    return This->lpVtbl->put_OfficeLocations(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_PostalAddresses(IADsUser* This,VARIANT *retval) {
    return This->lpVtbl->get_PostalAddresses(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_PostalAddresses(IADsUser* This,VARIANT retval) {
    return This->lpVtbl->put_PostalAddresses(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_PostalCodes(IADsUser* This,VARIANT *retval) {
    return This->lpVtbl->get_PostalCodes(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_PostalCodes(IADsUser* This,VARIANT retval) {
    return This->lpVtbl->put_PostalCodes(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_SeeAlso(IADsUser* This,VARIANT *retval) {
    return This->lpVtbl->get_SeeAlso(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_SeeAlso(IADsUser* This,VARIANT retval) {
    return This->lpVtbl->put_SeeAlso(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_AccountDisabled(IADsUser* This,VARIANT_BOOL *retval) {
    return This->lpVtbl->get_AccountDisabled(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_AccountDisabled(IADsUser* This,VARIANT_BOOL retval) {
    return This->lpVtbl->put_AccountDisabled(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_AccountExpirationDate(IADsUser* This,DATE *retval) {
    return This->lpVtbl->get_AccountExpirationDate(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_AccountExpirationDate(IADsUser* This,DATE retval) {
    return This->lpVtbl->put_AccountExpirationDate(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_GraceLoginsAllowed(IADsUser* This,LONG *retval) {
    return This->lpVtbl->get_GraceLoginsAllowed(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_GraceLoginsAllowed(IADsUser* This,LONG retval) {
    return This->lpVtbl->put_GraceLoginsAllowed(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_GraceLoginsRemaining(IADsUser* This,LONG *retval) {
    return This->lpVtbl->get_GraceLoginsRemaining(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_GraceLoginsRemaining(IADsUser* This,LONG retval) {
    return This->lpVtbl->put_GraceLoginsRemaining(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_IsAccountLocked(IADsUser* This,VARIANT_BOOL *retval) {
    return This->lpVtbl->get_IsAccountLocked(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_IsAccountLocked(IADsUser* This,VARIANT_BOOL retval) {
    return This->lpVtbl->put_IsAccountLocked(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_LoginHours(IADsUser* This,VARIANT *retval) {
    return This->lpVtbl->get_LoginHours(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_LoginHours(IADsUser* This,VARIANT retval) {
    return This->lpVtbl->put_LoginHours(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_LoginWorkstations(IADsUser* This,VARIANT *retval) {
    return This->lpVtbl->get_LoginWorkstations(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_LoginWorkstations(IADsUser* This,VARIANT retval) {
    return This->lpVtbl->put_LoginWorkstations(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_MaxLogins(IADsUser* This,LONG *retval) {
    return This->lpVtbl->get_MaxLogins(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_MaxLogins(IADsUser* This,LONG retval) {
    return This->lpVtbl->put_MaxLogins(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_MaxStorage(IADsUser* This,LONG *retval) {
    return This->lpVtbl->get_MaxStorage(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_MaxStorage(IADsUser* This,LONG retval) {
    return This->lpVtbl->put_MaxStorage(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_PasswordExpirationDate(IADsUser* This,DATE *retval) {
    return This->lpVtbl->get_PasswordExpirationDate(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_PasswordExpirationDate(IADsUser* This,DATE retval) {
    return This->lpVtbl->put_PasswordExpirationDate(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_PasswordMinimumLength(IADsUser* This,LONG *retval) {
    return This->lpVtbl->get_PasswordMinimumLength(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_PasswordMinimumLength(IADsUser* This,LONG retval) {
    return This->lpVtbl->put_PasswordMinimumLength(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_PasswordRequired(IADsUser* This,VARIANT_BOOL *retval) {
    return This->lpVtbl->get_PasswordRequired(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_PasswordRequired(IADsUser* This,VARIANT_BOOL retval) {
    return This->lpVtbl->put_PasswordRequired(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_RequireUniquePassword(IADsUser* This,VARIANT_BOOL *retval) {
    return This->lpVtbl->get_RequireUniquePassword(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_RequireUniquePassword(IADsUser* This,VARIANT_BOOL retval) {
    return This->lpVtbl->put_RequireUniquePassword(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_EmailAddress(IADsUser* This,BSTR *retval) {
    return This->lpVtbl->get_EmailAddress(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_EmailAddress(IADsUser* This,BSTR retval) {
    return This->lpVtbl->put_EmailAddress(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_HomeDirectory(IADsUser* This,BSTR *retval) {
    return This->lpVtbl->get_HomeDirectory(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_HomeDirectory(IADsUser* This,BSTR retval) {
    return This->lpVtbl->put_HomeDirectory(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_Languages(IADsUser* This,VARIANT *retval) {
    return This->lpVtbl->get_Languages(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_Languages(IADsUser* This,VARIANT retval) {
    return This->lpVtbl->put_Languages(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_Profile(IADsUser* This,BSTR *retval) {
    return This->lpVtbl->get_Profile(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_Profile(IADsUser* This,BSTR retval) {
    return This->lpVtbl->put_Profile(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_LoginScript(IADsUser* This,BSTR *retval) {
    return This->lpVtbl->get_LoginScript(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_LoginScript(IADsUser* This,BSTR retval) {
    return This->lpVtbl->put_LoginScript(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_Picture(IADsUser* This,VARIANT *retval) {
    return This->lpVtbl->get_Picture(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_Picture(IADsUser* This,VARIANT retval) {
    return This->lpVtbl->put_Picture(This,retval);
}
static FORCEINLINE HRESULT IADsUser_get_HomePage(IADsUser* This,BSTR *retval) {
    return This->lpVtbl->get_HomePage(This,retval);
}
static FORCEINLINE HRESULT IADsUser_put_HomePage(IADsUser* This,BSTR retval) {
    return This->lpVtbl->put_HomePage(This,retval);
}
static FORCEINLINE HRESULT IADsUser_Groups(IADsUser* This,IADsMembers **ppGroups) {
    return This->lpVtbl->Groups(This,ppGroups);
}
static FORCEINLINE HRESULT IADsUser_SetPassword(IADsUser* This,BSTR NewPassword) {
    return This->lpVtbl->SetPassword(This,NewPassword);
}
static FORCEINLINE HRESULT IADsUser_ChangePassword(IADsUser* This,BSTR bstrOldPassword,BSTR bstrNewPassword) {
    return This->lpVtbl->ChangePassword(This,bstrOldPassword,bstrNewPassword);
}
#endif
#endif

#endif


#endif  /* __IADsUser_INTERFACE_DEFINED__ */

/*****************************************************************************
 * IDirectorySearch interface
 */
#ifndef __IDirectorySearch_INTERFACE_DEFINED__
#define __IDirectorySearch_INTERFACE_DEFINED__

DEFINE_GUID(IID_IDirectorySearch, 0x109ba8ec, 0x92f0, 0x11d0, 0xa7,0x90, 0x00,0xc0,0x4f,0xd8,0xd5,0xa8);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("109ba8ec-92f0-11d0-a790-00c04fd8d5a8")
IDirectorySearch : public IUnknown
{
    virtual HRESULT STDMETHODCALLTYPE SetSearchPreference(
        PADS_SEARCHPREF_INFO pSearchPrefs,
        DWORD dwNumPrefs) = 0;

    virtual HRESULT STDMETHODCALLTYPE ExecuteSearch(
        LPWSTR pszSearchFilter,
        LPWSTR *pAttributeNames,
        DWORD dwNumberAttributes,
        PADS_SEARCH_HANDLE phSearchResult) = 0;

    virtual HRESULT STDMETHODCALLTYPE AbandonSearch(
        ADS_SEARCH_HANDLE phSearchResult) = 0;

    virtual HRESULT STDMETHODCALLTYPE GetFirstRow(
        ADS_SEARCH_HANDLE hSearchResult) = 0;

    virtual HRESULT STDMETHODCALLTYPE GetNextRow(
        ADS_SEARCH_HANDLE hSearchResult) = 0;

    virtual HRESULT STDMETHODCALLTYPE GetPreviousRow(
        ADS_SEARCH_HANDLE hSearchResult) = 0;

    virtual HRESULT STDMETHODCALLTYPE GetNextColumnName(
        ADS_SEARCH_HANDLE hSearchHandle,
        LPWSTR *ppszColumnName) = 0;

    virtual HRESULT STDMETHODCALLTYPE GetColumn(
        ADS_SEARCH_HANDLE hSearchResult,
        LPWSTR szColumnName,
        PADS_SEARCH_COLUMN pSearchColumn) = 0;

    virtual HRESULT STDMETHODCALLTYPE FreeColumn(
        PADS_SEARCH_COLUMN pSearchColumn) = 0;

    virtual HRESULT STDMETHODCALLTYPE CloseSearchHandle(
        ADS_SEARCH_HANDLE hSearchResult) = 0;

};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IDirectorySearch, 0x109ba8ec, 0x92f0, 0x11d0, 0xa7,0x90, 0x00,0xc0,0x4f,0xd8,0xd5,0xa8)
#endif
#else
typedef struct IDirectorySearchVtbl {
    BEGIN_INTERFACE

    /*** IUnknown methods ***/
    HRESULT (STDMETHODCALLTYPE *QueryInterface)(
        IDirectorySearch *This,
        REFIID riid,
        void **ppvObject);

    ULONG (STDMETHODCALLTYPE *AddRef)(
        IDirectorySearch *This);

    ULONG (STDMETHODCALLTYPE *Release)(
        IDirectorySearch *This);

    /*** IDirectorySearch methods ***/
    HRESULT (STDMETHODCALLTYPE *SetSearchPreference)(
        IDirectorySearch *This,
        PADS_SEARCHPREF_INFO pSearchPrefs,
        DWORD dwNumPrefs);

    HRESULT (STDMETHODCALLTYPE *ExecuteSearch)(
        IDirectorySearch *This,
        LPWSTR pszSearchFilter,
        LPWSTR *pAttributeNames,
        DWORD dwNumberAttributes,
        PADS_SEARCH_HANDLE phSearchResult);

    HRESULT (STDMETHODCALLTYPE *AbandonSearch)(
        IDirectorySearch *This,
        ADS_SEARCH_HANDLE phSearchResult);

    HRESULT (STDMETHODCALLTYPE *GetFirstRow)(
        IDirectorySearch *This,
        ADS_SEARCH_HANDLE hSearchResult);

    HRESULT (STDMETHODCALLTYPE *GetNextRow)(
        IDirectorySearch *This,
        ADS_SEARCH_HANDLE hSearchResult);

    HRESULT (STDMETHODCALLTYPE *GetPreviousRow)(
        IDirectorySearch *This,
        ADS_SEARCH_HANDLE hSearchResult);

    HRESULT (STDMETHODCALLTYPE *GetNextColumnName)(
        IDirectorySearch *This,
        ADS_SEARCH_HANDLE hSearchHandle,
        LPWSTR *ppszColumnName);

    HRESULT (STDMETHODCALLTYPE *GetColumn)(
        IDirectorySearch *This,
        ADS_SEARCH_HANDLE hSearchResult,
        LPWSTR szColumnName,
        PADS_SEARCH_COLUMN pSearchColumn);

    HRESULT (STDMETHODCALLTYPE *FreeColumn)(
        IDirectorySearch *This,
        PADS_SEARCH_COLUMN pSearchColumn);

    HRESULT (STDMETHODCALLTYPE *CloseSearchHandle)(
        IDirectorySearch *This,
        ADS_SEARCH_HANDLE hSearchResult);

    END_INTERFACE
} IDirectorySearchVtbl;

interface IDirectorySearch {
    CONST_VTBL IDirectorySearchVtbl* lpVtbl;
};

#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IDirectorySearch_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IDirectorySearch_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IDirectorySearch_Release(This) (This)->lpVtbl->Release(This)
/*** IDirectorySearch methods ***/
#define IDirectorySearch_SetSearchPreference(This,pSearchPrefs,dwNumPrefs) (This)->lpVtbl->SetSearchPreference(This,pSearchPrefs,dwNumPrefs)
#define IDirectorySearch_ExecuteSearch(This,pszSearchFilter,pAttributeNames,dwNumberAttributes,phSearchResult) (This)->lpVtbl->ExecuteSearch(This,pszSearchFilter,pAttributeNames,dwNumberAttributes,phSearchResult)
#define IDirectorySearch_AbandonSearch(This,phSearchResult) (This)->lpVtbl->AbandonSearch(This,phSearchResult)
#define IDirectorySearch_GetFirstRow(This,hSearchResult) (This)->lpVtbl->GetFirstRow(This,hSearchResult)
#define IDirectorySearch_GetNextRow(This,hSearchResult) (This)->lpVtbl->GetNextRow(This,hSearchResult)
#define IDirectorySearch_GetPreviousRow(This,hSearchResult) (This)->lpVtbl->GetPreviousRow(This,hSearchResult)
#define IDirectorySearch_GetNextColumnName(This,hSearchHandle,ppszColumnName) (This)->lpVtbl->GetNextColumnName(This,hSearchHandle,ppszColumnName)
#define IDirectorySearch_GetColumn(This,hSearchResult,szColumnName,pSearchColumn) (This)->lpVtbl->GetColumn(This,hSearchResult,szColumnName,pSearchColumn)
#define IDirectorySearch_FreeColumn(This,pSearchColumn) (This)->lpVtbl->FreeColumn(This,pSearchColumn)
#define IDirectorySearch_CloseSearchHandle(This,hSearchResult) (This)->lpVtbl->CloseSearchHandle(This,hSearchResult)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IDirectorySearch_QueryInterface(IDirectorySearch* This,REFIID riid,void **ppvObject) {
    return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IDirectorySearch_AddRef(IDirectorySearch* This) {
    return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IDirectorySearch_Release(IDirectorySearch* This) {
    return This->lpVtbl->Release(This);
}
/*** IDirectorySearch methods ***/
static FORCEINLINE HRESULT IDirectorySearch_SetSearchPreference(IDirectorySearch* This,PADS_SEARCHPREF_INFO pSearchPrefs,DWORD dwNumPrefs) {
    return This->lpVtbl->SetSearchPreference(This,pSearchPrefs,dwNumPrefs);
}
static FORCEINLINE HRESULT IDirectorySearch_ExecuteSearch(IDirectorySearch* This,LPWSTR pszSearchFilter,LPWSTR *pAttributeNames,DWORD dwNumberAttributes,PADS_SEARCH_HANDLE phSearchResult) {
    return This->lpVtbl->ExecuteSearch(This,pszSearchFilter,pAttributeNames,dwNumberAttributes,phSearchResult);
}
static FORCEINLINE HRESULT IDirectorySearch_AbandonSearch(IDirectorySearch* This,ADS_SEARCH_HANDLE phSearchResult) {
    return This->lpVtbl->AbandonSearch(This,phSearchResult);
}
static FORCEINLINE HRESULT IDirectorySearch_GetFirstRow(IDirectorySearch* This,ADS_SEARCH_HANDLE hSearchResult) {
    return This->lpVtbl->GetFirstRow(This,hSearchResult);
}
static FORCEINLINE HRESULT IDirectorySearch_GetNextRow(IDirectorySearch* This,ADS_SEARCH_HANDLE hSearchResult) {
    return This->lpVtbl->GetNextRow(This,hSearchResult);
}
static FORCEINLINE HRESULT IDirectorySearch_GetPreviousRow(IDirectorySearch* This,ADS_SEARCH_HANDLE hSearchResult) {
    return This->lpVtbl->GetPreviousRow(This,hSearchResult);
}
static FORCEINLINE HRESULT IDirectorySearch_GetNextColumnName(IDirectorySearch* This,ADS_SEARCH_HANDLE hSearchHandle,LPWSTR *ppszColumnName) {
    return This->lpVtbl->GetNextColumnName(This,hSearchHandle,ppszColumnName);
}
static FORCEINLINE HRESULT IDirectorySearch_GetColumn(IDirectorySearch* This,ADS_SEARCH_HANDLE hSearchResult,LPWSTR szColumnName,PADS_SEARCH_COLUMN pSearchColumn) {
    return This->lpVtbl->GetColumn(This,hSearchResult,szColumnName,pSearchColumn);
}
static FORCEINLINE HRESULT IDirectorySearch_FreeColumn(IDirectorySearch* This,PADS_SEARCH_COLUMN pSearchColumn) {
    return This->lpVtbl->FreeColumn(This,pSearchColumn);
}
static FORCEINLINE HRESULT IDirectorySearch_CloseSearchHandle(IDirectorySearch* This,ADS_SEARCH_HANDLE hSearchResult) {
    return This->lpVtbl->CloseSearchHandle(This,hSearchResult);
}
#endif
#endif

#endif


#endif  /* __IDirectorySearch_INTERFACE_DEFINED__ */

/* Begin additional prototypes for all interfaces */

ULONG           __RPC_USER VARIANT_UserSize     (ULONG *, ULONG, VARIANT *);
unsigned char * __RPC_USER VARIANT_UserMarshal  (ULONG *, unsigned char *, VARIANT *);
unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *);
void            __RPC_USER VARIANT_UserFree     (ULONG *, VARIANT *);
ULONG           __RPC_USER BSTR_UserSize     (ULONG *, ULONG, BSTR *);
unsigned char * __RPC_USER BSTR_UserMarshal  (ULONG *, unsigned char *, BSTR *);
unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
void            __RPC_USER BSTR_UserFree     (ULONG *, BSTR *);

/* End additional prototypes */

#ifdef __cplusplus
}
#endif

#endif /* __iads_h__ */