source: trunk/Utilities/JsObjectDispatch/JsObjectDispatch_i.h @ 124

Last change on this file since 124 was 124, checked in by roman, 10 years ago
File size: 6.0 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 Sat Sep 15 15:20:06 2012
8 */
9/* Compiler settings for JsObjectDispatch.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 __JsObjectDispatch_i_h__
40#define __JsObjectDispatch_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__
50typedef interface IFoo IFoo;
51#endif  /* __IFoo_FWD_DEFINED__ */
52
53
54#ifndef __Foo_FWD_DEFINED__
55#define __Foo_FWD_DEFINED__
56
57#ifdef __cplusplus
58typedef class Foo Foo;
59#else
60typedef 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
71extern "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
82EXTERN_C const IID IID_IFoo;
83
84#if defined(__cplusplus) && !defined(CINTERFACE)
85   
86    MIDL_INTERFACE("6821277F-B654-45A2-92CA-8CC6A574C4DB")
87    IFoo : public IDispatch
88    {
89    public:
90        virtual /* [id] */ HRESULT STDMETHODCALLTYPE Bar( 
91            /* [in] */ VARIANT vValue) = 0;
92       
93    };
94   
95#else   /* C style interface */
96
97    typedef struct IFooVtbl
98    {
99        BEGIN_INTERFACE
100       
101        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
102            IFoo * This,
103            /* [in] */ REFIID riid,
104            /* [annotation][iid_is][out] */ 
105            __RPC__deref_out  void **ppvObject);
106       
107        ULONG ( STDMETHODCALLTYPE *AddRef )( 
108            IFoo * This);
109       
110        ULONG ( STDMETHODCALLTYPE *Release )( 
111            IFoo * This);
112       
113        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
114            IFoo * This,
115            /* [out] */ UINT *pctinfo);
116       
117        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
118            IFoo * This,
119            /* [in] */ UINT iTInfo,
120            /* [in] */ LCID lcid,
121            /* [out] */ ITypeInfo **ppTInfo);
122       
123        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
124            IFoo * This,
125            /* [in] */ REFIID riid,
126            /* [size_is][in] */ LPOLESTR *rgszNames,
127            /* [range][in] */ UINT cNames,
128            /* [in] */ LCID lcid,
129            /* [size_is][out] */ DISPID *rgDispId);
130       
131        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
132            IFoo * This,
133            /* [in] */ DISPID dispIdMember,
134            /* [in] */ REFIID riid,
135            /* [in] */ LCID lcid,
136            /* [in] */ WORD wFlags,
137            /* [out][in] */ DISPPARAMS *pDispParams,
138            /* [out] */ VARIANT *pVarResult,
139            /* [out] */ EXCEPINFO *pExcepInfo,
140            /* [out] */ UINT *puArgErr);
141       
142        /* [id] */ HRESULT ( STDMETHODCALLTYPE *Bar )( 
143            IFoo * This,
144            /* [in] */ VARIANT vValue);
145       
146        END_INTERFACE
147    } IFooVtbl;
148
149    interface IFoo
150    {
151        CONST_VTBL struct IFooVtbl *lpVtbl;
152    };
153
154   
155
156#ifdef COBJMACROS
157
158
159#define IFoo_QueryInterface(This,riid,ppvObject)        \
160    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
161
162#define IFoo_AddRef(This)       \
163    ( (This)->lpVtbl -> AddRef(This) )
164
165#define IFoo_Release(This)      \
166    ( (This)->lpVtbl -> Release(This) )
167
168
169#define IFoo_GetTypeInfoCount(This,pctinfo)     \
170    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) )
171
172#define IFoo_GetTypeInfo(This,iTInfo,lcid,ppTInfo)      \
173    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) )
174
175#define IFoo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
176    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) )
177
178#define IFoo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)      \
179    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) )
180
181
182#define IFoo_Bar(This,vValue)   \
183    ( (This)->lpVtbl -> Bar(This,vValue) )
184
185#endif /* COBJMACROS */
186
187
188#endif  /* C style interface */
189
190
191
192
193#endif  /* __IFoo_INTERFACE_DEFINED__ */
194
195
196
197#ifndef __JsObjectDispatchLib_LIBRARY_DEFINED__
198#define __JsObjectDispatchLib_LIBRARY_DEFINED__
199
200/* library JsObjectDispatchLib */
201/* [version][uuid] */ 
202
203
204EXTERN_C const IID LIBID_JsObjectDispatchLib;
205
206EXTERN_C const CLSID CLSID_Foo;
207
208#ifdef __cplusplus
209
210class DECLSPEC_UUID("CC9F5D79-1C43-423A-AA22-E2F00C33C970")
211Foo;
212#endif
213#endif /* __JsObjectDispatchLib_LIBRARY_DEFINED__ */
214
215/* Additional Prototypes for ALL interfaces */
216
217unsigned long             __RPC_USER  VARIANT_UserSize(     unsigned long *, unsigned long            , VARIANT * ); 
218unsigned char * __RPC_USER  VARIANT_UserMarshal(  unsigned long *, unsigned char *, VARIANT * ); 
219unsigned char * __RPC_USER  VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * ); 
220void                      __RPC_USER  VARIANT_UserFree(     unsigned long *, VARIANT * ); 
221
222/* end of Additional Prototypes */
223
224#ifdef __cplusplus
225}
226#endif
227
228#endif
229
230
Note: See TracBrowser for help on using the repository browser.