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 Sat Feb 11 15:33:50 2012 |
---|
8 | */ |
---|
9 | /* Compiler settings for MaxMindGeoLite.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 __MaxMindGeoLite_i_h__ |
---|
40 | #define __MaxMindGeoLite_i_h__ |
---|
41 | |
---|
42 | #if defined(_MSC_VER) && (_MSC_VER >= 1020) |
---|
43 | #pragma once |
---|
44 | #endif |
---|
45 | |
---|
46 | /* Forward Declarations */ |
---|
47 | |
---|
48 | #ifndef __ILocation_FWD_DEFINED__ |
---|
49 | #define __ILocation_FWD_DEFINED__ |
---|
50 | typedef interface ILocation ILocation; |
---|
51 | #endif /* __ILocation_FWD_DEFINED__ */ |
---|
52 | |
---|
53 | |
---|
54 | #ifndef __ILocations_FWD_DEFINED__ |
---|
55 | #define __ILocations_FWD_DEFINED__ |
---|
56 | typedef interface ILocations ILocations; |
---|
57 | #endif /* __ILocations_FWD_DEFINED__ */ |
---|
58 | |
---|
59 | |
---|
60 | #ifndef __Location_FWD_DEFINED__ |
---|
61 | #define __Location_FWD_DEFINED__ |
---|
62 | |
---|
63 | #ifdef __cplusplus |
---|
64 | typedef class Location Location; |
---|
65 | #else |
---|
66 | typedef struct Location Location; |
---|
67 | #endif /* __cplusplus */ |
---|
68 | |
---|
69 | #endif /* __Location_FWD_DEFINED__ */ |
---|
70 | |
---|
71 | |
---|
72 | #ifndef __Locations_FWD_DEFINED__ |
---|
73 | #define __Locations_FWD_DEFINED__ |
---|
74 | |
---|
75 | #ifdef __cplusplus |
---|
76 | typedef class Locations Locations; |
---|
77 | #else |
---|
78 | typedef struct Locations Locations; |
---|
79 | #endif /* __cplusplus */ |
---|
80 | |
---|
81 | #endif /* __Locations_FWD_DEFINED__ */ |
---|
82 | |
---|
83 | |
---|
84 | /* header files for imported files */ |
---|
85 | #include "oaidl.h" |
---|
86 | #include "ocidl.h" |
---|
87 | |
---|
88 | #ifdef __cplusplus |
---|
89 | extern "C"{ |
---|
90 | #endif |
---|
91 | |
---|
92 | |
---|
93 | #ifndef __ILocation_INTERFACE_DEFINED__ |
---|
94 | #define __ILocation_INTERFACE_DEFINED__ |
---|
95 | |
---|
96 | /* interface ILocation */ |
---|
97 | /* [unique][helpstring][oleautomation][dual][uuid][object] */ |
---|
98 | |
---|
99 | |
---|
100 | EXTERN_C const IID IID_ILocation; |
---|
101 | |
---|
102 | #if defined(__cplusplus) && !defined(CINTERFACE) |
---|
103 | |
---|
104 | MIDL_INTERFACE("3C3125E8-60D6-4703-B7B4-7A024CEA2F05") |
---|
105 | ILocation : public IDispatch |
---|
106 | { |
---|
107 | public: |
---|
108 | virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Country( |
---|
109 | /* [retval][out] */ BSTR *psCountry) = 0; |
---|
110 | |
---|
111 | virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Region( |
---|
112 | /* [retval][out] */ BSTR *psRegion) = 0; |
---|
113 | |
---|
114 | virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_City( |
---|
115 | /* [retval][out] */ BSTR *psCity) = 0; |
---|
116 | |
---|
117 | virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_PostalCode( |
---|
118 | /* [retval][out] */ BSTR *psPostalCode) = 0; |
---|
119 | |
---|
120 | virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Latitude( |
---|
121 | /* [retval][out] */ DOUBLE *pfLatitude) = 0; |
---|
122 | |
---|
123 | virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Longitude( |
---|
124 | /* [retval][out] */ DOUBLE *pfLongitude) = 0; |
---|
125 | |
---|
126 | virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_MetroCode( |
---|
127 | /* [retval][out] */ BSTR *psMetroCode) = 0; |
---|
128 | |
---|
129 | virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_AreaCode( |
---|
130 | /* [retval][out] */ BSTR *psAreaCode) = 0; |
---|
131 | |
---|
132 | }; |
---|
133 | |
---|
134 | #else /* C style interface */ |
---|
135 | |
---|
136 | typedef struct ILocationVtbl |
---|
137 | { |
---|
138 | BEGIN_INTERFACE |
---|
139 | |
---|
140 | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
---|
141 | ILocation * This, |
---|
142 | /* [in] */ REFIID riid, |
---|
143 | /* [annotation][iid_is][out] */ |
---|
144 | __RPC__deref_out void **ppvObject); |
---|
145 | |
---|
146 | ULONG ( STDMETHODCALLTYPE *AddRef )( |
---|
147 | ILocation * This); |
---|
148 | |
---|
149 | ULONG ( STDMETHODCALLTYPE *Release )( |
---|
150 | ILocation * This); |
---|
151 | |
---|
152 | HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( |
---|
153 | ILocation * This, |
---|
154 | /* [out] */ UINT *pctinfo); |
---|
155 | |
---|
156 | HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( |
---|
157 | ILocation * This, |
---|
158 | /* [in] */ UINT iTInfo, |
---|
159 | /* [in] */ LCID lcid, |
---|
160 | /* [out] */ ITypeInfo **ppTInfo); |
---|
161 | |
---|
162 | HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( |
---|
163 | ILocation * This, |
---|
164 | /* [in] */ REFIID riid, |
---|
165 | /* [size_is][in] */ LPOLESTR *rgszNames, |
---|
166 | /* [range][in] */ UINT cNames, |
---|
167 | /* [in] */ LCID lcid, |
---|
168 | /* [size_is][out] */ DISPID *rgDispId); |
---|
169 | |
---|
170 | /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( |
---|
171 | ILocation * This, |
---|
172 | /* [in] */ DISPID dispIdMember, |
---|
173 | /* [in] */ REFIID riid, |
---|
174 | /* [in] */ LCID lcid, |
---|
175 | /* [in] */ WORD wFlags, |
---|
176 | /* [out][in] */ DISPPARAMS *pDispParams, |
---|
177 | /* [out] */ VARIANT *pVarResult, |
---|
178 | /* [out] */ EXCEPINFO *pExcepInfo, |
---|
179 | /* [out] */ UINT *puArgErr); |
---|
180 | |
---|
181 | /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Country )( |
---|
182 | ILocation * This, |
---|
183 | /* [retval][out] */ BSTR *psCountry); |
---|
184 | |
---|
185 | /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Region )( |
---|
186 | ILocation * This, |
---|
187 | /* [retval][out] */ BSTR *psRegion); |
---|
188 | |
---|
189 | /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_City )( |
---|
190 | ILocation * This, |
---|
191 | /* [retval][out] */ BSTR *psCity); |
---|
192 | |
---|
193 | /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PostalCode )( |
---|
194 | ILocation * This, |
---|
195 | /* [retval][out] */ BSTR *psPostalCode); |
---|
196 | |
---|
197 | /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Latitude )( |
---|
198 | ILocation * This, |
---|
199 | /* [retval][out] */ DOUBLE *pfLatitude); |
---|
200 | |
---|
201 | /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Longitude )( |
---|
202 | ILocation * This, |
---|
203 | /* [retval][out] */ DOUBLE *pfLongitude); |
---|
204 | |
---|
205 | /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MetroCode )( |
---|
206 | ILocation * This, |
---|
207 | /* [retval][out] */ BSTR *psMetroCode); |
---|
208 | |
---|
209 | /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AreaCode )( |
---|
210 | ILocation * This, |
---|
211 | /* [retval][out] */ BSTR *psAreaCode); |
---|
212 | |
---|
213 | END_INTERFACE |
---|
214 | } ILocationVtbl; |
---|
215 | |
---|
216 | interface ILocation |
---|
217 | { |
---|
218 | CONST_VTBL struct ILocationVtbl *lpVtbl; |
---|
219 | }; |
---|
220 | |
---|
221 | |
---|
222 | |
---|
223 | #ifdef COBJMACROS |
---|
224 | |
---|
225 | |
---|
226 | #define ILocation_QueryInterface(This,riid,ppvObject) \ |
---|
227 | ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) |
---|
228 | |
---|
229 | #define ILocation_AddRef(This) \ |
---|
230 | ( (This)->lpVtbl -> AddRef(This) ) |
---|
231 | |
---|
232 | #define ILocation_Release(This) \ |
---|
233 | ( (This)->lpVtbl -> Release(This) ) |
---|
234 | |
---|
235 | |
---|
236 | #define ILocation_GetTypeInfoCount(This,pctinfo) \ |
---|
237 | ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) |
---|
238 | |
---|
239 | #define ILocation_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ |
---|
240 | ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) |
---|
241 | |
---|
242 | #define ILocation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ |
---|
243 | ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) |
---|
244 | |
---|
245 | #define ILocation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ |
---|
246 | ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) |
---|
247 | |
---|
248 | |
---|
249 | #define ILocation_get_Country(This,psCountry) \ |
---|
250 | ( (This)->lpVtbl -> get_Country(This,psCountry) ) |
---|
251 | |
---|
252 | #define ILocation_get_Region(This,psRegion) \ |
---|
253 | ( (This)->lpVtbl -> get_Region(This,psRegion) ) |
---|
254 | |
---|
255 | #define ILocation_get_City(This,psCity) \ |
---|
256 | ( (This)->lpVtbl -> get_City(This,psCity) ) |
---|
257 | |
---|
258 | #define ILocation_get_PostalCode(This,psPostalCode) \ |
---|
259 | ( (This)->lpVtbl -> get_PostalCode(This,psPostalCode) ) |
---|
260 | |
---|
261 | #define ILocation_get_Latitude(This,pfLatitude) \ |
---|
262 | ( (This)->lpVtbl -> get_Latitude(This,pfLatitude) ) |
---|
263 | |
---|
264 | #define ILocation_get_Longitude(This,pfLongitude) \ |
---|
265 | ( (This)->lpVtbl -> get_Longitude(This,pfLongitude) ) |
---|
266 | |
---|
267 | #define ILocation_get_MetroCode(This,psMetroCode) \ |
---|
268 | ( (This)->lpVtbl -> get_MetroCode(This,psMetroCode) ) |
---|
269 | |
---|
270 | #define ILocation_get_AreaCode(This,psAreaCode) \ |
---|
271 | ( (This)->lpVtbl -> get_AreaCode(This,psAreaCode) ) |
---|
272 | |
---|
273 | #endif /* COBJMACROS */ |
---|
274 | |
---|
275 | |
---|
276 | #endif /* C style interface */ |
---|
277 | |
---|
278 | |
---|
279 | |
---|
280 | |
---|
281 | #endif /* __ILocation_INTERFACE_DEFINED__ */ |
---|
282 | |
---|
283 | |
---|
284 | #ifndef __ILocations_INTERFACE_DEFINED__ |
---|
285 | #define __ILocations_INTERFACE_DEFINED__ |
---|
286 | |
---|
287 | /* interface ILocations */ |
---|
288 | /* [unique][helpstring][oleautomation][dual][uuid][object] */ |
---|
289 | |
---|
290 | |
---|
291 | EXTERN_C const IID IID_ILocations; |
---|
292 | |
---|
293 | #if defined(__cplusplus) && !defined(CINTERFACE) |
---|
294 | |
---|
295 | MIDL_INTERFACE("B6E2FBEB-1AC2-424B-B2DA-FF6398ADCF0C") |
---|
296 | ILocations : public IDispatch |
---|
297 | { |
---|
298 | public: |
---|
299 | virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Item( |
---|
300 | /* [in] */ VARIANT vIndex, |
---|
301 | /* [retval][out] */ ILocation **ppLocation) = 0; |
---|
302 | |
---|
303 | }; |
---|
304 | |
---|
305 | #else /* C style interface */ |
---|
306 | |
---|
307 | typedef struct ILocationsVtbl |
---|
308 | { |
---|
309 | BEGIN_INTERFACE |
---|
310 | |
---|
311 | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
---|
312 | ILocations * This, |
---|
313 | /* [in] */ REFIID riid, |
---|
314 | /* [annotation][iid_is][out] */ |
---|
315 | __RPC__deref_out void **ppvObject); |
---|
316 | |
---|
317 | ULONG ( STDMETHODCALLTYPE *AddRef )( |
---|
318 | ILocations * This); |
---|
319 | |
---|
320 | ULONG ( STDMETHODCALLTYPE *Release )( |
---|
321 | ILocations * This); |
---|
322 | |
---|
323 | HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( |
---|
324 | ILocations * This, |
---|
325 | /* [out] */ UINT *pctinfo); |
---|
326 | |
---|
327 | HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( |
---|
328 | ILocations * This, |
---|
329 | /* [in] */ UINT iTInfo, |
---|
330 | /* [in] */ LCID lcid, |
---|
331 | /* [out] */ ITypeInfo **ppTInfo); |
---|
332 | |
---|
333 | HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( |
---|
334 | ILocations * This, |
---|
335 | /* [in] */ REFIID riid, |
---|
336 | /* [size_is][in] */ LPOLESTR *rgszNames, |
---|
337 | /* [range][in] */ UINT cNames, |
---|
338 | /* [in] */ LCID lcid, |
---|
339 | /* [size_is][out] */ DISPID *rgDispId); |
---|
340 | |
---|
341 | /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( |
---|
342 | ILocations * This, |
---|
343 | /* [in] */ DISPID dispIdMember, |
---|
344 | /* [in] */ REFIID riid, |
---|
345 | /* [in] */ LCID lcid, |
---|
346 | /* [in] */ WORD wFlags, |
---|
347 | /* [out][in] */ DISPPARAMS *pDispParams, |
---|
348 | /* [out] */ VARIANT *pVarResult, |
---|
349 | /* [out] */ EXCEPINFO *pExcepInfo, |
---|
350 | /* [out] */ UINT *puArgErr); |
---|
351 | |
---|
352 | /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )( |
---|
353 | ILocations * This, |
---|
354 | /* [in] */ VARIANT vIndex, |
---|
355 | /* [retval][out] */ ILocation **ppLocation); |
---|
356 | |
---|
357 | END_INTERFACE |
---|
358 | } ILocationsVtbl; |
---|
359 | |
---|
360 | interface ILocations |
---|
361 | { |
---|
362 | CONST_VTBL struct ILocationsVtbl *lpVtbl; |
---|
363 | }; |
---|
364 | |
---|
365 | |
---|
366 | |
---|
367 | #ifdef COBJMACROS |
---|
368 | |
---|
369 | |
---|
370 | #define ILocations_QueryInterface(This,riid,ppvObject) \ |
---|
371 | ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) |
---|
372 | |
---|
373 | #define ILocations_AddRef(This) \ |
---|
374 | ( (This)->lpVtbl -> AddRef(This) ) |
---|
375 | |
---|
376 | #define ILocations_Release(This) \ |
---|
377 | ( (This)->lpVtbl -> Release(This) ) |
---|
378 | |
---|
379 | |
---|
380 | #define ILocations_GetTypeInfoCount(This,pctinfo) \ |
---|
381 | ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) |
---|
382 | |
---|
383 | #define ILocations_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ |
---|
384 | ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) |
---|
385 | |
---|
386 | #define ILocations_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ |
---|
387 | ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) |
---|
388 | |
---|
389 | #define ILocations_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ |
---|
390 | ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) |
---|
391 | |
---|
392 | |
---|
393 | #define ILocations_get_Item(This,vIndex,ppLocation) \ |
---|
394 | ( (This)->lpVtbl -> get_Item(This,vIndex,ppLocation) ) |
---|
395 | |
---|
396 | #endif /* COBJMACROS */ |
---|
397 | |
---|
398 | |
---|
399 | #endif /* C style interface */ |
---|
400 | |
---|
401 | |
---|
402 | |
---|
403 | |
---|
404 | #endif /* __ILocations_INTERFACE_DEFINED__ */ |
---|
405 | |
---|
406 | |
---|
407 | |
---|
408 | #ifndef __AlaxInfoMaxMindGeoLite_LIBRARY_DEFINED__ |
---|
409 | #define __AlaxInfoMaxMindGeoLite_LIBRARY_DEFINED__ |
---|
410 | |
---|
411 | /* library AlaxInfoMaxMindGeoLite */ |
---|
412 | /* [helpstring][version][uuid] */ |
---|
413 | |
---|
414 | |
---|
415 | EXTERN_C const IID LIBID_AlaxInfoMaxMindGeoLite; |
---|
416 | |
---|
417 | EXTERN_C const CLSID CLSID_Location; |
---|
418 | |
---|
419 | #ifdef __cplusplus |
---|
420 | |
---|
421 | class DECLSPEC_UUID("E4758497-363F-467D-BE04-C2222748C7E6") |
---|
422 | Location; |
---|
423 | #endif |
---|
424 | |
---|
425 | EXTERN_C const CLSID CLSID_Locations; |
---|
426 | |
---|
427 | #ifdef __cplusplus |
---|
428 | |
---|
429 | class DECLSPEC_UUID("350EBCB9-942A-4D11-9192-54AA6230F7BF") |
---|
430 | Locations; |
---|
431 | #endif |
---|
432 | #endif /* __AlaxInfoMaxMindGeoLite_LIBRARY_DEFINED__ */ |
---|
433 | |
---|
434 | /* Additional Prototypes for ALL interfaces */ |
---|
435 | |
---|
436 | unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * ); |
---|
437 | unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * ); |
---|
438 | unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); |
---|
439 | void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * ); |
---|
440 | |
---|
441 | unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * ); |
---|
442 | unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * ); |
---|
443 | unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * ); |
---|
444 | void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * ); |
---|
445 | |
---|
446 | /* end of Additional Prototypes */ |
---|
447 | |
---|
448 | #ifdef __cplusplus |
---|
449 | } |
---|
450 | #endif |
---|
451 | |
---|
452 | #endif |
---|
453 | |
---|
454 | |
---|