Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

355 lines
11 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 5.01.0164 */
  3. /* at Tue May 04 19:57:16 1999
  4. */
  5. /* Compiler settings for S:\slm_pchealth\src\Upload\Client\EventWrapper\EventWrapper.idl:
  6. Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  7. error checks: allocation ref bounds_check enum stub_data
  8. */
  9. //@@MIDL_FILE_HEADING( )
  10. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  11. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  12. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  13. #endif
  14. #include "rpc.h"
  15. #include "rpcndr.h"
  16. #ifndef __RPCNDR_H_VERSION__
  17. #error this stub requires an updated version of <rpcndr.h>
  18. #endif // __RPCNDR_H_VERSION__
  19. #ifndef COM_NO_WINDOWS_H
  20. #include "windows.h"
  21. #include "ole2.h"
  22. #endif /*COM_NO_WINDOWS_H*/
  23. #ifndef __EventWrapper_h__
  24. #define __EventWrapper_h__
  25. #ifdef __cplusplus
  26. extern "C"{
  27. #endif
  28. /* Forward Declarations */
  29. #ifndef __IUploadEventsWrapper_FWD_DEFINED__
  30. #define __IUploadEventsWrapper_FWD_DEFINED__
  31. typedef interface IUploadEventsWrapper IUploadEventsWrapper;
  32. #endif /* __IUploadEventsWrapper_FWD_DEFINED__ */
  33. #ifndef ___IUploadEventsWrapperEvents_FWD_DEFINED__
  34. #define ___IUploadEventsWrapperEvents_FWD_DEFINED__
  35. typedef interface _IUploadEventsWrapperEvents _IUploadEventsWrapperEvents;
  36. #endif /* ___IUploadEventsWrapperEvents_FWD_DEFINED__ */
  37. #ifndef __UploadEventsWrapper_FWD_DEFINED__
  38. #define __UploadEventsWrapper_FWD_DEFINED__
  39. #ifdef __cplusplus
  40. typedef class UploadEventsWrapper UploadEventsWrapper;
  41. #else
  42. typedef struct UploadEventsWrapper UploadEventsWrapper;
  43. #endif /* __cplusplus */
  44. #endif /* __UploadEventsWrapper_FWD_DEFINED__ */
  45. /* header files for imported files */
  46. #include "oaidl.h"
  47. #include "ocidl.h"
  48. #include "UploadManager.h"
  49. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  50. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  51. #ifndef __IUploadEventsWrapper_INTERFACE_DEFINED__
  52. #define __IUploadEventsWrapper_INTERFACE_DEFINED__
  53. /* interface IUploadEventsWrapper */
  54. /* [unique][helpstring][dual][uuid][object] */
  55. EXTERN_C const IID IID_IUploadEventsWrapper;
  56. #if defined(__cplusplus) && !defined(CINTERFACE)
  57. MIDL_INTERFACE("5F341B81-0286-11D3-9397-00C04F72DAF7")
  58. IUploadEventsWrapper : public IMPCUploadEvents
  59. {
  60. public:
  61. virtual HRESULT STDMETHODCALLTYPE Register(
  62. /* [in] */ IMPCUploadJob __RPC_FAR *mpcujJob) = 0;
  63. };
  64. #else /* C style interface */
  65. typedef struct IUploadEventsWrapperVtbl
  66. {
  67. BEGIN_INTERFACE
  68. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  69. IUploadEventsWrapper __RPC_FAR * This,
  70. /* [in] */ REFIID riid,
  71. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  72. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  73. IUploadEventsWrapper __RPC_FAR * This);
  74. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  75. IUploadEventsWrapper __RPC_FAR * This);
  76. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  77. IUploadEventsWrapper __RPC_FAR * This,
  78. /* [out] */ UINT __RPC_FAR *pctinfo);
  79. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  80. IUploadEventsWrapper __RPC_FAR * This,
  81. /* [in] */ UINT iTInfo,
  82. /* [in] */ LCID lcid,
  83. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  84. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  85. IUploadEventsWrapper __RPC_FAR * This,
  86. /* [in] */ REFIID riid,
  87. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  88. /* [in] */ UINT cNames,
  89. /* [in] */ LCID lcid,
  90. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  91. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  92. IUploadEventsWrapper __RPC_FAR * This,
  93. /* [in] */ DISPID dispIdMember,
  94. /* [in] */ REFIID riid,
  95. /* [in] */ LCID lcid,
  96. /* [in] */ WORD wFlags,
  97. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  98. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  99. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  100. /* [out] */ UINT __RPC_FAR *puArgErr);
  101. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *onStatusChange )(
  102. IUploadEventsWrapper __RPC_FAR * This,
  103. /* [in] */ IMPCUploadJob __RPC_FAR *mpcujJob,
  104. /* [in] */ UL_STATUS status);
  105. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *onProgressChange )(
  106. IUploadEventsWrapper __RPC_FAR * This,
  107. /* [in] */ IMPCUploadJob __RPC_FAR *mpcujJob,
  108. /* [in] */ long lCurrentSize,
  109. /* [in] */ long lTotalSize);
  110. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Register )(
  111. IUploadEventsWrapper __RPC_FAR * This,
  112. /* [in] */ IMPCUploadJob __RPC_FAR *mpcujJob);
  113. END_INTERFACE
  114. } IUploadEventsWrapperVtbl;
  115. interface IUploadEventsWrapper
  116. {
  117. CONST_VTBL struct IUploadEventsWrapperVtbl __RPC_FAR *lpVtbl;
  118. };
  119. #ifdef COBJMACROS
  120. #define IUploadEventsWrapper_QueryInterface(This,riid,ppvObject) \
  121. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  122. #define IUploadEventsWrapper_AddRef(This) \
  123. (This)->lpVtbl -> AddRef(This)
  124. #define IUploadEventsWrapper_Release(This) \
  125. (This)->lpVtbl -> Release(This)
  126. #define IUploadEventsWrapper_GetTypeInfoCount(This,pctinfo) \
  127. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  128. #define IUploadEventsWrapper_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  129. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  130. #define IUploadEventsWrapper_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  131. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  132. #define IUploadEventsWrapper_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  133. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  134. #define IUploadEventsWrapper_onStatusChange(This,mpcujJob,status) \
  135. (This)->lpVtbl -> onStatusChange(This,mpcujJob,status)
  136. #define IUploadEventsWrapper_onProgressChange(This,mpcujJob,lCurrentSize,lTotalSize) \
  137. (This)->lpVtbl -> onProgressChange(This,mpcujJob,lCurrentSize,lTotalSize)
  138. #define IUploadEventsWrapper_Register(This,mpcujJob) \
  139. (This)->lpVtbl -> Register(This,mpcujJob)
  140. #endif /* COBJMACROS */
  141. #endif /* C style interface */
  142. HRESULT STDMETHODCALLTYPE IUploadEventsWrapper_Register_Proxy(
  143. IUploadEventsWrapper __RPC_FAR * This,
  144. /* [in] */ IMPCUploadJob __RPC_FAR *mpcujJob);
  145. void __RPC_STUB IUploadEventsWrapper_Register_Stub(
  146. IRpcStubBuffer *This,
  147. IRpcChannelBuffer *_pRpcChannelBuffer,
  148. PRPC_MESSAGE _pRpcMessage,
  149. DWORD *_pdwStubPhase);
  150. #endif /* __IUploadEventsWrapper_INTERFACE_DEFINED__ */
  151. #ifndef __EVENTWRAPPERLib_LIBRARY_DEFINED__
  152. #define __EVENTWRAPPERLib_LIBRARY_DEFINED__
  153. /* library EVENTWRAPPERLib */
  154. /* [helpstring][version][uuid] */
  155. EXTERN_C const IID LIBID_EVENTWRAPPERLib;
  156. #ifndef ___IUploadEventsWrapperEvents_DISPINTERFACE_DEFINED__
  157. #define ___IUploadEventsWrapperEvents_DISPINTERFACE_DEFINED__
  158. /* dispinterface _IUploadEventsWrapperEvents */
  159. /* [helpstring][uuid] */
  160. EXTERN_C const IID DIID__IUploadEventsWrapperEvents;
  161. #if defined(__cplusplus) && !defined(CINTERFACE)
  162. MIDL_INTERFACE("5F341B83-0286-11D3-9397-00C04F72DAF7")
  163. _IUploadEventsWrapperEvents : public IDispatch
  164. {
  165. };
  166. #else /* C style interface */
  167. typedef struct _IUploadEventsWrapperEventsVtbl
  168. {
  169. BEGIN_INTERFACE
  170. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  171. _IUploadEventsWrapperEvents __RPC_FAR * This,
  172. /* [in] */ REFIID riid,
  173. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  174. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  175. _IUploadEventsWrapperEvents __RPC_FAR * This);
  176. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  177. _IUploadEventsWrapperEvents __RPC_FAR * This);
  178. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  179. _IUploadEventsWrapperEvents __RPC_FAR * This,
  180. /* [out] */ UINT __RPC_FAR *pctinfo);
  181. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  182. _IUploadEventsWrapperEvents __RPC_FAR * This,
  183. /* [in] */ UINT iTInfo,
  184. /* [in] */ LCID lcid,
  185. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  186. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  187. _IUploadEventsWrapperEvents __RPC_FAR * This,
  188. /* [in] */ REFIID riid,
  189. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  190. /* [in] */ UINT cNames,
  191. /* [in] */ LCID lcid,
  192. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  193. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  194. _IUploadEventsWrapperEvents __RPC_FAR * This,
  195. /* [in] */ DISPID dispIdMember,
  196. /* [in] */ REFIID riid,
  197. /* [in] */ LCID lcid,
  198. /* [in] */ WORD wFlags,
  199. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  200. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  201. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  202. /* [out] */ UINT __RPC_FAR *puArgErr);
  203. END_INTERFACE
  204. } _IUploadEventsWrapperEventsVtbl;
  205. interface _IUploadEventsWrapperEvents
  206. {
  207. CONST_VTBL struct _IUploadEventsWrapperEventsVtbl __RPC_FAR *lpVtbl;
  208. };
  209. #ifdef COBJMACROS
  210. #define _IUploadEventsWrapperEvents_QueryInterface(This,riid,ppvObject) \
  211. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  212. #define _IUploadEventsWrapperEvents_AddRef(This) \
  213. (This)->lpVtbl -> AddRef(This)
  214. #define _IUploadEventsWrapperEvents_Release(This) \
  215. (This)->lpVtbl -> Release(This)
  216. #define _IUploadEventsWrapperEvents_GetTypeInfoCount(This,pctinfo) \
  217. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  218. #define _IUploadEventsWrapperEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  219. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  220. #define _IUploadEventsWrapperEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  221. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  222. #define _IUploadEventsWrapperEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  223. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  224. #endif /* COBJMACROS */
  225. #endif /* C style interface */
  226. #endif /* ___IUploadEventsWrapperEvents_DISPINTERFACE_DEFINED__ */
  227. EXTERN_C const CLSID CLSID_UploadEventsWrapper;
  228. #ifdef __cplusplus
  229. class DECLSPEC_UUID("5F341B82-0286-11D3-9397-00C04F72DAF7")
  230. UploadEventsWrapper;
  231. #endif
  232. #endif /* __EVENTWRAPPERLib_LIBRARY_DEFINED__ */
  233. /* Additional Prototypes for ALL interfaces */
  234. /* end of Additional Prototypes */
  235. #ifdef __cplusplus
  236. }
  237. #endif
  238. #endif