source: trunk/Utilities/MaxMindGeoLite/MaxMindGeoLite_i.h @ 937

Last change on this file since 937 was 300, checked in by roman, 10 years ago
File size: 18.1 KB
Line 
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 Tue Jul 08 19:25:04 2014
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__
50typedef interface ILocation ILocation;
51#endif  /* __ILocation_FWD_DEFINED__ */
52
53
54#ifndef __ILocations_FWD_DEFINED__
55#define __ILocations_FWD_DEFINED__
56typedef interface ILocations ILocations;
57#endif  /* __ILocations_FWD_DEFINED__ */
58
59
60#ifndef __ILazyLocations_FWD_DEFINED__
61#define __ILazyLocations_FWD_DEFINED__
62typedef interface ILazyLocations ILazyLocations;
63#endif  /* __ILazyLocations_FWD_DEFINED__ */
64
65
66#ifndef __Location_FWD_DEFINED__
67#define __Location_FWD_DEFINED__
68
69#ifdef __cplusplus
70typedef class Location Location;
71#else
72typedef struct Location Location;
73#endif /* __cplusplus */
74
75#endif  /* __Location_FWD_DEFINED__ */
76
77
78#ifndef __Locations_FWD_DEFINED__
79#define __Locations_FWD_DEFINED__
80
81#ifdef __cplusplus
82typedef class Locations Locations;
83#else
84typedef struct Locations Locations;
85#endif /* __cplusplus */
86
87#endif  /* __Locations_FWD_DEFINED__ */
88
89
90#ifndef __LazyLocations_FWD_DEFINED__
91#define __LazyLocations_FWD_DEFINED__
92
93#ifdef __cplusplus
94typedef class LazyLocations LazyLocations;
95#else
96typedef struct LazyLocations LazyLocations;
97#endif /* __cplusplus */
98
99#endif  /* __LazyLocations_FWD_DEFINED__ */
100
101
102/* header files for imported files */
103#include "oaidl.h"
104#include "ocidl.h"
105
106#ifdef __cplusplus
107extern "C"{
108#endif
109
110
111#ifndef __ILocation_INTERFACE_DEFINED__
112#define __ILocation_INTERFACE_DEFINED__
113
114/* interface ILocation */
115/* [unique][helpstring][oleautomation][dual][uuid][object] */ 
116
117
118EXTERN_C const IID IID_ILocation;
119
120#if defined(__cplusplus) && !defined(CINTERFACE)
121   
122    MIDL_INTERFACE("3C3125E8-60D6-4703-B7B4-7A024CEA2F05")
123    ILocation : public IDispatch
124    {
125    public:
126        virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Country( 
127            /* [retval][out] */ BSTR *psCountry) = 0;
128       
129        virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Region( 
130            /* [retval][out] */ BSTR *psRegion) = 0;
131       
132        virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_City( 
133            /* [retval][out] */ BSTR *psCity) = 0;
134       
135        virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_PostalCode( 
136            /* [retval][out] */ BSTR *psPostalCode) = 0;
137       
138        virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Latitude( 
139            /* [retval][out] */ DOUBLE *pfLatitude) = 0;
140       
141        virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Longitude( 
142            /* [retval][out] */ DOUBLE *pfLongitude) = 0;
143       
144        virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_MetroCode( 
145            /* [retval][out] */ BSTR *psMetroCode) = 0;
146       
147        virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_AreaCode( 
148            /* [retval][out] */ BSTR *psAreaCode) = 0;
149       
150    };
151   
152#else   /* C style interface */
153
154    typedef struct ILocationVtbl
155    {
156        BEGIN_INTERFACE
157       
158        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
159            ILocation * This,
160            /* [in] */ REFIID riid,
161            /* [annotation][iid_is][out] */ 
162            __RPC__deref_out  void **ppvObject);
163       
164        ULONG ( STDMETHODCALLTYPE *AddRef )( 
165            ILocation * This);
166       
167        ULONG ( STDMETHODCALLTYPE *Release )( 
168            ILocation * This);
169       
170        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
171            ILocation * This,
172            /* [out] */ UINT *pctinfo);
173       
174        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
175            ILocation * This,
176            /* [in] */ UINT iTInfo,
177            /* [in] */ LCID lcid,
178            /* [out] */ ITypeInfo **ppTInfo);
179       
180        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
181            ILocation * This,
182            /* [in] */ REFIID riid,
183            /* [size_is][in] */ LPOLESTR *rgszNames,
184            /* [range][in] */ UINT cNames,
185            /* [in] */ LCID lcid,
186            /* [size_is][out] */ DISPID *rgDispId);
187       
188        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
189            ILocation * This,
190            /* [in] */ DISPID dispIdMember,
191            /* [in] */ REFIID riid,
192            /* [in] */ LCID lcid,
193            /* [in] */ WORD wFlags,
194            /* [out][in] */ DISPPARAMS *pDispParams,
195            /* [out] */ VARIANT *pVarResult,
196            /* [out] */ EXCEPINFO *pExcepInfo,
197            /* [out] */ UINT *puArgErr);
198       
199        /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Country )( 
200            ILocation * This,
201            /* [retval][out] */ BSTR *psCountry);
202       
203        /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Region )( 
204            ILocation * This,
205            /* [retval][out] */ BSTR *psRegion);
206       
207        /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_City )( 
208            ILocation * This,
209            /* [retval][out] */ BSTR *psCity);
210       
211        /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PostalCode )( 
212            ILocation * This,
213            /* [retval][out] */ BSTR *psPostalCode);
214       
215        /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Latitude )( 
216            ILocation * This,
217            /* [retval][out] */ DOUBLE *pfLatitude);
218       
219        /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Longitude )( 
220            ILocation * This,
221            /* [retval][out] */ DOUBLE *pfLongitude);
222       
223        /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MetroCode )( 
224            ILocation * This,
225            /* [retval][out] */ BSTR *psMetroCode);
226       
227        /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AreaCode )( 
228            ILocation * This,
229            /* [retval][out] */ BSTR *psAreaCode);
230       
231        END_INTERFACE
232    } ILocationVtbl;
233
234    interface ILocation
235    {
236        CONST_VTBL struct ILocationVtbl *lpVtbl;
237    };
238
239   
240
241#ifdef COBJMACROS
242
243
244#define ILocation_QueryInterface(This,riid,ppvObject)   \
245    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
246
247#define ILocation_AddRef(This)  \
248    ( (This)->lpVtbl -> AddRef(This) )
249
250#define ILocation_Release(This) \
251    ( (This)->lpVtbl -> Release(This) )
252
253
254#define ILocation_GetTypeInfoCount(This,pctinfo)        \
255    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) )
256
257#define ILocation_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
258    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) )
259
260#define ILocation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)       \
261    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) )
262
263#define ILocation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
264    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) )
265
266
267#define ILocation_get_Country(This,psCountry)   \
268    ( (This)->lpVtbl -> get_Country(This,psCountry) )
269
270#define ILocation_get_Region(This,psRegion)     \
271    ( (This)->lpVtbl -> get_Region(This,psRegion) )
272
273#define ILocation_get_City(This,psCity) \
274    ( (This)->lpVtbl -> get_City(This,psCity) )
275
276#define ILocation_get_PostalCode(This,psPostalCode)     \
277    ( (This)->lpVtbl -> get_PostalCode(This,psPostalCode) )
278
279#define ILocation_get_Latitude(This,pfLatitude) \
280    ( (This)->lpVtbl -> get_Latitude(This,pfLatitude) )
281
282#define ILocation_get_Longitude(This,pfLongitude)       \
283    ( (This)->lpVtbl -> get_Longitude(This,pfLongitude) )
284
285#define ILocation_get_MetroCode(This,psMetroCode)       \
286    ( (This)->lpVtbl -> get_MetroCode(This,psMetroCode) )
287
288#define ILocation_get_AreaCode(This,psAreaCode) \
289    ( (This)->lpVtbl -> get_AreaCode(This,psAreaCode) )
290
291#endif /* COBJMACROS */
292
293
294#endif  /* C style interface */
295
296
297
298
299#endif  /* __ILocation_INTERFACE_DEFINED__ */
300
301
302#ifndef __ILocations_INTERFACE_DEFINED__
303#define __ILocations_INTERFACE_DEFINED__
304
305/* interface ILocations */
306/* [unique][helpstring][oleautomation][dual][uuid][object] */ 
307
308
309EXTERN_C const IID IID_ILocations;
310
311#if defined(__cplusplus) && !defined(CINTERFACE)
312   
313    MIDL_INTERFACE("B6E2FBEB-1AC2-424B-B2DA-FF6398ADCF0C")
314    ILocations : public IDispatch
315    {
316    public:
317        virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Item( 
318            /* [in] */ VARIANT vIndex,
319            /* [retval][out] */ ILocation **ppLocation) = 0;
320       
321    };
322   
323#else   /* C style interface */
324
325    typedef struct ILocationsVtbl
326    {
327        BEGIN_INTERFACE
328       
329        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
330            ILocations * This,
331            /* [in] */ REFIID riid,
332            /* [annotation][iid_is][out] */ 
333            __RPC__deref_out  void **ppvObject);
334       
335        ULONG ( STDMETHODCALLTYPE *AddRef )( 
336            ILocations * This);
337       
338        ULONG ( STDMETHODCALLTYPE *Release )( 
339            ILocations * This);
340       
341        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
342            ILocations * This,
343            /* [out] */ UINT *pctinfo);
344       
345        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
346            ILocations * This,
347            /* [in] */ UINT iTInfo,
348            /* [in] */ LCID lcid,
349            /* [out] */ ITypeInfo **ppTInfo);
350       
351        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
352            ILocations * This,
353            /* [in] */ REFIID riid,
354            /* [size_is][in] */ LPOLESTR *rgszNames,
355            /* [range][in] */ UINT cNames,
356            /* [in] */ LCID lcid,
357            /* [size_is][out] */ DISPID *rgDispId);
358       
359        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
360            ILocations * This,
361            /* [in] */ DISPID dispIdMember,
362            /* [in] */ REFIID riid,
363            /* [in] */ LCID lcid,
364            /* [in] */ WORD wFlags,
365            /* [out][in] */ DISPPARAMS *pDispParams,
366            /* [out] */ VARIANT *pVarResult,
367            /* [out] */ EXCEPINFO *pExcepInfo,
368            /* [out] */ UINT *puArgErr);
369       
370        /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )( 
371            ILocations * This,
372            /* [in] */ VARIANT vIndex,
373            /* [retval][out] */ ILocation **ppLocation);
374       
375        END_INTERFACE
376    } ILocationsVtbl;
377
378    interface ILocations
379    {
380        CONST_VTBL struct ILocationsVtbl *lpVtbl;
381    };
382
383   
384
385#ifdef COBJMACROS
386
387
388#define ILocations_QueryInterface(This,riid,ppvObject)  \
389    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
390
391#define ILocations_AddRef(This) \
392    ( (This)->lpVtbl -> AddRef(This) )
393
394#define ILocations_Release(This)        \
395    ( (This)->lpVtbl -> Release(This) )
396
397
398#define ILocations_GetTypeInfoCount(This,pctinfo)       \
399    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) )
400
401#define ILocations_GetTypeInfo(This,iTInfo,lcid,ppTInfo)        \
402    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) )
403
404#define ILocations_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)      \
405    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) )
406
407#define ILocations_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)        \
408    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) )
409
410
411#define ILocations_get_Item(This,vIndex,ppLocation)     \
412    ( (This)->lpVtbl -> get_Item(This,vIndex,ppLocation) )
413
414#endif /* COBJMACROS */
415
416
417#endif  /* C style interface */
418
419
420
421
422#endif  /* __ILocations_INTERFACE_DEFINED__ */
423
424
425#ifndef __ILazyLocations_INTERFACE_DEFINED__
426#define __ILazyLocations_INTERFACE_DEFINED__
427
428/* interface ILazyLocations */
429/* [unique][helpstring][oleautomation][dual][uuid][object] */ 
430
431
432EXTERN_C const IID IID_ILazyLocations;
433
434#if defined(__cplusplus) && !defined(CINTERFACE)
435   
436    MIDL_INTERFACE("34BF53BB-D4C8-4002-A0EC-5BA70FE7ACA3")
437    ILazyLocations : public IDispatch
438    {
439    public:
440        virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Initialized( 
441            /* [retval][out] */ VARIANT_BOOL *pbInitialized) = 0;
442       
443    };
444   
445#else   /* C style interface */
446
447    typedef struct ILazyLocationsVtbl
448    {
449        BEGIN_INTERFACE
450       
451        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
452            ILazyLocations * This,
453            /* [in] */ REFIID riid,
454            /* [annotation][iid_is][out] */ 
455            __RPC__deref_out  void **ppvObject);
456       
457        ULONG ( STDMETHODCALLTYPE *AddRef )( 
458            ILazyLocations * This);
459       
460        ULONG ( STDMETHODCALLTYPE *Release )( 
461            ILazyLocations * This);
462       
463        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
464            ILazyLocations * This,
465            /* [out] */ UINT *pctinfo);
466       
467        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
468            ILazyLocations * This,
469            /* [in] */ UINT iTInfo,
470            /* [in] */ LCID lcid,
471            /* [out] */ ITypeInfo **ppTInfo);
472       
473        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
474            ILazyLocations * This,
475            /* [in] */ REFIID riid,
476            /* [size_is][in] */ LPOLESTR *rgszNames,
477            /* [range][in] */ UINT cNames,
478            /* [in] */ LCID lcid,
479            /* [size_is][out] */ DISPID *rgDispId);
480       
481        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
482            ILazyLocations * This,
483            /* [in] */ DISPID dispIdMember,
484            /* [in] */ REFIID riid,
485            /* [in] */ LCID lcid,
486            /* [in] */ WORD wFlags,
487            /* [out][in] */ DISPPARAMS *pDispParams,
488            /* [out] */ VARIANT *pVarResult,
489            /* [out] */ EXCEPINFO *pExcepInfo,
490            /* [out] */ UINT *puArgErr);
491       
492        /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Initialized )( 
493            ILazyLocations * This,
494            /* [retval][out] */ VARIANT_BOOL *pbInitialized);
495       
496        END_INTERFACE
497    } ILazyLocationsVtbl;
498
499    interface ILazyLocations
500    {
501        CONST_VTBL struct ILazyLocationsVtbl *lpVtbl;
502    };
503
504   
505
506#ifdef COBJMACROS
507
508
509#define ILazyLocations_QueryInterface(This,riid,ppvObject)      \
510    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
511
512#define ILazyLocations_AddRef(This)     \
513    ( (This)->lpVtbl -> AddRef(This) )
514
515#define ILazyLocations_Release(This)    \
516    ( (This)->lpVtbl -> Release(This) )
517
518
519#define ILazyLocations_GetTypeInfoCount(This,pctinfo)   \
520    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) )
521
522#define ILazyLocations_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
523    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) )
524
525#define ILazyLocations_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)  \
526    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) )
527
528#define ILazyLocations_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
529    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) )
530
531
532#define ILazyLocations_get_Initialized(This,pbInitialized)      \
533    ( (This)->lpVtbl -> get_Initialized(This,pbInitialized) )
534
535#endif /* COBJMACROS */
536
537
538#endif  /* C style interface */
539
540
541
542
543#endif  /* __ILazyLocations_INTERFACE_DEFINED__ */
544
545
546
547#ifndef __AlaxInfoMaxMindGeoLite_LIBRARY_DEFINED__
548#define __AlaxInfoMaxMindGeoLite_LIBRARY_DEFINED__
549
550/* library AlaxInfoMaxMindGeoLite */
551/* [helpstring][version][uuid] */ 
552
553
554EXTERN_C const IID LIBID_AlaxInfoMaxMindGeoLite;
555
556EXTERN_C const CLSID CLSID_Location;
557
558#ifdef __cplusplus
559
560class DECLSPEC_UUID("E4758497-363F-467D-BE04-C2222748C7E6")
561Location;
562#endif
563
564EXTERN_C const CLSID CLSID_Locations;
565
566#ifdef __cplusplus
567
568class DECLSPEC_UUID("350EBCB9-942A-4D11-9192-54AA6230F7BF")
569Locations;
570#endif
571
572EXTERN_C const CLSID CLSID_LazyLocations;
573
574#ifdef __cplusplus
575
576class DECLSPEC_UUID("29752330-E1FB-43D0-ADBF-21AF77633259")
577LazyLocations;
578#endif
579#endif /* __AlaxInfoMaxMindGeoLite_LIBRARY_DEFINED__ */
580
581/* Additional Prototypes for ALL interfaces */
582
583unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long *, unsigned long            , BSTR * ); 
584unsigned char * __RPC_USER  BSTR_UserMarshal(  unsigned long *, unsigned char *, BSTR * ); 
585unsigned char * __RPC_USER  BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); 
586void                      __RPC_USER  BSTR_UserFree(     unsigned long *, BSTR * ); 
587
588unsigned long             __RPC_USER  VARIANT_UserSize(     unsigned long *, unsigned long            , VARIANT * ); 
589unsigned char * __RPC_USER  VARIANT_UserMarshal(  unsigned long *, unsigned char *, VARIANT * ); 
590unsigned char * __RPC_USER  VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * ); 
591void                      __RPC_USER  VARIANT_UserFree(     unsigned long *, VARIANT * ); 
592
593/* end of Additional Prototypes */
594
595#ifdef __cplusplus
596}
597#endif
598
599#endif
600
601
Note: See TracBrowser for help on using the repository browser.