_WComm_Serial.h 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* at Tue Sep 04 11:22:16 2007
  4. */
  5. /* Compiler settings for _WComm_Serial.idl:
  6. Oicf, W1, Zp8, env=Win32 (32b run)
  7. protocol : dce , ms_ext, c_ext, robust
  8. error checks: allocation ref bounds_check enum stub_data
  9. VC __declspec() decoration level:
  10. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  11. DECLSPEC_UUID(), MIDL_INTERFACE()
  12. */
  13. //@@MIDL_FILE_HEADING( )
  14. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  15. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  16. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  17. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  18. #endif
  19. #include "rpc.h"
  20. #include "rpcndr.h"
  21. #ifndef __RPCNDR_H_VERSION__
  22. #error this stub requires an updated version of <rpcndr.h>
  23. #endif // __RPCNDR_H_VERSION__
  24. #ifndef COM_NO_WINDOWS_H
  25. #include "windows.h"
  26. #include "ole2.h"
  27. #endif /*COM_NO_WINDOWS_H*/
  28. #ifndef ___WComm_Serial_h__
  29. #define ___WComm_Serial_h__
  30. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  31. #pragma once
  32. #endif
  33. /* Forward Declarations */
  34. #ifndef __IWComm_Serial_FWD_DEFINED__
  35. #define __IWComm_Serial_FWD_DEFINED__
  36. typedef interface IWComm_Serial IWComm_Serial;
  37. #endif /* __IWComm_Serial_FWD_DEFINED__ */
  38. #ifndef __CWComm_Serial_FWD_DEFINED__
  39. #define __CWComm_Serial_FWD_DEFINED__
  40. #ifdef __cplusplus
  41. typedef class CWComm_Serial CWComm_Serial;
  42. #else
  43. typedef struct CWComm_Serial CWComm_Serial;
  44. #endif /* __cplusplus */
  45. #endif /* __CWComm_Serial_FWD_DEFINED__ */
  46. /* header files for imported files */
  47. #include "prsht.h"
  48. #include "mshtml.h"
  49. #include "mshtmhst.h"
  50. #include "exdisp.h"
  51. #include "objsafe.h"
  52. #ifdef __cplusplus
  53. extern "C"{
  54. #endif
  55. void * __RPC_USER MIDL_user_allocate(size_t);
  56. void __RPC_USER MIDL_user_free( void * );
  57. #ifndef __IWComm_Serial_INTERFACE_DEFINED__
  58. #define __IWComm_Serial_INTERFACE_DEFINED__
  59. /* interface IWComm_Serial */
  60. /* [unique][helpstring][dual][uuid][object] */
  61. EXTERN_C const IID IID_IWComm_Serial;
  62. #if defined(__cplusplus) && !defined(CINTERFACE)
  63. MIDL_INTERFACE("17EAC671-8B4E-47f6-90E0-1CC210B77502")
  64. IWComm_Serial : public IDispatch
  65. {
  66. public:
  67. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE serial_comm(
  68. /* [in] */ BSTR bstrCommand,
  69. /* [in] */ BSTR bstrPort,
  70. /* [retval][out] */ BSTR *pbstrInfo) = 0;
  71. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ErrCode(
  72. /* [retval][out] */ LONG *pVal) = 0;
  73. };
  74. #else /* C style interface */
  75. typedef struct IWComm_SerialVtbl
  76. {
  77. BEGIN_INTERFACE
  78. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  79. IWComm_Serial * This,
  80. /* [in] */ REFIID riid,
  81. /* [iid_is][out] */ void **ppvObject);
  82. ULONG ( STDMETHODCALLTYPE *AddRef )(
  83. IWComm_Serial * This);
  84. ULONG ( STDMETHODCALLTYPE *Release )(
  85. IWComm_Serial * This);
  86. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  87. IWComm_Serial * This,
  88. /* [out] */ UINT *pctinfo);
  89. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  90. IWComm_Serial * This,
  91. /* [in] */ UINT iTInfo,
  92. /* [in] */ LCID lcid,
  93. /* [out] */ ITypeInfo **ppTInfo);
  94. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  95. IWComm_Serial * This,
  96. /* [in] */ REFIID riid,
  97. /* [size_is][in] */ LPOLESTR *rgszNames,
  98. /* [in] */ UINT cNames,
  99. /* [in] */ LCID lcid,
  100. /* [size_is][out] */ DISPID *rgDispId);
  101. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  102. IWComm_Serial * This,
  103. /* [in] */ DISPID dispIdMember,
  104. /* [in] */ REFIID riid,
  105. /* [in] */ LCID lcid,
  106. /* [in] */ WORD wFlags,
  107. /* [out][in] */ DISPPARAMS *pDispParams,
  108. /* [out] */ VARIANT *pVarResult,
  109. /* [out] */ EXCEPINFO *pExcepInfo,
  110. /* [out] */ UINT *puArgErr);
  111. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *serial_comm )(
  112. IWComm_Serial * This,
  113. /* [in] */ BSTR bstrCommand,
  114. /* [in] */ BSTR bstrPort,
  115. /* [retval][out] */ BSTR *pbstrInfo);
  116. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ErrCode )(
  117. IWComm_Serial * This,
  118. /* [retval][out] */ LONG *pVal);
  119. END_INTERFACE
  120. } IWComm_SerialVtbl;
  121. interface IWComm_Serial
  122. {
  123. CONST_VTBL struct IWComm_SerialVtbl *lpVtbl;
  124. };
  125. #ifdef COBJMACROS
  126. #define IWComm_Serial_QueryInterface(This,riid,ppvObject) \
  127. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  128. #define IWComm_Serial_AddRef(This) \
  129. (This)->lpVtbl -> AddRef(This)
  130. #define IWComm_Serial_Release(This) \
  131. (This)->lpVtbl -> Release(This)
  132. #define IWComm_Serial_GetTypeInfoCount(This,pctinfo) \
  133. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  134. #define IWComm_Serial_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  135. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  136. #define IWComm_Serial_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  137. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  138. #define IWComm_Serial_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  139. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  140. #define IWComm_Serial_serial_comm(This,bstrCommand,bstrPort,pbstrInfo) \
  141. (This)->lpVtbl -> serial_comm(This,bstrCommand,bstrPort,pbstrInfo)
  142. #define IWComm_Serial_get_ErrCode(This,pVal) \
  143. (This)->lpVtbl -> get_ErrCode(This,pVal)
  144. #endif /* COBJMACROS */
  145. #endif /* C style interface */
  146. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWComm_Serial_serial_comm_Proxy(
  147. IWComm_Serial * This,
  148. /* [in] */ BSTR bstrCommand,
  149. /* [in] */ BSTR bstrPort,
  150. /* [retval][out] */ BSTR *pbstrInfo);
  151. void __RPC_STUB IWComm_Serial_serial_comm_Stub(
  152. IRpcStubBuffer *This,
  153. IRpcChannelBuffer *_pRpcChannelBuffer,
  154. PRPC_MESSAGE _pRpcMessage,
  155. DWORD *_pdwStubPhase);
  156. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IWComm_Serial_get_ErrCode_Proxy(
  157. IWComm_Serial * This,
  158. /* [retval][out] */ LONG *pVal);
  159. void __RPC_STUB IWComm_Serial_get_ErrCode_Stub(
  160. IRpcStubBuffer *This,
  161. IRpcChannelBuffer *_pRpcChannelBuffer,
  162. PRPC_MESSAGE _pRpcMessage,
  163. DWORD *_pdwStubPhase);
  164. #endif /* __IWComm_Serial_INTERFACE_DEFINED__ */
  165. #ifndef __WComm_Serial_LIBRARY_DEFINED__
  166. #define __WComm_Serial_LIBRARY_DEFINED__
  167. /* library WComm_Serial */
  168. /* [helpstring][uuid][version] */
  169. EXTERN_C const IID LIBID_WComm_Serial;
  170. EXTERN_C const CLSID CLSID_CWComm_Serial;
  171. #ifdef __cplusplus
  172. class DECLSPEC_UUID("02C29D61-0A60-42b4-B2D6-1B2F2F32D212")
  173. CWComm_Serial;
  174. #endif
  175. #endif /* __WComm_Serial_LIBRARY_DEFINED__ */
  176. /* Additional Prototypes for ALL interfaces */
  177. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  178. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  179. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  180. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  181. /* end of Additional Prototypes */
  182. #ifdef __cplusplus
  183. }
  184. #endif
  185. #endif