Source code of Windows XP (NT5)
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.

326 lines
9.6 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 5.01.0164 */
  3. /* at Wed May 02 22:13:55 2001
  4. */
  5. /* Compiler settings for fpcyscom.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 __fpcyscom_h__
  24. #define __fpcyscom_h__
  25. #ifdef __cplusplus
  26. extern "C"{
  27. #endif
  28. /* Forward Declarations */
  29. #ifndef __ISpCys_FWD_DEFINED__
  30. #define __ISpCys_FWD_DEFINED__
  31. typedef interface ISpCys ISpCys;
  32. #endif /* __ISpCys_FWD_DEFINED__ */
  33. #ifndef __SpCys_FWD_DEFINED__
  34. #define __SpCys_FWD_DEFINED__
  35. #ifdef __cplusplus
  36. typedef class SpCys SpCys;
  37. #else
  38. typedef struct SpCys SpCys;
  39. #endif /* __cplusplus */
  40. #endif /* __SpCys_FWD_DEFINED__ */
  41. /* header files for imported files */
  42. #include "oaidl.h"
  43. #include "ocidl.h"
  44. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  45. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  46. #ifndef __ISpCys_INTERFACE_DEFINED__
  47. #define __ISpCys_INTERFACE_DEFINED__
  48. /* interface ISpCys */
  49. /* [unique][helpstring][dual][uuid][object] */
  50. EXTERN_C const IID IID_ISpCys;
  51. #if defined(__cplusplus) && !defined(CINTERFACE)
  52. MIDL_INTERFACE("389C9713-9775-4206-A047-A2F749F8039D")
  53. ISpCys : public IDispatch
  54. {
  55. public:
  56. virtual HRESULT STDMETHODCALLTYPE SPAlreadyInstalled(
  57. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbInstalled) = 0;
  58. virtual HRESULT STDMETHODCALLTYPE SPAskReplace(
  59. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbNeedToAsk) = 0;
  60. virtual HRESULT STDMETHODCALLTYPE SPNonDefaultHomePage(
  61. /* [retval][out] */ BSTR __RPC_FAR *pszHomePage) = 0;
  62. virtual HRESULT STDMETHODCALLTYPE SPInstall(
  63. /* [in] */ VARIANT_BOOL bReplaceHomePage,
  64. /* [in] */ BSTR szDiskName,
  65. /* [retval][out] */ BSTR __RPC_FAR *pszErrorString) = 0;
  66. virtual HRESULT STDMETHODCALLTYPE SPGetMessageIDs(
  67. /* [out][in] */ DWORD __RPC_FAR *pcArray,
  68. /* [retval][out] */ DWORD __RPC_FAR *pArray) = 0;
  69. };
  70. #else /* C style interface */
  71. typedef struct ISpCysVtbl
  72. {
  73. BEGIN_INTERFACE
  74. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  75. ISpCys __RPC_FAR * This,
  76. /* [in] */ REFIID riid,
  77. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  78. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  79. ISpCys __RPC_FAR * This);
  80. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  81. ISpCys __RPC_FAR * This);
  82. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  83. ISpCys __RPC_FAR * This,
  84. /* [out] */ UINT __RPC_FAR *pctinfo);
  85. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  86. ISpCys __RPC_FAR * This,
  87. /* [in] */ UINT iTInfo,
  88. /* [in] */ LCID lcid,
  89. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  90. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  91. ISpCys __RPC_FAR * This,
  92. /* [in] */ REFIID riid,
  93. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  94. /* [in] */ UINT cNames,
  95. /* [in] */ LCID lcid,
  96. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  97. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  98. ISpCys __RPC_FAR * This,
  99. /* [in] */ DISPID dispIdMember,
  100. /* [in] */ REFIID riid,
  101. /* [in] */ LCID lcid,
  102. /* [in] */ WORD wFlags,
  103. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  104. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  105. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  106. /* [out] */ UINT __RPC_FAR *puArgErr);
  107. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SPAlreadyInstalled )(
  108. ISpCys __RPC_FAR * This,
  109. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbInstalled);
  110. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SPAskReplace )(
  111. ISpCys __RPC_FAR * This,
  112. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbNeedToAsk);
  113. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SPNonDefaultHomePage )(
  114. ISpCys __RPC_FAR * This,
  115. /* [retval][out] */ BSTR __RPC_FAR *pszHomePage);
  116. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SPInstall )(
  117. ISpCys __RPC_FAR * This,
  118. /* [in] */ VARIANT_BOOL bReplaceHomePage,
  119. /* [in] */ BSTR szDiskName,
  120. /* [retval][out] */ BSTR __RPC_FAR *pszErrorString);
  121. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SPGetMessageIDs )(
  122. ISpCys __RPC_FAR * This,
  123. /* [out][in] */ DWORD __RPC_FAR *pcArray,
  124. /* [retval][out] */ DWORD __RPC_FAR *pArray);
  125. END_INTERFACE
  126. } ISpCysVtbl;
  127. interface ISpCys
  128. {
  129. CONST_VTBL struct ISpCysVtbl __RPC_FAR *lpVtbl;
  130. };
  131. #ifdef COBJMACROS
  132. #define ISpCys_QueryInterface(This,riid,ppvObject) \
  133. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  134. #define ISpCys_AddRef(This) \
  135. (This)->lpVtbl -> AddRef(This)
  136. #define ISpCys_Release(This) \
  137. (This)->lpVtbl -> Release(This)
  138. #define ISpCys_GetTypeInfoCount(This,pctinfo) \
  139. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  140. #define ISpCys_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  141. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  142. #define ISpCys_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  143. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  144. #define ISpCys_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  145. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  146. #define ISpCys_SPAlreadyInstalled(This,pbInstalled) \
  147. (This)->lpVtbl -> SPAlreadyInstalled(This,pbInstalled)
  148. #define ISpCys_SPAskReplace(This,pbNeedToAsk) \
  149. (This)->lpVtbl -> SPAskReplace(This,pbNeedToAsk)
  150. #define ISpCys_SPNonDefaultHomePage(This,pszHomePage) \
  151. (This)->lpVtbl -> SPNonDefaultHomePage(This,pszHomePage)
  152. #define ISpCys_SPInstall(This,bReplaceHomePage,szDiskName,pszErrorString) \
  153. (This)->lpVtbl -> SPInstall(This,bReplaceHomePage,szDiskName,pszErrorString)
  154. #define ISpCys_SPGetMessageIDs(This,pcArray,pArray) \
  155. (This)->lpVtbl -> SPGetMessageIDs(This,pcArray,pArray)
  156. #endif /* COBJMACROS */
  157. #endif /* C style interface */
  158. HRESULT STDMETHODCALLTYPE ISpCys_SPAlreadyInstalled_Proxy(
  159. ISpCys __RPC_FAR * This,
  160. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbInstalled);
  161. void __RPC_STUB ISpCys_SPAlreadyInstalled_Stub(
  162. IRpcStubBuffer *This,
  163. IRpcChannelBuffer *_pRpcChannelBuffer,
  164. PRPC_MESSAGE _pRpcMessage,
  165. DWORD *_pdwStubPhase);
  166. HRESULT STDMETHODCALLTYPE ISpCys_SPAskReplace_Proxy(
  167. ISpCys __RPC_FAR * This,
  168. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbNeedToAsk);
  169. void __RPC_STUB ISpCys_SPAskReplace_Stub(
  170. IRpcStubBuffer *This,
  171. IRpcChannelBuffer *_pRpcChannelBuffer,
  172. PRPC_MESSAGE _pRpcMessage,
  173. DWORD *_pdwStubPhase);
  174. HRESULT STDMETHODCALLTYPE ISpCys_SPNonDefaultHomePage_Proxy(
  175. ISpCys __RPC_FAR * This,
  176. /* [retval][out] */ BSTR __RPC_FAR *pszHomePage);
  177. void __RPC_STUB ISpCys_SPNonDefaultHomePage_Stub(
  178. IRpcStubBuffer *This,
  179. IRpcChannelBuffer *_pRpcChannelBuffer,
  180. PRPC_MESSAGE _pRpcMessage,
  181. DWORD *_pdwStubPhase);
  182. HRESULT STDMETHODCALLTYPE ISpCys_SPInstall_Proxy(
  183. ISpCys __RPC_FAR * This,
  184. /* [in] */ VARIANT_BOOL bReplaceHomePage,
  185. /* [in] */ BSTR szDiskName,
  186. /* [retval][out] */ BSTR __RPC_FAR *pszErrorString);
  187. void __RPC_STUB ISpCys_SPInstall_Stub(
  188. IRpcStubBuffer *This,
  189. IRpcChannelBuffer *_pRpcChannelBuffer,
  190. PRPC_MESSAGE _pRpcMessage,
  191. DWORD *_pdwStubPhase);
  192. HRESULT STDMETHODCALLTYPE ISpCys_SPGetMessageIDs_Proxy(
  193. ISpCys __RPC_FAR * This,
  194. /* [out][in] */ DWORD __RPC_FAR *pcArray,
  195. /* [retval][out] */ DWORD __RPC_FAR *pArray);
  196. void __RPC_STUB ISpCys_SPGetMessageIDs_Stub(
  197. IRpcStubBuffer *This,
  198. IRpcChannelBuffer *_pRpcChannelBuffer,
  199. PRPC_MESSAGE _pRpcMessage,
  200. DWORD *_pdwStubPhase);
  201. #endif /* __ISpCys_INTERFACE_DEFINED__ */
  202. #ifndef __SPCYSCOMLib_LIBRARY_DEFINED__
  203. #define __SPCYSCOMLib_LIBRARY_DEFINED__
  204. /* library SPCYSCOMLib */
  205. /* [helpstring][version][uuid] */
  206. EXTERN_C const IID LIBID_SPCYSCOMLib;
  207. EXTERN_C const CLSID CLSID_SpCys;
  208. #ifdef __cplusplus
  209. class DECLSPEC_UUID("252EF1C7-6625-4D44-AB9D-1D80E61384F9")
  210. SpCys;
  211. #endif
  212. #endif /* __SPCYSCOMLib_LIBRARY_DEFINED__ */
  213. /* Additional Prototypes for ALL interfaces */
  214. unsigned long __RPC_USER BSTR_UserSize( unsigned long __RPC_FAR *, unsigned long , BSTR __RPC_FAR * );
  215. unsigned char __RPC_FAR * __RPC_USER BSTR_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  216. unsigned char __RPC_FAR * __RPC_USER BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  217. void __RPC_USER BSTR_UserFree( unsigned long __RPC_FAR *, BSTR __RPC_FAR * );
  218. /* end of Additional Prototypes */
  219. #ifdef __cplusplus
  220. }
  221. #endif
  222. #endif