1 | |
---|
2 | |
---|
3 | /* this ALWAYS GENERATED file contains the definitions for the interfaces */ |
---|
4 | |
---|
5 | |
---|
6 | /* File created by MIDL compiler version 8.00.0595 */ |
---|
7 | /* at Sun Apr 26 00:04:48 2015 |
---|
8 | */ |
---|
9 | /* Compiler settings for JsFunctionDispatch.idl: |
---|
10 | Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.00.0595 |
---|
11 | protocol : dce , ms_ext, c_ext, robust |
---|
12 | error checks: allocation ref bounds_check enum stub_data |
---|
13 | VC __declspec() decoration level: |
---|
14 | __declspec(uuid()), __declspec(selectany), __declspec(novtable) |
---|
15 | DECLSPEC_UUID(), MIDL_INTERFACE() |
---|
16 | */ |
---|
17 | /* @@MIDL_FILE_HEADING( ) */ |
---|
18 | |
---|
19 | #pragma warning( disable: 4049 ) /* more than 64k source lines */ |
---|
20 | |
---|
21 | |
---|
22 | /* verify that the <rpcndr.h> version is high enough to compile this file*/ |
---|
23 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
---|
24 | #define __REQUIRED_RPCNDR_H_VERSION__ 475 |
---|
25 | #endif |
---|
26 | |
---|
27 | #include "rpc.h" |
---|
28 | #include "rpcndr.h" |
---|
29 | |
---|
30 | #ifndef __RPCNDR_H_VERSION__ |
---|
31 | #error this stub requires an updated version of <rpcndr.h> |
---|
32 | #endif // __RPCNDR_H_VERSION__ |
---|
33 | |
---|
34 | |
---|
35 | #ifndef __JsFunctionDispatch_i_h__ |
---|
36 | #define __JsFunctionDispatch_i_h__ |
---|
37 | |
---|
38 | #if defined(_MSC_VER) && (_MSC_VER >= 1020) |
---|
39 | #pragma once |
---|
40 | #endif |
---|
41 | |
---|
42 | /* Forward Declarations */ |
---|
43 | |
---|
44 | #ifndef __IFoo_FWD_DEFINED__ |
---|
45 | #define __IFoo_FWD_DEFINED__ |
---|
46 | typedef interface IFoo IFoo; |
---|
47 | |
---|
48 | #endif /* __IFoo_FWD_DEFINED__ */ |
---|
49 | |
---|
50 | |
---|
51 | #ifndef __Foo_FWD_DEFINED__ |
---|
52 | #define __Foo_FWD_DEFINED__ |
---|
53 | |
---|
54 | #ifdef __cplusplus |
---|
55 | typedef class Foo Foo; |
---|
56 | #else |
---|
57 | typedef struct Foo Foo; |
---|
58 | #endif /* __cplusplus */ |
---|
59 | |
---|
60 | #endif /* __Foo_FWD_DEFINED__ */ |
---|
61 | |
---|
62 | |
---|
63 | /* header files for imported files */ |
---|
64 | #include "oaidl.h" |
---|
65 | #include "ocidl.h" |
---|
66 | |
---|
67 | #ifdef __cplusplus |
---|
68 | extern "C"{ |
---|
69 | #endif |
---|
70 | |
---|
71 | |
---|
72 | |
---|
73 | #ifndef __JsFunctionDispatchLib_LIBRARY_DEFINED__ |
---|
74 | #define __JsFunctionDispatchLib_LIBRARY_DEFINED__ |
---|
75 | |
---|
76 | /* library JsFunctionDispatchLib */ |
---|
77 | /* [version][uuid] */ |
---|
78 | |
---|
79 | |
---|
80 | EXTERN_C const IID LIBID_JsFunctionDispatchLib; |
---|
81 | |
---|
82 | #ifndef __IFoo_INTERFACE_DEFINED__ |
---|
83 | #define __IFoo_INTERFACE_DEFINED__ |
---|
84 | |
---|
85 | /* interface IFoo */ |
---|
86 | /* [unique][nonextensible][dual][uuid][object] */ |
---|
87 | |
---|
88 | |
---|
89 | EXTERN_C const IID IID_IFoo; |
---|
90 | |
---|
91 | #if defined(__cplusplus) && !defined(CINTERFACE) |
---|
92 | |
---|
93 | MIDL_INTERFACE("2FCEAA3E-6DC2-44C9-AAF6-9D96221F94AA") |
---|
94 | IFoo : public IDispatch |
---|
95 | { |
---|
96 | public: |
---|
97 | virtual /* [id] */ HRESULT STDMETHODCALLTYPE Bar( |
---|
98 | /* [in] */ IDispatch *pFunction) = 0; |
---|
99 | |
---|
100 | }; |
---|
101 | |
---|
102 | |
---|
103 | #else /* C style interface */ |
---|
104 | |
---|
105 | typedef struct IFooVtbl |
---|
106 | { |
---|
107 | BEGIN_INTERFACE |
---|
108 | |
---|
109 | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
---|
110 | IFoo * This, |
---|
111 | /* [in] */ REFIID riid, |
---|
112 | /* [annotation][iid_is][out] */ |
---|
113 | _COM_Outptr_ void **ppvObject); |
---|
114 | |
---|
115 | ULONG ( STDMETHODCALLTYPE *AddRef )( |
---|
116 | IFoo * This); |
---|
117 | |
---|
118 | ULONG ( STDMETHODCALLTYPE *Release )( |
---|
119 | IFoo * This); |
---|
120 | |
---|
121 | HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( |
---|
122 | IFoo * This, |
---|
123 | /* [out] */ UINT *pctinfo); |
---|
124 | |
---|
125 | HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( |
---|
126 | IFoo * This, |
---|
127 | /* [in] */ UINT iTInfo, |
---|
128 | /* [in] */ LCID lcid, |
---|
129 | /* [out] */ ITypeInfo **ppTInfo); |
---|
130 | |
---|
131 | HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( |
---|
132 | IFoo * This, |
---|
133 | /* [in] */ REFIID riid, |
---|
134 | /* [size_is][in] */ LPOLESTR *rgszNames, |
---|
135 | /* [range][in] */ UINT cNames, |
---|
136 | /* [in] */ LCID lcid, |
---|
137 | /* [size_is][out] */ DISPID *rgDispId); |
---|
138 | |
---|
139 | /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( |
---|
140 | IFoo * This, |
---|
141 | /* [annotation][in] */ |
---|
142 | _In_ DISPID dispIdMember, |
---|
143 | /* [annotation][in] */ |
---|
144 | _In_ REFIID riid, |
---|
145 | /* [annotation][in] */ |
---|
146 | _In_ LCID lcid, |
---|
147 | /* [annotation][in] */ |
---|
148 | _In_ WORD wFlags, |
---|
149 | /* [annotation][out][in] */ |
---|
150 | _In_ DISPPARAMS *pDispParams, |
---|
151 | /* [annotation][out] */ |
---|
152 | _Out_opt_ VARIANT *pVarResult, |
---|
153 | /* [annotation][out] */ |
---|
154 | _Out_opt_ EXCEPINFO *pExcepInfo, |
---|
155 | /* [annotation][out] */ |
---|
156 | _Out_opt_ UINT *puArgErr); |
---|
157 | |
---|
158 | /* [id] */ HRESULT ( STDMETHODCALLTYPE *Bar )( |
---|
159 | IFoo * This, |
---|
160 | /* [in] */ IDispatch *pFunction); |
---|
161 | |
---|
162 | END_INTERFACE |
---|
163 | } IFooVtbl; |
---|
164 | |
---|
165 | interface IFoo |
---|
166 | { |
---|
167 | CONST_VTBL struct IFooVtbl *lpVtbl; |
---|
168 | }; |
---|
169 | |
---|
170 | |
---|
171 | |
---|
172 | #ifdef COBJMACROS |
---|
173 | |
---|
174 | |
---|
175 | #define IFoo_QueryInterface(This,riid,ppvObject) \ |
---|
176 | ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) |
---|
177 | |
---|
178 | #define IFoo_AddRef(This) \ |
---|
179 | ( (This)->lpVtbl -> AddRef(This) ) |
---|
180 | |
---|
181 | #define IFoo_Release(This) \ |
---|
182 | ( (This)->lpVtbl -> Release(This) ) |
---|
183 | |
---|
184 | |
---|
185 | #define IFoo_GetTypeInfoCount(This,pctinfo) \ |
---|
186 | ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) |
---|
187 | |
---|
188 | #define IFoo_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ |
---|
189 | ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) |
---|
190 | |
---|
191 | #define IFoo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ |
---|
192 | ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) |
---|
193 | |
---|
194 | #define IFoo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ |
---|
195 | ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) |
---|
196 | |
---|
197 | |
---|
198 | #define IFoo_Bar(This,pFunction) \ |
---|
199 | ( (This)->lpVtbl -> Bar(This,pFunction) ) |
---|
200 | |
---|
201 | #endif /* COBJMACROS */ |
---|
202 | |
---|
203 | |
---|
204 | #endif /* C style interface */ |
---|
205 | |
---|
206 | |
---|
207 | |
---|
208 | |
---|
209 | #endif /* __IFoo_INTERFACE_DEFINED__ */ |
---|
210 | |
---|
211 | |
---|
212 | EXTERN_C const CLSID CLSID_Foo; |
---|
213 | |
---|
214 | #ifdef __cplusplus |
---|
215 | |
---|
216 | class DECLSPEC_UUID("8D24DE5C-611A-4223-ACC3-241457288B35") |
---|
217 | Foo; |
---|
218 | #endif |
---|
219 | #endif /* __JsFunctionDispatchLib_LIBRARY_DEFINED__ */ |
---|
220 | |
---|
221 | /* Additional Prototypes for ALL interfaces */ |
---|
222 | |
---|
223 | /* end of Additional Prototypes */ |
---|
224 | |
---|
225 | #ifdef __cplusplus |
---|
226 | } |
---|
227 | #endif |
---|
228 | |
---|
229 | #endif |
---|
230 | |
---|
231 | |
---|