source: trunk/Utilities/Miscellaneous/NullBstrArgument/Library/Win32/Library_i.h @ 181

Last change on this file since 181 was 181, checked in by roman, 9 years ago

server is set to run as DLL surrogate, added x64 build

File size: 6.2 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 Sun Jun 16 11:06:26 2013
8 */
9/* Compiler settings for Library.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 __Library_i_h__
40#define __Library_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][uuid][object] */ 
80
81
82EXTERN_C const IID IID_IFoo;
83
84#if defined(__cplusplus) && !defined(CINTERFACE)
85   
86    MIDL_INTERFACE("955C1132-96DC-4221-86A3-BE4C8CEB698C")
87    IFoo : public IDispatch
88    {
89    public:
90        virtual /* [id] */ HRESULT STDMETHODCALLTYPE Bar1( 
91            /* [unique][in] */ BSTR *psValue) = 0;
92       
93        virtual /* [id] */ HRESULT STDMETHODCALLTYPE Bar2( 
94            /* [unique][out][in] */ BSTR *psValue) = 0;
95       
96    };
97   
98#else   /* C style interface */
99
100    typedef struct IFooVtbl
101    {
102        BEGIN_INTERFACE
103       
104        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
105            IFoo * This,
106            /* [in] */ REFIID riid,
107            /* [annotation][iid_is][out] */ 
108            __RPC__deref_out  void **ppvObject);
109       
110        ULONG ( STDMETHODCALLTYPE *AddRef )( 
111            IFoo * This);
112       
113        ULONG ( STDMETHODCALLTYPE *Release )( 
114            IFoo * This);
115       
116        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
117            IFoo * This,
118            /* [out] */ UINT *pctinfo);
119       
120        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
121            IFoo * This,
122            /* [in] */ UINT iTInfo,
123            /* [in] */ LCID lcid,
124            /* [out] */ ITypeInfo **ppTInfo);
125       
126        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
127            IFoo * This,
128            /* [in] */ REFIID riid,
129            /* [size_is][in] */ LPOLESTR *rgszNames,
130            /* [range][in] */ UINT cNames,
131            /* [in] */ LCID lcid,
132            /* [size_is][out] */ DISPID *rgDispId);
133       
134        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
135            IFoo * This,
136            /* [in] */ DISPID dispIdMember,
137            /* [in] */ REFIID riid,
138            /* [in] */ LCID lcid,
139            /* [in] */ WORD wFlags,
140            /* [out][in] */ DISPPARAMS *pDispParams,
141            /* [out] */ VARIANT *pVarResult,
142            /* [out] */ EXCEPINFO *pExcepInfo,
143            /* [out] */ UINT *puArgErr);
144       
145        /* [id] */ HRESULT ( STDMETHODCALLTYPE *Bar1 )( 
146            IFoo * This,
147            /* [unique][in] */ BSTR *psValue);
148       
149        /* [id] */ HRESULT ( STDMETHODCALLTYPE *Bar2 )( 
150            IFoo * This,
151            /* [unique][out][in] */ BSTR *psValue);
152       
153        END_INTERFACE
154    } IFooVtbl;
155
156    interface IFoo
157    {
158        CONST_VTBL struct IFooVtbl *lpVtbl;
159    };
160
161   
162
163#ifdef COBJMACROS
164
165
166#define IFoo_QueryInterface(This,riid,ppvObject)        \
167    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
168
169#define IFoo_AddRef(This)       \
170    ( (This)->lpVtbl -> AddRef(This) )
171
172#define IFoo_Release(This)      \
173    ( (This)->lpVtbl -> Release(This) )
174
175
176#define IFoo_GetTypeInfoCount(This,pctinfo)     \
177    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) )
178
179#define IFoo_GetTypeInfo(This,iTInfo,lcid,ppTInfo)      \
180    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) )
181
182#define IFoo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
183    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) )
184
185#define IFoo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)      \
186    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) )
187
188
189#define IFoo_Bar1(This,psValue) \
190    ( (This)->lpVtbl -> Bar1(This,psValue) )
191
192#define IFoo_Bar2(This,psValue) \
193    ( (This)->lpVtbl -> Bar2(This,psValue) )
194
195#endif /* COBJMACROS */
196
197
198#endif  /* C style interface */
199
200
201
202
203#endif  /* __IFoo_INTERFACE_DEFINED__ */
204
205
206
207#ifndef __LibraryLib_LIBRARY_DEFINED__
208#define __LibraryLib_LIBRARY_DEFINED__
209
210/* library LibraryLib */
211/* [version][uuid] */ 
212
213
214EXTERN_C const IID LIBID_LibraryLib;
215
216EXTERN_C const CLSID CLSID_Foo;
217
218#ifdef __cplusplus
219
220class DECLSPEC_UUID("4343C7C2-CA6E-4988-9373-FA5B3892EC6F")
221Foo;
222#endif
223#endif /* __LibraryLib_LIBRARY_DEFINED__ */
224
225/* Additional Prototypes for ALL interfaces */
226
227unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long *, unsigned long            , BSTR * ); 
228unsigned char * __RPC_USER  BSTR_UserMarshal(  unsigned long *, unsigned char *, BSTR * ); 
229unsigned char * __RPC_USER  BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); 
230void                      __RPC_USER  BSTR_UserFree(     unsigned long *, BSTR * ); 
231
232/* end of Additional Prototypes */
233
234#ifdef __cplusplus
235}
236#endif
237
238#endif
239
240
Note: See TracBrowser for help on using the repository browser.