MsWTECom.Idl
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:57k
源码类别:

模拟服务器

开发平台:

C/C++

  1. /************************************************************************
  2. *                                                                       *
  3. *   This file will be processed by the MIDL tool to                     *
  4. *   produce the type library (mswteCom.tlb) and marshalling code.       *
  5. *                                                                       *
  6. *   Copyright (c) 1991-1999, Microsoft Corp. All rights reserved.       *
  7. *                                                                       *
  8. ************************************************************************/
  9. import "oaidl.idl";
  10. import "ocidl.idl";
  11. import "tapi3if.idl";
  12. import "mswteImports.idl";
  13. interface IWTEServer;
  14. interface IWTEServers;
  15. interface IWTETTSMode;
  16. interface IWTETTSModes;
  17. interface IWTESRMode;
  18. interface IWTESRModes;
  19. interface IWTEAddresses;
  20. interface IWTEAddress;
  21. interface IWTEArrays;
  22. interface IWTEArray;
  23. interface IWTEVendorDataSets;
  24. interface IWTEVendorDataSet;
  25. interface IWTELog;
  26. interface IWTEApplications;
  27. interface IWTEApplication;
  28. interface IWTEAddressGroups;
  29. interface IWTEAddressGroup;
  30. interface IWTEDNISes;
  31. interface IWTEDNIS;
  32. #ifndef VARIANT_FALSE
  33.     #define VARIANT_FALSE ((VARIANT_BOOL)0)
  34. #endif
  35.     [
  36.         object,
  37.         uuid(B83E8310-336C-11D3-8657-0090272F9EEB),
  38.         dual,
  39.         helpstring("IWTE Interface"),
  40.         pointer_default(unique)
  41.     ]
  42.     interface IWTE : IDispatch
  43.     {
  44.         [propget, id(1), helpstring("property Arrays")]
  45.          HRESULT Arrays([out, retval] IWTEArrays **pVal);
  46.         [id(2), helpstring("method Save")]
  47.          HRESULT Save([in, defaultvalue(VARIANT_FALSE)] VARIANT_BOOL SaveOnlyIfCurrent);
  48.         [id(3), helpstring("method Refresh")]
  49.          HRESULT Refresh();
  50.         [propget, id(4), helpstring("property VendorDataSets")]
  51.          HRESULT VendorDataSets([out, retval] IWTEVendorDataSets **pVal);
  52.     };
  53.     
  54.     [
  55.         object,
  56.         uuid(B83E8311-336C-11D3-8657-0090272F9EEB),
  57.         dual,
  58.         helpstring("IWTEArrays Interface"),
  59.         pointer_default(unique)
  60.     ]
  61.     interface IWTEArrays : IDispatch
  62.     {
  63.         [id(1), helpstring("method Save")]
  64.          HRESULT Save([in, defaultvalue(VARIANT_FALSE)] VARIANT_BOOL SaveOnlyIfCurrent);
  65.         [id(2), helpstring("method Refresh")]
  66.          HRESULT Refresh();
  67.         [propget, id(3), helpstring("property Count")]
  68.          HRESULT Count([out, retval] long *pVal);
  69.         [id(DISPID_VALUE), helpstring("method Item")]
  70.          HRESULT Item(VARIANT v, [out, retval] IWTEArray **pItem);
  71.         [propget, id(DISPID_NEWENUM), helpstring("property _NewEnum")]
  72.          HRESULT _NewEnum([out, retval] IUnknown **pVal);
  73.         [id(4), helpstring("method CurrentArray")]
  74.          HRESULT GetContainingArray([out, retval] IWTEArray **pItem);
  75.         [propget, id(5), helpstring("property VendorDataSets")]
  76.          HRESULT VendorDataSets([out, retval] IWTEVendorDataSets **pVal);
  77.         [id(6), helpstring("method Remove")]
  78.          HRESULT Remove(VARIANT v);
  79.     };
  80.     [
  81.         object,
  82.         uuid(B83E8312-336C-11D3-8657-0090272F9EEB),
  83.         dual,
  84.         helpstring("IWTEArray Interface"),
  85.         pointer_default(unique)
  86.     ]
  87.     interface IWTEArray : IDispatch
  88.     {
  89.         [propget, id(DISPID_VALUE), helpstring("property Name")]
  90.          HRESULT Name([out, retval] BSTR *pVal);
  91.         [propput, id(DISPID_VALUE), helpstring("property Name")]
  92.          HRESULT Name([in] BSTR newVal);
  93.         [propget, id(1), helpstring("property Description")]
  94.          HRESULT Description([out, retval] BSTR *pVal);
  95.         [propput, id(1), helpstring("property Description")]
  96.          HRESULT Description([in] BSTR newVal);
  97.         [propget, helpstring("property Servers")]
  98.          HRESULT Servers([out, retval] IWTEServers **pVal);
  99.         [propget, helpstring("property Applications")]
  100.          HRESULT Applications([out, retval] IWTEApplications **pVal);
  101.         [propget, helpstring("property AddressGroups")]
  102.          HRESULT AddressGroups([out, retval] IWTEAddressGroups **pVal);
  103.         [propget, helpstring("property Log")]
  104.          HRESULT Log([out, retval] IWTELog **pVal);
  105.         [propget, helpstring("property VendorDataSets")]
  106.          HRESULT VendorDataSets([out, retval] IWTEVendorDataSets **pVal);
  107.         [helpstring("method Save")]
  108.          HRESULT Save([in, defaultvalue(VARIANT_FALSE)] VARIANT_BOOL SaveOnlyIfCurrent);
  109.         [helpstring("method Refresh")]
  110.          HRESULT Refresh();
  111.     };
  112.     [
  113.         object,
  114.         uuid(B83E8313-336C-11D3-8657-0090272F9EEB),
  115.         dual,
  116.         helpstring("IWTEServers Interface"),
  117.         pointer_default(unique)
  118.     ]
  119.     interface IWTEServers : IDispatch
  120.     {
  121.         [propget, id(1), helpstring("property Count")]
  122.          HRESULT Count([out, retval] long *pVal);
  123.         [id(2), helpstring("method Save")]
  124.          HRESULT Save([in, defaultvalue(VARIANT_FALSE)] VARIANT_BOOL SaveOnlyIfCurrent);
  125.         [id(3), helpstring("method Refresh")]
  126.          HRESULT Refresh();
  127.         [id(DISPID_VALUE), helpstring("method Item")]
  128.          HRESULT Item(VARIANT v, [out, retval] IWTEServer **pItem);
  129.         [propget, id(DISPID_NEWENUM), helpstring("property _NewEnum")]
  130.          HRESULT _NewEnum([out, retval] IUnknown **pVal);
  131.         [propget, id(4), helpstring("property VendorDataSets")]
  132.          HRESULT VendorDataSets([out, retval] IWTEVendorDataSets **pVal);
  133.     };
  134.     [
  135.         object,
  136.         uuid(B83E8314-336C-11D3-8657-0090272F9EEB),
  137.         dual,
  138.         helpstring("IWTEServer Interface"),
  139.         pointer_default(unique)
  140.     ]
  141.     interface IWTEServer : IDispatch
  142.     {
  143.         [propget, id(DISPID_VALUE), helpstring("property Name")]
  144.          HRESULT Name([out, retval] BSTR *pVal);
  145.         [propget, id(1), helpstring("property ProductVersion")]
  146.          HRESULT ProductVersion([out, retval] BSTR *pVal);
  147.         [propget, id(2), helpstring("property Description")]
  148.          HRESULT Description([out, retval] BSTR *pVal);
  149.         [propput, id(2), helpstring("property Description")]
  150.          HRESULT Description([in] BSTR newVal);
  151.         [propget, id(3), helpstring("property Addresses")]
  152.          HRESULT Addresses([out, retval] IWTEAddresses **pVal);
  153.         [propget, id(4), helpstring("property TTSModes")]
  154.          HRESULT TTSModes([out, retval] IWTETTSModes **pVal);
  155.         [propget, id(5), helpstring("property SRModes")]
  156.          HRESULT SRModes([out, retval] IWTESRModes **pVal);
  157.         [id(8), helpstring("method Save")]
  158.          HRESULT Save([in, defaultvalue(VARIANT_FALSE)] VARIANT_BOOL SaveOnlyIfCurrent);
  159.         [id(9), helpstring("method Refresh")]
  160.          HRESULT Refresh();
  161.         [propget, id(10), helpstring("property VendorDataSets")]
  162.          HRESULT VendorDataSets([out, retval] IWTEVendorDataSets **pVal);
  163.     };
  164.     
  165.     [
  166.         object,
  167.         uuid(23383000-6c46-11d3-8661-0090272f9eeb),
  168.         dual,
  169.         helpstring("IWTETTSModes Interface"),
  170.         pointer_default(unique)
  171.     ]
  172.     interface IWTETTSModes : IDispatch
  173.     {
  174.         [propget, id(1), helpstring("property Count")]
  175.          HRESULT Count([out, retval] long *pVal);
  176.         [id(2), helpstring("method Refresh")]
  177.          HRESULT Refresh();
  178.         [id(DISPID_VALUE), helpstring("method Item")]
  179.          HRESULT Item(VARIANT v, [out, retval] IWTETTSMode **pItem);
  180.         [propget, id(DISPID_NEWENUM), helpstring("property _NewEnum")]
  181.          HRESULT _NewEnum([out, retval] IUnknown **pVal);
  182.         [propget, id(5), helpstring("property VendorDataSets")]
  183.          HRESULT VendorDataSets([out, retval] IWTEVendorDataSets **pVal);
  184.     };
  185.     [
  186.         object,
  187.         uuid(a0293ef0-6e66-11d3-8661-0090272f9eeb),
  188.         dual,
  189.         helpstring("IWTESRModes Interface"),
  190.         pointer_default(unique)
  191.     ]
  192.     interface IWTESRModes : IDispatch
  193.     {
  194.         [propget, id(1), helpstring("property Count")]
  195.          HRESULT Count([out, retval] long *pVal);
  196.         [id(2), helpstring("method Refresh")]
  197.          HRESULT Refresh();
  198.         [id(DISPID_VALUE), helpstring("method Item")]
  199.          HRESULT Item(VARIANT v, [out, retval] IWTESRMode **pItem);
  200.         [propget, id(DISPID_NEWENUM), helpstring("property _NewEnum")]
  201.          HRESULT _NewEnum([out, retval] IUnknown **pVal);
  202.         [propget, id(5), helpstring("property VendorDataSets")]
  203.          HRESULT VendorDataSets([out, retval] IWTEVendorDataSets **pVal);
  204.     };
  205.     [
  206.         object,
  207.         uuid(B83E8315-336C-11D3-8657-0090272F9EEB),
  208.         dual,
  209.         helpstring("IWTEAddresses Interface"),
  210.         pointer_default(unique)
  211.     ]
  212.     interface IWTEAddresses : IDispatch
  213.     {
  214.         [propget, id(1), helpstring("property Count")]
  215.          HRESULT Count([out, retval] long *pVal);
  216.         [id(2), helpstring("method Save")]
  217.          HRESULT Save([in, defaultvalue(VARIANT_FALSE)] VARIANT_BOOL SaveOnlyIfCurrent);
  218.         [id(3), helpstring("method Refresh")]
  219.          HRESULT Refresh();
  220.         [id(DISPID_VALUE), helpstring("method Item")]
  221.          HRESULT Item(VARIANT v, [out, retval] IWTEAddress **pItem);
  222.         [propget, id(DISPID_NEWENUM), helpstring("property _NewEnum")]
  223.          HRESULT _NewEnum([out, retval] IUnknown **pVal);
  224.         [propget, id(5), helpstring("property VendorDataSets")]
  225.          HRESULT VendorDataSets([out, retval] IWTEVendorDataSets **pVal);
  226.     };
  227.     [
  228.         object,
  229.         uuid(B83E8316-336C-11D3-8657-0090272F9EEB),
  230.         dual,
  231.         helpstring("IWTEAddress Interface"),
  232.         pointer_default(unique)
  233.     ]
  234.     interface IWTEAddress : IDispatch
  235.     {
  236.         [propget, id(1), helpstring("property Name")]
  237.          HRESULT Name([out, retval] BSTR *pVal);
  238.         [propget, id(2), helpstring("property SupportsCalledID")]
  239.          HRESULT SupportsCalledID([out, retval] VARIANT_BOOL *pVal);
  240.         [propget, id(3), helpstring("property DialableAddress")]
  241.          HRESULT DialableAddress([out, retval] BSTR *pVal);
  242.         [propput, id(4), helpstring("property AssignedApplication")]
  243.          HRESULT AssignedApplication([in] BSTR newVal);
  244.         [propget, id(4), helpstring("property AssignedApplication")]
  245.          HRESULT AssignedApplication([out, retval] BSTR *pVal);
  246.         [propget, id(5), helpstring("property Description")]
  247.          HRESULT Description([out, retval] BSTR *pVal);
  248.         [propput, id(5), helpstring("property Description")] 
  249.          HRESULT Description([in] BSTR newVal);
  250.         
  251.         [propput, id(6), helpstring("property AssignedGroup")]
  252.          HRESULT AssignedGroup([in] BSTR newVal);
  253.         [propget, id(6), helpstring("property AssignedGroup")]
  254.          HRESULT AssignedGroup([out, retval] BSTR *pVal);
  255.         [propget, id(21), helpstring("property VendorDataSets")]
  256.          HRESULT VendorDataSets([out, retval] IWTEVendorDataSets **pVal);
  257.         [id(22), helpstring("method Save")]
  258.          HRESULT Save([in, defaultvalue(VARIANT_FALSE)] VARIANT_BOOL SaveOnlyIfCurrent);
  259.         [id(23), helpstring("method Refresh")]
  260.          HRESULT Refresh();
  261.     };
  262.     [
  263.         object,
  264.         uuid(667d6160-5a22-11d3-865d-0090272f9eeb),
  265.         dual,
  266.         helpstring("IWTEAddressGroups Interface"),
  267.         pointer_default(unique)
  268.     ]
  269.     interface IWTEAddressGroups : IDispatch
  270.     {
  271.         [propget, id(1), helpstring("property Count")]
  272.          HRESULT Count([out, retval] long *pVal);
  273.         [id(2), helpstring("method Save")]
  274.          HRESULT Save([in, defaultvalue(VARIANT_FALSE)] VARIANT_BOOL SaveOnlyIfCurrent);
  275.         [id(3), helpstring("method Refresh")]
  276.          HRESULT Refresh();
  277.         [id(DISPID_VALUE), helpstring("method Item")]
  278.          HRESULT Item(VARIANT v, [out, retval] IWTEAddressGroup **pItem);
  279.         [propget, id(DISPID_NEWENUM), helpstring("property _NewEnum")]
  280.          HRESULT _NewEnum([out, retval] IUnknown **pVal);
  281.         [propget, id(5), helpstring("property VendorDataSets")]
  282.          HRESULT VendorDataSets([out, retval] IWTEVendorDataSets **pVal);
  283.          
  284.         [id(6), helpstring("method Add")]
  285.         HRESULT Add([in] BSTR Name, [out,retval] IWTEAddressGroup **ppNew);
  286.         
  287.         [id(7), helpstring("method Remove")]
  288.         HRESULT Remove(VARIANT v);
  289.     };
  290.     [
  291.         object,
  292.         uuid(680b55a0-5a27-11d3-865d-0090272f9eeb),
  293.         dual,
  294.         helpstring("IWTEAddressGroup Interface"),
  295.         pointer_default(unique)
  296.     ]
  297.     interface IWTEAddressGroup : IDispatch
  298.     {
  299.         [propget, id(1), helpstring("property Name")]
  300.         HRESULT Name([out, retval] BSTR *pName);
  301.         [propput, id(1), helpstring("property Name")]
  302.         HRESULT Name([in] BSTR Name);
  303.         [propget, id(2), helpstring("property Description")]
  304.         HRESULT Description([out, retval] BSTR *pDescription);
  305.         [propput, id(2), helpstring("property Description")]
  306.         HRESULT Description([in] BSTR Description);
  307.         [propget, id(3), helpstring("property DNISes")]
  308.          HRESULT DNISes([out, retval] IWTEDNISes **ppVal);
  309.         [id(10), helpstring("method Save")]
  310.          HRESULT Save([in, defaultvalue(VARIANT_FALSE)] VARIANT_BOOL SaveOnlyIfCurrent);
  311.         [id(11), helpstring("method Refresh")]
  312.          HRESULT Refresh();
  313.         [propget, id(20), helpstring("property VendorDataSets")]
  314.          HRESULT VendorDataSets([out, retval] IWTEVendorDataSets **pVal);
  315.     
  316.     };
  317.     [
  318.         object,
  319.         uuid(36776540-5a29-11d3-865d-0090272f9eeb),
  320.         dual,
  321.         helpstring("IWTEDNISes Interface"),
  322.         pointer_default(unique)
  323.     ]
  324.     interface IWTEDNISes : IDispatch
  325.     {
  326.         [propget, id(3), helpstring("property Count")]
  327.          HRESULT Count([out, retval] long *pVal);
  328.         [id(4), helpstring("method Save")]
  329.          HRESULT Save([in, defaultvalue(VARIANT_FALSE)] VARIANT_BOOL SaveOnlyIfCurrent);
  330.         [id(5), helpstring("method Refresh")]
  331.          HRESULT Refresh();
  332.         [id(DISPID_VALUE), helpstring("method Item")]
  333.          HRESULT Item(VARIANT v, [out, retval] IWTEDNIS **pItem);
  334.         [propget, id(DISPID_NEWENUM), helpstring("property _NewEnum")]
  335.          HRESULT _NewEnum([out, retval] IUnknown **pVal);
  336.         [propget, id(6), helpstring("property VendorDataSets")]
  337.          HRESULT VendorDataSets([out, retval] IWTEVendorDataSets **pVal);
  338.          
  339.         [id(7), helpstring("method Add")]
  340.         HRESULT Add([in] BSTR Name, [in] BSTR DialedNumberIdentification, [out,retval] IWTEDNIS **ppNew);
  341.         
  342.         [id(8), helpstring("method Remove")]
  343.         HRESULT Remove(VARIANT v);
  344.     };
  345.     [
  346.         object,
  347.         uuid(02468d40-5a2e-11d3-865d-0090272f9eeb),
  348.         dual,
  349.         helpstring("IWTEDNIS Interface"),
  350.         pointer_default(unique)
  351.     ]
  352.     interface IWTEDNIS : IDispatch
  353.     {
  354.         [propget, id(1), helpstring("property Name")]
  355.         HRESULT Name([out, retval] BSTR *pName);
  356.         [propput, id(1), helpstring("property Name")]
  357.         HRESULT Name([in] BSTR Name);
  358.         
  359.         [propget, id(2), helpstring("property Description")]
  360.         HRESULT Description([out, retval] BSTR *pDescription);
  361.         [propput, id(2), helpstring("property Description")]
  362.         HRESULT Description([in] BSTR Description);
  363.         
  364.         [propget, id(3), helpstring("property DialedNumberIdentification")]
  365.         HRESULT DialedNumberIdentification([out, retval] BSTR *pDialedNumberIdentification);
  366.         [propput, id(3), helpstring("property DialedNumberIdentification")]
  367.         HRESULT DialedNumberIdentification([in] BSTR DialedNumberIdentification);
  368.         
  369.         [propput, id(4), helpstring("property AssignedApplication")]
  370.          HRESULT AssignedApplication([in] BSTR newVal);
  371.         [propget, id(4), helpstring("property AssignedApplication")]
  372.          HRESULT AssignedApplication([out, retval] BSTR *pVal);
  373.         
  374.         [id(10), helpstring("method Save")]
  375.         HRESULT Save([in, defaultvalue(VARIANT_FALSE)] VARIANT_BOOL SaveOnlyIfCurrent);
  376.         
  377.         [id(11), helpstring("method Refresh")]
  378.         HRESULT Refresh();
  379.         
  380.         [propget, id(20), helpstring("property VendorDataSets")]
  381.          HRESULT VendorDataSets([out, retval] IWTEVendorDataSets **pVal);
  382.     };
  383.     [
  384.             object,
  385.             uuid(B83E8318-336C-11D3-8657-0090272F9EEB),
  386.             dual,
  387.             helpstring("IWTEVendorDataSets Interface"),
  388.             pointer_default(unique)
  389.     ]
  390.     interface IWTEVendorDataSets : IDispatch
  391.     {
  392.         [id(DISPID_VALUE), helpstring("method Item")]
  393.         HRESULT Item(VARIANT v, [out, retval] IWTEVendorDataSet **pItem);
  394.         [propget, id(DISPID_NEWENUM), helpstring("property _NewEnum")]
  395.         HRESULT _NewEnum([out, retval] IUnknown **pVal);
  396.         
  397.         [propget, id(1), helpstring("property Count")]
  398.         HRESULT Count([out, retval] long *pVal);
  399.         [id(2), helpstring("method Save")]
  400.         HRESULT Save([in, defaultvalue(VARIANT_FALSE)] VARIANT_BOOL SaveOnlyIfCurrent);
  401.         
  402.         [id(3), helpstring("method Refresh")]
  403.         HRESULT Refresh();
  404.         
  405.         [id(5), helpstring("method Add")]
  406.         HRESULT Add([in] BSTR Id, [out,retval] IWTEVendorDataSet **ppNewSet);
  407.         
  408.         [id(6), helpstring("method Remove")]
  409.         HRESULT  Remove(VARIANT v);
  410.     };
  411.     [
  412.         object,
  413.         uuid(B83E831D-336C-11D3-8657-0090272F9EEB),
  414.         dual,
  415.         helpstring("IWTEVendorDataSet Interface"),
  416.         pointer_default(unique)
  417.     ]
  418.     interface IWTEVendorDataSet : IDispatch
  419.     {
  420.         [propget, id(DISPID_VALUE), helpstring("property Value")]
  421.         HRESULT Value([in] BSTR Name, [out, retval] VARIANT *pVal);
  422.         [propput, id(DISPID_VALUE), helpstring("property Value")]
  423.         HRESULT Value([in] BSTR Name, [in] VARIANT newVal);
  424.         
  425.         [propget, id(1), helpstring("property Name")]
  426.         HRESULT Name([out, retval] BSTR *pName);
  427.         
  428.         [helpstring("method RemoveValue")]
  429.         HRESULT RemoveValue([in] BSTR Name);
  430.         
  431.         [helpstring("method Save")]
  432.         HRESULT Save([in, defaultvalue(VARIANT_FALSE)] VARIANT_BOOL SaveOnlyIfCurrent);
  433.         
  434.         [helpstring("method Refresh")]
  435.         HRESULT Refresh();
  436.         
  437.         [helpstring("method WaitForChanges - for C/C++ only (do not work with DCOM)"), hidden]
  438.         HRESULT WaitForChanges([in] DWORD/*HANDLE*/ hEvent);
  439.         
  440.         
  441.         [propget, id(2), helpstring("property AllNames")]
  442.         HRESULT AllNames([out, retval] VARIANT *pItem);
  443.     };
  444.     [
  445.             object,
  446.             uuid(B83E831F-336C-11D3-8657-0090272F9EEB),
  447.             dual,
  448.             helpstring("IWTELog Interface"),
  449.             pointer_default(unique)
  450.     ]
  451.     interface IWTELog : IDispatch
  452.     {
  453.         [id(1), helpstring("method Save")] HRESULT Save([in, defaultvalue(VARIANT_FALSE)] VARIANT_BOOL SaveOnlyIfCurrent);
  454.         
  455.         [id(2), helpstring("method Refresh")] HRESULT Refresh();
  456.         
  457.         [propget, id(10), helpstring("property LogType")]
  458.         HRESULT LogType([out, retval] LogType *pVal);
  459.         [propput, id(10), helpstring("property LogType")]
  460.         HRESULT LogType([in] LogType newVal);
  461.         
  462.         [propget, id(11), helpstring("property LogFilePeriod")]
  463.         HRESULT LogFilePeriod([out, retval] LogPeriodType *pVal);
  464.         [propput, id(11), helpstring("property LogFilePeriod")]
  465.         HRESULT LogFilePeriod([in] LogPeriodType newVal);
  466.         
  467.         [propget, id(12), helpstring("property LogFieldSelection")]
  468.         HRESULT LogFieldSelection([out, retval] int *pVal);
  469.         [propput, id(12), helpstring("property LogFieldSelection")]
  470.         HRESULT LogFieldSelection([in] int newVal);
  471.         
  472.         [propget, id(13), helpstring("property LogFilesCompress")]
  473.         HRESULT LogFilesCompress([out, retval] VARIANT_BOOL *pVal);
  474.         [propput, id(13), helpstring("property LogFilesCompress")]
  475.         HRESULT LogFilesCompress([in] VARIANT_BOOL newVal);
  476.         
  477.         [propget, id(14), helpstring("property LogFileDirectory")]
  478.         HRESULT LogFileDirectory([out, retval] BSTR *pVal);
  479.         [propput, id(14), helpstring("property LogFileDirectory")]
  480.         HRESULT LogFileDirectory([in] BSTR newVal);
  481.         
  482.         [propget, id(15), helpstring("property LogSqlDataSource")]
  483.         HRESULT LogSqlDataSource([out, retval] BSTR *pVal);
  484.         [propput, id(15), helpstring("property LogSqlDataSource")]
  485.         HRESULT LogSqlDataSource([in] BSTR newVal);
  486.         
  487.         [propget, id(16), helpstring("property LogSqlTableName")]
  488.         HRESULT LogSqlTableName([out, retval] BSTR *pVal);
  489.         [propput, id(16), helpstring("property LogSqlTableName")]
  490.         HRESULT LogSqlTableName([in] BSTR newVal);
  491.         
  492.         [propget, id(17), helpstring("property LogFileDirectoryType")]
  493.         HRESULT LogFileDirectoryType([out, retval] LogFileDirectoryType *pVal);
  494.         [propput, id(17), helpstring("property LogFileDirectoryType")]
  495.         HRESULT LogFileDirectoryType([in] LogFileDirectoryType newVal);
  496.         [propget, id(18), helpstring("property LogEnabled")]
  497.          HRESULT LogEnabled([out, retval] VARIANT_BOOL *pVal);
  498.         [propput, id(18), helpstring("property LogEnabled")]
  499.          HRESULT LogEnabled([in] VARIANT_BOOL newVal);
  500.     };
  501.     [
  502.         object,
  503.         uuid(B83E8321-336C-11D3-8657-0090272F9EEB),
  504.         dual,
  505.         helpstring("IWTEApplications Interface"),
  506.         pointer_default(unique)
  507.     ]
  508.     interface IWTEApplications : IDispatch
  509.     {
  510.         [propget, id(1), helpstring("property Count")]
  511.         HRESULT Count([out, retval] long *retval);
  512.         
  513.         [propget, id(14), helpstring("property VendorDataSets")]
  514.         HRESULT VendorDataSets([out, retval] IWTEVendorDataSets **pVal);
  515.         
  516.         [id(DISPID_VALUE), helpstring("Item")]
  517.         HRESULT Item([in] VARIANT Index, [out, retval] IWTEApplication **retval);
  518.         
  519.         [propget, restricted, id(DISPID_NEWENUM), helpstring("property _NewEnum")]
  520.         HRESULT _NewEnum([out, retval] LPUNKNOWN *retval);
  521.         
  522.         [id(10), helpstring("method Add")]
  523.         HRESULT Add([in] BSTR Name, [in] BSTR HomePage,
  524.         [out, retval] IWTEApplication **ppVal);
  525.         
  526.         [id(11), helpstring("method Remove")]
  527.         HRESULT Remove([in] VARIANT v);
  528.         
  529.         [id(12), helpstring("method Refresh")]
  530.         HRESULT Refresh();
  531.         
  532.         [id(13), helpstring("method Save")]
  533.         HRESULT Save([in, defaultvalue(VARIANT_FALSE)] VARIANT_BOOL SaveOnlyIfCurrent);
  534.     };
  535. // <bop .Description>, <bop .DetectABCD>, <bop .DownloadControlFlags>, <bop .PostCallPage>, <bop .FirstTimeoutInterval>,
  536. // <bop .HomeKey>, <bop .IgnoreNavigationKeysTillTermination>, <bop .InvalidKeyAnnouncement>, <bop .InitialAutoNumber>,
  537. // <bop .HomePage>, <bop .InputTerminator>, <bop .InterTimeoutInterval>, <bop .LogEventSelection>,
  538.     [
  539.         object,
  540.         uuid(B83E8322-336C-11D3-8657-0090272F9EEB),
  541.         dual,
  542.         helpstring("IWTEApplication Interface"),
  543.         pointer_default(unique)
  544.     ]
  545.     interface IWTEApplication : IDispatch
  546.     {
  547.         [id(1), helpstring("method Refresh")]
  548.         HRESULT Refresh();
  549.         
  550.         [id(2), helpstring("method Save")]
  551.         HRESULT Save([in, defaultvalue(VARIANT_FALSE)] VARIANT_BOOL SaveOnlyIfCurrent);
  552.         
  553.         [propget, id(9), helpstring("property VendorDataSets")]
  554.         HRESULT VendorDataSets([out, retval] IWTEVendorDataSets **pVal);
  555.         
  556.         [propget, id(10), helpstring("property Name")]
  557.         HRESULT Name([out, retval] BSTR *pVal);
  558.         [propput, id(10), helpstring("property Name")]
  559.         HRESULT Name([in] BSTR newVal);
  560.         
  561.         [propget, id(11), helpstring("property Description")]
  562.         HRESULT Description([out, retval] BSTR *pVal);
  563.         [propput, id(11), helpstring("property Description")]
  564.         HRESULT Description([in] BSTR newVal);
  565.         
  566.         [propget, id(12), helpstring("property HomePage")]
  567.         HRESULT HomePage([out, retval] BSTR *pVal);
  568.         [propput, id(12), helpstring("property HomePage")]
  569.         HRESULT HomePage([in] BSTR newVal);
  570.         
  571.         [propget, id(14), helpstring("property InputTerminator")]
  572.         HRESULT InputTerminator([out, retval] BSTR *pVal);
  573.         [propput, id(14), helpstring("property InputTerminator")]
  574.         HRESULT InputTerminator([in] BSTR newVal);
  575.         
  576.         [propget, id(15), helpstring("property BackKey")]
  577.         HRESULT BackKey([out, retval] BSTR *pVal);
  578.         [propput, id(15), helpstring("property BackKey")]
  579.         HRESULT BackKey([in] BSTR newVal);
  580.         
  581.         [propget, id(16), helpstring("property HomeKey")]
  582.         HRESULT HomeKey([out, retval] BSTR *pVal);
  583.         [propput, id(16), helpstring("property HomeKey")]
  584.         HRESULT HomeKey([in] BSTR newVal);
  585.         
  586.         [propget, id(17), helpstring("property OperatorKey")]
  587.         HRESULT OperatorKey([out, retval] BSTR *pVal);
  588.         [propput, id(17), helpstring("property OperatorKey")]
  589.         HRESULT OperatorKey([in] BSTR newVal);
  590.         
  591.         [propget, id(18), helpstring("property OperatorExtension")]
  592.         HRESULT OperatorExtension([out, retval] BSTR *pVal);
  593.         [propput, id(18), helpstring("property OperatorExtension")]
  594.         HRESULT OperatorExtension([in] BSTR newVal);
  595.         
  596.         [propget, id(19), helpstring("property ClickButtonKey")]
  597.         HRESULT ClickButtonKey([out, retval] BSTR *pVal);
  598.         [propput, id(19), helpstring("property ClickButtonKey")]
  599.         HRESULT ClickButtonKey([in] BSTR newVal);
  600.         
  601.         [propget, id(20), helpstring("property SkipButtonKey")]
  602.         HRESULT SkipButtonKey([out, retval] BSTR *pVal);
  603.         [propput, id(20), helpstring("property SkipButtonKey")]
  604.         HRESULT SkipButtonKey([in] BSTR newVal);
  605.         
  606.         [propget, id(21), helpstring("property SelectCheckBoxKey")]
  607.         HRESULT SelectCheckBoxKey([out, retval] BSTR *pVal);
  608.         [propput, id(21), helpstring("property SelectCheckBoxKey")]
  609.         HRESULT SelectCheckBoxKey([in] BSTR newVal);
  610.         
  611.         [propget, id(22), helpstring("property ClearCheckBoxKey")]
  612.         HRESULT ClearCheckBoxKey([out, retval] BSTR *pVal);
  613.         [propput, id(22), helpstring("property ClearCheckBoxKey")]
  614.         HRESULT ClearCheckBoxKey([in] BSTR newVal);
  615.         
  616. //      (SELECT MULTIPLE).
  617.         [propget, id(23), helpstring("property IgnoreNavigationKeysTillTermination")]
  618.         HRESULT IgnoreNavigationKeysTillTermination([out, retval] VARIANT_BOOL *pVal);
  619.         [propput, id(23), helpstring("property IgnoreNavigationKeysTillTermination")]
  620.         HRESULT IgnoreNavigationKeysTillTermination([in] VARIANT_BOOL newVal);
  621.         
  622.         [propget, id(24), helpstring("property DetectABCD")]
  623.         HRESULT DetectABCD([out, retval] VARIANT_BOOL *pVal);
  624.         [propput, id(24), helpstring("property DetectABCD")]
  625.         HRESULT DetectABCD([in] VARIANT_BOOL newVal);
  626.         
  627.         [propget, id(25), helpstring("property MaxRecordTime")]
  628.         HRESULT MaxRecordTime([out, retval] int *pVal);
  629.         [propput, id(25), helpstring("property MaxRecordTime")]
  630.         HRESULT MaxRecordTime([in] int newVal);
  631.         
  632.         [propget, id(26), helpstring("property RecordStopSilenceTime")]
  633.         HRESULT RecordStopSilenceTime([out, retval] int *pVal);
  634.         [propput, id(26), helpstring("property RecordStopSilenceTime")]
  635.         HRESULT RecordStopSilenceTime([in] int newVal);
  636.         
  637.         [propget, id(27), helpstring("property InvalidKeyAnnouncement")]
  638.         HRESULT InvalidKeyAnnouncement([out, retval] BSTR *pVal);
  639.         [propput, id(27), helpstring("property InvalidKeyAnnouncement")]
  640.         HRESULT InvalidKeyAnnouncement([in] BSTR newVal);
  641.         
  642.         [propget, id(28), helpstring("property TimeoutAnnouncement")]
  643.         HRESULT TimeoutAnnouncement([out, retval] BSTR *pVal);
  644.         [propput, id(28), helpstring("property TimeoutAnnouncement")]
  645.         HRESULT TimeoutAnnouncement([in] BSTR newVal);
  646.         
  647.         [propget, id(29), helpstring("property MaxRetries")]
  648.         HRESULT MaxRetries([out, retval] int *pVal);
  649.         [propput, id(29), helpstring("property MaxRetries")]
  650.         HRESULT MaxRetries([in] int newVal);
  651.         
  652.         [propget, id(30), helpstring("property FirstTimeoutInterval")]
  653.         HRESULT FirstTimeoutInterval([out, retval] int *pVal);
  654.         [propput, id(30), helpstring("property FirstTimeoutInterval")]
  655.         HRESULT FirstTimeoutInterval([in] int newVal);
  656.         
  657.         [propget, id(31), helpstring("property InterTimeoutInterval")]
  658.         HRESULT InterTimeoutInterval([out, retval] int *pVal);
  659.         [propput, id(31), helpstring("property InterTimeoutInterval")]
  660.         HRESULT InterTimeoutInterval([in] int newVal);
  661.         
  662.         [propget, id(32), helpstring("property RecurringErrorPage")]
  663.         HRESULT RecurringErrorPage([out, retval] BSTR *pVal);
  664.         [propput, id(32), helpstring("property RecurringErrorPage")]
  665.         HRESULT RecurringErrorPage([in] BSTR newVal);
  666.         
  667.         [propget, id(33), helpstring("property RenderTTS")]
  668.         HRESULT RenderTTS([out, retval] VARIANT_BOOL *pVal);
  669.         [propput, id(33), helpstring("property RenderTTS")]
  670.         HRESULT RenderTTS([in] VARIANT_BOOL newVal);
  671.         
  672.         [propget, id(34), helpstring("property TTSParameters")]
  673.         HRESULT TTSParameters([out, retval] BSTR *pVal);
  674.         [propput, id(34), helpstring("property TTSParameters")]
  675.         HRESULT TTSParameters([in] BSTR newVal);
  676.         
  677.         [propget, id(35), helpstring("property SRParameters")]
  678.         HRESULT SRParameters([out, retval] BSTR *pVal);
  679.         [propput, id(35), helpstring("property SRParameters")]
  680.         HRESULT SRParameters([in] BSTR newVal);
  681.         
  682.         [propget, id(36), helpstring("property LogEventSelection")]
  683.         HRESULT LogEventSelection([out, retval] int *pVal);
  684.         [propput, id(36), helpstring("property LogEventSelection")]
  685.         HRESULT LogEventSelection([in] int newVal);
  686.         
  687.         [propget, id(37), helpstring("property DelayedAnswering")]
  688.         HRESULT DelayedAnswering([out, retval] VARIANT_BOOL *pVal);
  689.         [propput, id(37), helpstring("property DelayedAnswering")]
  690.         HRESULT DelayedAnswering([in] VARIANT_BOOL newVal);
  691.         
  692.         [propget, id(38), helpstring("property PostCallPage")]
  693.         HRESULT PostCallPage([out, retval] BSTR *pVal);
  694.         [propput, id(38), helpstring("property PostCallPage")]
  695.         HRESULT PostCallPage([in] BSTR newVal);
  696.         
  697.         [propget, id(39), helpstring("property RenderTablesAsTabularData")]
  698.         HRESULT RenderTablesAsTabularData([out, retval] VARIANT_BOOL *pVal);
  699.         [propput, id(39), helpstring("property RenderTablesAsTabularData")]
  700.         HRESULT RenderTablesAsTabularData([in] VARIANT_BOOL newVal);
  701.         
  702.         [propget, id(40), helpstring("property InitialAutoNumber")]
  703.         HRESULT InitialAutoNumber([out, retval] BSTR *pVal);
  704.         [propput, id(40), helpstring("property InitialAutoNumber")]
  705.         HRESULT InitialAutoNumber([in] BSTR newVal);
  706.         
  707.         [propget, id(41), helpstring("property ShutdownTime")]
  708.         HRESULT ShutdownTime([out, retval] int *pVal);
  709.         [propput, id(41), helpstring("property ShutdownTime")]
  710.         HRESULT ShutdownTime([in] int newVal);
  711.         
  712.         [propget, id(42), helpstring("property ShutdownAnnouncement")]
  713.         HRESULT ShutdownAnnouncement([out, retval] BSTR *pVal);
  714.         [propput, id(42), helpstring("property ShutdownAnnouncement")]
  715.         HRESULT ShutdownAnnouncement([in] BSTR newVal);
  716.         
  717.         [propget, id(43), helpstring("property SRThreshold")]
  718.         HRESULT SRThreshold([out, retval] int *pVal);
  719.         [propput, id(43), helpstring("property SRThreshold")]
  720.         HRESULT SRThreshold([in] int newVal);
  721.         
  722.         [propget, id(44), helpstring("property UseSR")]
  723.         HRESULT UseSR([out, retval] VARIANT_BOOL *pVal);
  724.         [propput, id(44), helpstring("property UseSR")]
  725.         HRESULT UseSR([in] VARIANT_BOOL newVal);
  726.         
  727.         [propget, id(45), helpstring("property ConfirmBefore")]
  728.         HRESULT ConfirmBefore([out, retval] BSTR *pVal);
  729.         [propput, id(45), helpstring("property ConfirmBefore")]
  730.         HRESULT ConfirmBefore([in] BSTR newVal);
  731.         
  732.         [propget, id(46), helpstring("property ConfirmAfter")]
  733.         HRESULT ConfirmAfter([out, retval] BSTR *pVal);
  734.         [propput, id(46), helpstring("property ConfirmAfter")]
  735.         HRESULT ConfirmAfter([in] BSTR newVal);
  736.         
  737.         [propget, id(47), helpstring("property OfferItems")]
  738.         HRESULT OfferItems([out, retval] VARIANT_BOOL *pVal);
  739.         [propput, id(47), helpstring("property OfferItems")]
  740.         HRESULT OfferItems([in] VARIANT_BOOL newVal);
  741.         
  742.         [propget, id(48), helpstring("property ClickButtonPhrases")]
  743.         HRESULT ClickButtonPhrases([out, retval] BSTR *pVal);
  744.         [propput, id(48), helpstring("property ClickButtonPhrases")]
  745.         HRESULT ClickButtonPhrases([in] BSTR newVal);
  746.         
  747.         [propget, id(49), helpstring("property SkipButtonPhrases")]
  748.         HRESULT SkipButtonPhrases([out, retval] BSTR *pVal);
  749.         [propput, id(49), helpstring("property SkipButtonPhrases")]
  750.         HRESULT SkipButtonPhrases([in] BSTR newVal);
  751.         
  752.         [propget, id(50), helpstring("property SelectCheckBoxPhrases")]
  753.         HRESULT SelectCheckBoxPhrases([out, retval] BSTR *pVal);
  754.         [propput, id(50), helpstring("property SelectCheckBoxPhrases")]
  755.         HRESULT SelectCheckBoxPhrases([in] BSTR newVal);
  756.         
  757.         [propget, id(51), helpstring("property ClearCheckBoxPhrases")]
  758.         HRESULT ClearCheckBoxPhrases([out, retval] BSTR *pVal);
  759.         [propput, id(51), helpstring("property ClearCheckBoxPhrases")]
  760.         HRESULT ClearCheckBoxPhrases([in] BSTR newVal);
  761.         
  762.         [propget, id(52), helpstring("property NavigationAnnouncement")]
  763.         HRESULT NavigationAnnouncement([out, retval] BSTR *pVal);
  764.         [propput, id(52), helpstring("property NavigationAnnouncement")]
  765.         HRESULT NavigationAnnouncement([in] BSTR newVal);
  766.         
  767.         [propget, id(53), helpstring("property RepeatMenuAnnouncement")]
  768.         HRESULT RepeatMenuAnnouncement([out, retval] BSTR *pVal);
  769.         [propput, id(53), helpstring("property RepeatMenuAnnouncement")]
  770.         HRESULT RepeatMenuAnnouncement([in] BSTR newVal);
  771.         
  772.         [propget, id(54), helpstring("property RepeatMenuKey")]
  773.         HRESULT RepeatMenuKey([out, retval] BSTR *pVal);
  774.         [propput, id(54), helpstring("property RepeatMenuKey")]
  775.         HRESULT RepeatMenuKey([in] BSTR newVal);
  776.         
  777.         [propget, id(55), helpstring("property DownloadControlFlags")]
  778.         HRESULT DownloadControlFlags([out, retval] int *pVal);
  779.         [propput, id(55), helpstring("property DownloadControlFlags")]
  780.         HRESULT DownloadControlFlags([in] int newVal);
  781.         
  782.         [propget, id(56), helpstring("property OperatorTransferType")]
  783.         HRESULT OperatorTransferType([out, retval] int *pVal);
  784.         [propput, id(56), helpstring("property OperatorTransferType")]
  785.         HRESULT OperatorTransferType([in] int newVal);
  786.         
  787.         [propget, id(57), helpstring("property Vendor")]
  788.         HRESULT Vendor([out, retval] BSTR *pVal);
  789.         [propput, id(57), helpstring("property Vendor")]
  790.         HRESULT Vendor([in] BSTR newVal);
  791.         
  792.         [propget, id(58), helpstring("property EnableFullConfiguration")]
  793.         HRESULT EnableFullConfiguration([out, retval] VARIANT_BOOL *pVal);
  794.         [propput, id(58), helpstring("property EnableFullConfiguration")]
  795.         HRESULT EnableFullConfiguration([in] VARIANT_BOOL newVal);
  796.         
  797.         [propget, id(59), helpstring("property RecordStopOnAnyKey")]
  798.         HRESULT RecordStopOnAnyKey([out, retval] VARIANT_BOOL *pVal);
  799.         [propput, id(59), helpstring("property RecordStopOnAnyKey")]
  800.         HRESULT RecordStopOnAnyKey([in] VARIANT_BOOL newVal);
  801. //////////////////////////////////////////////////////////////////////////////
  802.         [propget, id(60), helpstring("property ConfirmationMenuAnnouncement")]
  803.         HRESULT ConfirmationMenuAnnouncement([out, retval] BSTR *pVal);
  804.         [propput, id(60), helpstring("property ConfirmationMenuAnnouncement")]
  805.         HRESULT ConfirmationMenuAnnouncement([in] BSTR newVal);
  806. //////////////////////////////////////////////////////////////////////////////
  807.         [propget, id(61), helpstring("property SuggestConfirmation")]
  808.         HRESULT SuggestConfirmation([out, retval] VARIANT_BOOL *pVal);
  809.         [propput, id(61), helpstring("property SuggestConfirmation")]
  810.         HRESULT SuggestConfirmation([in] VARIANT_BOOL newVal);
  811. //////////////////////////////////////////////////////////////////////////////
  812.         
  813.         [propget, id(62), helpstring("property TTSWaveFormat")]
  814.         HRESULT TTSWaveFormat([out, retval] PCMWaveFormats *pVal);
  815.         [propput, id(62), helpstring("property TTSWaveFormat")]
  816.         HRESULT TTSWaveFormat([in] PCMWaveFormats newVal);
  817. //////////////////////////////////////////////////////////////////////////////
  818.         
  819.         [propget, id(63), helpstring("property InputWaveFormat")]
  820.         HRESULT InputWaveFormat([out, retval] PCMWaveFormats *pVal);
  821.         [propput, id(63), helpstring("property InputWaveFormat")]
  822.         HRESULT InputWaveFormat([in] PCMWaveFormats newVal);
  823.     };
  824.     
  825.         [
  826.                 object,
  827.                 uuid(AFA50DD0-33A8-11D3-8658-0090272F9EEB),
  828.                 dual,
  829.                 helpstring("IApplicationConstrains Interface"),
  830.                 pointer_default(unique)
  831.         ]
  832.         interface IWTEStepConstrains : IDispatch
  833.         {
  834.             [propget, id(1), helpstring("property Type")] HRESULT Type([out, retval] long *pVal);
  835.             [propget, id(2), helpstring("property TerminationString")] HRESULT TerminationString([out, retval] BSTR *pVal);
  836.             [propget, id(3), helpstring("property LegalDigits")] HRESULT LegalDigits([out, retval] BSTR *pVal);
  837.             [propget, id(4), helpstring("property InitialNumber")] HRESULT InitialNumber([out, retval] BSTR *pVal);
  838.             [propget, id(5), helpstring("property LowerBoundary")] HRESULT LowerBoundary([out, retval] long *pVal);
  839.             [propget, id(6), helpstring("property UpperBoundary ")] HRESULT UpperBoundary([out, retval] long *pVal);
  840.             [propget, id(7), helpstring("property LowerBlocked")] HRESULT LowerBlocked([out, retval] long *pVal);
  841.             [propget, id(8), helpstring("property UpperBlocked")] HRESULT UpperBlocked([out, retval] long *pVal);
  842.         };
  843.         [
  844.                 object,
  845.                 uuid(AFA50DD1-33A8-11D3-8658-0090272F9EEB),
  846.                 dual,
  847.                 helpstring("IWTESession Interface"),
  848.                 pointer_default(unique)
  849.         ]
  850.         interface IWTESession : IDispatch
  851.         {
  852.             [propget, id(DISPID_VALUE), helpstring("property Value")] HRESULT Value([in] BSTR bstrName, [out, retval] VARIANT *pVal);
  853.             [propput, id(DISPID_VALUE), helpstring("property Value")] HRESULT Value([in] BSTR bstrName, [in] VARIANT *pnewVal);
  854.             [propputref, id(DISPID_VALUE), helpstring("property Value")] HRESULT Value([in] BSTR bstrName, [in] VARIANT *pnewVal);
  855.             [propget, id(2), helpstring("property LastVisitedPage")] HRESULT LastVisitedPage([out, retval] BSTR *pbstrLastVisitedPage);
  856.             [propget, id(3), helpstring("property LastVisitedTagID")] HRESULT LastVisitedTagID([out, retval] BSTR *pbstrLastVisitedTagID);
  857.             [propget, id(4), helpstring("property SessionState")] HRESULT SessionState([out, retval] BSTR *pbstrSessionState);
  858.             [propget, id(5), helpstring("property ServerName")] HRESULT ServerName([out, retval] BSTR *pbstrServerName);
  859.             [propget, id(6), helpstring("property SessionName")] HRESULT SessionName([out, retval] BSTR *pbstrSessionName);
  860.         };
  861.         [
  862.                 object,
  863.                 uuid(AFA50DD2-33A8-11D3-8658-0090272F9EEB),
  864.                 dual,
  865.                 helpstring("IWTETTSMode Interface"),
  866.                 pointer_default(unique)
  867.         ]
  868.         interface IWTETTSMode : IDispatch
  869.         {
  870.             [propget, id(1), helpstring("property EngineID")] HRESULT EngineID([out, retval] BSTR *pVal);
  871.             [propget, id(2), helpstring("property MfgName")] HRESULT MfgName([out, retval] BSTR *pVal);
  872.             [propget, id(3), helpstring("property ProductName")] HRESULT ProductName([out, retval] BSTR *pVal);
  873.             [propget, id(DISPID_VALUE), helpstring("property ModeID")] HRESULT ModeID([out, retval] BSTR *pVal);
  874.             [propget, id(5), helpstring("property ModeName")] HRESULT ModeName([out, retval] BSTR *pVal);
  875.             [propget, id(6), helpstring("property LanguageID")] HRESULT LanguageID([out, retval] long *pVal);
  876.             [propget, id(7), helpstring("property Dialect")] HRESULT Dialect([out, retval] BSTR *pVal);
  877.             [propget, id(8), helpstring("property Speaker")] HRESULT Speaker([out, retval] BSTR *pVal);
  878.             [propget, id(9), helpstring("property Style")] HRESULT Style([out, retval] BSTR *pVal);
  879.             [propget, id(10), helpstring("property Gender")] HRESULT Gender([out, retval] long *pVal);
  880.             [propget, id(11), helpstring("property Age")] HRESULT Age([out, retval] long *pVal);
  881.             [propget, id(12), helpstring("property Features")] HRESULT Features([out, retval] long *pVal);
  882.             [propget, id(13), helpstring("property Interfaces")] HRESULT Interfaces([out, retval] long *pVal);
  883.             [propget, id(14), helpstring("property EngineFeatures")] HRESULT EngineFeatures([out, retval] long *pVal);
  884.         };
  885.         [
  886.                 object,
  887.                 uuid(AFA50DD3-33A8-11D3-8658-0090272F9EEB),
  888.                 dual,
  889.                 helpstring("IWTESRMode Interface"),
  890.                 pointer_default(unique)
  891.         ]
  892.         interface IWTESRMode : IDispatch
  893.         {
  894.             [propget, id(1), helpstring("property EngineID")] HRESULT EngineID([out, retval] BSTR *pVal);
  895.             [propget, id(2), helpstring("property MfgName")] HRESULT MfgName([out, retval] BSTR *pVal);
  896.             [propget, id(3), helpstring("property ProductName")] HRESULT ProductName([out, retval] BSTR *pVal);
  897.             [propget, id(DISPID_VALUE), helpstring("property ModeID")] HRESULT ModeID([out, retval] BSTR *pVal);
  898.             [propget, id(5), helpstring("property ModeName")] HRESULT ModeName([out, retval] BSTR *pVal);
  899.             [propget, id(6), helpstring("property LanguageID")] HRESULT LanguageID([out, retval] long *pVal);
  900.             [propget, id(7), helpstring("property Dialect")] HRESULT Dialect([out, retval] BSTR *pVal);
  901.             [propget, id(8), helpstring("property Sequencing")] HRESULT Sequencing([out, retval] long *pVal);
  902.             [propget, id(9), helpstring("property MaxWordsVocab")] HRESULT MaxWordsVocab([out, retval] long *pVal);
  903.             [propget, id(10), helpstring("property MaxWordsState")] HRESULT MaxWordsState([out, retval] long *pVal);
  904.             [propget, id(11), helpstring("property Grammars")] HRESULT Grammars([out, retval] long *pVal);
  905.             [propget, id(12), helpstring("property Features")] HRESULT Features([out, retval] long *pVal);
  906.             [propget, id(13), helpstring("property Interfaces")] HRESULT Interfaces([out, retval] long *pVal);
  907.             [propget, id(14), helpstring("property EngineFeatures")] HRESULT EngineFeatures([out, retval] long *pVal);
  908.         };
  909.         [
  910.                 object,
  911.                 uuid(AFA50DD4-33A8-11D3-8658-0090272F9EEB),
  912.                 dual,
  913.                 helpstring("IWTEStep Interface"),
  914.                 pointer_default(unique)
  915.         ]
  916.         interface IWTEStep : IDispatch
  917.         {
  918.             [propget, id(1), helpstring("property MenuItemsLength")] HRESULT MenuItemsLength([out, retval] long *plLength);
  919.             [id(2), helpstring("method GetMenuItem")] HRESULT GetMenuItem([in] long lIndex,[retval, out] IDispatch **ppMenuItem);
  920.             [propget, id(3), helpstring("property SubmitMenu")] HRESULT SubmitMenu([out, retval] BOOL *pfIsSubmit);
  921.             [propget, id(4), helpstring("property AudioItemsLength")] HRESULT AudioItemsLength([out, retval] long *plLength);
  922.             [id(5), helpstring("method AudioItem")] HRESULT GetAudioItem([in] long lIndex,[retval, out] BSTR *pbstrAudioItem);
  923.             [propget, id(6), helpstring("property CutThroughMode")] HRESULT CutThroughMode([out, retval] BOOL *pfCutThroughMode);
  924.             [propget, id(7), helpstring("property IsRecordType")] HRESULT IsRecordType([out, retval] BOOL *pfIsRecord);
  925.         };
  926.         [
  927.                 object,
  928.                 uuid(AFA50DD5-33A8-11D3-8658-0090272F9EEB),
  929.                 dual,
  930.                 helpstring("IWTELogCustomField Interface"),
  931.                 pointer_default(unique)
  932.         ]
  933.         interface IWTELogCustomField : IDispatch
  934.         {
  935.             [propput, id(DISPID_VALUE), helpstring("property Value")] HRESULT Value([in] BSTR Name, [in] BSTR newVal);
  936.             [propput, id(1), helpstring("property DefaultValue")] HRESULT DefaultValue([in] BSTR newVal);
  937.         };
  938.         [
  939.                 object,
  940.                 uuid(AFA50DD6-33A8-11D3-8658-0090272F9EEB),
  941.                 dual,
  942.                 helpstring("IWTEExOM Interface"),
  943.                 pointer_default(unique)
  944.         ]
  945.         interface IWTEExOM : IDispatch
  946.         {
  947.             [propget, id(1), helpstring("property hostName")] HRESULT hostName([out, retval] BSTR *pbstrHostName);
  948.             [id(2), helpstring("method Abandon")] HRESULT Abandon();
  949.             [propget, id(3), helpstring("property Session")] HRESULT Session([out, retval] IWTESession **ppSession);
  950.             [propget, id(4), helpstring("property Configuration")] HRESULT Configuration([out, retval] IWTEApplication **ppApp);
  951.             [id(5), helpstring("method Log")] HRESULT Log();
  952.             [propget, id(6), helpstring("property ITBasicCallControl")] HRESULT ITBasicCallControl([out, retval] ITBasicCallControl **ppCall);
  953.             [propget, id(7), helpstring("property AlternativePhrases")] HRESULT AlternativePhrases([out, retval] VARIANT *pAlternativePhrases);
  954.             [propget, id(8), helpstring("property LogCustomField")] HRESULT LogCustomField([out, retval] IWTELogCustomField **ppLogCustomField);
  955.             [propget, id(9), helpstring("property Event")] HRESULT Event([out, retval] LPDISPATCH *ppEvent);
  956.             [propget, id(10), helpstring("property TTSMode")] HRESULT TTSMode([out, retval] IWTETTSMode **ppTTSMode);
  957.             [propget, id(11), helpstring("property SRMode")] HRESULT SRMode([out, retval] IWTESRMode **ppSRMode);
  958.         };
  959.         [
  960.                 object,
  961.                 uuid(AFA50DD7-33A8-11D3-8658-0090272F9EEB),
  962.                 dual,
  963.                 helpstring("IWTEActiveConnection Interface"),
  964.                 pointer_default(unique)
  965.         ]
  966.         interface IWTEActiveConnection : IDispatch
  967.         {
  968.             [propget, id(1), helpstring("property ExtendedObjectModel")] HRESULT ExtendedObjectModel([out, retval] IWTEExOM **ppExOm);
  969.             [propget, id(2), helpstring("property Step")] HRESULT Step([out, retval] IWTEStep **ppStep);
  970.         };
  971.         [
  972.                 object,
  973.                 uuid(AFA50DD8-33A8-11D3-8658-0090272F9EEB),
  974.                 dual,
  975.                 helpstring("IWTEService Interface"),
  976.                 pointer_default(unique)
  977.         ]
  978.         interface IWTEService : IDispatch
  979.         {
  980.             [id(1), helpstring("method GetActiveConnection")] HRESULT GetActiveConnection([in] BSTR bstrApplicationName, [retval, out] IWTEActiveConnection** ppConnection);
  981.         };
  982.         
  983.         [
  984.                 object,
  985.                 uuid(c59f0ca0-401c-11d3-8659-0090272f9eeb),
  986.                 helpstring("IWTESnapinNode Interface"),
  987.                 pointer_default(unique)
  988.         ]
  989.         interface IWTESnapinNode : IUnknown
  990.         {
  991.                 [propget, id(1), helpstring("property CurrentObject")]
  992.                 HRESULT CurrentObject([out, retval] IDispatch **pVal);
  993.         
  994.                 [propget, id(2), helpstring("property ParentArray")]
  995.                 HRESULT ParentArray([out, retval] IDispatch **pVal);
  996.         };
  997.         
  998. [
  999.         uuid(B83E8323-336C-11D3-8657-0090272F9EEB),
  1000.         version(1.0),
  1001.         helpstring("Microsoft WTE Administration Type Library")
  1002. ]
  1003. library mswteCom
  1004. {
  1005.     importlib("stdole32.tlb");
  1006.     importlib("stdole2.tlb");
  1007.     [
  1008.         uuid(B83E8324-336C-11D3-8657-0090272F9EEB),
  1009.         helpstring("WTE Class")
  1010.     ]
  1011.     coclass WTE
  1012.     {
  1013.         [default] interface IWTE;
  1014.     };
  1015.     
  1016.     [
  1017.         uuid(B83E8325-336C-11D3-8657-0090272F9EEB),
  1018.         helpstring("WTEArray Class"),
  1019.         noncreatable
  1020.     ]
  1021.     coclass WTEArray
  1022.     {
  1023.         [default] interface IWTEArray;
  1024.     };
  1025.     
  1026.     [
  1027.         uuid(B83E8326-336C-11D3-8657-0090272F9EEB),
  1028.         helpstring("WTEArrays Class"),
  1029.         noncreatable
  1030.     ]
  1031.     coclass WTEArrays
  1032.     {
  1033.         [default] interface IWTEArrays;
  1034.     };
  1035.     
  1036.     [
  1037.         uuid(B83E8327-336C-11D3-8657-0090272F9EEB),
  1038.         helpstring("WTEServers Class"),
  1039.         noncreatable
  1040.     ]
  1041.     coclass WTEServers
  1042.     {
  1043.         [default] interface IWTEServers;
  1044.     };
  1045.     
  1046.     [
  1047.         uuid(B83E8328-336C-11D3-8657-0090272F9EEB),
  1048.         helpstring("WTEServer Class"),
  1049.         noncreatable
  1050.     ]
  1051.     coclass WTEServer
  1052.     {
  1053.         [default] interface IWTEServer;
  1054.     };
  1055.     
  1056.     [
  1057.         uuid(B83E8329-336C-11D3-8657-0090272F9EEB),
  1058.         helpstring("WTEAddresses Class"),
  1059.         noncreatable
  1060.     ]
  1061.     coclass WTEAddresses
  1062.     {
  1063.         [default] interface IWTEAddresses;
  1064.     };
  1065.     
  1066.     [
  1067.         uuid(B83E832A-336C-11D3-8657-0090272F9EEB),
  1068.         helpstring("WTEAddress Class"),
  1069.         noncreatable
  1070.     ]
  1071.     coclass WTEAddress
  1072.     {
  1073.         [default] interface IWTEAddress;
  1074.     };
  1075.     
  1076.     [
  1077.         uuid(d5059820-5a34-11d3-865d-0090272f9eeb),
  1078.         helpstring("WTEAddressGroups Class"),
  1079.         noncreatable
  1080.     ]
  1081.     coclass WTEAddressGroups
  1082.     {
  1083.         [default] interface IWTEAddressGroups;
  1084.     };
  1085.     
  1086.     [
  1087.         uuid(f54ef550-5a34-11d3-865d-0090272f9eeb),
  1088.         helpstring("WTEAddressGroup Class"),
  1089.         noncreatable
  1090.     ]
  1091.     coclass WTEAddressGroup
  1092.     {
  1093.         [default] interface IWTEAddressGroup;
  1094.     };
  1095.     
  1096.     [
  1097.         uuid(07bf2f80-5a35-11d3-865d-0090272f9eeb),
  1098.         helpstring("WTEDNISes Class"),
  1099.         noncreatable
  1100.     ]
  1101.     coclass WTEDNISes
  1102.     {
  1103.         [default] interface IWTEDNISes;
  1104.     };
  1105.     
  1106.     [
  1107.         uuid(22b3fa40-5a35-11d3-865d-0090272f9eeb),
  1108.         helpstring("WTEDNIS Class"),
  1109.         noncreatable
  1110.     ]
  1111.     coclass WTEDNIS
  1112.     {
  1113.         [default] interface IWTEDNIS;
  1114.     };
  1115.     
  1116.     [
  1117.             uuid(B83E832C-336C-11D3-8657-0090272F9EEB),
  1118.             helpstring("IWTEVendorDataChanges sink interfce")
  1119.     ]
  1120.     dispinterface IWTEVendorDataChanges
  1121.     {
  1122.         properties:
  1123.         methods:
  1124.             [id(1), helpstring("method OnChange")]
  1125.             HRESULT OnChange();
  1126.     };
  1127.     [
  1128.             uuid(B83E832D-336C-11D3-8657-0090272F9EEB),
  1129.             helpstring("WTEVendorDataSets Class"),
  1130.             noncreatable
  1131.     ]
  1132.     coclass WTEVendorDataSets
  1133.     {
  1134.             [default] interface IWTEVendorDataSets;
  1135.             interface IEnumVARIANT;
  1136.     };
  1137.     
  1138.     [
  1139.             uuid(B83E832E-336C-11D3-8657-0090272F9EEB),
  1140.             helpstring("WTEVendorDataSet Class"),
  1141.             noncreatable
  1142.     ]
  1143.     coclass WTEVendorDataSet
  1144.     {
  1145.             [default] interface IWTEVendorDataSet;
  1146.     };
  1147.     [
  1148.             uuid(B83E8334-336C-11D3-8657-0090272F9EEB),
  1149.             helpstring("WTELog Class"),
  1150.             noncreatable
  1151.     ]
  1152.     coclass WTELog
  1153.     {
  1154.             [default] interface IWTELog;
  1155.     };
  1156.     [
  1157.             uuid(B83E8336-336C-11D3-8657-0090272F9EEB),
  1158.             helpstring("WTEApplications Class"),
  1159.             noncreatable
  1160.     ]
  1161.     coclass WTEApplications
  1162.     {
  1163.             [default] interface IWTEApplications;
  1164.     };
  1165.     [
  1166.             uuid(B83E8337-336C-11D3-8657-0090272F9EEB),
  1167.             helpstring("WTEApplication Class"),
  1168.             noncreatable
  1169.     ]
  1170.     coclass WTEApplication
  1171.     {
  1172.             [default] interface IWTEApplication;
  1173.     };
  1174.     
  1175.     [
  1176.         uuid(AFA50DDA-33A8-11D3-8658-0090272F9EEB)
  1177.     ]
  1178.     dispinterface IWTEConnectionEvents
  1179.     {
  1180.     properties:
  1181.     methods:
  1182.         [id(wteDispidApplicationEventOnOffering), helpstring("method OnOffering")] HRESULT OnOffering();
  1183.         [id(wteDispidApplicationEventOnConnected), helpstring("method OnConnected")] HRESULT OnConnected();
  1184.         [id(wteDispidApplicationEventOnDisconnected), helpstring("method OnDisconnected")] HRESULT OnDisconnected();
  1185.         [id(wteDispidApplicationEventOnDigit), helpstring("method OnDigit")] HRESULT OnDigit([in] BSTR bstrDigit);
  1186.         [id(wteDispidApplicationEventOnDigitsUsed), helpstring("method OnDigitsUsed")] HRESULT OnDigitsUsed([in] BSTR bstrUsedDigits);
  1187.         [id(wteDispidApplicationEventOnBeforeNavigate), helpstring("method OnBeforeNavigate")] HRESULT OnBeforeNavigate([in] BSTR bstrURL);
  1188.         [id(wteDispidApplicationEventOnNavigateComplete), helpstring("method OnNavigateComplete")] HRESULT OnNavigateComplete([in] BSTR bstrURL);
  1189.         [id(wteDispidApplicationEventOnDocumentComplete), helpstring("method OnDocumentComplete")] HRESULT OnDocumentComplete([in] BSTR bstrURL);
  1190.         [id(wteDispidApplicationEventOnTagBegin), helpstring("method OnTagBegin")] HRESULT OnTagBegin([in] IDispatch *pTagElement);
  1191.         [id(wteDispidApplicationEventOnTagEnd), helpstring("method OnTagEnd")] HRESULT OnTagEnd([in] IDispatch *pTagElement);
  1192.         [id(wteDispidApplicationEventOnSessionValue), helpstring("method OnSessionValue")] HRESULT OnSessionValue([in] BSTR bstrValueName);
  1193.         [id(wteDispidApplicationEventOnStepEnd), helpstring("method OnStepEnd")] HRESULT OnStepEnd([in] IDispatch *pTagElement, [in] TelephonyObjectEndReasonType Reason, [in] IDispatch *pAppConstrains);
  1194.         [id(wteDispidApplicationEventOnSessionEnd), helpstring("method OnSessionEnd")] HRESULT OnSessionEnd();
  1195.     };
  1196.     
  1197.     [
  1198.         uuid(AFA50DDB-33A8-11D3-8658-0090272F9EEB),
  1199.         helpstring("WTEService Class")
  1200.     ]
  1201.     coclass WTEService
  1202.     {
  1203.         [default] interface IWTEService;
  1204.     };
  1205.     
  1206.     [
  1207.         uuid(AFA50DDC-33A8-11D3-8658-0090272F9EEB),
  1208.         helpstring("WTEActiveConnection Class"),
  1209.         noncreatable
  1210.     ]
  1211.     coclass WTEActiveConnection
  1212.     {
  1213.         [default] interface IWTEActiveConnection;
  1214.         [default, source] dispinterface IWTEConnectionEvents;
  1215.     };
  1216.     
  1217.     [
  1218.         uuid(AFA50DDD-33A8-11D3-8658-0090272F9EEB),
  1219.         helpstring("Step Class"),
  1220.         noncreatable
  1221.     ]
  1222.     coclass WTEStep
  1223.     {
  1224.         [default] interface IWTEStep;
  1225.     };
  1226.     
  1227.     [
  1228.         uuid(AFA50DDE-33A8-11D3-8658-0090272F9EEB),
  1229.         helpstring("StepConstrains Class"),
  1230.         noncreatable
  1231.     ]
  1232.     coclass WTEStepConstrains
  1233.     {
  1234.         [default] interface IWTEStepConstrains;
  1235.     };
  1236.     
  1237.     [
  1238.         uuid(AFA50DDF-33A8-11D3-8658-0090272F9EEB),
  1239.         helpstring("Session Class"),
  1240.         noncreatable
  1241.     ]
  1242.     coclass WTESession
  1243.     {
  1244.         [default] interface IWTESession;
  1245.     };
  1246.     
  1247.     [
  1248.         uuid(b79f37a0-6c46-11d3-8661-0090272f9eeb),
  1249.         helpstring("TTSModes Class"),
  1250.         noncreatable
  1251.     ]
  1252.     coclass WTETTSModes
  1253.     {
  1254.         [default] interface IWTETTSModes;
  1255.     };
  1256.     
  1257.     [
  1258.         uuid(e74537a0-6e66-11d3-8661-0090272f9eeb),
  1259.         helpstring("SRModes Class"),
  1260.         noncreatable
  1261.     ]
  1262.     coclass WTESRModes
  1263.     {
  1264.         [default] interface IWTESRModes;
  1265.     };
  1266.     
  1267.     [
  1268.         uuid(AFA50DE0-33A8-11D3-8658-0090272F9EEB),
  1269.         helpstring("TTSMode Class"),
  1270.         noncreatable
  1271.     ]
  1272.     coclass WTETTSMode
  1273.     {
  1274.         [default] interface IWTETTSMode;
  1275.     };
  1276.     
  1277.     [
  1278.         uuid(AFA50DE1-33A8-11D3-8658-0090272F9EEB),
  1279.         helpstring("SRMode Class"),
  1280.         noncreatable
  1281.     ]
  1282.     coclass WTESRMode
  1283.     {
  1284.         [default] interface IWTESRMode;
  1285.     };
  1286.     
  1287.     [
  1288.         uuid(AFA50DE2-33A8-11D3-8658-0090272F9EEB),
  1289.         helpstring("ExOM Class"),
  1290.         noncreatable
  1291.     ]
  1292.     coclass WTEExOM
  1293.     {
  1294.         [default] interface IWTEExOM;
  1295.     };
  1296.     
  1297.     [
  1298.         uuid(AFA50DE3-33A8-11D3-8658-0090272F9EEB),
  1299.         helpstring("LogCustomField Class"),
  1300.         noncreatable
  1301.     ]
  1302.     coclass WTELogCustomField
  1303.     {
  1304.         [default] interface IWTELogCustomField;
  1305.     };
  1306.     
  1307.     [
  1308.         uuid(b3a60310-401c-11d3-8659-0090272f9eeb),
  1309.         helpstring("WTESnapinNode Class"),
  1310.         noncreatable
  1311.     ]
  1312.     coclass WTESnapinNode
  1313.     {
  1314.         [default] interface IWTESnapinNode;
  1315.     };
  1316. };