~mingw-w64/mingw-w64/experimental

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
/* Automated generated idl file <wshremotelibrary>.
 * Generated by genidl tool (c) 2009, 2010 Mingw-w64 project.
 */

/* Union record forward declarations.  */
dispinterface IWSHRemoteError;
dispinterface IWSHRemote;
dispinterface IWSHRemoteEvents;

/* Union record forward declarations.  */
coclass WSHRemote;

/* Enumeration declarations.  */
enum WSHStatus
{
  NoTask = (int) 201326592,
  Running = (int) 201326593,
  Finished = (int) 201326594
};

[
  uuid(6F201540-B482-11D2-A250-00104BD35090),
  version(1.0)
]
library wshremotelibrary
{
  importlib("stdole2.tlb");

   /* CoClass declarations.  */
   [
     uuid(6F201542-B482-11D2-A250-00104BD35090),
     cancreate
   ]
   coclass WSHRemote
   {
     dispinterface IWSHRemote;
     dispinterface IWSHRemoteEvents;
   };

   /* Dispatch interface declarations.  */
   [
     uuid(8A9EA2C0-D348-11D2-A253-00104BD35090),
     hidden,
     dual,
     oleautomation,
     dispatchable
   ]
   dispinterface IWSHRemoteError : IDispatch
   {
     [id(1), propget]
     HRESULT __stdcall Description (
       [out retval] BSTR *pbstrDesc
     );
     [propget]
     HRESULT __stdcall Line (
       [out retval] long *pcLine
     );
     [propget]
     HRESULT __stdcall Character (
       [out retval] long *pcChar
     );
     [propget]
     HRESULT __stdcall Source (
       [out retval] BSTR *pbstrSource
     );
     [propget]
     HRESULT __stdcall SourceText (
       [out retval] BSTR *pbstrSourceText
     );
     [propget]
     HRESULT __stdcall Number (
       [out retval] long *pulErrNum
     );
   };
   [
     uuid(6F201541-B482-11D2-A250-00104BD35090),
     hidden,
     dual,
     oleautomation,
     dispatchable
   ]
   dispinterface IWSHRemote : IDispatch
   {
     [id(1)]
     HRESULT __stdcall Execute (void);
     HRESULT __stdcall Terminate (void);
     [propget]
     HRESULT __stdcall Status (
       [out retval] enum WSHStatus *pstatus
     );
     [propget]
     HRESULT __stdcall Error (
       [out retval] dispinterface IWSHRemoteError **pperror
     );
     [id(99), restricted]
     HRESULT __stdcall CreateScript (
       [in] BSTR bstrCmdLine,
       [in] IUnknown * punkSource
     );
   };
   [
     uuid(83EA33C0-CD14-11D2-A252-00104BD35090),
     dispatchable
   ]
   dispinterface IWSHRemoteEvents
   {
     [id(1)]
     void __stdcall Start (void);
     void __stdcall End (void);
     void __stdcall Error (void);
   };

};