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.

316 lines
9.8 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. #pragma warning( disable: 4100 ) /* unreferenced arguments in x86 call */
  3. #pragma warning( disable: 4211 ) /* redefine extent to static */
  4. #pragma warning( disable: 4232 ) /* dllimport identity*/
  5. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  6. /* File created by MIDL compiler version 6.00.0359 */
  7. /* Compiler settings for appcompr.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. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  17. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  18. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  19. #endif
  20. #include "rpc.h"
  21. #include "rpcndr.h"
  22. #ifndef __RPCNDR_H_VERSION__
  23. #error this stub requires an updated version of <rpcndr.h>
  24. #endif // __RPCNDR_H_VERSION__
  25. #ifndef COM_NO_WINDOWS_H
  26. #include "windows.h"
  27. #include "ole2.h"
  28. #endif /*COM_NO_WINDOWS_H*/
  29. #ifndef __appcompr_h__
  30. #define __appcompr_h__
  31. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  32. #pragma once
  33. #endif
  34. /* Forward Declarations */
  35. #ifndef __IAppReport_FWD_DEFINED__
  36. #define __IAppReport_FWD_DEFINED__
  37. typedef interface IAppReport IAppReport;
  38. #endif /* __IAppReport_FWD_DEFINED__ */
  39. #ifndef __AppReport_FWD_DEFINED__
  40. #define __AppReport_FWD_DEFINED__
  41. #ifdef __cplusplus
  42. typedef class AppReport AppReport;
  43. #else
  44. typedef struct AppReport AppReport;
  45. #endif /* __cplusplus */
  46. #endif /* __AppReport_FWD_DEFINED__ */
  47. /* header files for imported files */
  48. #include "oaidl.h"
  49. #include "ocidl.h"
  50. #ifdef __cplusplus
  51. extern "C"{
  52. #endif
  53. void * __RPC_USER MIDL_user_allocate(size_t);
  54. void __RPC_USER MIDL_user_free( void * );
  55. #ifndef __IAppReport_INTERFACE_DEFINED__
  56. #define __IAppReport_INTERFACE_DEFINED__
  57. /* interface IAppReport */
  58. /* [unique][helpstring][dual][uuid][object] */
  59. EXTERN_C const IID IID_IAppReport;
  60. #if defined(__cplusplus) && !defined(CINTERFACE)
  61. MIDL_INTERFACE("CDCA6A6F-9C38-4828-A76C-05A6E490E574")
  62. IAppReport : public IDispatch
  63. {
  64. public:
  65. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE BrowseForExecutable(
  66. /* [in] */ BSTR bstrWinTitle,
  67. /* [in] */ BSTR bstrPreviousPath,
  68. /* [retval][out] */ VARIANT *bstrExeName) = 0;
  69. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetApplicationFromList(
  70. /* [in] */ BSTR bstrTitle,
  71. /* [retval][out] */ VARIANT *bstrExeName) = 0;
  72. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateReport(
  73. /* [in] */ BSTR bstrTitle,
  74. /* [in] */ BSTR bstrProblemType,
  75. /* [in] */ BSTR bstrComment,
  76. /* [in] */ BSTR bstrACWResult,
  77. /* [in] */ BSTR bstrAppName,
  78. /* [retval][out] */ VARIANT *DwResult) = 0;
  79. };
  80. #else /* C style interface */
  81. typedef struct IAppReportVtbl
  82. {
  83. BEGIN_INTERFACE
  84. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  85. IAppReport * This,
  86. /* [in] */ REFIID riid,
  87. /* [iid_is][out] */ void **ppvObject);
  88. ULONG ( STDMETHODCALLTYPE *AddRef )(
  89. IAppReport * This);
  90. ULONG ( STDMETHODCALLTYPE *Release )(
  91. IAppReport * This);
  92. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  93. IAppReport * This,
  94. /* [out] */ UINT *pctinfo);
  95. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  96. IAppReport * This,
  97. /* [in] */ UINT iTInfo,
  98. /* [in] */ LCID lcid,
  99. /* [out] */ ITypeInfo **ppTInfo);
  100. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  101. IAppReport * This,
  102. /* [in] */ REFIID riid,
  103. /* [size_is][in] */ LPOLESTR *rgszNames,
  104. /* [in] */ UINT cNames,
  105. /* [in] */ LCID lcid,
  106. /* [size_is][out] */ DISPID *rgDispId);
  107. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  108. IAppReport * This,
  109. /* [in] */ DISPID dispIdMember,
  110. /* [in] */ REFIID riid,
  111. /* [in] */ LCID lcid,
  112. /* [in] */ WORD wFlags,
  113. /* [out][in] */ DISPPARAMS *pDispParams,
  114. /* [out] */ VARIANT *pVarResult,
  115. /* [out] */ EXCEPINFO *pExcepInfo,
  116. /* [out] */ UINT *puArgErr);
  117. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *BrowseForExecutable )(
  118. IAppReport * This,
  119. /* [in] */ BSTR bstrWinTitle,
  120. /* [in] */ BSTR bstrPreviousPath,
  121. /* [retval][out] */ VARIANT *bstrExeName);
  122. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetApplicationFromList )(
  123. IAppReport * This,
  124. /* [in] */ BSTR bstrTitle,
  125. /* [retval][out] */ VARIANT *bstrExeName);
  126. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateReport )(
  127. IAppReport * This,
  128. /* [in] */ BSTR bstrTitle,
  129. /* [in] */ BSTR bstrProblemType,
  130. /* [in] */ BSTR bstrComment,
  131. /* [in] */ BSTR bstrACWResult,
  132. /* [in] */ BSTR bstrAppName,
  133. /* [retval][out] */ VARIANT *DwResult);
  134. END_INTERFACE
  135. } IAppReportVtbl;
  136. interface IAppReport
  137. {
  138. CONST_VTBL struct IAppReportVtbl *lpVtbl;
  139. };
  140. #ifdef COBJMACROS
  141. #define IAppReport_QueryInterface(This,riid,ppvObject) \
  142. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  143. #define IAppReport_AddRef(This) \
  144. (This)->lpVtbl -> AddRef(This)
  145. #define IAppReport_Release(This) \
  146. (This)->lpVtbl -> Release(This)
  147. #define IAppReport_GetTypeInfoCount(This,pctinfo) \
  148. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  149. #define IAppReport_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  150. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  151. #define IAppReport_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  152. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  153. #define IAppReport_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  154. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  155. #define IAppReport_BrowseForExecutable(This,bstrWinTitle,bstrPreviousPath,bstrExeName) \
  156. (This)->lpVtbl -> BrowseForExecutable(This,bstrWinTitle,bstrPreviousPath,bstrExeName)
  157. #define IAppReport_GetApplicationFromList(This,bstrTitle,bstrExeName) \
  158. (This)->lpVtbl -> GetApplicationFromList(This,bstrTitle,bstrExeName)
  159. #define IAppReport_CreateReport(This,bstrTitle,bstrProblemType,bstrComment,bstrACWResult,bstrAppName,DwResult) \
  160. (This)->lpVtbl -> CreateReport(This,bstrTitle,bstrProblemType,bstrComment,bstrACWResult,bstrAppName,DwResult)
  161. #endif /* COBJMACROS */
  162. #endif /* C style interface */
  163. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAppReport_BrowseForExecutable_Proxy(
  164. IAppReport * This,
  165. /* [in] */ BSTR bstrWinTitle,
  166. /* [in] */ BSTR bstrPreviousPath,
  167. /* [retval][out] */ VARIANT *bstrExeName);
  168. void __RPC_STUB IAppReport_BrowseForExecutable_Stub(
  169. IRpcStubBuffer *This,
  170. IRpcChannelBuffer *_pRpcChannelBuffer,
  171. PRPC_MESSAGE _pRpcMessage,
  172. DWORD *_pdwStubPhase);
  173. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAppReport_GetApplicationFromList_Proxy(
  174. IAppReport * This,
  175. /* [in] */ BSTR bstrTitle,
  176. /* [retval][out] */ VARIANT *bstrExeName);
  177. void __RPC_STUB IAppReport_GetApplicationFromList_Stub(
  178. IRpcStubBuffer *This,
  179. IRpcChannelBuffer *_pRpcChannelBuffer,
  180. PRPC_MESSAGE _pRpcMessage,
  181. DWORD *_pdwStubPhase);
  182. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAppReport_CreateReport_Proxy(
  183. IAppReport * This,
  184. /* [in] */ BSTR bstrTitle,
  185. /* [in] */ BSTR bstrProblemType,
  186. /* [in] */ BSTR bstrComment,
  187. /* [in] */ BSTR bstrACWResult,
  188. /* [in] */ BSTR bstrAppName,
  189. /* [retval][out] */ VARIANT *DwResult);
  190. void __RPC_STUB IAppReport_CreateReport_Stub(
  191. IRpcStubBuffer *This,
  192. IRpcChannelBuffer *_pRpcChannelBuffer,
  193. PRPC_MESSAGE _pRpcMessage,
  194. DWORD *_pdwStubPhase);
  195. #endif /* __IAppReport_INTERFACE_DEFINED__ */
  196. #ifndef __APPCOMPRLib_LIBRARY_DEFINED__
  197. #define __APPCOMPRLib_LIBRARY_DEFINED__
  198. /* library APPCOMPRLib */
  199. /* [helpstring][version][uuid] */
  200. EXTERN_C const IID LIBID_APPCOMPRLib;
  201. EXTERN_C const CLSID CLSID_AppReport;
  202. #ifdef __cplusplus
  203. class DECLSPEC_UUID("E065DE4B-6F0E-45FD-B30F-04ED81D5C258")
  204. AppReport;
  205. #endif
  206. #endif /* __APPCOMPRLib_LIBRARY_DEFINED__ */
  207. /* Additional Prototypes for ALL interfaces */
  208. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  209. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  210. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  211. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  212. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  213. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  214. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  215. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  216. /* end of Additional Prototypes */
  217. #ifdef __cplusplus
  218. }
  219. #endif
  220. #endif