1
2
3 /* this ALWAYS GENERATED file contains the definitions for the interfaces */
4
5
6  /* File created by MIDL compiler version 7.00.0499 */
7 /* Compiler settings for ctxtcall.idl:
8       Oicf, W1, Zp8, env=Win32 (32b run)
9       protocol : dce , ms_ext, c_ext, robust
10       error checks: allocation ref bounds_check enum stub_data 
11       VC __declspec() decoration level: 
12                __declspec(uuid()), __declspec(selectany), __declspec(novtable)
13                DECLSPEC_UUID(), MIDL_INTERFACE()
14 */
15 //@@MIDL_FILE_HEADING(  )
16
17 #pragma warning( disable: 4049 )  /* more than 64k source lines */
18
19
20 /* verify that the <rpcndr.h> version is high enough to compile this file*/
21 #ifndef __REQUIRED_RPCNDR_H_VERSION__
22 #define __REQUIRED_RPCNDR_H_VERSION__ 500
23 #endif
24
25 /* verify that the <rpcsal.h> version is high enough to compile this file*/
26 #ifndef __REQUIRED_RPCSAL_H_VERSION__
27 #define __REQUIRED_RPCSAL_H_VERSION__ 100
28 #endif
29
30 #include "rpc.h"
31 #include "rpcndr.h"
32
33 #ifndef __RPCNDR_H_VERSION__
34 #error this stub requires an updated version of <rpcndr.h>
35 #endif // __RPCNDR_H_VERSION__
36
37 #ifndef COM_NO_WINDOWS_H
38 #include "windows.h"
39 #include "ole2.h"
40 #endif /*COM_NO_WINDOWS_H*/
41
42 #ifndef __ctxtcall_h__
43 #define __ctxtcall_h__
44
45 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
46 #pragma once
47 #endif
48
49 /* Forward Declarations */ 
50
51 #ifndef __IContextCallback_FWD_DEFINED__
52 #define __IContextCallback_FWD_DEFINED__
53 typedef interface IContextCallback IContextCallback;
54 #endif     /* __IContextCallback_FWD_DEFINED__ */
55
56
57 /* header files for imported files */
58 #include "wtypes.h"
59 #include "objidl.h"
60
61 #ifdef __cplusplus
62 extern "C"{
63 #endif 
64
65
66 /* interface __MIDL_itf_ctxtcall_0000_0000 */
67 /* [local] */ 
68
69 //+-----------------------------------------------------------------
70 //
71 //  Microsoft Windows
72 //  Copyright (c) Microsoft Corporation. All rights reserved.
73 //
74 //------------------------------------------------------------------
75 typedef struct tagComCallData
76       {
77       DWORD dwDispid;
78       DWORD dwReserved;
79       void *pUserDefined;
80       }     ComCallData;
81
82
83
84 extern RPC_IF_HANDLE __MIDL_itf_ctxtcall_0000_0000_v0_0_c_ifspec;
85 extern RPC_IF_HANDLE __MIDL_itf_ctxtcall_0000_0000_v0_0_s_ifspec;
86
87 #ifndef __IContextCallback_INTERFACE_DEFINED__
88 #define __IContextCallback_INTERFACE_DEFINED__
89
90 /* interface IContextCallback */
91 /* [unique][uuid][object][local] */ 
92
93 typedef /* [ref] */ HRESULT ( __stdcall *PFNCONTEXTCALL )( 
94       ComCallData *pParam);
95
96
97 EXTERN_C const IID IID_IContextCallback;
98
99 #if defined(__cplusplus) && !defined(CINTERFACE)
100       
Lines 101 ... 110 are skipped.
111              
112       };
113       
114 #else     /* C style interface */
115
116       typedef struct IContextCallbackVtbl
117       {
118              BEGIN_INTERFACE
119              
120              HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
121                     IContextCallback * This,
122                     /* [in] */ REFIID riid,
123                     /* [iid_is][out] */ 
124                     __RPC__deref_out  void **ppvObject);
125              
126              ULONG ( STDMETHODCALLTYPE *AddRef )( 
127                     IContextCallback * This);
128              
129              ULONG ( STDMETHODCALLTYPE *Release )( 
130                     IContextCallback * This);
131              
132              HRESULT ( STDMETHODCALLTYPE *ContextCallback )( 
133                     IContextCallback * This,
134                     /* [in] */ PFNCONTEXTCALL pfnCallback,
135                     /* [in] */ ComCallData *pParam,
136                     /* [in] */ REFIID riid,
137                     /* [in] */ int iMethod,
138                     /* [in] */ IUnknown *pUnk);
139              
140              END_INTERFACE
141       } IContextCallbackVtbl;
142
143       interface IContextCallback
144       {
145              CONST_VTBL struct IContextCallbackVtbl *lpVtbl;
146       };
147
148       
149
150 #ifdef COBJMACROS
151
152
153 #define IContextCallback_QueryInterface(This,riid,ppvObject)    \
154       ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
155
156 #define IContextCallback_AddRef(This)    \
157       ( (This)->lpVtbl -> AddRef(This) ) 
158
159 #define IContextCallback_Release(This)    \
160       ( (This)->lpVtbl -> Release(This) ) 
161
162
163 #define IContextCallback_ContextCallback(This,pfnCallback,pParam,riid,iMethod,pUnk)    \
164       ( (This)->lpVtbl -> ContextCallback(This,pfnCallback,pParam,riid,iMethod,pUnk) ) 
165
166 #endif /* COBJMACROS */
167
168
169 #endif     /* C style interface */
170
171
172
173
174 #endif     /* __IContextCallback_INTERFACE_DEFINED__ */
175
176
177 /* Additional Prototypes for ALL interfaces */
178
179 /* end of Additional Prototypes */
180
181 #ifdef __cplusplus
182 }
183 #endif
184
185 #endif
186
187
188
189