1 /* Microsoft Corporation Copyright 1999 */
2 /* this ALWAYS GENERATED file contains the definitions for the interfaces */
3
4
5 /* File created by MIDL compiler version 3.03.0110 */
6 /* at Tue Aug 25 10:20:38 1998
7  */
8 /* Compiler settings for S:\zen\ocp.idl:
9       Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
10       error checks: none
11 */
12 //@@MIDL_FILE_HEADING(  )
13
14
15 #ifndef I_SIMPDC_H_
16 #define I_SIMPDC_H_
17
18 /* verify that the <rpcndr.h> version is high enough to compile this file*/
19 #ifndef __REQUIRED_RPCNDR_H_VERSION__
20 #define __REQUIRED_RPCNDR_H_VERSION__ 440
21 #endif
22
23 #include "rpc.h"
24 #include "rpcndr.h"
25
26 #ifdef __cplusplus
27 extern "C"{
28 #endif 
29
30 /* Forward Declarations */ 
31
32 #ifndef __ISimpleDataConverter_FWD_DEFINED__
33 #define __ISimpleDataConverter_FWD_DEFINED__
34 typedef interface ISimpleDataConverter ISimpleDataConverter;
35 #endif     /* __ISimpleDataConverter_FWD_DEFINED__ */
36
37
38 /* header files for imported files */
39 #include "oaidl.h"
40 #include "ocidl.h"
41
42 void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
43 void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
44
45
46 #ifndef __ISimpleDataConverter_INTERFACE_DEFINED__
47 #define __ISimpleDataConverter_INTERFACE_DEFINED__
48
49 /****************************************
50  * Generated header for interface: ISimpleDataConverter
51  * at Tue Aug 25 10:20:38 1998
52  * using MIDL 3.03.0110
53  ****************************************/
54 /* [hidden][helpcontext][unique][uuid][object] */ 
55
56
57
58 DEFINE_GUID(IID_ISimpleDataConverter,0x78667670,0x3C3D,0x11d2,0x91,0xF9,0x00,0x60,0x97,0xC9,0x7F,0x9B);
59
60 #if defined(__cplusplus) && !defined(CINTERFACE)
61       
62       MIDL_INTERFACE("78667670-3C3D-11d2-91F9-006097C97F9B")
63       ISimpleDataConverter : public IUnknown
64       {
65       public:
66              virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE ConvertData( 
67                     VARIANT varSrc,
68                     long vtDest,
69                     IUnknown __RPC_FAR *pUnknownElement,
70                     VARIANT __RPC_FAR *pvarDest) = 0;
71              
72              virtual /* [helpcontext] */ HRESULT STDMETHODCALLTYPE CanConvertData( 
73                     long vt1,
74                     long vt2) = 0;
75              
76       };
77       
78 #else     /* C style interface */
79
80       typedef struct ISimpleDataConverterVtbl
81       {
82              BEGIN_INTERFACE
83              
84              HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
85                     ISimpleDataConverter __RPC_FAR * This,
86                     /* [in] */ REFIID riid,
87                     /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
88              
89              ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
90                     ISimpleDataConverter __RPC_FAR * This);
91              
92              ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
93                     ISimpleDataConverter __RPC_FAR * This);
94              
95              /* [helpcontext] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ConvertData )( 
96                     ISimpleDataConverter __RPC_FAR * This,
Lines 97 ... 106 are skipped.
107              END_INTERFACE
108       } ISimpleDataConverterVtbl;
109
110       interface ISimpleDataConverter
111       {
112              CONST_VTBL struct ISimpleDataConverterVtbl __RPC_FAR *lpVtbl;
113       };
114
115       
116
117 #ifdef COBJMACROS
118
119
120 #define ISimpleDataConverter_QueryInterface(This,riid,ppvObject)    \
121       (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
122
123 #define ISimpleDataConverter_AddRef(This)    \
124       (This)->lpVtbl -> AddRef(This)
125
126 #define ISimpleDataConverter_Release(This)    \
127       (This)->lpVtbl -> Release(This)
128
129
130 #define ISimpleDataConverter_ConvertData(This,varSrc,vtDest,pUnknownElement,pvarDest)    \
131       (This)->lpVtbl -> ConvertData(This,varSrc,vtDest,pUnknownElement,pvarDest)
132
133 #define ISimpleDataConverter_CanConvertData(This,vt1,vt2)    \
134       (This)->lpVtbl -> CanConvertData(This,vt1,vt2)
135
136 #endif /* COBJMACROS */
137
138
139 #endif     /* C style interface */
140
141
142
143 /* [helpcontext] */ HRESULT STDMETHODCALLTYPE ISimpleDataConverter_ConvertData_Proxy( 
144       ISimpleDataConverter __RPC_FAR * This,
145       VARIANT varSrc,
146       long vtDest,
147       IUnknown __RPC_FAR *pUnknownElement,
148       VARIANT __RPC_FAR *pvarDest);
149
150
151 void __RPC_STUB ISimpleDataConverter_ConvertData_Stub(
152       IRpcStubBuffer *This,
153       IRpcChannelBuffer *_pRpcChannelBuffer,
154       PRPC_MESSAGE _pRpcMessage,
155       DWORD *_pdwStubPhase);
156
157
158 /* [helpcontext] */ HRESULT STDMETHODCALLTYPE ISimpleDataConverter_CanConvertData_Proxy( 
159       ISimpleDataConverter __RPC_FAR * This,
160       long vt1,
161       long vt2);
162
163
164 void __RPC_STUB ISimpleDataConverter_CanConvertData_Stub(
165       IRpcStubBuffer *This,
166       IRpcChannelBuffer *_pRpcChannelBuffer,
167       PRPC_MESSAGE _pRpcMessage,
168       DWORD *_pdwStubPhase);
169
170
171
172 #endif     /* __ISimpleDataConverter_INTERFACE_DEFINED__ */
173
174 /* Additional Prototypes for ALL interfaces */
175
176 /* end of Additional Prototypes */
177
178 #ifdef __cplusplus
179 }
180 #endif
181
182 #endif I_SIMPDC_H_
183