1 | |
---|
2 | |
---|
3 | /* this ALWAYS GENERATED file contains the definitions for the interfaces */ |
---|
4 | |
---|
5 | |
---|
6 | /* File created by MIDL compiler version 7.00.0555 */ |
---|
7 | /* at Thu Jun 20 22:34:56 2013 |
---|
8 | */ |
---|
9 | /* Compiler settings for Host.idl: |
---|
10 | Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 7.00.0555 |
---|
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 | #ifndef COM_NO_WINDOWS_H |
---|
35 | #include "windows.h" |
---|
36 | #include "ole2.h" |
---|
37 | #endif /*COM_NO_WINDOWS_H*/ |
---|
38 | |
---|
39 | #ifndef __Host_i_h__ |
---|
40 | #define __Host_i_h__ |
---|
41 | |
---|
42 | #if defined(_MSC_VER) && (_MSC_VER >= 1020) |
---|
43 | #pragma once |
---|
44 | #endif |
---|
45 | |
---|
46 | /* Forward Declarations */ |
---|
47 | |
---|
48 | #ifndef __IFoo_FWD_DEFINED__ |
---|
49 | #define __IFoo_FWD_DEFINED__ |
---|
50 | typedef interface IFoo IFoo; |
---|
51 | #endif /* __IFoo_FWD_DEFINED__ */ |
---|
52 | |
---|
53 | |
---|
54 | #ifndef __Foo_FWD_DEFINED__ |
---|
55 | #define __Foo_FWD_DEFINED__ |
---|
56 | |
---|
57 | #ifdef __cplusplus |
---|
58 | typedef class Foo Foo; |
---|
59 | #else |
---|
60 | typedef struct Foo Foo; |
---|
61 | #endif /* __cplusplus */ |
---|
62 | |
---|
63 | #endif /* __Foo_FWD_DEFINED__ */ |
---|
64 | |
---|
65 | |
---|
66 | /* header files for imported files */ |
---|
67 | #include "oaidl.h" |
---|
68 | #include "ocidl.h" |
---|
69 | |
---|
70 | #ifdef __cplusplus |
---|
71 | extern "C"{ |
---|
72 | #endif |
---|
73 | |
---|
74 | |
---|
75 | #ifndef __IFoo_INTERFACE_DEFINED__ |
---|
76 | #define __IFoo_INTERFACE_DEFINED__ |
---|
77 | |
---|
78 | /* interface IFoo */ |
---|
79 | /* [unique][nonextensible][dual][uuid][object] */ |
---|
80 | |
---|
81 | |
---|
82 | EXTERN_C const IID IID_IFoo; |
---|
83 | |
---|
84 | #if defined(__cplusplus) && !defined(CINTERFACE) |
---|
85 | |
---|
86 | MIDL_INTERFACE("D22A348B-2542-4618-AD41-00EE1EDBAFB7") |
---|
87 | IFoo : public IDispatch |
---|
88 | { |
---|
89 | public: |
---|
90 | virtual /* [id] */ HRESULT STDMETHODCALLTYPE Bar( void) = 0; |
---|
91 | |
---|
92 | }; |
---|
93 | |
---|
94 | #else /* C style interface */ |
---|
95 | |
---|
96 | typedef struct IFooVtbl |
---|
97 | { |
---|
98 | BEGIN_INTERFACE |
---|
99 | |
---|
100 | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
---|
101 | IFoo * This, |
---|
102 | /* [in] */ REFIID riid, |
---|
103 | /* [annotation][iid_is][out] */ |
---|
104 | __RPC__deref_out void **ppvObject); |
---|
105 | |
---|
106 | ULONG ( STDMETHODCALLTYPE *AddRef )( |
---|
107 | IFoo * This); |
---|
108 | |
---|
109 | ULONG ( STDMETHODCALLTYPE *Release )( |
---|
110 | IFoo * This); |
---|
111 | |
---|
112 | HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( |
---|
113 | IFoo * This, |
---|
114 | /* [out] */ UINT *pctinfo); |
---|
115 | |
---|
116 | HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( |
---|
117 | IFoo * This, |
---|
118 | /* [in] */ UINT iTInfo, |
---|
119 | /* [in] */ LCID lcid, |
---|
120 | /* [out] */ ITypeInfo **ppTInfo); |
---|
121 | |
---|
122 | HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( |
---|
123 | IFoo * This, |
---|
124 | /* [in] */ REFIID riid, |
---|
125 | /* [size_is][in] */ LPOLESTR *rgszNames, |
---|
126 | /* [range][in] */ UINT cNames, |
---|
127 | /* [in] */ LCID lcid, |
---|
128 | /* [size_is][out] */ DISPID *rgDispId); |
---|
129 | |
---|
130 | /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( |
---|
131 | IFoo * This, |
---|
132 | /* [in] */ DISPID dispIdMember, |
---|
133 | /* [in] */ REFIID riid, |
---|
134 | /* [in] */ LCID lcid, |
---|
135 | /* [in] */ WORD wFlags, |
---|
136 | /* [out][in] */ DISPPARAMS *pDispParams, |
---|
137 | /* [out] */ VARIANT *pVarResult, |
---|
138 | /* [out] */ EXCEPINFO *pExcepInfo, |
---|
139 | /* [out] */ UINT *puArgErr); |
---|
140 | |
---|
141 | /* [id] */ HRESULT ( STDMETHODCALLTYPE *Bar )( |
---|
142 | IFoo * This); |
---|
143 | |
---|
144 | END_INTERFACE |
---|
145 | } IFooVtbl; |
---|
146 | |
---|
147 | interface IFoo |
---|
148 | { |
---|
149 | CONST_VTBL struct IFooVtbl *lpVtbl; |
---|
150 | }; |
---|
151 | |
---|
152 | |
---|
153 | |
---|
154 | #ifdef COBJMACROS |
---|
155 | |
---|
156 | |
---|
157 | #define IFoo_QueryInterface(This,riid,ppvObject) \ |
---|
158 | ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) |
---|
159 | |
---|
160 | #define IFoo_AddRef(This) \ |
---|
161 | ( (This)->lpVtbl -> AddRef(This) ) |
---|
162 | |
---|
163 | #define IFoo_Release(This) \ |
---|
164 | ( (This)->lpVtbl -> Release(This) ) |
---|
165 | |
---|
166 | |
---|
167 | #define IFoo_GetTypeInfoCount(This,pctinfo) \ |
---|
168 | ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) |
---|
169 | |
---|
170 | #define IFoo_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ |
---|
171 | ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) |
---|
172 | |
---|
173 | #define IFoo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ |
---|
174 | ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) |
---|
175 | |
---|
176 | #define IFoo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ |
---|
177 | ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) |
---|
178 | |
---|
179 | |
---|
180 | #define IFoo_Bar(This) \ |
---|
181 | ( (This)->lpVtbl -> Bar(This) ) |
---|
182 | |
---|
183 | #endif /* COBJMACROS */ |
---|
184 | |
---|
185 | |
---|
186 | #endif /* C style interface */ |
---|
187 | |
---|
188 | |
---|
189 | |
---|
190 | |
---|
191 | #endif /* __IFoo_INTERFACE_DEFINED__ */ |
---|
192 | |
---|
193 | |
---|
194 | |
---|
195 | #ifndef __HostLib_LIBRARY_DEFINED__ |
---|
196 | #define __HostLib_LIBRARY_DEFINED__ |
---|
197 | |
---|
198 | /* library HostLib */ |
---|
199 | /* [version][uuid] */ |
---|
200 | |
---|
201 | |
---|
202 | EXTERN_C const IID LIBID_HostLib; |
---|
203 | |
---|
204 | EXTERN_C const CLSID CLSID_Foo; |
---|
205 | |
---|
206 | #ifdef __cplusplus |
---|
207 | |
---|
208 | class DECLSPEC_UUID("D2ACAB10-7550-4726-9535-B7EFACAE9202") |
---|
209 | Foo; |
---|
210 | #endif |
---|
211 | #endif /* __HostLib_LIBRARY_DEFINED__ */ |
---|
212 | |
---|
213 | /* Additional Prototypes for ALL interfaces */ |
---|
214 | |
---|
215 | /* end of Additional Prototypes */ |
---|
216 | |
---|
217 | #ifdef __cplusplus |
---|
218 | } |
---|
219 | #endif |
---|
220 | |
---|
221 | #endif |
---|
222 | |
---|
223 | |
---|