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.

295 lines
8.1 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 6.00.0347 */
  4. /* Compiler settings for faxcontrol.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext, robust
  7. error checks: allocation ref bounds_check enum stub_data
  8. VC __declspec() decoration level:
  9. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10. DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING( )
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __faxcontrol_h__
  27. #define __faxcontrol_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IFaxControl_FWD_DEFINED__
  33. #define __IFaxControl_FWD_DEFINED__
  34. typedef interface IFaxControl IFaxControl;
  35. #endif /* __IFaxControl_FWD_DEFINED__ */
  36. #ifndef __FaxControl_FWD_DEFINED__
  37. #define __FaxControl_FWD_DEFINED__
  38. #ifdef __cplusplus
  39. typedef class FaxControl FaxControl;
  40. #else
  41. typedef struct FaxControl FaxControl;
  42. #endif /* __cplusplus */
  43. #endif /* __FaxControl_FWD_DEFINED__ */
  44. /* header files for imported files */
  45. #include "oaidl.h"
  46. #include "ocidl.h"
  47. #ifdef __cplusplus
  48. extern "C"{
  49. #endif
  50. void * __RPC_USER MIDL_user_allocate(size_t);
  51. void __RPC_USER MIDL_user_free( void * );
  52. #ifndef __IFaxControl_INTERFACE_DEFINED__
  53. #define __IFaxControl_INTERFACE_DEFINED__
  54. /* interface IFaxControl */
  55. /* [unique][helpstring][dual][oleautomation][uuid][object] */
  56. EXTERN_C const IID IID_IFaxControl;
  57. #if defined(__cplusplus) && !defined(CINTERFACE)
  58. MIDL_INTERFACE("32B56515-D48B-4DD9-87AC-9216F6BEAA6F")
  59. IFaxControl : public IDispatch
  60. {
  61. public:
  62. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsFaxServiceInstalled(
  63. /* [retval][out] */ VARIANT_BOOL *pbVal) = 0;
  64. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsLocalFaxPrinterInstalled(
  65. /* [retval][out] */ VARIANT_BOOL *pbVal) = 0;
  66. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InstallFaxService( void) = 0;
  67. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InstallLocalFaxPrinter( void) = 0;
  68. };
  69. #else /* C style interface */
  70. typedef struct IFaxControlVtbl
  71. {
  72. BEGIN_INTERFACE
  73. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  74. IFaxControl * This,
  75. /* [in] */ REFIID riid,
  76. /* [iid_is][out] */ void **ppvObject);
  77. ULONG ( STDMETHODCALLTYPE *AddRef )(
  78. IFaxControl * This);
  79. ULONG ( STDMETHODCALLTYPE *Release )(
  80. IFaxControl * This);
  81. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  82. IFaxControl * This,
  83. /* [out] */ UINT *pctinfo);
  84. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  85. IFaxControl * This,
  86. /* [in] */ UINT iTInfo,
  87. /* [in] */ LCID lcid,
  88. /* [out] */ ITypeInfo **ppTInfo);
  89. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  90. IFaxControl * This,
  91. /* [in] */ REFIID riid,
  92. /* [size_is][in] */ LPOLESTR *rgszNames,
  93. /* [in] */ UINT cNames,
  94. /* [in] */ LCID lcid,
  95. /* [size_is][out] */ DISPID *rgDispId);
  96. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  97. IFaxControl * This,
  98. /* [in] */ DISPID dispIdMember,
  99. /* [in] */ REFIID riid,
  100. /* [in] */ LCID lcid,
  101. /* [in] */ WORD wFlags,
  102. /* [out][in] */ DISPPARAMS *pDispParams,
  103. /* [out] */ VARIANT *pVarResult,
  104. /* [out] */ EXCEPINFO *pExcepInfo,
  105. /* [out] */ UINT *puArgErr);
  106. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsFaxServiceInstalled )(
  107. IFaxControl * This,
  108. /* [retval][out] */ VARIANT_BOOL *pbVal);
  109. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsLocalFaxPrinterInstalled )(
  110. IFaxControl * This,
  111. /* [retval][out] */ VARIANT_BOOL *pbVal);
  112. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InstallFaxService )(
  113. IFaxControl * This);
  114. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InstallLocalFaxPrinter )(
  115. IFaxControl * This);
  116. END_INTERFACE
  117. } IFaxControlVtbl;
  118. interface IFaxControl
  119. {
  120. CONST_VTBL struct IFaxControlVtbl *lpVtbl;
  121. };
  122. #ifdef COBJMACROS
  123. #define IFaxControl_QueryInterface(This,riid,ppvObject) \
  124. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  125. #define IFaxControl_AddRef(This) \
  126. (This)->lpVtbl -> AddRef(This)
  127. #define IFaxControl_Release(This) \
  128. (This)->lpVtbl -> Release(This)
  129. #define IFaxControl_GetTypeInfoCount(This,pctinfo) \
  130. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  131. #define IFaxControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  132. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  133. #define IFaxControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  134. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  135. #define IFaxControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  136. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  137. #define IFaxControl_get_IsFaxServiceInstalled(This,pbVal) \
  138. (This)->lpVtbl -> get_IsFaxServiceInstalled(This,pbVal)
  139. #define IFaxControl_get_IsLocalFaxPrinterInstalled(This,pbVal) \
  140. (This)->lpVtbl -> get_IsLocalFaxPrinterInstalled(This,pbVal)
  141. #define IFaxControl_InstallFaxService(This) \
  142. (This)->lpVtbl -> InstallFaxService(This)
  143. #define IFaxControl_InstallLocalFaxPrinter(This) \
  144. (This)->lpVtbl -> InstallLocalFaxPrinter(This)
  145. #endif /* COBJMACROS */
  146. #endif /* C style interface */
  147. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IFaxControl_get_IsFaxServiceInstalled_Proxy(
  148. IFaxControl * This,
  149. /* [retval][out] */ VARIANT_BOOL *pbVal);
  150. void __RPC_STUB IFaxControl_get_IsFaxServiceInstalled_Stub(
  151. IRpcStubBuffer *This,
  152. IRpcChannelBuffer *_pRpcChannelBuffer,
  153. PRPC_MESSAGE _pRpcMessage,
  154. DWORD *_pdwStubPhase);
  155. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IFaxControl_get_IsLocalFaxPrinterInstalled_Proxy(
  156. IFaxControl * This,
  157. /* [retval][out] */ VARIANT_BOOL *pbVal);
  158. void __RPC_STUB IFaxControl_get_IsLocalFaxPrinterInstalled_Stub(
  159. IRpcStubBuffer *This,
  160. IRpcChannelBuffer *_pRpcChannelBuffer,
  161. PRPC_MESSAGE _pRpcMessage,
  162. DWORD *_pdwStubPhase);
  163. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IFaxControl_InstallFaxService_Proxy(
  164. IFaxControl * This);
  165. void __RPC_STUB IFaxControl_InstallFaxService_Stub(
  166. IRpcStubBuffer *This,
  167. IRpcChannelBuffer *_pRpcChannelBuffer,
  168. PRPC_MESSAGE _pRpcMessage,
  169. DWORD *_pdwStubPhase);
  170. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IFaxControl_InstallLocalFaxPrinter_Proxy(
  171. IFaxControl * This);
  172. void __RPC_STUB IFaxControl_InstallLocalFaxPrinter_Stub(
  173. IRpcStubBuffer *This,
  174. IRpcChannelBuffer *_pRpcChannelBuffer,
  175. PRPC_MESSAGE _pRpcMessage,
  176. DWORD *_pdwStubPhase);
  177. #endif /* __IFaxControl_INTERFACE_DEFINED__ */
  178. #ifndef __FAXCONTROLLib_LIBRARY_DEFINED__
  179. #define __FAXCONTROLLib_LIBRARY_DEFINED__
  180. /* library FAXCONTROLLib */
  181. /* [helpstring][version][uuid] */
  182. EXTERN_C const IID LIBID_FAXCONTROLLib;
  183. EXTERN_C const CLSID CLSID_FaxControl;
  184. #ifdef __cplusplus
  185. class DECLSPEC_UUID("98F63271-6C09-48B3-A571-990155932D0B")
  186. FaxControl;
  187. #endif
  188. #endif /* __FAXCONTROLLib_LIBRARY_DEFINED__ */
  189. /* Additional Prototypes for ALL interfaces */
  190. /* end of Additional Prototypes */
  191. #ifdef __cplusplus
  192. }
  193. #endif
  194. #endif