/usr/share/mingw-w64/include/activaut.h is in mingw-w64-common 4.0.4-2.
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 | /*** Autogenerated by WIDL 1.6 from include/activaut.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 __activaut_h__
#define __activaut_h__
/* Forward declarations */
#ifndef __IScriptNode_FWD_DEFINED__
#define __IScriptNode_FWD_DEFINED__
typedef interface IScriptNode IScriptNode;
#endif
#ifndef __IScriptEntry_FWD_DEFINED__
#define __IScriptEntry_FWD_DEFINED__
typedef interface IScriptEntry IScriptEntry;
#endif
#ifndef __IScriptScriptlet_FWD_DEFINED__
#define __IScriptScriptlet_FWD_DEFINED__
typedef interface IScriptScriptlet IScriptScriptlet;
#endif
#ifndef __IActiveScriptAuthor_FWD_DEFINED__
#define __IActiveScriptAuthor_FWD_DEFINED__
typedef interface IActiveScriptAuthor IActiveScriptAuthor;
#endif
#ifndef __IActiveScriptAuthorProcedure_FWD_DEFINED__
#define __IActiveScriptAuthorProcedure_FWD_DEFINED__
typedef interface IActiveScriptAuthorProcedure IActiveScriptAuthorProcedure;
#endif
/* Headers for imported files */
#include <ocidl.h>
#include <oleidl.h>
#include <oaidl.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER within this package.
*/
#include <winapifamily.h>
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#ifndef __ActivAut_h
#define __ActivAut_h
#ifndef _NO_AUTHOR_GUIDS
DEFINE_GUID(CATID_ActiveScriptAuthor, 0xaee2a92, 0xbcbb, 0x11d0, 0x8c, 0x72, 0x0, 0xc0, 0x4f, 0xc2, 0xb0, 0x85);
#endif
const DWORD fasaPreferInternalHandler = 1;
const DWORD fasaSupportInternalHandler = 2;
const DWORD fasaCaseSensitive = 4;
const DWORD SCRIPT_CMPL_NOLIST = 0;
const DWORD SCRIPT_CMPL_MEMBERLIST = 1;
const DWORD SCRIPT_CMPL_ENUMLIST = 2;
const DWORD SCRIPT_CMPL_PARAMTIP = 4;
const DWORD SCRIPT_CMPL_GLOBALLIST = 8;
const DWORD SCRIPT_CMPL_ENUM_TRIGGER = 1;
const DWORD SCRIPT_CMPL_MEMBER_TRIGGER = 2;
const DWORD SCRIPT_CMPL_PARAM_TRIGGER = 3;
const DWORD SCRIPT_CMPL_COMMIT = 4;
const DWORD GETATTRTYPE_NORMAL = 0;
const DWORD GETATTRTYPE_DEPSCAN = 1;
const DWORD GETATTRFLAG_THIS = 0x100;
const DWORD GETATTRFLAG_HUMANTEXT = 0x8000;
const DWORD SOURCETEXT_ATTR_IDENTIFIER = 0x100;
const DWORD SOURCETEXT_ATTR_MEMBERLOOKUP = 0x200;
const DWORD SOURCETEXT_ATTR_THIS = 0x400;
const DWORD SOURCETEXT_ATTR_HUMANTEXT = 0x8000;
#ifndef __IActiveScriptAuthor_FWD_DEFINED__
#define __IActiveScriptAuthor_FWD_DEFINED__
typedef interface IActiveScriptAuthor IActiveScriptAuthor;
#endif
#ifndef __IScriptNode_FWD_DEFINED__
#define __IScriptNode_FWD_DEFINED__
typedef interface IScriptNode IScriptNode;
#endif
#ifndef __IScriptEntry_FWD_DEFINED__
#define __IScriptEntry_FWD_DEFINED__
typedef interface IScriptEntry IScriptEntry;
#endif
#ifndef __IScriptScriptlet_FWD_DEFINED__
#define __IScriptScriptlet_FWD_DEFINED__
typedef interface IScriptScriptlet IScriptScriptlet;
#endif
typedef WORD SOURCE_TEXT_ATTR;
/*****************************************************************************
* IScriptNode interface
*/
#ifndef __IScriptNode_INTERFACE_DEFINED__
#define __IScriptNode_INTERFACE_DEFINED__
DEFINE_GUID(IID_IScriptNode, 0x0aee2a94, 0xbcbb, 0x11d0, 0x8c,0x72, 0x00,0xc0,0x4f,0xc2,0xb0,0x85);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0aee2a94-bcbb-11d0-8c72-00c04fc2b085")
IScriptNode : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE Alive(
) = 0;
virtual HRESULT STDMETHODCALLTYPE Delete(
) = 0;
virtual HRESULT STDMETHODCALLTYPE GetParent(
IScriptNode **ppsnParent) = 0;
virtual HRESULT STDMETHODCALLTYPE GetIndexInParent(
ULONG *pisn) = 0;
virtual HRESULT STDMETHODCALLTYPE GetCookie(
DWORD *pdwCookie) = 0;
virtual HRESULT STDMETHODCALLTYPE GetNumberOfChildren(
ULONG *pcsn) = 0;
virtual HRESULT STDMETHODCALLTYPE GetChild(
ULONG isn,
IScriptNode **ppsn) = 0;
virtual HRESULT STDMETHODCALLTYPE GetLanguage(
BSTR *pbstr) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateChildEntry(
ULONG isn,
DWORD dwCookie,
LPCOLESTR pszDelimiter,
IScriptEntry **ppse) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateChildHandler(
LPCOLESTR pszDefaultName,
LPCOLESTR *prgpszNames,
ULONG cpszNames,
LPCOLESTR pszEvent,
LPCOLESTR pszDelimiter,
ITypeInfo *ptiSignature,
ULONG iMethodSignature,
ULONG isn,
DWORD dwCookie,
IScriptEntry **ppse) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IScriptNode, 0x0aee2a94, 0xbcbb, 0x11d0, 0x8c,0x72, 0x00,0xc0,0x4f,0xc2,0xb0,0x85)
#endif
#else
typedef struct IScriptNodeVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IScriptNode* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IScriptNode* This);
ULONG (STDMETHODCALLTYPE *Release)(
IScriptNode* This);
/*** IScriptNode methods ***/
HRESULT (STDMETHODCALLTYPE *Alive)(
IScriptNode* This);
HRESULT (STDMETHODCALLTYPE *Delete)(
IScriptNode* This);
HRESULT (STDMETHODCALLTYPE *GetParent)(
IScriptNode* This,
IScriptNode **ppsnParent);
HRESULT (STDMETHODCALLTYPE *GetIndexInParent)(
IScriptNode* This,
ULONG *pisn);
HRESULT (STDMETHODCALLTYPE *GetCookie)(
IScriptNode* This,
DWORD *pdwCookie);
HRESULT (STDMETHODCALLTYPE *GetNumberOfChildren)(
IScriptNode* This,
ULONG *pcsn);
HRESULT (STDMETHODCALLTYPE *GetChild)(
IScriptNode* This,
ULONG isn,
IScriptNode **ppsn);
HRESULT (STDMETHODCALLTYPE *GetLanguage)(
IScriptNode* This,
BSTR *pbstr);
HRESULT (STDMETHODCALLTYPE *CreateChildEntry)(
IScriptNode* This,
ULONG isn,
DWORD dwCookie,
LPCOLESTR pszDelimiter,
IScriptEntry **ppse);
HRESULT (STDMETHODCALLTYPE *CreateChildHandler)(
IScriptNode* This,
LPCOLESTR pszDefaultName,
LPCOLESTR *prgpszNames,
ULONG cpszNames,
LPCOLESTR pszEvent,
LPCOLESTR pszDelimiter,
ITypeInfo *ptiSignature,
ULONG iMethodSignature,
ULONG isn,
DWORD dwCookie,
IScriptEntry **ppse);
END_INTERFACE
} IScriptNodeVtbl;
interface IScriptNode {
CONST_VTBL IScriptNodeVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IScriptNode_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IScriptNode_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IScriptNode_Release(This) (This)->lpVtbl->Release(This)
/*** IScriptNode methods ***/
#define IScriptNode_Alive(This) (This)->lpVtbl->Alive(This)
#define IScriptNode_Delete(This) (This)->lpVtbl->Delete(This)
#define IScriptNode_GetParent(This,ppsnParent) (This)->lpVtbl->GetParent(This,ppsnParent)
#define IScriptNode_GetIndexInParent(This,pisn) (This)->lpVtbl->GetIndexInParent(This,pisn)
#define IScriptNode_GetCookie(This,pdwCookie) (This)->lpVtbl->GetCookie(This,pdwCookie)
#define IScriptNode_GetNumberOfChildren(This,pcsn) (This)->lpVtbl->GetNumberOfChildren(This,pcsn)
#define IScriptNode_GetChild(This,isn,ppsn) (This)->lpVtbl->GetChild(This,isn,ppsn)
#define IScriptNode_GetLanguage(This,pbstr) (This)->lpVtbl->GetLanguage(This,pbstr)
#define IScriptNode_CreateChildEntry(This,isn,dwCookie,pszDelimiter,ppse) (This)->lpVtbl->CreateChildEntry(This,isn,dwCookie,pszDelimiter,ppse)
#define IScriptNode_CreateChildHandler(This,pszDefaultName,prgpszNames,cpszNames,pszEvent,pszDelimiter,ptiSignature,iMethodSignature,isn,dwCookie,ppse) (This)->lpVtbl->CreateChildHandler(This,pszDefaultName,prgpszNames,cpszNames,pszEvent,pszDelimiter,ptiSignature,iMethodSignature,isn,dwCookie,ppse)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IScriptNode_QueryInterface(IScriptNode* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IScriptNode_AddRef(IScriptNode* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IScriptNode_Release(IScriptNode* This) {
return This->lpVtbl->Release(This);
}
/*** IScriptNode methods ***/
static FORCEINLINE HRESULT IScriptNode_Alive(IScriptNode* This) {
return This->lpVtbl->Alive(This);
}
static FORCEINLINE HRESULT IScriptNode_Delete(IScriptNode* This) {
return This->lpVtbl->Delete(This);
}
static FORCEINLINE HRESULT IScriptNode_GetParent(IScriptNode* This,IScriptNode **ppsnParent) {
return This->lpVtbl->GetParent(This,ppsnParent);
}
static FORCEINLINE HRESULT IScriptNode_GetIndexInParent(IScriptNode* This,ULONG *pisn) {
return This->lpVtbl->GetIndexInParent(This,pisn);
}
static FORCEINLINE HRESULT IScriptNode_GetCookie(IScriptNode* This,DWORD *pdwCookie) {
return This->lpVtbl->GetCookie(This,pdwCookie);
}
static FORCEINLINE HRESULT IScriptNode_GetNumberOfChildren(IScriptNode* This,ULONG *pcsn) {
return This->lpVtbl->GetNumberOfChildren(This,pcsn);
}
static FORCEINLINE HRESULT IScriptNode_GetChild(IScriptNode* This,ULONG isn,IScriptNode **ppsn) {
return This->lpVtbl->GetChild(This,isn,ppsn);
}
static FORCEINLINE HRESULT IScriptNode_GetLanguage(IScriptNode* This,BSTR *pbstr) {
return This->lpVtbl->GetLanguage(This,pbstr);
}
static FORCEINLINE HRESULT IScriptNode_CreateChildEntry(IScriptNode* This,ULONG isn,DWORD dwCookie,LPCOLESTR pszDelimiter,IScriptEntry **ppse) {
return This->lpVtbl->CreateChildEntry(This,isn,dwCookie,pszDelimiter,ppse);
}
static FORCEINLINE HRESULT IScriptNode_CreateChildHandler(IScriptNode* This,LPCOLESTR pszDefaultName,LPCOLESTR *prgpszNames,ULONG cpszNames,LPCOLESTR pszEvent,LPCOLESTR pszDelimiter,ITypeInfo *ptiSignature,ULONG iMethodSignature,ULONG isn,DWORD dwCookie,IScriptEntry **ppse) {
return This->lpVtbl->CreateChildHandler(This,pszDefaultName,prgpszNames,cpszNames,pszEvent,pszDelimiter,ptiSignature,iMethodSignature,isn,dwCookie,ppse);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IScriptNode_Alive_Proxy(
IScriptNode* This);
void __RPC_STUB IScriptNode_Alive_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IScriptNode_Delete_Proxy(
IScriptNode* This);
void __RPC_STUB IScriptNode_Delete_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IScriptNode_GetParent_Proxy(
IScriptNode* This,
IScriptNode **ppsnParent);
void __RPC_STUB IScriptNode_GetParent_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IScriptNode_GetIndexInParent_Proxy(
IScriptNode* This,
ULONG *pisn);
void __RPC_STUB IScriptNode_GetIndexInParent_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IScriptNode_GetCookie_Proxy(
IScriptNode* This,
DWORD *pdwCookie);
void __RPC_STUB IScriptNode_GetCookie_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IScriptNode_GetNumberOfChildren_Proxy(
IScriptNode* This,
ULONG *pcsn);
void __RPC_STUB IScriptNode_GetNumberOfChildren_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IScriptNode_GetChild_Proxy(
IScriptNode* This,
ULONG isn,
IScriptNode **ppsn);
void __RPC_STUB IScriptNode_GetChild_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IScriptNode_GetLanguage_Proxy(
IScriptNode* This,
BSTR *pbstr);
void __RPC_STUB IScriptNode_GetLanguage_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IScriptNode_CreateChildEntry_Proxy(
IScriptNode* This,
ULONG isn,
DWORD dwCookie,
LPCOLESTR pszDelimiter,
IScriptEntry **ppse);
void __RPC_STUB IScriptNode_CreateChildEntry_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IScriptNode_CreateChildHandler_Proxy(
IScriptNode* This,
LPCOLESTR pszDefaultName,
LPCOLESTR *prgpszNames,
ULONG cpszNames,
LPCOLESTR pszEvent,
LPCOLESTR pszDelimiter,
ITypeInfo *ptiSignature,
ULONG iMethodSignature,
ULONG isn,
DWORD dwCookie,
IScriptEntry **ppse);
void __RPC_STUB IScriptNode_CreateChildHandler_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IScriptNode_INTERFACE_DEFINED__ */
/*****************************************************************************
* IScriptEntry interface
*/
#ifndef __IScriptEntry_INTERFACE_DEFINED__
#define __IScriptEntry_INTERFACE_DEFINED__
DEFINE_GUID(IID_IScriptEntry, 0x0aee2a95, 0xbcbb, 0x11d0, 0x8c,0x72, 0x00,0xc0,0x4f,0xc2,0xb0,0x85);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0aee2a95-bcbb-11d0-8c72-00c04fc2b085")
IScriptEntry : public IScriptNode
{
virtual HRESULT STDMETHODCALLTYPE GetText(
BSTR *pbstr) = 0;
virtual HRESULT STDMETHODCALLTYPE SetText(
LPCOLESTR psz) = 0;
virtual HRESULT STDMETHODCALLTYPE GetBody(
BSTR *pbstr) = 0;
virtual HRESULT STDMETHODCALLTYPE SetBody(
LPCOLESTR psz) = 0;
virtual HRESULT STDMETHODCALLTYPE GetName(
BSTR *pbstr) = 0;
virtual HRESULT STDMETHODCALLTYPE SetName(
LPCOLESTR psz) = 0;
virtual HRESULT STDMETHODCALLTYPE GetItemName(
BSTR *pbstr) = 0;
virtual HRESULT STDMETHODCALLTYPE SetItemName(
LPCOLESTR psz) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSignature(
ITypeInfo **ppti,
ULONG *piMethod) = 0;
virtual HRESULT STDMETHODCALLTYPE SetSignature(
ITypeInfo *pti,
ULONG iMethod) = 0;
virtual HRESULT STDMETHODCALLTYPE GetRange(
ULONG *pichMin,
ULONG *pcch) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IScriptEntry, 0x0aee2a95, 0xbcbb, 0x11d0, 0x8c,0x72, 0x00,0xc0,0x4f,0xc2,0xb0,0x85)
#endif
#else
typedef struct IScriptEntryVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IScriptEntry* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IScriptEntry* This);
ULONG (STDMETHODCALLTYPE *Release)(
IScriptEntry* This);
/*** IScriptNode methods ***/
HRESULT (STDMETHODCALLTYPE *Alive)(
IScriptEntry* This);
HRESULT (STDMETHODCALLTYPE *Delete)(
IScriptEntry* This);
HRESULT (STDMETHODCALLTYPE *GetParent)(
IScriptEntry* This,
IScriptNode **ppsnParent);
HRESULT (STDMETHODCALLTYPE *GetIndexInParent)(
IScriptEntry* This,
ULONG *pisn);
HRESULT (STDMETHODCALLTYPE *GetCookie)(
IScriptEntry* This,
DWORD *pdwCookie);
HRESULT (STDMETHODCALLTYPE *GetNumberOfChildren)(
IScriptEntry* This,
ULONG *pcsn);
HRESULT (STDMETHODCALLTYPE *GetChild)(
IScriptEntry* This,
ULONG isn,
IScriptNode **ppsn);
HRESULT (STDMETHODCALLTYPE *GetLanguage)(
IScriptEntry* This,
BSTR *pbstr);
HRESULT (STDMETHODCALLTYPE *CreateChildEntry)(
IScriptEntry* This,
ULONG isn,
DWORD dwCookie,
LPCOLESTR pszDelimiter,
IScriptEntry **ppse);
HRESULT (STDMETHODCALLTYPE *CreateChildHandler)(
IScriptEntry* This,
LPCOLESTR pszDefaultName,
LPCOLESTR *prgpszNames,
ULONG cpszNames,
LPCOLESTR pszEvent,
LPCOLESTR pszDelimiter,
ITypeInfo *ptiSignature,
ULONG iMethodSignature,
ULONG isn,
DWORD dwCookie,
IScriptEntry **ppse);
/*** IScriptEntry methods ***/
HRESULT (STDMETHODCALLTYPE *GetText)(
IScriptEntry* This,
BSTR *pbstr);
HRESULT (STDMETHODCALLTYPE *SetText)(
IScriptEntry* This,
LPCOLESTR psz);
HRESULT (STDMETHODCALLTYPE *GetBody)(
IScriptEntry* This,
BSTR *pbstr);
HRESULT (STDMETHODCALLTYPE *SetBody)(
IScriptEntry* This,
LPCOLESTR psz);
HRESULT (STDMETHODCALLTYPE *GetName)(
IScriptEntry* This,
BSTR *pbstr);
HRESULT (STDMETHODCALLTYPE *SetName)(
IScriptEntry* This,
LPCOLESTR psz);
HRESULT (STDMETHODCALLTYPE *GetItemName)(
IScriptEntry* This,
BSTR *pbstr);
HRESULT (STDMETHODCALLTYPE *SetItemName)(
IScriptEntry* This,
LPCOLESTR psz);
HRESULT (STDMETHODCALLTYPE *GetSignature)(
IScriptEntry* This,
ITypeInfo **ppti,
ULONG *piMethod);
HRESULT (STDMETHODCALLTYPE *SetSignature)(
IScriptEntry* This,
ITypeInfo *pti,
ULONG iMethod);
HRESULT (STDMETHODCALLTYPE *GetRange)(
IScriptEntry* This,
ULONG *pichMin,
ULONG *pcch);
END_INTERFACE
} IScriptEntryVtbl;
interface IScriptEntry {
CONST_VTBL IScriptEntryVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IScriptEntry_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IScriptEntry_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IScriptEntry_Release(This) (This)->lpVtbl->Release(This)
/*** IScriptNode methods ***/
#define IScriptEntry_Alive(This) (This)->lpVtbl->Alive(This)
#define IScriptEntry_Delete(This) (This)->lpVtbl->Delete(This)
#define IScriptEntry_GetParent(This,ppsnParent) (This)->lpVtbl->GetParent(This,ppsnParent)
#define IScriptEntry_GetIndexInParent(This,pisn) (This)->lpVtbl->GetIndexInParent(This,pisn)
#define IScriptEntry_GetCookie(This,pdwCookie) (This)->lpVtbl->GetCookie(This,pdwCookie)
#define IScriptEntry_GetNumberOfChildren(This,pcsn) (This)->lpVtbl->GetNumberOfChildren(This,pcsn)
#define IScriptEntry_GetChild(This,isn,ppsn) (This)->lpVtbl->GetChild(This,isn,ppsn)
#define IScriptEntry_GetLanguage(This,pbstr) (This)->lpVtbl->GetLanguage(This,pbstr)
#define IScriptEntry_CreateChildEntry(This,isn,dwCookie,pszDelimiter,ppse) (This)->lpVtbl->CreateChildEntry(This,isn,dwCookie,pszDelimiter,ppse)
#define IScriptEntry_CreateChildHandler(This,pszDefaultName,prgpszNames,cpszNames,pszEvent,pszDelimiter,ptiSignature,iMethodSignature,isn,dwCookie,ppse) (This)->lpVtbl->CreateChildHandler(This,pszDefaultName,prgpszNames,cpszNames,pszEvent,pszDelimiter,ptiSignature,iMethodSignature,isn,dwCookie,ppse)
/*** IScriptEntry methods ***/
#define IScriptEntry_GetText(This,pbstr) (This)->lpVtbl->GetText(This,pbstr)
#define IScriptEntry_SetText(This,psz) (This)->lpVtbl->SetText(This,psz)
#define IScriptEntry_GetBody(This,pbstr) (This)->lpVtbl->GetBody(This,pbstr)
#define IScriptEntry_SetBody(This,psz) (This)->lpVtbl->SetBody(This,psz)
#define IScriptEntry_GetName(This,pbstr) (This)->lpVtbl->GetName(This,pbstr)
#define IScriptEntry_SetName(This,psz) (This)->lpVtbl->SetName(This,psz)
#define IScriptEntry_GetItemName(This,pbstr) (This)->lpVtbl->GetItemName(This,pbstr)
#define IScriptEntry_SetItemName(This,psz) (This)->lpVtbl->SetItemName(This,psz)
#define IScriptEntry_GetSignature(This,ppti,piMethod) (This)->lpVtbl->GetSignature(This,ppti,piMethod)
#define IScriptEntry_SetSignature(This,pti,iMethod) (This)->lpVtbl->SetSignature(This,pti,iMethod)
#define IScriptEntry_GetRange(This,pichMin,pcch) (This)->lpVtbl->GetRange(This,pichMin,pcch)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IScriptEntry_QueryInterface(IScriptEntry* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IScriptEntry_AddRef(IScriptEntry* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IScriptEntry_Release(IScriptEntry* This) {
return This->lpVtbl->Release(This);
}
/*** IScriptNode methods ***/
static FORCEINLINE HRESULT IScriptEntry_Alive(IScriptEntry* This) {
return This->lpVtbl->Alive(This);
}
static FORCEINLINE HRESULT IScriptEntry_Delete(IScriptEntry* This) {
return This->lpVtbl->Delete(This);
}
static FORCEINLINE HRESULT IScriptEntry_GetParent(IScriptEntry* This,IScriptNode **ppsnParent) {
return This->lpVtbl->GetParent(This,ppsnParent);
}
static FORCEINLINE HRESULT IScriptEntry_GetIndexInParent(IScriptEntry* This,ULONG *pisn) {
return This->lpVtbl->GetIndexInParent(This,pisn);
}
static FORCEINLINE HRESULT IScriptEntry_GetCookie(IScriptEntry* This,DWORD *pdwCookie) {
return This->lpVtbl->GetCookie(This,pdwCookie);
}
static FORCEINLINE HRESULT IScriptEntry_GetNumberOfChildren(IScriptEntry* This,ULONG *pcsn) {
return This->lpVtbl->GetNumberOfChildren(This,pcsn);
}
static FORCEINLINE HRESULT IScriptEntry_GetChild(IScriptEntry* This,ULONG isn,IScriptNode **ppsn) {
return This->lpVtbl->GetChild(This,isn,ppsn);
}
static FORCEINLINE HRESULT IScriptEntry_GetLanguage(IScriptEntry* This,BSTR *pbstr) {
return This->lpVtbl->GetLanguage(This,pbstr);
}
static FORCEINLINE HRESULT IScriptEntry_CreateChildEntry(IScriptEntry* This,ULONG isn,DWORD dwCookie,LPCOLESTR pszDelimiter,IScriptEntry **ppse) {
return This->lpVtbl->CreateChildEntry(This,isn,dwCookie,pszDelimiter,ppse);
}
static FORCEINLINE HRESULT IScriptEntry_CreateChildHandler(IScriptEntry* This,LPCOLESTR pszDefaultName,LPCOLESTR *prgpszNames,ULONG cpszNames,LPCOLESTR pszEvent,LPCOLESTR pszDelimiter,ITypeInfo *ptiSignature,ULONG iMethodSignature,ULONG isn,DWORD dwCookie,IScriptEntry **ppse) {
return This->lpVtbl->CreateChildHandler(This,pszDefaultName,prgpszNames,cpszNames,pszEvent,pszDelimiter,ptiSignature,iMethodSignature,isn,dwCookie,ppse);
}
/*** IScriptEntry methods ***/
static FORCEINLINE HRESULT IScriptEntry_GetText(IScriptEntry* This,BSTR *pbstr) {
return This->lpVtbl->GetText(This,pbstr);
}
static FORCEINLINE HRESULT IScriptEntry_SetText(IScriptEntry* This,LPCOLESTR psz) {
return This->lpVtbl->SetText(This,psz);
}
static FORCEINLINE HRESULT IScriptEntry_GetBody(IScriptEntry* This,BSTR *pbstr) {
return This->lpVtbl->GetBody(This,pbstr);
}
static FORCEINLINE HRESULT IScriptEntry_SetBody(IScriptEntry* This,LPCOLESTR psz) {
return This->lpVtbl->SetBody(This,psz);
}
static FORCEINLINE HRESULT IScriptEntry_GetName(IScriptEntry* This,BSTR *pbstr) {
return This->lpVtbl->GetName(This,pbstr);
}
static FORCEINLINE HRESULT IScriptEntry_SetName(IScriptEntry* This,LPCOLESTR psz) {
return This->lpVtbl->SetName(This,psz);
}
static FORCEINLINE HRESULT IScriptEntry_GetItemName(IScriptEntry* This,BSTR *pbstr) {
return This->lpVtbl->GetItemName(This,pbstr);
}
static FORCEINLINE HRESULT IScriptEntry_SetItemName(IScriptEntry* This,LPCOLESTR psz) {
return This->lpVtbl->SetItemName(This,psz);
}
static FORCEINLINE HRESULT IScriptEntry_GetSignature(IScriptEntry* This,ITypeInfo **ppti,ULONG *piMethod) {
return This->lpVtbl->GetSignature(This,ppti,piMethod);
}
static FORCEINLINE HRESULT IScriptEntry_SetSignature(IScriptEntry* This,ITypeInfo *pti,ULONG iMethod) {
return This->lpVtbl->SetSignature(This,pti,iMethod);
}
static FORCEINLINE HRESULT IScriptEntry_GetRange(IScriptEntry* This,ULONG *pichMin,ULONG *pcch) {
return This->lpVtbl->GetRange(This,pichMin,pcch);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IScriptEntry_GetText_Proxy(
IScriptEntry* This,
BSTR *pbstr);
void __RPC_STUB IScriptEntry_GetText_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IScriptEntry_SetText_Proxy(
IScriptEntry* This,
LPCOLESTR psz);
void __RPC_STUB IScriptEntry_SetText_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IScriptEntry_GetBody_Proxy(
IScriptEntry* This,
BSTR *pbstr);
void __RPC_STUB IScriptEntry_GetBody_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IScriptEntry_SetBody_Proxy(
IScriptEntry* This,
LPCOLESTR psz);
void __RPC_STUB IScriptEntry_SetBody_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IScriptEntry_GetName_Proxy(
IScriptEntry* This,
BSTR *pbstr);
void __RPC_STUB IScriptEntry_GetName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IScriptEntry_SetName_Proxy(
IScriptEntry* This,
LPCOLESTR psz);
void __RPC_STUB IScriptEntry_SetName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IScriptEntry_GetItemName_Proxy(
IScriptEntry* This,
BSTR *pbstr);
void __RPC_STUB IScriptEntry_GetItemName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IScriptEntry_SetItemName_Proxy(
IScriptEntry* This,
LPCOLESTR psz);
void __RPC_STUB IScriptEntry_SetItemName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IScriptEntry_GetSignature_Proxy(
IScriptEntry* This,
ITypeInfo **ppti,
ULONG *piMethod);
void __RPC_STUB IScriptEntry_GetSignature_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IScriptEntry_SetSignature_Proxy(
IScriptEntry* This,
ITypeInfo *pti,
ULONG iMethod);
void __RPC_STUB IScriptEntry_SetSignature_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IScriptEntry_GetRange_Proxy(
IScriptEntry* This,
ULONG *pichMin,
ULONG *pcch);
void __RPC_STUB IScriptEntry_GetRange_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IScriptEntry_INTERFACE_DEFINED__ */
/*****************************************************************************
* IScriptScriptlet interface
*/
#ifndef __IScriptScriptlet_INTERFACE_DEFINED__
#define __IScriptScriptlet_INTERFACE_DEFINED__
DEFINE_GUID(IID_IScriptScriptlet, 0x0aee2a96, 0xbcbb, 0x11d0, 0x8c,0x72, 0x00,0xc0,0x4f,0xc2,0xb0,0x85);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0aee2a96-bcbb-11d0-8c72-00c04fc2b085")
IScriptScriptlet : public IScriptEntry
{
virtual HRESULT STDMETHODCALLTYPE GetSubItemName(
BSTR *pbstr) = 0;
virtual HRESULT STDMETHODCALLTYPE SetSubItemName(
LPCOLESTR psz) = 0;
virtual HRESULT STDMETHODCALLTYPE GetEventName(
BSTR *pbstr) = 0;
virtual HRESULT STDMETHODCALLTYPE SetEventName(
LPCOLESTR psz) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSimpleEventName(
BSTR *pbstr) = 0;
virtual HRESULT STDMETHODCALLTYPE SetSimpleEventName(
LPCOLESTR psz) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IScriptScriptlet, 0x0aee2a96, 0xbcbb, 0x11d0, 0x8c,0x72, 0x00,0xc0,0x4f,0xc2,0xb0,0x85)
#endif
#else
typedef struct IScriptScriptletVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IScriptScriptlet* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IScriptScriptlet* This);
ULONG (STDMETHODCALLTYPE *Release)(
IScriptScriptlet* This);
/*** IScriptNode methods ***/
HRESULT (STDMETHODCALLTYPE *Alive)(
IScriptScriptlet* This);
HRESULT (STDMETHODCALLTYPE *Delete)(
IScriptScriptlet* This);
HRESULT (STDMETHODCALLTYPE *GetParent)(
IScriptScriptlet* This,
IScriptNode **ppsnParent);
HRESULT (STDMETHODCALLTYPE *GetIndexInParent)(
IScriptScriptlet* This,
ULONG *pisn);
HRESULT (STDMETHODCALLTYPE *GetCookie)(
IScriptScriptlet* This,
DWORD *pdwCookie);
HRESULT (STDMETHODCALLTYPE *GetNumberOfChildren)(
IScriptScriptlet* This,
ULONG *pcsn);
HRESULT (STDMETHODCALLTYPE *GetChild)(
IScriptScriptlet* This,
ULONG isn,
IScriptNode **ppsn);
HRESULT (STDMETHODCALLTYPE *GetLanguage)(
IScriptScriptlet* This,
BSTR *pbstr);
HRESULT (STDMETHODCALLTYPE *CreateChildEntry)(
IScriptScriptlet* This,
ULONG isn,
DWORD dwCookie,
LPCOLESTR pszDelimiter,
IScriptEntry **ppse);
HRESULT (STDMETHODCALLTYPE *CreateChildHandler)(
IScriptScriptlet* This,
LPCOLESTR pszDefaultName,
LPCOLESTR *prgpszNames,
ULONG cpszNames,
LPCOLESTR pszEvent,
LPCOLESTR pszDelimiter,
ITypeInfo *ptiSignature,
ULONG iMethodSignature,
ULONG isn,
DWORD dwCookie,
IScriptEntry **ppse);
/*** IScriptEntry methods ***/
HRESULT (STDMETHODCALLTYPE *GetText)(
IScriptScriptlet* This,
BSTR *pbstr);
HRESULT (STDMETHODCALLTYPE *SetText)(
IScriptScriptlet* This,
LPCOLESTR psz);
HRESULT (STDMETHODCALLTYPE *GetBody)(
IScriptScriptlet* This,
BSTR *pbstr);
HRESULT (STDMETHODCALLTYPE *SetBody)(
IScriptScriptlet* This,
LPCOLESTR psz);
HRESULT (STDMETHODCALLTYPE *GetName)(
IScriptScriptlet* This,
BSTR *pbstr);
HRESULT (STDMETHODCALLTYPE *SetName)(
IScriptScriptlet* This,
LPCOLESTR psz);
HRESULT (STDMETHODCALLTYPE *GetItemName)(
IScriptScriptlet* This,
BSTR *pbstr);
HRESULT (STDMETHODCALLTYPE *SetItemName)(
IScriptScriptlet* This,
LPCOLESTR psz);
HRESULT (STDMETHODCALLTYPE *GetSignature)(
IScriptScriptlet* This,
ITypeInfo **ppti,
ULONG *piMethod);
HRESULT (STDMETHODCALLTYPE *SetSignature)(
IScriptScriptlet* This,
ITypeInfo *pti,
ULONG iMethod);
HRESULT (STDMETHODCALLTYPE *GetRange)(
IScriptScriptlet* This,
ULONG *pichMin,
ULONG *pcch);
/*** IScriptScriptlet methods ***/
HRESULT (STDMETHODCALLTYPE *GetSubItemName)(
IScriptScriptlet* This,
BSTR *pbstr);
HRESULT (STDMETHODCALLTYPE *SetSubItemName)(
IScriptScriptlet* This,
LPCOLESTR psz);
HRESULT (STDMETHODCALLTYPE *GetEventName)(
IScriptScriptlet* This,
BSTR *pbstr);
HRESULT (STDMETHODCALLTYPE *SetEventName)(
IScriptScriptlet* This,
LPCOLESTR psz);
HRESULT (STDMETHODCALLTYPE *GetSimpleEventName)(
IScriptScriptlet* This,
BSTR *pbstr);
HRESULT (STDMETHODCALLTYPE *SetSimpleEventName)(
IScriptScriptlet* This,
LPCOLESTR psz);
END_INTERFACE
} IScriptScriptletVtbl;
interface IScriptScriptlet {
CONST_VTBL IScriptScriptletVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IScriptScriptlet_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IScriptScriptlet_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IScriptScriptlet_Release(This) (This)->lpVtbl->Release(This)
/*** IScriptNode methods ***/
#define IScriptScriptlet_Alive(This) (This)->lpVtbl->Alive(This)
#define IScriptScriptlet_Delete(This) (This)->lpVtbl->Delete(This)
#define IScriptScriptlet_GetParent(This,ppsnParent) (This)->lpVtbl->GetParent(This,ppsnParent)
#define IScriptScriptlet_GetIndexInParent(This,pisn) (This)->lpVtbl->GetIndexInParent(This,pisn)
#define IScriptScriptlet_GetCookie(This,pdwCookie) (This)->lpVtbl->GetCookie(This,pdwCookie)
#define IScriptScriptlet_GetNumberOfChildren(This,pcsn) (This)->lpVtbl->GetNumberOfChildren(This,pcsn)
#define IScriptScriptlet_GetChild(This,isn,ppsn) (This)->lpVtbl->GetChild(This,isn,ppsn)
#define IScriptScriptlet_GetLanguage(This,pbstr) (This)->lpVtbl->GetLanguage(This,pbstr)
#define IScriptScriptlet_CreateChildEntry(This,isn,dwCookie,pszDelimiter,ppse) (This)->lpVtbl->CreateChildEntry(This,isn,dwCookie,pszDelimiter,ppse)
#define IScriptScriptlet_CreateChildHandler(This,pszDefaultName,prgpszNames,cpszNames,pszEvent,pszDelimiter,ptiSignature,iMethodSignature,isn,dwCookie,ppse) (This)->lpVtbl->CreateChildHandler(This,pszDefaultName,prgpszNames,cpszNames,pszEvent,pszDelimiter,ptiSignature,iMethodSignature,isn,dwCookie,ppse)
/*** IScriptEntry methods ***/
#define IScriptScriptlet_GetText(This,pbstr) (This)->lpVtbl->GetText(This,pbstr)
#define IScriptScriptlet_SetText(This,psz) (This)->lpVtbl->SetText(This,psz)
#define IScriptScriptlet_GetBody(This,pbstr) (This)->lpVtbl->GetBody(This,pbstr)
#define IScriptScriptlet_SetBody(This,psz) (This)->lpVtbl->SetBody(This,psz)
#define IScriptScriptlet_GetName(This,pbstr) (This)->lpVtbl->GetName(This,pbstr)
#define IScriptScriptlet_SetName(This,psz) (This)->lpVtbl->SetName(This,psz)
#define IScriptScriptlet_GetItemName(This,pbstr) (This)->lpVtbl->GetItemName(This,pbstr)
#define IScriptScriptlet_SetItemName(This,psz) (This)->lpVtbl->SetItemName(This,psz)
#define IScriptScriptlet_GetSignature(This,ppti,piMethod) (This)->lpVtbl->GetSignature(This,ppti,piMethod)
#define IScriptScriptlet_SetSignature(This,pti,iMethod) (This)->lpVtbl->SetSignature(This,pti,iMethod)
#define IScriptScriptlet_GetRange(This,pichMin,pcch) (This)->lpVtbl->GetRange(This,pichMin,pcch)
/*** IScriptScriptlet methods ***/
#define IScriptScriptlet_GetSubItemName(This,pbstr) (This)->lpVtbl->GetSubItemName(This,pbstr)
#define IScriptScriptlet_SetSubItemName(This,psz) (This)->lpVtbl->SetSubItemName(This,psz)
#define IScriptScriptlet_GetEventName(This,pbstr) (This)->lpVtbl->GetEventName(This,pbstr)
#define IScriptScriptlet_SetEventName(This,psz) (This)->lpVtbl->SetEventName(This,psz)
#define IScriptScriptlet_GetSimpleEventName(This,pbstr) (This)->lpVtbl->GetSimpleEventName(This,pbstr)
#define IScriptScriptlet_SetSimpleEventName(This,psz) (This)->lpVtbl->SetSimpleEventName(This,psz)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IScriptScriptlet_QueryInterface(IScriptScriptlet* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IScriptScriptlet_AddRef(IScriptScriptlet* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IScriptScriptlet_Release(IScriptScriptlet* This) {
return This->lpVtbl->Release(This);
}
/*** IScriptNode methods ***/
static FORCEINLINE HRESULT IScriptScriptlet_Alive(IScriptScriptlet* This) {
return This->lpVtbl->Alive(This);
}
static FORCEINLINE HRESULT IScriptScriptlet_Delete(IScriptScriptlet* This) {
return This->lpVtbl->Delete(This);
}
static FORCEINLINE HRESULT IScriptScriptlet_GetParent(IScriptScriptlet* This,IScriptNode **ppsnParent) {
return This->lpVtbl->GetParent(This,ppsnParent);
}
static FORCEINLINE HRESULT IScriptScriptlet_GetIndexInParent(IScriptScriptlet* This,ULONG *pisn) {
return This->lpVtbl->GetIndexInParent(This,pisn);
}
static FORCEINLINE HRESULT IScriptScriptlet_GetCookie(IScriptScriptlet* This,DWORD *pdwCookie) {
return This->lpVtbl->GetCookie(This,pdwCookie);
}
static FORCEINLINE HRESULT IScriptScriptlet_GetNumberOfChildren(IScriptScriptlet* This,ULONG *pcsn) {
return This->lpVtbl->GetNumberOfChildren(This,pcsn);
}
static FORCEINLINE HRESULT IScriptScriptlet_GetChild(IScriptScriptlet* This,ULONG isn,IScriptNode **ppsn) {
return This->lpVtbl->GetChild(This,isn,ppsn);
}
static FORCEINLINE HRESULT IScriptScriptlet_GetLanguage(IScriptScriptlet* This,BSTR *pbstr) {
return This->lpVtbl->GetLanguage(This,pbstr);
}
static FORCEINLINE HRESULT IScriptScriptlet_CreateChildEntry(IScriptScriptlet* This,ULONG isn,DWORD dwCookie,LPCOLESTR pszDelimiter,IScriptEntry **ppse) {
return This->lpVtbl->CreateChildEntry(This,isn,dwCookie,pszDelimiter,ppse);
}
static FORCEINLINE HRESULT IScriptScriptlet_CreateChildHandler(IScriptScriptlet* This,LPCOLESTR pszDefaultName,LPCOLESTR *prgpszNames,ULONG cpszNames,LPCOLESTR pszEvent,LPCOLESTR pszDelimiter,ITypeInfo *ptiSignature,ULONG iMethodSignature,ULONG isn,DWORD dwCookie,IScriptEntry **ppse) {
return This->lpVtbl->CreateChildHandler(This,pszDefaultName,prgpszNames,cpszNames,pszEvent,pszDelimiter,ptiSignature,iMethodSignature,isn,dwCookie,ppse);
}
/*** IScriptEntry methods ***/
static FORCEINLINE HRESULT IScriptScriptlet_GetText(IScriptScriptlet* This,BSTR *pbstr) {
return This->lpVtbl->GetText(This,pbstr);
}
static FORCEINLINE HRESULT IScriptScriptlet_SetText(IScriptScriptlet* This,LPCOLESTR psz) {
return This->lpVtbl->SetText(This,psz);
}
static FORCEINLINE HRESULT IScriptScriptlet_GetBody(IScriptScriptlet* This,BSTR *pbstr) {
return This->lpVtbl->GetBody(This,pbstr);
}
static FORCEINLINE HRESULT IScriptScriptlet_SetBody(IScriptScriptlet* This,LPCOLESTR psz) {
return This->lpVtbl->SetBody(This,psz);
}
static FORCEINLINE HRESULT IScriptScriptlet_GetName(IScriptScriptlet* This,BSTR *pbstr) {
return This->lpVtbl->GetName(This,pbstr);
}
static FORCEINLINE HRESULT IScriptScriptlet_SetName(IScriptScriptlet* This,LPCOLESTR psz) {
return This->lpVtbl->SetName(This,psz);
}
static FORCEINLINE HRESULT IScriptScriptlet_GetItemName(IScriptScriptlet* This,BSTR *pbstr) {
return This->lpVtbl->GetItemName(This,pbstr);
}
static FORCEINLINE HRESULT IScriptScriptlet_SetItemName(IScriptScriptlet* This,LPCOLESTR psz) {
return This->lpVtbl->SetItemName(This,psz);
}
static FORCEINLINE HRESULT IScriptScriptlet_GetSignature(IScriptScriptlet* This,ITypeInfo **ppti,ULONG *piMethod) {
return This->lpVtbl->GetSignature(This,ppti,piMethod);
}
static FORCEINLINE HRESULT IScriptScriptlet_SetSignature(IScriptScriptlet* This,ITypeInfo *pti,ULONG iMethod) {
return This->lpVtbl->SetSignature(This,pti,iMethod);
}
static FORCEINLINE HRESULT IScriptScriptlet_GetRange(IScriptScriptlet* This,ULONG *pichMin,ULONG *pcch) {
return This->lpVtbl->GetRange(This,pichMin,pcch);
}
/*** IScriptScriptlet methods ***/
static FORCEINLINE HRESULT IScriptScriptlet_GetSubItemName(IScriptScriptlet* This,BSTR *pbstr) {
return This->lpVtbl->GetSubItemName(This,pbstr);
}
static FORCEINLINE HRESULT IScriptScriptlet_SetSubItemName(IScriptScriptlet* This,LPCOLESTR psz) {
return This->lpVtbl->SetSubItemName(This,psz);
}
static FORCEINLINE HRESULT IScriptScriptlet_GetEventName(IScriptScriptlet* This,BSTR *pbstr) {
return This->lpVtbl->GetEventName(This,pbstr);
}
static FORCEINLINE HRESULT IScriptScriptlet_SetEventName(IScriptScriptlet* This,LPCOLESTR psz) {
return This->lpVtbl->SetEventName(This,psz);
}
static FORCEINLINE HRESULT IScriptScriptlet_GetSimpleEventName(IScriptScriptlet* This,BSTR *pbstr) {
return This->lpVtbl->GetSimpleEventName(This,pbstr);
}
static FORCEINLINE HRESULT IScriptScriptlet_SetSimpleEventName(IScriptScriptlet* This,LPCOLESTR psz) {
return This->lpVtbl->SetSimpleEventName(This,psz);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IScriptScriptlet_GetSubItemName_Proxy(
IScriptScriptlet* This,
BSTR *pbstr);
void __RPC_STUB IScriptScriptlet_GetSubItemName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IScriptScriptlet_SetSubItemName_Proxy(
IScriptScriptlet* This,
LPCOLESTR psz);
void __RPC_STUB IScriptScriptlet_SetSubItemName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IScriptScriptlet_GetEventName_Proxy(
IScriptScriptlet* This,
BSTR *pbstr);
void __RPC_STUB IScriptScriptlet_GetEventName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IScriptScriptlet_SetEventName_Proxy(
IScriptScriptlet* This,
LPCOLESTR psz);
void __RPC_STUB IScriptScriptlet_SetEventName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IScriptScriptlet_GetSimpleEventName_Proxy(
IScriptScriptlet* This,
BSTR *pbstr);
void __RPC_STUB IScriptScriptlet_GetSimpleEventName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IScriptScriptlet_SetSimpleEventName_Proxy(
IScriptScriptlet* This,
LPCOLESTR psz);
void __RPC_STUB IScriptScriptlet_SetSimpleEventName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IScriptScriptlet_INTERFACE_DEFINED__ */
/*****************************************************************************
* IActiveScriptAuthor interface
*/
#ifndef __IActiveScriptAuthor_INTERFACE_DEFINED__
#define __IActiveScriptAuthor_INTERFACE_DEFINED__
DEFINE_GUID(IID_IActiveScriptAuthor, 0x9c109da0, 0x7006, 0x11d1, 0xb3,0x6c, 0x00,0xa0,0xc9,0x11,0xe8,0xb2);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9c109da0-7006-11d1-b36c-00a0c911e8b2")
IActiveScriptAuthor : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE AddNamedItem(
LPCOLESTR pszName,
DWORD dwFlags,
IDispatch *pdisp) = 0;
virtual HRESULT STDMETHODCALLTYPE AddScriptlet(
LPCOLESTR pszDefaultName,
LPCOLESTR pszCode,
LPCOLESTR pszItemName,
LPCOLESTR pszSubItemName,
LPCOLESTR pszEventName,
LPCOLESTR pszDelimiter,
DWORD dwCookie,
DWORD dwFlags) = 0;
virtual HRESULT STDMETHODCALLTYPE ParseScriptText(
LPCOLESTR pszCode,
LPCOLESTR pszItemName,
LPCOLESTR pszDelimiter,
DWORD dwCookie,
DWORD dwFlags) = 0;
virtual HRESULT STDMETHODCALLTYPE GetScriptTextAttributes(
LPCOLESTR pszCode,
ULONG cch,
LPCOLESTR pszDelimiter,
DWORD dwFlags,
SOURCE_TEXT_ATTR *pattr) = 0;
virtual HRESULT STDMETHODCALLTYPE GetScriptletTextAttributes(
LPCOLESTR pszCode,
ULONG cch,
LPCOLESTR pszDelimiter,
DWORD dwFlags,
SOURCE_TEXT_ATTR *pattr) = 0;
virtual HRESULT STDMETHODCALLTYPE GetRoot(
IScriptNode **ppsp) = 0;
virtual HRESULT STDMETHODCALLTYPE GetLanguageFlags(
DWORD *pgrfasa) = 0;
virtual HRESULT STDMETHODCALLTYPE GetEventHandler(
IDispatch *pdisp,
LPCOLESTR pszItem,
LPCOLESTR pszSubItem,
LPCOLESTR pszEvent,
IScriptEntry **ppse) = 0;
virtual HRESULT STDMETHODCALLTYPE RemoveNamedItem(
LPCOLESTR pszName) = 0;
virtual HRESULT STDMETHODCALLTYPE AddTypeLib(
REFGUID rguidTypeLib,
DWORD dwMajor,
DWORD dwMinor,
DWORD dwFlags) = 0;
virtual HRESULT STDMETHODCALLTYPE RemoveTypeLib(
REFGUID rguidTypeLib,
DWORD dwMajor,
DWORD dwMinor) = 0;
virtual HRESULT STDMETHODCALLTYPE GetChars(
DWORD fRequestedList,
BSTR *pbstrChars) = 0;
virtual HRESULT STDMETHODCALLTYPE GetInfoFromContext(
LPCOLESTR pszCode,
ULONG cchCode,
ULONG ichCurrentPosition,
DWORD dwListTypesRequested,
DWORD *pdwListTypesProvided,
ULONG *pichListAnchorPosition,
ULONG *pichFuncAnchorPosition,
MEMBERID *pmemid,
LONG *piCurrentParameter,
IUnknown **ppunk) = 0;
virtual HRESULT STDMETHODCALLTYPE IsCommitChar(
OLECHAR ch,
WINBOOL *pfcommit) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IActiveScriptAuthor, 0x9c109da0, 0x7006, 0x11d1, 0xb3,0x6c, 0x00,0xa0,0xc9,0x11,0xe8,0xb2)
#endif
#else
typedef struct IActiveScriptAuthorVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IActiveScriptAuthor* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IActiveScriptAuthor* This);
ULONG (STDMETHODCALLTYPE *Release)(
IActiveScriptAuthor* This);
/*** IActiveScriptAuthor methods ***/
HRESULT (STDMETHODCALLTYPE *AddNamedItem)(
IActiveScriptAuthor* This,
LPCOLESTR pszName,
DWORD dwFlags,
IDispatch *pdisp);
HRESULT (STDMETHODCALLTYPE *AddScriptlet)(
IActiveScriptAuthor* This,
LPCOLESTR pszDefaultName,
LPCOLESTR pszCode,
LPCOLESTR pszItemName,
LPCOLESTR pszSubItemName,
LPCOLESTR pszEventName,
LPCOLESTR pszDelimiter,
DWORD dwCookie,
DWORD dwFlags);
HRESULT (STDMETHODCALLTYPE *ParseScriptText)(
IActiveScriptAuthor* This,
LPCOLESTR pszCode,
LPCOLESTR pszItemName,
LPCOLESTR pszDelimiter,
DWORD dwCookie,
DWORD dwFlags);
HRESULT (STDMETHODCALLTYPE *GetScriptTextAttributes)(
IActiveScriptAuthor* This,
LPCOLESTR pszCode,
ULONG cch,
LPCOLESTR pszDelimiter,
DWORD dwFlags,
SOURCE_TEXT_ATTR *pattr);
HRESULT (STDMETHODCALLTYPE *GetScriptletTextAttributes)(
IActiveScriptAuthor* This,
LPCOLESTR pszCode,
ULONG cch,
LPCOLESTR pszDelimiter,
DWORD dwFlags,
SOURCE_TEXT_ATTR *pattr);
HRESULT (STDMETHODCALLTYPE *GetRoot)(
IActiveScriptAuthor* This,
IScriptNode **ppsp);
HRESULT (STDMETHODCALLTYPE *GetLanguageFlags)(
IActiveScriptAuthor* This,
DWORD *pgrfasa);
HRESULT (STDMETHODCALLTYPE *GetEventHandler)(
IActiveScriptAuthor* This,
IDispatch *pdisp,
LPCOLESTR pszItem,
LPCOLESTR pszSubItem,
LPCOLESTR pszEvent,
IScriptEntry **ppse);
HRESULT (STDMETHODCALLTYPE *RemoveNamedItem)(
IActiveScriptAuthor* This,
LPCOLESTR pszName);
HRESULT (STDMETHODCALLTYPE *AddTypeLib)(
IActiveScriptAuthor* This,
REFGUID rguidTypeLib,
DWORD dwMajor,
DWORD dwMinor,
DWORD dwFlags);
HRESULT (STDMETHODCALLTYPE *RemoveTypeLib)(
IActiveScriptAuthor* This,
REFGUID rguidTypeLib,
DWORD dwMajor,
DWORD dwMinor);
HRESULT (STDMETHODCALLTYPE *GetChars)(
IActiveScriptAuthor* This,
DWORD fRequestedList,
BSTR *pbstrChars);
HRESULT (STDMETHODCALLTYPE *GetInfoFromContext)(
IActiveScriptAuthor* This,
LPCOLESTR pszCode,
ULONG cchCode,
ULONG ichCurrentPosition,
DWORD dwListTypesRequested,
DWORD *pdwListTypesProvided,
ULONG *pichListAnchorPosition,
ULONG *pichFuncAnchorPosition,
MEMBERID *pmemid,
LONG *piCurrentParameter,
IUnknown **ppunk);
HRESULT (STDMETHODCALLTYPE *IsCommitChar)(
IActiveScriptAuthor* This,
OLECHAR ch,
WINBOOL *pfcommit);
END_INTERFACE
} IActiveScriptAuthorVtbl;
interface IActiveScriptAuthor {
CONST_VTBL IActiveScriptAuthorVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IActiveScriptAuthor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IActiveScriptAuthor_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IActiveScriptAuthor_Release(This) (This)->lpVtbl->Release(This)
/*** IActiveScriptAuthor methods ***/
#define IActiveScriptAuthor_AddNamedItem(This,pszName,dwFlags,pdisp) (This)->lpVtbl->AddNamedItem(This,pszName,dwFlags,pdisp)
#define IActiveScriptAuthor_AddScriptlet(This,pszDefaultName,pszCode,pszItemName,pszSubItemName,pszEventName,pszDelimiter,dwCookie,dwFlags) (This)->lpVtbl->AddScriptlet(This,pszDefaultName,pszCode,pszItemName,pszSubItemName,pszEventName,pszDelimiter,dwCookie,dwFlags)
#define IActiveScriptAuthor_ParseScriptText(This,pszCode,pszItemName,pszDelimiter,dwCookie,dwFlags) (This)->lpVtbl->ParseScriptText(This,pszCode,pszItemName,pszDelimiter,dwCookie,dwFlags)
#define IActiveScriptAuthor_GetScriptTextAttributes(This,pszCode,cch,pszDelimiter,dwFlags,pattr) (This)->lpVtbl->GetScriptTextAttributes(This,pszCode,cch,pszDelimiter,dwFlags,pattr)
#define IActiveScriptAuthor_GetScriptletTextAttributes(This,pszCode,cch,pszDelimiter,dwFlags,pattr) (This)->lpVtbl->GetScriptletTextAttributes(This,pszCode,cch,pszDelimiter,dwFlags,pattr)
#define IActiveScriptAuthor_GetRoot(This,ppsp) (This)->lpVtbl->GetRoot(This,ppsp)
#define IActiveScriptAuthor_GetLanguageFlags(This,pgrfasa) (This)->lpVtbl->GetLanguageFlags(This,pgrfasa)
#define IActiveScriptAuthor_GetEventHandler(This,pdisp,pszItem,pszSubItem,pszEvent,ppse) (This)->lpVtbl->GetEventHandler(This,pdisp,pszItem,pszSubItem,pszEvent,ppse)
#define IActiveScriptAuthor_RemoveNamedItem(This,pszName) (This)->lpVtbl->RemoveNamedItem(This,pszName)
#define IActiveScriptAuthor_AddTypeLib(This,rguidTypeLib,dwMajor,dwMinor,dwFlags) (This)->lpVtbl->AddTypeLib(This,rguidTypeLib,dwMajor,dwMinor,dwFlags)
#define IActiveScriptAuthor_RemoveTypeLib(This,rguidTypeLib,dwMajor,dwMinor) (This)->lpVtbl->RemoveTypeLib(This,rguidTypeLib,dwMajor,dwMinor)
#define IActiveScriptAuthor_GetChars(This,fRequestedList,pbstrChars) (This)->lpVtbl->GetChars(This,fRequestedList,pbstrChars)
#define IActiveScriptAuthor_GetInfoFromContext(This,pszCode,cchCode,ichCurrentPosition,dwListTypesRequested,pdwListTypesProvided,pichListAnchorPosition,pichFuncAnchorPosition,pmemid,piCurrentParameter,ppunk) (This)->lpVtbl->GetInfoFromContext(This,pszCode,cchCode,ichCurrentPosition,dwListTypesRequested,pdwListTypesProvided,pichListAnchorPosition,pichFuncAnchorPosition,pmemid,piCurrentParameter,ppunk)
#define IActiveScriptAuthor_IsCommitChar(This,ch,pfcommit) (This)->lpVtbl->IsCommitChar(This,ch,pfcommit)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IActiveScriptAuthor_QueryInterface(IActiveScriptAuthor* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IActiveScriptAuthor_AddRef(IActiveScriptAuthor* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IActiveScriptAuthor_Release(IActiveScriptAuthor* This) {
return This->lpVtbl->Release(This);
}
/*** IActiveScriptAuthor methods ***/
static FORCEINLINE HRESULT IActiveScriptAuthor_AddNamedItem(IActiveScriptAuthor* This,LPCOLESTR pszName,DWORD dwFlags,IDispatch *pdisp) {
return This->lpVtbl->AddNamedItem(This,pszName,dwFlags,pdisp);
}
static FORCEINLINE HRESULT IActiveScriptAuthor_AddScriptlet(IActiveScriptAuthor* This,LPCOLESTR pszDefaultName,LPCOLESTR pszCode,LPCOLESTR pszItemName,LPCOLESTR pszSubItemName,LPCOLESTR pszEventName,LPCOLESTR pszDelimiter,DWORD dwCookie,DWORD dwFlags) {
return This->lpVtbl->AddScriptlet(This,pszDefaultName,pszCode,pszItemName,pszSubItemName,pszEventName,pszDelimiter,dwCookie,dwFlags);
}
static FORCEINLINE HRESULT IActiveScriptAuthor_ParseScriptText(IActiveScriptAuthor* This,LPCOLESTR pszCode,LPCOLESTR pszItemName,LPCOLESTR pszDelimiter,DWORD dwCookie,DWORD dwFlags) {
return This->lpVtbl->ParseScriptText(This,pszCode,pszItemName,pszDelimiter,dwCookie,dwFlags);
}
static FORCEINLINE HRESULT IActiveScriptAuthor_GetScriptTextAttributes(IActiveScriptAuthor* This,LPCOLESTR pszCode,ULONG cch,LPCOLESTR pszDelimiter,DWORD dwFlags,SOURCE_TEXT_ATTR *pattr) {
return This->lpVtbl->GetScriptTextAttributes(This,pszCode,cch,pszDelimiter,dwFlags,pattr);
}
static FORCEINLINE HRESULT IActiveScriptAuthor_GetScriptletTextAttributes(IActiveScriptAuthor* This,LPCOLESTR pszCode,ULONG cch,LPCOLESTR pszDelimiter,DWORD dwFlags,SOURCE_TEXT_ATTR *pattr) {
return This->lpVtbl->GetScriptletTextAttributes(This,pszCode,cch,pszDelimiter,dwFlags,pattr);
}
static FORCEINLINE HRESULT IActiveScriptAuthor_GetRoot(IActiveScriptAuthor* This,IScriptNode **ppsp) {
return This->lpVtbl->GetRoot(This,ppsp);
}
static FORCEINLINE HRESULT IActiveScriptAuthor_GetLanguageFlags(IActiveScriptAuthor* This,DWORD *pgrfasa) {
return This->lpVtbl->GetLanguageFlags(This,pgrfasa);
}
static FORCEINLINE HRESULT IActiveScriptAuthor_GetEventHandler(IActiveScriptAuthor* This,IDispatch *pdisp,LPCOLESTR pszItem,LPCOLESTR pszSubItem,LPCOLESTR pszEvent,IScriptEntry **ppse) {
return This->lpVtbl->GetEventHandler(This,pdisp,pszItem,pszSubItem,pszEvent,ppse);
}
static FORCEINLINE HRESULT IActiveScriptAuthor_RemoveNamedItem(IActiveScriptAuthor* This,LPCOLESTR pszName) {
return This->lpVtbl->RemoveNamedItem(This,pszName);
}
static FORCEINLINE HRESULT IActiveScriptAuthor_AddTypeLib(IActiveScriptAuthor* This,REFGUID rguidTypeLib,DWORD dwMajor,DWORD dwMinor,DWORD dwFlags) {
return This->lpVtbl->AddTypeLib(This,rguidTypeLib,dwMajor,dwMinor,dwFlags);
}
static FORCEINLINE HRESULT IActiveScriptAuthor_RemoveTypeLib(IActiveScriptAuthor* This,REFGUID rguidTypeLib,DWORD dwMajor,DWORD dwMinor) {
return This->lpVtbl->RemoveTypeLib(This,rguidTypeLib,dwMajor,dwMinor);
}
static FORCEINLINE HRESULT IActiveScriptAuthor_GetChars(IActiveScriptAuthor* This,DWORD fRequestedList,BSTR *pbstrChars) {
return This->lpVtbl->GetChars(This,fRequestedList,pbstrChars);
}
static FORCEINLINE HRESULT IActiveScriptAuthor_GetInfoFromContext(IActiveScriptAuthor* This,LPCOLESTR pszCode,ULONG cchCode,ULONG ichCurrentPosition,DWORD dwListTypesRequested,DWORD *pdwListTypesProvided,ULONG *pichListAnchorPosition,ULONG *pichFuncAnchorPosition,MEMBERID *pmemid,LONG *piCurrentParameter,IUnknown **ppunk) {
return This->lpVtbl->GetInfoFromContext(This,pszCode,cchCode,ichCurrentPosition,dwListTypesRequested,pdwListTypesProvided,pichListAnchorPosition,pichFuncAnchorPosition,pmemid,piCurrentParameter,ppunk);
}
static FORCEINLINE HRESULT IActiveScriptAuthor_IsCommitChar(IActiveScriptAuthor* This,OLECHAR ch,WINBOOL *pfcommit) {
return This->lpVtbl->IsCommitChar(This,ch,pfcommit);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IActiveScriptAuthor_AddNamedItem_Proxy(
IActiveScriptAuthor* This,
LPCOLESTR pszName,
DWORD dwFlags,
IDispatch *pdisp);
void __RPC_STUB IActiveScriptAuthor_AddNamedItem_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IActiveScriptAuthor_AddScriptlet_Proxy(
IActiveScriptAuthor* This,
LPCOLESTR pszDefaultName,
LPCOLESTR pszCode,
LPCOLESTR pszItemName,
LPCOLESTR pszSubItemName,
LPCOLESTR pszEventName,
LPCOLESTR pszDelimiter,
DWORD dwCookie,
DWORD dwFlags);
void __RPC_STUB IActiveScriptAuthor_AddScriptlet_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IActiveScriptAuthor_ParseScriptText_Proxy(
IActiveScriptAuthor* This,
LPCOLESTR pszCode,
LPCOLESTR pszItemName,
LPCOLESTR pszDelimiter,
DWORD dwCookie,
DWORD dwFlags);
void __RPC_STUB IActiveScriptAuthor_ParseScriptText_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IActiveScriptAuthor_GetScriptTextAttributes_Proxy(
IActiveScriptAuthor* This,
LPCOLESTR pszCode,
ULONG cch,
LPCOLESTR pszDelimiter,
DWORD dwFlags,
SOURCE_TEXT_ATTR *pattr);
void __RPC_STUB IActiveScriptAuthor_GetScriptTextAttributes_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IActiveScriptAuthor_GetScriptletTextAttributes_Proxy(
IActiveScriptAuthor* This,
LPCOLESTR pszCode,
ULONG cch,
LPCOLESTR pszDelimiter,
DWORD dwFlags,
SOURCE_TEXT_ATTR *pattr);
void __RPC_STUB IActiveScriptAuthor_GetScriptletTextAttributes_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IActiveScriptAuthor_GetRoot_Proxy(
IActiveScriptAuthor* This,
IScriptNode **ppsp);
void __RPC_STUB IActiveScriptAuthor_GetRoot_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IActiveScriptAuthor_GetLanguageFlags_Proxy(
IActiveScriptAuthor* This,
DWORD *pgrfasa);
void __RPC_STUB IActiveScriptAuthor_GetLanguageFlags_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IActiveScriptAuthor_GetEventHandler_Proxy(
IActiveScriptAuthor* This,
IDispatch *pdisp,
LPCOLESTR pszItem,
LPCOLESTR pszSubItem,
LPCOLESTR pszEvent,
IScriptEntry **ppse);
void __RPC_STUB IActiveScriptAuthor_GetEventHandler_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IActiveScriptAuthor_RemoveNamedItem_Proxy(
IActiveScriptAuthor* This,
LPCOLESTR pszName);
void __RPC_STUB IActiveScriptAuthor_RemoveNamedItem_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IActiveScriptAuthor_AddTypeLib_Proxy(
IActiveScriptAuthor* This,
REFGUID rguidTypeLib,
DWORD dwMajor,
DWORD dwMinor,
DWORD dwFlags);
void __RPC_STUB IActiveScriptAuthor_AddTypeLib_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IActiveScriptAuthor_RemoveTypeLib_Proxy(
IActiveScriptAuthor* This,
REFGUID rguidTypeLib,
DWORD dwMajor,
DWORD dwMinor);
void __RPC_STUB IActiveScriptAuthor_RemoveTypeLib_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IActiveScriptAuthor_GetChars_Proxy(
IActiveScriptAuthor* This,
DWORD fRequestedList,
BSTR *pbstrChars);
void __RPC_STUB IActiveScriptAuthor_GetChars_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IActiveScriptAuthor_GetInfoFromContext_Proxy(
IActiveScriptAuthor* This,
LPCOLESTR pszCode,
ULONG cchCode,
ULONG ichCurrentPosition,
DWORD dwListTypesRequested,
DWORD *pdwListTypesProvided,
ULONG *pichListAnchorPosition,
ULONG *pichFuncAnchorPosition,
MEMBERID *pmemid,
LONG *piCurrentParameter,
IUnknown **ppunk);
void __RPC_STUB IActiveScriptAuthor_GetInfoFromContext_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IActiveScriptAuthor_IsCommitChar_Proxy(
IActiveScriptAuthor* This,
OLECHAR ch,
WINBOOL *pfcommit);
void __RPC_STUB IActiveScriptAuthor_IsCommitChar_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IActiveScriptAuthor_INTERFACE_DEFINED__ */
/*****************************************************************************
* IActiveScriptAuthorProcedure interface
*/
#ifndef __IActiveScriptAuthorProcedure_INTERFACE_DEFINED__
#define __IActiveScriptAuthorProcedure_INTERFACE_DEFINED__
DEFINE_GUID(IID_IActiveScriptAuthorProcedure, 0x7e2d4b70, 0xbd9a, 0x11d0, 0x93,0x36, 0x00,0xa0,0xc9,0x0d,0xca,0xa9);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("7e2d4b70-bd9a-11d0-9336-00a0c90dcaa9")
IActiveScriptAuthorProcedure : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE ParseProcedureText(
LPCOLESTR pszCode,
LPCOLESTR pszFormalParams,
LPCOLESTR pszProcedureName,
LPCOLESTR pszItemName,
LPCOLESTR pszDelimiter,
DWORD dwCookie,
DWORD dwFlags,
IDispatch *pdispFor) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IActiveScriptAuthorProcedure, 0x7e2d4b70, 0xbd9a, 0x11d0, 0x93,0x36, 0x00,0xa0,0xc9,0x0d,0xca,0xa9)
#endif
#else
typedef struct IActiveScriptAuthorProcedureVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IActiveScriptAuthorProcedure* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IActiveScriptAuthorProcedure* This);
ULONG (STDMETHODCALLTYPE *Release)(
IActiveScriptAuthorProcedure* This);
/*** IActiveScriptAuthorProcedure methods ***/
HRESULT (STDMETHODCALLTYPE *ParseProcedureText)(
IActiveScriptAuthorProcedure* This,
LPCOLESTR pszCode,
LPCOLESTR pszFormalParams,
LPCOLESTR pszProcedureName,
LPCOLESTR pszItemName,
LPCOLESTR pszDelimiter,
DWORD dwCookie,
DWORD dwFlags,
IDispatch *pdispFor);
END_INTERFACE
} IActiveScriptAuthorProcedureVtbl;
interface IActiveScriptAuthorProcedure {
CONST_VTBL IActiveScriptAuthorProcedureVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IActiveScriptAuthorProcedure_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IActiveScriptAuthorProcedure_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IActiveScriptAuthorProcedure_Release(This) (This)->lpVtbl->Release(This)
/*** IActiveScriptAuthorProcedure methods ***/
#define IActiveScriptAuthorProcedure_ParseProcedureText(This,pszCode,pszFormalParams,pszProcedureName,pszItemName,pszDelimiter,dwCookie,dwFlags,pdispFor) (This)->lpVtbl->ParseProcedureText(This,pszCode,pszFormalParams,pszProcedureName,pszItemName,pszDelimiter,dwCookie,dwFlags,pdispFor)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IActiveScriptAuthorProcedure_QueryInterface(IActiveScriptAuthorProcedure* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IActiveScriptAuthorProcedure_AddRef(IActiveScriptAuthorProcedure* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IActiveScriptAuthorProcedure_Release(IActiveScriptAuthorProcedure* This) {
return This->lpVtbl->Release(This);
}
/*** IActiveScriptAuthorProcedure methods ***/
static FORCEINLINE HRESULT IActiveScriptAuthorProcedure_ParseProcedureText(IActiveScriptAuthorProcedure* This,LPCOLESTR pszCode,LPCOLESTR pszFormalParams,LPCOLESTR pszProcedureName,LPCOLESTR pszItemName,LPCOLESTR pszDelimiter,DWORD dwCookie,DWORD dwFlags,IDispatch *pdispFor) {
return This->lpVtbl->ParseProcedureText(This,pszCode,pszFormalParams,pszProcedureName,pszItemName,pszDelimiter,dwCookie,dwFlags,pdispFor);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IActiveScriptAuthorProcedure_ParseProcedureText_Proxy(
IActiveScriptAuthorProcedure* This,
LPCOLESTR pszCode,
LPCOLESTR pszFormalParams,
LPCOLESTR pszProcedureName,
LPCOLESTR pszItemName,
LPCOLESTR pszDelimiter,
DWORD dwCookie,
DWORD dwFlags,
IDispatch *pdispFor);
void __RPC_STUB IActiveScriptAuthorProcedure_ParseProcedureText_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IActiveScriptAuthorProcedure_INTERFACE_DEFINED__ */
#endif
#endif
/* Begin additional prototypes for all interfaces */
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 /* __activaut_h__ */
|