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
|
/* header auto-generated by pidl */
#include <stdint.h>
#include "librpc/gen_ndr/security.h"
#include "librpc/gen_ndr/svcctl.h"
#ifndef _HEADER_srvsvc
#define _HEADER_srvsvc
#define STYPE_TEMPORARY ( 0x40000000 )
#define STYPE_HIDDEN ( 0x80000000 )
#define SHARE_1005_CSC_POLICY_MASK ( 0x00000030 )
#define SHARE_1005_CSC_POLICY_SHIFT ( 4 )
struct srvsvc_NetCharDevInfo0 {
const char *device;/* [unique,charset(UTF16)] */
};
struct srvsvc_NetCharDevCtr0 {
uint32_t count;
struct srvsvc_NetCharDevInfo0 *array;/* [unique,size_is(count)] */
};
struct srvsvc_NetCharDevInfo1 {
const char *device;/* [unique,charset(UTF16)] */
uint32_t status;
const char *user;/* [unique,charset(UTF16)] */
uint32_t time;
};
struct srvsvc_NetCharDevCtr1 {
uint32_t count;
struct srvsvc_NetCharDevInfo1 *array;/* [unique,size_is(count)] */
};
union srvsvc_NetCharDevInfo {
struct srvsvc_NetCharDevInfo0 *info0;/* [unique,case(0)] */
struct srvsvc_NetCharDevInfo1 *info1;/* [unique,case] */
};
union srvsvc_NetCharDevCtr {
struct srvsvc_NetCharDevCtr0 *ctr0;/* [unique,case(0)] */
struct srvsvc_NetCharDevCtr1 *ctr1;/* [unique,case] */
};
struct srvsvc_NetCharDevQInfo0 {
const char *device;/* [unique,charset(UTF16)] */
};
struct srvsvc_NetCharDevQCtr0 {
uint32_t count;
struct srvsvc_NetCharDevQInfo0 *array;/* [unique,size_is(count)] */
};
struct srvsvc_NetCharDevQInfo1 {
const char *device;/* [unique,charset(UTF16)] */
uint32_t priority;
const char *devices;/* [unique,charset(UTF16)] */
uint32_t users;
uint32_t num_ahead;
};
struct srvsvc_NetCharDevQCtr1 {
uint32_t count;
struct srvsvc_NetCharDevQInfo1 *array;/* [unique,size_is(count)] */
};
union srvsvc_NetCharDevQInfo {
struct srvsvc_NetCharDevQInfo0 *info0;/* [unique,case(0)] */
struct srvsvc_NetCharDevQInfo1 *info1;/* [unique,case] */
};
union srvsvc_NetCharDevQCtr {
struct srvsvc_NetCharDevQCtr0 *ctr0;/* [unique,case(0)] */
struct srvsvc_NetCharDevQCtr1 *ctr1;/* [unique,case] */
};
struct srvsvc_NetConnInfo0 {
uint32_t conn_id;
};
struct srvsvc_NetConnCtr0 {
uint32_t count;
struct srvsvc_NetConnInfo0 *array;/* [unique,size_is(count)] */
};
struct srvsvc_NetConnInfo1 {
uint32_t conn_id;
uint32_t conn_type;
uint32_t num_open;
uint32_t num_users;
uint32_t conn_time;
const char *user;/* [unique,charset(UTF16)] */
const char *share;/* [unique,charset(UTF16)] */
};
struct srvsvc_NetConnCtr1 {
uint32_t count;
struct srvsvc_NetConnInfo1 *array;/* [unique,size_is(count)] */
};
union srvsvc_NetConnCtr {
struct srvsvc_NetConnCtr0 *ctr0;/* [unique,case(0)] */
struct srvsvc_NetConnCtr1 *ctr1;/* [unique,case] */
};
struct srvsvc_NetConnInfoCtr {
uint32_t level;
union srvsvc_NetConnCtr ctr;/* [switch_is(level)] */
};
struct srvsvc_NetFileInfo2 {
uint32_t fid;
};
struct srvsvc_NetFileCtr2 {
uint32_t count;
struct srvsvc_NetFileInfo2 *array;/* [unique,size_is(count)] */
};
struct srvsvc_NetFileInfo3 {
uint32_t fid;
uint32_t permissions;
uint32_t num_locks;
const char *path;/* [unique,charset(UTF16)] */
const char *user;/* [unique,charset(UTF16)] */
};
struct srvsvc_NetFileCtr3 {
uint32_t count;
struct srvsvc_NetFileInfo3 *array;/* [unique,size_is(count)] */
};
union srvsvc_NetFileInfo {
struct srvsvc_NetFileInfo2 *info2;/* [unique,case(2)] */
struct srvsvc_NetFileInfo3 *info3;/* [unique,case(3)] */
};
union srvsvc_NetFileCtr {
struct srvsvc_NetFileCtr2 *ctr2;/* [unique,case(2)] */
struct srvsvc_NetFileCtr3 *ctr3;/* [unique,case(3)] */
};
struct srvsvc_NetFileInfoCtr {
uint32_t level;
union srvsvc_NetFileCtr ctr;/* [switch_is(level)] */
};
struct srvsvc_NetSessInfo0 {
const char *client;/* [unique,charset(UTF16)] */
};
struct srvsvc_NetSessCtr0 {
uint32_t count;
struct srvsvc_NetSessInfo0 *array;/* [unique,size_is(count)] */
};
struct srvsvc_NetSessInfo1 {
const char *client;/* [unique,charset(UTF16)] */
const char *user;/* [unique,charset(UTF16)] */
uint32_t num_open;
uint32_t time;
uint32_t idle_time;
uint32_t user_flags;
};
struct srvsvc_NetSessCtr1 {
uint32_t count;
struct srvsvc_NetSessInfo1 *array;/* [unique,size_is(count)] */
};
struct srvsvc_NetSessInfo2 {
const char *client;/* [unique,charset(UTF16)] */
const char *user;/* [unique,charset(UTF16)] */
uint32_t num_open;
uint32_t time;
uint32_t idle_time;
uint32_t user_flags;
const char *client_type;/* [unique,charset(UTF16)] */
};
struct srvsvc_NetSessCtr2 {
uint32_t count;
struct srvsvc_NetSessInfo2 *array;/* [unique,size_is(count)] */
};
struct srvsvc_NetSessInfo10 {
const char *client;/* [unique,charset(UTF16)] */
const char *user;/* [unique,charset(UTF16)] */
uint32_t time;
uint32_t idle_time;
};
struct srvsvc_NetSessCtr10 {
uint32_t count;
struct srvsvc_NetSessInfo10 *array;/* [unique,size_is(count)] */
};
struct srvsvc_NetSessInfo502 {
const char *client;/* [unique,charset(UTF16)] */
const char *user;/* [unique,charset(UTF16)] */
uint32_t num_open;
uint32_t time;
uint32_t idle_time;
uint32_t user_flags;
const char *client_type;/* [unique,charset(UTF16)] */
const char *transport;/* [unique,charset(UTF16)] */
};
struct srvsvc_NetSessCtr502 {
uint32_t count;
struct srvsvc_NetSessInfo502 *array;/* [unique,size_is(count)] */
};
union srvsvc_NetSessCtr {
struct srvsvc_NetSessCtr0 *ctr0;/* [unique,case(0)] */
struct srvsvc_NetSessCtr1 *ctr1;/* [unique,case] */
struct srvsvc_NetSessCtr2 *ctr2;/* [unique,case(2)] */
struct srvsvc_NetSessCtr10 *ctr10;/* [unique,case(10)] */
struct srvsvc_NetSessCtr502 *ctr502;/* [unique,case(502)] */
};
struct srvsvc_NetSessInfoCtr {
uint32_t level;
union srvsvc_NetSessCtr ctr;/* [switch_is(level)] */
};
enum srvsvc_ShareType
#ifndef USE_UINT_ENUMS
{
STYPE_DISKTREE=0,
STYPE_DISKTREE_TEMPORARY=STYPE_DISKTREE|STYPE_TEMPORARY,
STYPE_DISKTREE_HIDDEN=STYPE_DISKTREE|STYPE_HIDDEN,
STYPE_PRINTQ=1,
STYPE_PRINTQ_TEMPORARY=STYPE_PRINTQ|STYPE_TEMPORARY,
STYPE_PRINTQ_HIDDEN=STYPE_PRINTQ|STYPE_HIDDEN,
STYPE_DEVICE=2,
STYPE_DEVICE_TEMPORARY=STYPE_DEVICE|STYPE_TEMPORARY,
STYPE_DEVICE_HIDDEN=STYPE_DEVICE|STYPE_HIDDEN,
STYPE_IPC=3,
STYPE_IPC_TEMPORARY=STYPE_IPC|STYPE_TEMPORARY,
STYPE_IPC_HIDDEN=STYPE_IPC|STYPE_HIDDEN
}
#else
{ __donnot_use_enum_srvsvc_ShareType=0x7FFFFFFF}
#define STYPE_DISKTREE ( 0 )
#define STYPE_DISKTREE_TEMPORARY ( STYPE_DISKTREE|STYPE_TEMPORARY )
#define STYPE_DISKTREE_HIDDEN ( STYPE_DISKTREE|STYPE_HIDDEN )
#define STYPE_PRINTQ ( 1 )
#define STYPE_PRINTQ_TEMPORARY ( STYPE_PRINTQ|STYPE_TEMPORARY )
#define STYPE_PRINTQ_HIDDEN ( STYPE_PRINTQ|STYPE_HIDDEN )
#define STYPE_DEVICE ( 2 )
#define STYPE_DEVICE_TEMPORARY ( STYPE_DEVICE|STYPE_TEMPORARY )
#define STYPE_DEVICE_HIDDEN ( STYPE_DEVICE|STYPE_HIDDEN )
#define STYPE_IPC ( 3 )
#define STYPE_IPC_TEMPORARY ( STYPE_IPC|STYPE_TEMPORARY )
#define STYPE_IPC_HIDDEN ( STYPE_IPC|STYPE_HIDDEN )
#endif
;
struct srvsvc_NetShareInfo0 {
const char *name;/* [unique,charset(UTF16)] */
};
struct srvsvc_NetShareCtr0 {
uint32_t count;
struct srvsvc_NetShareInfo0 *array;/* [unique,size_is(count)] */
};
struct srvsvc_NetShareInfo1 {
const char *name;/* [unique,charset(UTF16)] */
enum srvsvc_ShareType type;
const char *comment;/* [unique,charset(UTF16)] */
};
struct srvsvc_NetShareCtr1 {
uint32_t count;
struct srvsvc_NetShareInfo1 *array;/* [unique,size_is(count)] */
};
struct srvsvc_NetShareInfo2 {
const char *name;/* [unique,charset(UTF16)] */
enum srvsvc_ShareType type;
const char *comment;/* [unique,charset(UTF16)] */
uint32_t permissions;
uint32_t max_users;
uint32_t current_users;
const char *path;/* [unique,charset(UTF16)] */
const char *password;/* [unique,charset(UTF16)] */
};
struct srvsvc_NetShareCtr2 {
uint32_t count;
struct srvsvc_NetShareInfo2 *array;/* [unique,size_is(count)] */
};
struct srvsvc_NetShareInfo501 {
const char *name;/* [unique,charset(UTF16)] */
enum srvsvc_ShareType type;
const char *comment;/* [unique,charset(UTF16)] */
uint32_t csc_policy;
};
struct srvsvc_NetShareCtr501 {
uint32_t count;
struct srvsvc_NetShareInfo501 *array;/* [unique,size_is(count)] */
};
struct srvsvc_NetShareInfo502 {
const char *name;/* [unique,charset(UTF16)] */
enum srvsvc_ShareType type;
const char *comment;/* [unique,charset(UTF16)] */
uint32_t permissions;
uint32_t max_users;
uint32_t current_users;
const char *path;/* [unique,charset(UTF16)] */
const char *password;/* [unique,charset(UTF16)] */
struct sec_desc_buf sd_buf;
};
struct srvsvc_NetShareCtr502 {
uint32_t count;
struct srvsvc_NetShareInfo502 *array;/* [unique,size_is(count)] */
};
struct srvsvc_NetShareInfo1004 {
const char *comment;/* [unique,charset(UTF16)] */
};
struct srvsvc_NetShareCtr1004 {
uint32_t count;
struct srvsvc_NetShareInfo1004 *array;/* [unique,size_is(count)] */
};
/* bitmap NetShareInfo1005Flags */
#define SHARE_1005_IN_DFS ( 0x00000001 )
#define SHARE_1005_DFS_ROOT ( 0x00000002 )
struct srvsvc_NetShareInfo1005 {
uint32_t dfs_flags;
};
struct srvsvc_NetShareCtr1005 {
uint32_t count;
struct srvsvc_NetShareInfo1005 *array;/* [unique,size_is(count)] */
};
struct srvsvc_NetShareInfo1006 {
uint32_t max_users;
};
struct srvsvc_NetShareCtr1006 {
uint32_t count;
struct srvsvc_NetShareInfo1006 *array;/* [unique,size_is(count)] */
};
struct srvsvc_NetShareInfo1007 {
uint32_t flags;
const char *alternate_directory_name;/* [unique,charset(UTF16)] */
};
struct srvsvc_NetShareCtr1007 {
uint32_t count;
struct srvsvc_NetShareInfo1007 *array;/* [unique,size_is(count)] */
};
struct srvsvc_NetShareCtr1501 {
uint32_t count;
struct sec_desc_buf *array;/* [unique,size_is(count)] */
};
union srvsvc_NetShareInfo {
struct srvsvc_NetShareInfo0 *info0;/* [unique,case(0)] */
struct srvsvc_NetShareInfo1 *info1;/* [unique,case] */
struct srvsvc_NetShareInfo2 *info2;/* [unique,case(2)] */
struct srvsvc_NetShareInfo501 *info501;/* [unique,case(501)] */
struct srvsvc_NetShareInfo502 *info502;/* [unique,case(502)] */
struct srvsvc_NetShareInfo1004 *info1004;/* [unique,case(1004)] */
struct srvsvc_NetShareInfo1005 *info1005;/* [unique,case(1005)] */
struct srvsvc_NetShareInfo1006 *info1006;/* [unique,case(1006)] */
struct srvsvc_NetShareInfo1007 *info1007;/* [unique,case(1007)] */
struct sec_desc_buf *info1501;/* [unique,case(1501)] */
};
union srvsvc_NetShareCtr {
struct srvsvc_NetShareCtr0 *ctr0;/* [unique,case(0)] */
struct srvsvc_NetShareCtr1 *ctr1;/* [unique,case] */
struct srvsvc_NetShareCtr2 *ctr2;/* [unique,case(2)] */
struct srvsvc_NetShareCtr501 *ctr501;/* [unique,case(501)] */
struct srvsvc_NetShareCtr502 *ctr502;/* [unique,case(502)] */
struct srvsvc_NetShareCtr1004 *ctr1004;/* [unique,case(1004)] */
struct srvsvc_NetShareCtr1005 *ctr1005;/* [unique,case(1005)] */
struct srvsvc_NetShareCtr1006 *ctr1006;/* [unique,case(1006)] */
struct srvsvc_NetShareCtr1007 *ctr1007;/* [unique,case(1007)] */
struct srvsvc_NetShareCtr1501 *ctr1501;/* [unique,case(1501)] */
};
struct srvsvc_NetShareInfoCtr {
uint32_t level;
union srvsvc_NetShareCtr ctr;/* [switch_is(level)] */
};
enum srvsvc_PlatformId
#ifndef USE_UINT_ENUMS
{
PLATFORM_ID_DOS=300,
PLATFORM_ID_OS2=400,
PLATFORM_ID_NT=500,
PLATFORM_ID_OSF=600,
PLATFORM_ID_VMS=700
}
#else
{ __donnot_use_enum_srvsvc_PlatformId=0x7FFFFFFF}
#define PLATFORM_ID_DOS ( 300 )
#define PLATFORM_ID_OS2 ( 400 )
#define PLATFORM_ID_NT ( 500 )
#define PLATFORM_ID_OSF ( 600 )
#define PLATFORM_ID_VMS ( 700 )
#endif
;
struct srvsvc_NetSrvInfo100 {
enum srvsvc_PlatformId platform_id;
const char *server_name;/* [unique,charset(UTF16)] */
};
struct srvsvc_NetSrvInfo101 {
enum srvsvc_PlatformId platform_id;
const char *server_name;/* [unique,charset(UTF16)] */
uint32_t version_major;
uint32_t version_minor;
uint32_t server_type;
const char *comment;/* [unique,charset(UTF16)] */
};
struct srvsvc_NetSrvInfo102 {
enum srvsvc_PlatformId platform_id;
const char *server_name;/* [unique,charset(UTF16)] */
uint32_t version_major;
uint32_t version_minor;
uint32_t server_type;
const char *comment;/* [unique,charset(UTF16)] */
uint32_t users;
uint32_t disc;
uint32_t hidden;
uint32_t announce;
uint32_t anndelta;
uint32_t licenses;
const char *userpath;/* [unique,charset(UTF16)] */
};
struct srvsvc_NetSrvInfo402 {
uint32_t ulist_mtime;
uint32_t glist_mtime;
uint32_t alist_mtime;
const char *alerts;/* [unique,charset(UTF16)] */
uint32_t security;
uint32_t numadmin;
uint32_t lanmask;
const char *guestaccount;/* [unique,charset(UTF16)] */
uint32_t chdevs;
uint32_t chdevqs;
uint32_t chdevjobs;
uint32_t connections;
uint32_t shares;
uint32_t openfiles;
uint32_t sessopen;
uint32_t sesssvc;
uint32_t sessreqs;
uint32_t opensearch;
uint32_t activelocks;
uint32_t sizereqbufs;
uint32_t numbigbufs;
uint32_t numfiletasks;
uint32_t alertsched;
uint32_t erroralert;
uint32_t logonalert;
uint32_t accessalert;
uint32_t diskalert;
uint32_t netioalert;
uint32_t maxaudits;
const char *srvheuristics;/* [unique,charset(UTF16)] */
};
struct srvsvc_NetSrvInfo403 {
uint32_t ulist_mtime;
uint32_t glist_mtime;
uint32_t alist_mtime;
const char *alerts;/* [unique,charset(UTF16)] */
uint32_t security;
uint32_t numadmin;
uint32_t lanmask;
const char *guestaccount;/* [unique,charset(UTF16)] */
uint32_t chdevs;
uint32_t chdevqs;
uint32_t chdevjobs;
uint32_t connections;
uint32_t shares;
uint32_t openfiles;
uint32_t sessopen;
uint32_t sesssvc;
uint32_t sessreqs;
uint32_t opensearch;
uint32_t activelocks;
uint32_t sizereqbufs;
uint32_t numbigbufs;
uint32_t numfiletasks;
uint32_t alertsched;
uint32_t eroralert;
uint32_t logonalert;
uint32_t accessalert;
uint32_t diskalert;
uint32_t netioalert;
uint32_t maxaudits;
const char *srvheuristics;/* [unique,charset(UTF16)] */
uint32_t auditedevents;
uint32_t auditprofile;
const char *autopath;/* [unique,charset(UTF16)] */
};
struct srvsvc_NetSrvInfo502 {
uint32_t sessopen;
uint32_t sesssvc;
uint32_t opensearch;
uint32_t sizereqbufs;
uint32_t initworkitems;
uint32_t maxworkitems;
uint32_t rawworkitems;
uint32_t irpstacksize;
uint32_t maxrawbuflen;
uint32_t sessusers;
uint32_t sessconns;
uint32_t maxpagedmemoryusage;
uint32_t maxnonpagedmemoryusage;
uint32_t enablesoftcompat;
uint32_t enableforcedlogoff;
uint32_t timesource;
uint32_t acceptdownlevelapis;
uint32_t lmannounce;
};
struct srvsvc_NetSrvInfo503 {
uint32_t sessopen;
uint32_t sesssvc;
uint32_t opensearch;
uint32_t sizereqbufs;
uint32_t initworkitems;
uint32_t maxworkitems;
uint32_t rawworkitems;
uint32_t irpstacksize;
uint32_t maxrawbuflen;
uint32_t sessusers;
uint32_t sessconns;
uint32_t maxpagedmemoryusage;
uint32_t maxnonpagedmemoryusage;
uint32_t enablesoftcompat;
uint32_t enableforcedlogoff;
uint32_t timesource;
uint32_t acceptdownlevelapis;
uint32_t lmannounce;
const char *domain;/* [unique,charset(UTF16)] */
uint32_t maxcopyreadlen;
uint32_t maxcopywritelen;
uint32_t minkeepsearch;
uint32_t maxkeepsearch;
uint32_t minkeepcomplsearch;
uint32_t maxkeepcomplsearch;
uint32_t threadcountadd;
uint32_t numlockthreads;
uint32_t scavtimeout;
uint32_t minrcvqueue;
uint32_t minfreeworkitems;
uint32_t xactmemsize;
uint32_t threadpriority;
uint32_t maxmpxct;
uint32_t oplockbreakwait;
uint32_t oplockbreakresponsewait;
uint32_t enableoplocks;
uint32_t enableoplockforceclose;
uint32_t enablefcbopens;
uint32_t enableraw;
uint32_t enablesharednetdrives;
uint32_t minfreeconnections;
uint32_t maxfreeconnections;
};
struct srvsvc_NetSrvInfo599 {
uint32_t sessopen;
uint32_t sesssvc;
uint32_t opensearch;
uint32_t sizereqbufs;
uint32_t initworkitems;
uint32_t maxworkitems;
uint32_t rawworkitems;
uint32_t irpstacksize;
uint32_t maxrawbuflen;
uint32_t sessusers;
uint32_t sessconns;
uint32_t maxpagedmemoryusage;
uint32_t maxnonpagedmemoryusage;
uint32_t enablesoftcompat;
uint32_t enableforcedlogoff;
uint32_t timesource;
uint32_t acceptdownlevelapis;
uint32_t lmannounce;
const char *domain;/* [unique,charset(UTF16)] */
uint32_t maxcopyreadlen;
uint32_t maxcopywritelen;
uint32_t minkeepsearch;
uint32_t minkeepcomplsearch;
uint32_t maxkeepcomplsearch;
uint32_t threadcountadd;
uint32_t numlockthreads;
uint32_t scavtimeout;
uint32_t minrcvqueue;
uint32_t minfreeworkitems;
uint32_t xactmemsize;
uint32_t threadpriority;
uint32_t maxmpxct;
uint32_t oplockbreakwait;
uint32_t oplockbreakresponsewait;
uint32_t enableoplocks;
uint32_t enableoplockforceclose;
uint32_t enablefcbopens;
uint32_t enableraw;
uint32_t enablesharednetdrives;
uint32_t minfreeconnections;
uint32_t maxfreeconnections;
uint32_t initsesstable;
uint32_t initconntable;
uint32_t initfiletable;
uint32_t initsearchtable;
uint32_t alertsched;
uint32_t errortreshold;
uint32_t networkerrortreshold;
uint32_t diskspacetreshold;
uint32_t reserved;
uint32_t maxlinkdelay;
uint32_t minlinkthroughput;
uint32_t linkinfovalidtime;
uint32_t scavqosinfoupdatetime;
uint32_t maxworkitemidletime;
};
struct srvsvc_NetSrvInfo1005 {
const char *comment;/* [unique,charset(UTF16)] */
};
struct srvsvc_NetSrvInfo1010 {
uint32_t disc;
};
struct srvsvc_NetSrvInfo1016 {
uint32_t hidden;
};
struct srvsvc_NetSrvInfo1017 {
uint32_t announce;
};
struct srvsvc_NetSrvInfo1018 {
uint32_t anndelta;
};
struct srvsvc_NetSrvInfo1107 {
uint32_t users;
};
struct srvsvc_NetSrvInfo1501 {
uint32_t sessopens;
};
struct srvsvc_NetSrvInfo1502 {
uint32_t sessvcs;
};
struct srvsvc_NetSrvInfo1503 {
uint32_t opensearch;
};
struct srvsvc_NetSrvInfo1506 {
uint32_t maxworkitems;
};
struct srvsvc_NetSrvInfo1509 {
uint32_t maxrawbuflen;
};
struct srvsvc_NetSrvInfo1510 {
uint32_t sessusers;
};
struct srvsvc_NetSrvInfo1511 {
uint32_t sesscons;
};
struct srvsvc_NetSrvInfo1512 {
uint32_t maxnonpagedmemoryusage;
};
struct srvsvc_NetSrvInfo1513 {
uint32_t maxpagedmemoryusage;
};
struct srvsvc_NetSrvInfo1514 {
uint32_t enablesoftcompat;
};
struct srvsvc_NetSrvInfo1515 {
uint32_t enableforcedlogoff;
};
struct srvsvc_NetSrvInfo1516 {
uint32_t timesource;
};
struct srvsvc_NetSrvInfo1518 {
uint32_t lmannounce;
};
struct srvsvc_NetSrvInfo1520 {
uint32_t maxcopyreadlen;
};
struct srvsvc_NetSrvInfo1521 {
uint32_t maxcopywritelen;
};
struct srvsvc_NetSrvInfo1522 {
uint32_t minkeepsearch;
};
struct srvsvc_NetSrvInfo1523 {
uint32_t maxkeepsearch;
};
struct srvsvc_NetSrvInfo1524 {
uint32_t minkeepcomplsearch;
};
struct srvsvc_NetSrvInfo1525 {
uint32_t maxkeepcomplsearch;
};
struct srvsvc_NetSrvInfo1528 {
uint32_t scavtimeout;
};
struct srvsvc_NetSrvInfo1529 {
uint32_t minrcvqueue;
};
struct srvsvc_NetSrvInfo1530 {
uint32_t minfreeworkitems;
};
struct srvsvc_NetSrvInfo1533 {
uint32_t maxmpxct;
};
struct srvsvc_NetSrvInfo1534 {
uint32_t oplockbreakwait;
};
struct srvsvc_NetSrvInfo1535 {
uint32_t oplockbreakresponsewait;
};
struct srvsvc_NetSrvInfo1536 {
uint32_t enableoplocks;
};
struct srvsvc_NetSrvInfo1537 {
uint32_t enableoplockforceclose;
};
struct srvsvc_NetSrvInfo1538 {
uint32_t enablefcbopens;
};
struct srvsvc_NetSrvInfo1539 {
uint32_t enableraw;
};
struct srvsvc_NetSrvInfo1540 {
uint32_t enablesharednetdrives;
};
struct srvsvc_NetSrvInfo1541 {
uint32_t minfreeconnections;
};
struct srvsvc_NetSrvInfo1542 {
uint32_t maxfreeconnections;
};
struct srvsvc_NetSrvInfo1543 {
uint32_t initsesstable;
};
struct srvsvc_NetSrvInfo1544 {
uint32_t initconntable;
};
struct srvsvc_NetSrvInfo1545 {
uint32_t initfiletable;
};
struct srvsvc_NetSrvInfo1546 {
uint32_t initsearchtable;
};
struct srvsvc_NetSrvInfo1547 {
uint32_t alertsched;
};
struct srvsvc_NetSrvInfo1548 {
uint32_t errortreshold;
};
struct srvsvc_NetSrvInfo1549 {
uint32_t networkerrortreshold;
};
struct srvsvc_NetSrvInfo1550 {
uint32_t diskspacetreshold;
};
struct srvsvc_NetSrvInfo1552 {
uint32_t maxlinkdelay;
};
struct srvsvc_NetSrvInfo1553 {
uint32_t minlinkthroughput;
};
struct srvsvc_NetSrvInfo1554 {
uint32_t linkinfovalidtime;
};
struct srvsvc_NetSrvInfo1555 {
uint32_t scavqosinfoupdatetime;
};
struct srvsvc_NetSrvInfo1556 {
uint32_t maxworkitemidletime;
};
union srvsvc_NetSrvInfo {
struct srvsvc_NetSrvInfo100 *info100;/* [unique,case(100)] */
struct srvsvc_NetSrvInfo101 *info101;/* [unique,case(101)] */
struct srvsvc_NetSrvInfo102 *info102;/* [unique,case(102)] */
struct srvsvc_NetSrvInfo402 *info402;/* [unique,case(402)] */
struct srvsvc_NetSrvInfo403 *info403;/* [unique,case(403)] */
struct srvsvc_NetSrvInfo502 *info502;/* [unique,case(502)] */
struct srvsvc_NetSrvInfo503 *info503;/* [unique,case(503)] */
struct srvsvc_NetSrvInfo599 *info599;/* [unique,case(599)] */
struct srvsvc_NetSrvInfo1005 *info1005;/* [unique,case(1005)] */
struct srvsvc_NetSrvInfo1010 *info1010;/* [unique,case(1010)] */
struct srvsvc_NetSrvInfo1016 *info1016;/* [unique,case(1016)] */
struct srvsvc_NetSrvInfo1017 *info1017;/* [unique,case(1017)] */
struct srvsvc_NetSrvInfo1018 *info1018;/* [unique,case(1018)] */
struct srvsvc_NetSrvInfo1107 *info1107;/* [unique,case(1107)] */
struct srvsvc_NetSrvInfo1501 *info1501;/* [unique,case(1501)] */
struct srvsvc_NetSrvInfo1502 *info1502;/* [unique,case(1502)] */
struct srvsvc_NetSrvInfo1503 *info1503;/* [unique,case(1503)] */
struct srvsvc_NetSrvInfo1506 *info1506;/* [unique,case(1506)] */
struct srvsvc_NetSrvInfo1509 *info1509;/* [unique,case(1509)] */
struct srvsvc_NetSrvInfo1510 *info1510;/* [unique,case(1510)] */
struct srvsvc_NetSrvInfo1511 *info1511;/* [unique,case(1511)] */
struct srvsvc_NetSrvInfo1512 *info1512;/* [unique,case(1512)] */
struct srvsvc_NetSrvInfo1513 *info1513;/* [unique,case(1513)] */
struct srvsvc_NetSrvInfo1514 *info1514;/* [unique,case(1514)] */
struct srvsvc_NetSrvInfo1515 *info1515;/* [unique,case(1515)] */
struct srvsvc_NetSrvInfo1516 *info1516;/* [unique,case(1516)] */
struct srvsvc_NetSrvInfo1518 *info1518;/* [unique,case(1518)] */
struct srvsvc_NetSrvInfo1520 *info1520;/* [unique,case(1520)] */
struct srvsvc_NetSrvInfo1521 *info1521;/* [unique,case(1521)] */
struct srvsvc_NetSrvInfo1522 *info1522;/* [unique,case(1522)] */
struct srvsvc_NetSrvInfo1523 *info1523;/* [unique,case(1523)] */
struct srvsvc_NetSrvInfo1524 *info1524;/* [unique,case(1524)] */
struct srvsvc_NetSrvInfo1525 *info1525;/* [unique,case(1525)] */
struct srvsvc_NetSrvInfo1528 *info1528;/* [unique,case(1528)] */
struct srvsvc_NetSrvInfo1529 *info1529;/* [unique,case(1529)] */
struct srvsvc_NetSrvInfo1530 *info1530;/* [unique,case(1530)] */
struct srvsvc_NetSrvInfo1533 *info1533;/* [unique,case(1533)] */
struct srvsvc_NetSrvInfo1534 *info1534;/* [unique,case(1534)] */
struct srvsvc_NetSrvInfo1535 *info1535;/* [unique,case(1535)] */
struct srvsvc_NetSrvInfo1536 *info1536;/* [unique,case(1536)] */
struct srvsvc_NetSrvInfo1537 *info1537;/* [unique,case(1537)] */
struct srvsvc_NetSrvInfo1538 *info1538;/* [unique,case(1538)] */
struct srvsvc_NetSrvInfo1539 *info1539;/* [unique,case(1539)] */
struct srvsvc_NetSrvInfo1540 *info1540;/* [unique,case(1540)] */
struct srvsvc_NetSrvInfo1541 *info1541;/* [unique,case(1541)] */
struct srvsvc_NetSrvInfo1542 *info1542;/* [unique,case(1542)] */
struct srvsvc_NetSrvInfo1543 *info1543;/* [unique,case(1543)] */
struct srvsvc_NetSrvInfo1544 *info1544;/* [unique,case(1544)] */
struct srvsvc_NetSrvInfo1545 *info1545;/* [unique,case(1545)] */
struct srvsvc_NetSrvInfo1546 *info1546;/* [unique,case(1546)] */
struct srvsvc_NetSrvInfo1547 *info1547;/* [unique,case(1547)] */
struct srvsvc_NetSrvInfo1548 *info1548;/* [unique,case(1548)] */
struct srvsvc_NetSrvInfo1549 *info1549;/* [unique,case(1549)] */
struct srvsvc_NetSrvInfo1550 *info1550;/* [unique,case(1550)] */
struct srvsvc_NetSrvInfo1552 *info1552;/* [unique,case(1552)] */
struct srvsvc_NetSrvInfo1553 *info1553;/* [unique,case(1553)] */
struct srvsvc_NetSrvInfo1554 *info1554;/* [unique,case(1554)] */
struct srvsvc_NetSrvInfo1555 *info1555;/* [unique,case(1555)] */
struct srvsvc_NetSrvInfo1556 *info1556;/* [unique,case(1556)] */
};
struct srvsvc_NetDiskInfo0 {
const char * disk;/* [flag(LIBNDR_FLAG_STR_LEN4)] */
};
struct srvsvc_NetDiskInfo {
uint32_t count;
struct srvsvc_NetDiskInfo0 *disks;/* [unique,length_is(count),size_is(count)] */
};
struct srvsvc_Statistics {
uint32_t start;
uint32_t fopens;
uint32_t devopens;
uint32_t jobsqueued;
uint32_t sopens;
uint32_t stimeouts;
uint32_t serrorout;
uint32_t pwerrors;
uint32_t permerrors;
uint32_t syserrors;
uint32_t bytessent_low;
uint32_t bytessent_high;
uint32_t bytesrcvd_low;
uint32_t bytesrcvd_high;
uint32_t avresponse;
uint32_t reqbufneed;
uint32_t bigbufneed;
};
struct srvsvc_NetTransportInfo0 {
uint32_t vcs;
const char *name;/* [unique,charset(UTF16)] */
uint8_t *addr;/* [unique,size_is(addr_len)] */
uint32_t addr_len;
const char *net_addr;/* [unique,charset(UTF16)] */
};
struct srvsvc_NetTransportCtr0 {
uint32_t count;
struct srvsvc_NetTransportInfo0 *array;/* [unique,size_is(count)] */
};
struct srvsvc_NetTransportInfo1 {
uint32_t vcs;
const char *name;/* [unique,charset(UTF16)] */
uint8_t *addr;/* [unique,size_is(addr_len)] */
uint32_t addr_len;
const char *net_addr;/* [unique,charset(UTF16)] */
const char *domain;/* [unique,charset(UTF16)] */
};
struct srvsvc_NetTransportCtr1 {
uint32_t count;
struct srvsvc_NetTransportInfo1 *array;/* [unique,size_is(count)] */
};
struct srvsvc_NetTransportInfo2 {
uint32_t vcs;
const char *name;/* [unique,charset(UTF16)] */
uint8_t *addr;/* [unique,size_is(addr_len)] */
uint32_t addr_len;
const char *net_addr;/* [unique,charset(UTF16)] */
const char *domain;/* [unique,charset(UTF16)] */
uint32_t unknown;
};
struct srvsvc_NetTransportCtr2 {
uint32_t count;
struct srvsvc_NetTransportInfo2 *array;/* [unique,size_is(count)] */
};
struct srvsvc_NetTransportInfo3 {
uint32_t vcs;
const char *name;/* [unique,charset(UTF16)] */
uint8_t *addr;/* [unique,size_is(addr_len)] */
uint32_t addr_len;
const char *net_addr;/* [unique,charset(UTF16)] */
const char *domain;/* [unique,charset(UTF16)] */
uint32_t unknown1;
uint32_t unknown2;
uint8_t unknown3[256];
};
struct srvsvc_NetTransportCtr3 {
uint32_t count;
struct srvsvc_NetTransportInfo3 *array;/* [unique,size_is(count)] */
};
union srvsvc_NetTransportCtr {
struct srvsvc_NetTransportCtr0 *ctr0;/* [unique,case(0)] */
struct srvsvc_NetTransportCtr1 *ctr1;/* [unique,case] */
struct srvsvc_NetTransportCtr2 *ctr2;/* [unique,case(2)] */
struct srvsvc_NetTransportCtr3 *ctr3;/* [unique,case(3)] */
};
struct srvsvc_NetRemoteTODInfo {
uint32_t elapsed;
uint32_t msecs;
uint32_t hours;
uint32_t mins;
uint32_t secs;
uint32_t hunds;
int32_t timezone;
uint32_t tinterval;
uint32_t day;
uint32_t month;
uint32_t year;
uint32_t weekday;
};
union srvsvc_NetTransportInfo {
struct srvsvc_NetTransportInfo0 info0;/* [case(0)] */
struct srvsvc_NetTransportInfo1 info1;/* [case] */
struct srvsvc_NetTransportInfo2 info2;/* [case(2)] */
struct srvsvc_NetTransportInfo3 info3;/* [case(3)] */
}/* [switch_type(uint32)] */;
struct srvsvc_NetCharDevEnum {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
uint32_t max_buffer;
uint32_t *level;/* [ref] */
union srvsvc_NetCharDevCtr *ctr;/* [ref,switch_is(*level)] */
uint32_t *resume_handle;/* [unique] */
} in;
struct {
uint32_t *totalentries;/* [ref] */
uint32_t *level;/* [ref] */
union srvsvc_NetCharDevCtr *ctr;/* [ref,switch_is(*level)] */
uint32_t *resume_handle;/* [unique] */
WERROR result;
} out;
};
struct srvsvc_NetCharDevGetInfo {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
const char *device_name;/* [charset(UTF16)] */
uint32_t level;
} in;
struct {
union srvsvc_NetCharDevInfo *info;/* [ref,switch_is(level)] */
WERROR result;
} out;
};
struct srvsvc_NetCharDevControl {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
const char *device_name;/* [charset(UTF16)] */
uint32_t opcode;
} in;
struct {
WERROR result;
} out;
};
struct srvsvc_NetCharDevQEnum {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
const char *user;/* [unique,charset(UTF16)] */
uint32_t max_buffer;
uint32_t *level;/* [ref] */
union srvsvc_NetCharDevQCtr *ctr;/* [ref,switch_is(*level)] */
uint32_t *resume_handle;/* [unique] */
} in;
struct {
uint32_t *totalentries;/* [ref] */
uint32_t *level;/* [ref] */
union srvsvc_NetCharDevQCtr *ctr;/* [ref,switch_is(*level)] */
uint32_t *resume_handle;/* [unique] */
WERROR result;
} out;
};
struct srvsvc_NetCharDevQGetInfo {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
const char *queue_name;/* [charset(UTF16)] */
const char *user;/* [charset(UTF16)] */
uint32_t level;
} in;
struct {
union srvsvc_NetCharDevQInfo *info;/* [ref,switch_is(level)] */
WERROR result;
} out;
};
struct srvsvc_NetCharDevQSetInfo {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
const char *queue_name;/* [charset(UTF16)] */
uint32_t level;
union srvsvc_NetCharDevQInfo info;/* [switch_is(level)] */
uint32_t *parm_error;/* [unique] */
} in;
struct {
uint32_t *parm_error;/* [unique] */
WERROR result;
} out;
};
struct srvsvc_NetCharDevQPurge {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
const char *queue_name;/* [charset(UTF16)] */
} in;
struct {
WERROR result;
} out;
};
struct srvsvc_NetCharDevQPurgeSelf {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
const char *queue_name;/* [charset(UTF16)] */
const char *computer_name;/* [charset(UTF16)] */
} in;
struct {
WERROR result;
} out;
};
struct srvsvc_NetConnEnum {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
const char *path;/* [unique,charset(UTF16)] */
uint32_t max_buffer;
struct srvsvc_NetConnInfoCtr *info_ctr;/* [ref] */
uint32_t *resume_handle;/* [unique] */
} in;
struct {
uint32_t *totalentries;/* [ref] */
struct srvsvc_NetConnInfoCtr *info_ctr;/* [ref] */
uint32_t *resume_handle;/* [unique] */
WERROR result;
} out;
};
struct srvsvc_NetFileEnum {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
const char *path;/* [unique,charset(UTF16)] */
const char *user;/* [unique,charset(UTF16)] */
uint32_t max_buffer;
struct srvsvc_NetFileInfoCtr *info_ctr;/* [ref] */
uint32_t *resume_handle;/* [unique] */
} in;
struct {
uint32_t *totalentries;/* [ref] */
struct srvsvc_NetFileInfoCtr *info_ctr;/* [ref] */
uint32_t *resume_handle;/* [unique] */
WERROR result;
} out;
};
struct srvsvc_NetFileGetInfo {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
uint32_t fid;
uint32_t level;
} in;
struct {
union srvsvc_NetFileInfo *info;/* [ref,switch_is(level)] */
WERROR result;
} out;
};
struct srvsvc_NetFileClose {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
uint32_t fid;
} in;
struct {
WERROR result;
} out;
};
struct srvsvc_NetSessEnum {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
const char *client;/* [unique,charset(UTF16)] */
const char *user;/* [unique,charset(UTF16)] */
uint32_t max_buffer;
struct srvsvc_NetSessInfoCtr *info_ctr;/* [ref] */
uint32_t *resume_handle;/* [unique] */
} in;
struct {
uint32_t *totalentries;/* [ref] */
struct srvsvc_NetSessInfoCtr *info_ctr;/* [ref] */
uint32_t *resume_handle;/* [unique] */
WERROR result;
} out;
};
struct srvsvc_NetSessDel {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
const char *client;/* [unique,charset(UTF16)] */
const char *user;/* [unique,charset(UTF16)] */
} in;
struct {
WERROR result;
} out;
};
struct srvsvc_NetShareAdd {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
uint32_t level;
union srvsvc_NetShareInfo *info;/* [ref,switch_is(level)] */
uint32_t *parm_error;/* [unique] */
} in;
struct {
uint32_t *parm_error;/* [unique] */
WERROR result;
} out;
};
struct srvsvc_NetShareEnumAll {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
uint32_t max_buffer;
struct srvsvc_NetShareInfoCtr *info_ctr;/* [ref] */
uint32_t *resume_handle;/* [unique] */
} in;
struct {
uint32_t *totalentries;/* [ref] */
struct srvsvc_NetShareInfoCtr *info_ctr;/* [ref] */
uint32_t *resume_handle;/* [unique] */
WERROR result;
} out;
};
struct srvsvc_NetShareGetInfo {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
const char *share_name;/* [charset(UTF16)] */
uint32_t level;
} in;
struct {
union srvsvc_NetShareInfo *info;/* [ref,switch_is(level)] */
WERROR result;
} out;
};
struct srvsvc_NetShareSetInfo {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
const char *share_name;/* [charset(UTF16)] */
uint32_t level;
union srvsvc_NetShareInfo *info;/* [ref,switch_is(level)] */
uint32_t *parm_error;/* [unique] */
} in;
struct {
uint32_t *parm_error;/* [unique] */
WERROR result;
} out;
};
struct srvsvc_NetShareDel {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
const char *share_name;/* [charset(UTF16)] */
uint32_t reserved;
} in;
struct {
WERROR result;
} out;
};
struct srvsvc_NetShareDelSticky {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
const char *share_name;/* [charset(UTF16)] */
uint32_t reserved;
} in;
struct {
WERROR result;
} out;
};
struct srvsvc_NetShareCheck {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
const char *device_name;/* [charset(UTF16)] */
} in;
struct {
enum srvsvc_ShareType *type;/* [ref] */
WERROR result;
} out;
};
struct srvsvc_NetSrvGetInfo {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
uint32_t level;
} in;
struct {
union srvsvc_NetSrvInfo *info;/* [ref,switch_is(level)] */
WERROR result;
} out;
};
struct srvsvc_NetSrvSetInfo {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
uint32_t level;
union srvsvc_NetSrvInfo *info;/* [ref,switch_is(level)] */
uint32_t *parm_error;/* [unique] */
} in;
struct {
uint32_t *parm_error;/* [unique] */
WERROR result;
} out;
};
struct srvsvc_NetDiskEnum {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
uint32_t level;
uint32_t maxlen;
struct srvsvc_NetDiskInfo *info;/* [ref] */
uint32_t *resume_handle;/* [unique] */
} in;
struct {
uint32_t *totalentries;/* [ref] */
struct srvsvc_NetDiskInfo *info;/* [ref] */
uint32_t *resume_handle;/* [unique] */
WERROR result;
} out;
};
struct srvsvc_NetServerStatisticsGet {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
const char *service;/* [unique,charset(UTF16)] */
uint32_t level;
uint32_t options;
} in;
struct {
struct srvsvc_Statistics *stats;/* [ref] */
WERROR result;
} out;
};
struct srvsvc_NetTransportAdd {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
uint32_t level;
union srvsvc_NetTransportInfo info;/* [switch_is(level)] */
} in;
struct {
WERROR result;
} out;
};
struct srvsvc_NetTransportEnum {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
uint32_t max_buffer;
uint32_t *level;/* [ref] */
union srvsvc_NetTransportCtr *transports;/* [ref,switch_is(*level)] */
uint32_t *resume_handle;/* [unique] */
} in;
struct {
uint32_t *totalentries;/* [ref] */
uint32_t *level;/* [ref] */
union srvsvc_NetTransportCtr *transports;/* [ref,switch_is(*level)] */
uint32_t *resume_handle;/* [unique] */
WERROR result;
} out;
};
struct srvsvc_NetTransportDel {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
uint32_t unknown;
struct srvsvc_NetTransportInfo0 transport;
} in;
struct {
WERROR result;
} out;
};
struct srvsvc_NetRemoteTOD {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
} in;
struct {
struct srvsvc_NetRemoteTODInfo **info;/* [ref] */
WERROR result;
} out;
};
struct srvsvc_NetSetServiceBits {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
const char *transport;/* [unique,charset(UTF16)] */
uint32_t servicebits;
uint32_t updateimmediately;
} in;
struct {
WERROR result;
} out;
};
struct srvsvc_NetPathType {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
const char *path;/* [charset(UTF16)] */
uint32_t pathflags;
} in;
struct {
uint32_t *pathtype;/* [ref] */
WERROR result;
} out;
};
struct srvsvc_NetPathCanonicalize {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
const char *path;/* [charset(UTF16)] */
uint32_t maxbuf;
const char *prefix;/* [charset(UTF16)] */
uint32_t pathflags;
uint32_t *pathtype;/* [ref] */
} in;
struct {
uint8_t *can_path;/* [size_is(maxbuf)] */
uint32_t *pathtype;/* [ref] */
WERROR result;
} out;
};
struct srvsvc_NetPathCompare {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
const char *path1;/* [charset(UTF16)] */
const char *path2;/* [charset(UTF16)] */
uint32_t pathtype;
uint32_t pathflags;
} in;
struct {
WERROR result;
} out;
};
struct srvsvc_NetNameValidate {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
const char *name;/* [charset(UTF16)] */
uint32_t name_type;
uint32_t flags;
} in;
struct {
WERROR result;
} out;
};
struct srvsvc_NETRPRNAMECANONICALIZE {
struct {
WERROR result;
} out;
};
struct srvsvc_NetPRNameCompare {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
const char *name1;/* [charset(UTF16)] */
const char *name2;/* [charset(UTF16)] */
uint32_t name_type;
uint32_t flags;
} in;
struct {
WERROR result;
} out;
};
struct srvsvc_NetShareEnum {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
uint32_t max_buffer;
struct srvsvc_NetShareInfoCtr *info_ctr;/* [ref] */
uint32_t *resume_handle;/* [unique] */
} in;
struct {
uint32_t *totalentries;/* [ref] */
struct srvsvc_NetShareInfoCtr *info_ctr;/* [ref] */
uint32_t *resume_handle;/* [unique] */
WERROR result;
} out;
};
struct srvsvc_NetShareDelStart {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
const char *share;/* [charset(UTF16)] */
uint32_t reserved;
} in;
struct {
struct policy_handle *hnd;/* [unique] */
WERROR result;
} out;
};
struct srvsvc_NetShareDelCommit {
struct {
struct policy_handle *hnd;/* [unique] */
} in;
struct {
struct policy_handle *hnd;/* [unique] */
WERROR result;
} out;
};
struct srvsvc_NetGetFileSecurity {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
const char *share;/* [unique,charset(UTF16)] */
const char *file;/* [charset(UTF16)] */
uint32_t securityinformation;
} in;
struct {
struct sec_desc_buf **sd_buf;/* [ref] */
WERROR result;
} out;
};
struct srvsvc_NetSetFileSecurity {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
const char *share;/* [unique,charset(UTF16)] */
const char *file;/* [charset(UTF16)] */
uint32_t securityinformation;
struct sec_desc_buf *sd_buf;/* [ref] */
} in;
struct {
WERROR result;
} out;
};
struct srvsvc_NetServerTransportAddEx {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
uint32_t level;
union srvsvc_NetTransportInfo info;/* [switch_is(level)] */
} in;
struct {
WERROR result;
} out;
};
struct srvsvc_NetServerSetServiceBitsEx {
struct {
const char *server_unc;/* [unique,charset(UTF16)] */
const char *emulated_server_unc;/* [unique,charset(UTF16)] */
const char *transport;/* [unique,charset(UTF16)] */
uint32_t servicebitsofinterest;
uint32_t servicebits;
uint32_t updateimmediately;
} in;
struct {
WERROR result;
} out;
};
struct srvsvc_NETRDFSGETVERSION {
struct {
WERROR result;
} out;
};
struct srvsvc_NETRDFSCREATELOCALPARTITION {
struct {
WERROR result;
} out;
};
struct srvsvc_NETRDFSDELETELOCALPARTITION {
struct {
WERROR result;
} out;
};
struct srvsvc_NETRDFSSETLOCALVOLUMESTATE {
struct {
WERROR result;
} out;
};
struct srvsvc_NETRDFSSETSERVERINFO {
struct {
WERROR result;
} out;
};
struct srvsvc_NETRDFSCREATEEXITPOINT {
struct {
WERROR result;
} out;
};
struct srvsvc_NETRDFSDELETEEXITPOINT {
struct {
WERROR result;
} out;
};
struct srvsvc_NETRDFSMODIFYPREFIX {
struct {
WERROR result;
} out;
};
struct srvsvc_NETRDFSFIXLOCALVOLUME {
struct {
WERROR result;
} out;
};
struct srvsvc_NETRDFSMANAGERREPORTSITEINFO {
struct {
WERROR result;
} out;
};
struct srvsvc_NETRSERVERTRANSPORTDELEX {
struct {
WERROR result;
} out;
};
#endif /* _HEADER_srvsvc */
|