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

Last change on this file since 937 was 919, checked in by roman, 3 years ago

Update and VBS test

File size: 7.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 8.01.0622 */
7/* at Tue Jan 19 05:14:07 2038
8 */
9/* Compiler settings for JsObjectDispatch.idl:
10    Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 8.01.0622
11    protocol : all , 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
20
21/* verify that the <rpcndr.h> version is high enough to compile this file*/
22#ifndef __REQUIRED_RPCNDR_H_VERSION__
23#define __REQUIRED_RPCNDR_H_VERSION__ 500
24#endif
25
26#include "rpc.h"
27#include "rpcndr.h"
28
29#ifndef __RPCNDR_H_VERSION__
30#error this stub requires an updated version of <rpcndr.h>
31#endif /* __RPCNDR_H_VERSION__ */
32
33#ifndef COM_NO_WINDOWS_H
34#include "windows.h"
35#include "ole2.h"
36#endif /*COM_NO_WINDOWS_H*/
37
38#ifndef __JsObjectDispatch_i_h__
39#define __JsObjectDispatch_i_h__
40
41#if defined(_MSC_VER) && (_MSC_VER >= 1020)
42#pragma once
43#endif
44
45/* Forward Declarations */ 
46
47#ifndef __IFoo_FWD_DEFINED__
48#define __IFoo_FWD_DEFINED__
49typedef interface IFoo IFoo;
50
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 BarA( 
91            /* [in] */ VARIANT Value) = 0;
92       
93        virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_BarB( 
94            /* [retval][out] */ VARIANT *Value) = 0;
95       
96    };
97   
98   
99#else   /* C style interface */
100
101    typedef struct IFooVtbl
102    {
103        BEGIN_INTERFACE
104       
105        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
106            IFoo * This,
107            /* [in] */ REFIID riid,
108            /* [annotation][iid_is][out] */ 
109            _COM_Outptr_  void **ppvObject);
110       
111        ULONG ( STDMETHODCALLTYPE *AddRef )( 
112            IFoo * This);
113       
114        ULONG ( STDMETHODCALLTYPE *Release )( 
115            IFoo * This);
116       
117        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
118            IFoo * This,
119            /* [out] */ UINT *pctinfo);
120       
121        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
122            IFoo * This,
123            /* [in] */ UINT iTInfo,
124            /* [in] */ LCID lcid,
125            /* [out] */ ITypeInfo **ppTInfo);
126       
127        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
128            IFoo * This,
129            /* [in] */ REFIID riid,
130            /* [size_is][in] */ LPOLESTR *rgszNames,
131            /* [range][in] */ UINT cNames,
132            /* [in] */ LCID lcid,
133            /* [size_is][out] */ DISPID *rgDispId);
134       
135        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
136            IFoo * This,
137            /* [annotation][in] */ 
138            _In_  DISPID dispIdMember,
139            /* [annotation][in] */ 
140            _In_  REFIID riid,
141            /* [annotation][in] */ 
142            _In_  LCID lcid,
143            /* [annotation][in] */ 
144            _In_  WORD wFlags,
145            /* [annotation][out][in] */ 
146            _In_  DISPPARAMS *pDispParams,
147            /* [annotation][out] */ 
148            _Out_opt_  VARIANT *pVarResult,
149            /* [annotation][out] */ 
150            _Out_opt_  EXCEPINFO *pExcepInfo,
151            /* [annotation][out] */ 
152            _Out_opt_  UINT *puArgErr);
153       
154        /* [id] */ HRESULT ( STDMETHODCALLTYPE *BarA )( 
155            IFoo * This,
156            /* [in] */ VARIANT Value);
157       
158        /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_BarB )( 
159            IFoo * This,
160            /* [retval][out] */ VARIANT *Value);
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_BarA(This,Value)   \
199    ( (This)->lpVtbl -> BarA(This,Value) )
200
201#define IFoo_get_BarB(This,Value)       \
202    ( (This)->lpVtbl -> get_BarB(This,Value) )
203
204#endif /* COBJMACROS */
205
206
207#endif  /* C style interface */
208
209
210
211
212#endif  /* __IFoo_INTERFACE_DEFINED__ */
213
214
215
216#ifndef __JsObjectDispatchLib_LIBRARY_DEFINED__
217#define __JsObjectDispatchLib_LIBRARY_DEFINED__
218
219/* library JsObjectDispatchLib */
220/* [version][uuid] */ 
221
222
223EXTERN_C const IID LIBID_JsObjectDispatchLib;
224
225EXTERN_C const CLSID CLSID_Foo;
226
227#ifdef __cplusplus
228
229class DECLSPEC_UUID("CC9F5D79-1C43-423A-AA22-E2F00C33C970")
230Foo;
231#endif
232#endif /* __JsObjectDispatchLib_LIBRARY_DEFINED__ */
233
234/* Additional Prototypes for ALL interfaces */
235
236unsigned long             __RPC_USER  VARIANT_UserSize(     unsigned long *, unsigned long            , VARIANT * ); 
237unsigned char * __RPC_USER  VARIANT_UserMarshal(  unsigned long *, unsigned char *, VARIANT * ); 
238unsigned char * __RPC_USER  VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * ); 
239void                      __RPC_USER  VARIANT_UserFree(     unsigned long *, VARIANT * ); 
240
241unsigned long             __RPC_USER  VARIANT_UserSize64(     unsigned long *, unsigned long            , VARIANT * ); 
242unsigned char * __RPC_USER  VARIANT_UserMarshal64(  unsigned long *, unsigned char *, VARIANT * ); 
243unsigned char * __RPC_USER  VARIANT_UserUnmarshal64(unsigned long *, unsigned char *, VARIANT * ); 
244void                      __RPC_USER  VARIANT_UserFree64(     unsigned long *, VARIANT * ); 
245
246/* end of Additional Prototypes */
247
248#ifdef __cplusplus
249}
250#endif
251
252#endif
253
254
Note: See TracBrowser for help on using the repository browser.