KonicaCom2_i.h 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485
  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 8.01.0622 */
  3. /* at Tue Jan 19 11:14:07 2038
  4. */
  5. /* Compiler settings for KonicaCom2.idl:
  6. Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.01.0622
  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. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  15. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  16. #define __REQUIRED_RPCNDR_H_VERSION__ 500
  17. #endif
  18. #include "rpc.h"
  19. #include "rpcndr.h"
  20. #ifndef __RPCNDR_H_VERSION__
  21. #error this stub requires an updated version of <rpcndr.h>
  22. #endif /* __RPCNDR_H_VERSION__ */
  23. #ifndef COM_NO_WINDOWS_H
  24. #include "windows.h"
  25. #include "ole2.h"
  26. #endif /*COM_NO_WINDOWS_H*/
  27. #ifndef __KonicaCom2_i_h__
  28. #define __KonicaCom2_i_h__
  29. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  30. #pragma once
  31. #endif
  32. /* Forward Declarations */
  33. #ifndef __IKonicaObject2_FWD_DEFINED__
  34. #define __IKonicaObject2_FWD_DEFINED__
  35. typedef interface IKonicaObject2 IKonicaObject2;
  36. #endif /* __IKonicaObject2_FWD_DEFINED__ */
  37. #ifndef __KonicaObject2_FWD_DEFINED__
  38. #define __KonicaObject2_FWD_DEFINED__
  39. #ifdef __cplusplus
  40. typedef class KonicaObject2 KonicaObject2;
  41. #else
  42. typedef struct KonicaObject2 KonicaObject2;
  43. #endif /* __cplusplus */
  44. #endif /* __KonicaObject2_FWD_DEFINED__ */
  45. /* header files for imported files */
  46. #include "oaidl.h"
  47. #include "ocidl.h"
  48. #include "shobjidl.h"
  49. #ifdef __cplusplus
  50. extern "C"{
  51. #endif
  52. #ifndef __IKonicaObject2_INTERFACE_DEFINED__
  53. #define __IKonicaObject2_INTERFACE_DEFINED__
  54. /* interface IKonicaObject2 */
  55. /* [unique][nonextensible][dual][uuid][object] */
  56. EXTERN_C const IID IID_IKonicaObject2;
  57. #if defined(__cplusplus) && !defined(CINTERFACE)
  58. MIDL_INTERFACE("0911c3bb-576d-4690-b3d9-7b4d36429ed8")
  59. IKonicaObject2 : public IDispatch
  60. {
  61. public:
  62. virtual /* [id] */ HRESULT STDMETHODCALLTYPE LoadDLL(
  63. /* [in] */ BSTR strWorkPath) = 0;
  64. virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetPanelType(
  65. /* [in] */ BSTR strPanelType) = 0;
  66. virtual /* [id] */ HRESULT STDMETHODCALLTYPE OpenSdk( void) = 0;
  67. virtual /* [id] */ HRESULT STDMETHODCALLTYPE OpenPanel( void) = 0;
  68. virtual /* [id] */ HRESULT STDMETHODCALLTYPE OpenXgBox(
  69. /* [in] */ int nXgBoxNo) = 0;
  70. virtual /* [id] */ HRESULT STDMETHODCALLTYPE CloseSdk( void) = 0;
  71. virtual /* [id] */ HRESULT STDMETHODCALLTYPE ClosePanel( void) = 0;
  72. virtual /* [id] */ HRESULT STDMETHODCALLTYPE CloseXgBox( void) = 0;
  73. virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetPanelResolution(
  74. /* [in] */ int nResolution) = 0;
  75. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetPanelResolution(
  76. /* [out] */ int *pResolution) = 0;
  77. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetImageSize(
  78. /* [in] */ int nSizeMode,
  79. /* [in] */ int nResolution,
  80. /* [out] */ int *pWidth,
  81. /* [out] */ int *pHeight) = 0;
  82. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetPanelSettingInfo(
  83. /* [out] */ CHAR *strPanelID,
  84. /* [out] */ int *nPanelSize) = 0;
  85. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetPanelVersionInfo(
  86. /* [out] */ unsigned char *pDllVersion,
  87. /* [out] */ unsigned char *pAllVersion,
  88. /* [out] */ unsigned char *pFwComnBootVersion,
  89. /* [out] */ unsigned char *pFwComnVersion,
  90. /* [out] */ unsigned char *pFwPowerBootVersion,
  91. /* [out] */ unsigned char *pFwPowerVersion,
  92. /* [out] */ unsigned char *pFpgaVersion) = 0;
  93. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetPanelConservationInfo(
  94. /* [out] */ unsigned int *pShootCount) = 0;
  95. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetCradleConservationInfo(
  96. /* [out] */ int *pConnectCount) = 0;
  97. virtual /* [id] */ HRESULT STDMETHODCALLTYPE StartExposureSequenceIt(
  98. /* [in] */ int nXgBoxNo,
  99. /* [in] */ int nImageNo,
  100. /* [in] */ int nSyncMode,
  101. /* [in] */ int nIntegrationTime) = 0;
  102. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetPanelStatusInfo(
  103. /* [out] */ int *pPanelStatus) = 0;
  104. virtual /* [id] */ HRESULT STDMETHODCALLTYPE CancelExposureSequence(
  105. /* [in] */ int nImageNo) = 0;
  106. virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetSyncMode(
  107. /* [in] */ int nSyncMode) = 0;
  108. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetPanelBatteryInfo(
  109. /* [out] */ int *pBatteryValue,
  110. /* [out] */ int *pBatteryStatus) = 0;
  111. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetPanelSignalInfo(
  112. /* [out] */ int *pSignalStrength) = 0;
  113. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetQueueData(
  114. /* [out] */ int *pMessageType) = 0;
  115. virtual /* [id] */ HRESULT STDMETHODCALLTYPE CheckImageEx(
  116. /* [out] */ int *pImageNo,
  117. /* [out] */ int *pResolution) = 0;
  118. };
  119. #else /* C style interface */
  120. typedef struct IKonicaObject2Vtbl
  121. {
  122. BEGIN_INTERFACE
  123. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  124. IKonicaObject2 * This,
  125. /* [in] */ REFIID riid,
  126. /* [annotation][iid_is][out] */
  127. _COM_Outptr_ void **ppvObject);
  128. ULONG ( STDMETHODCALLTYPE *AddRef )(
  129. IKonicaObject2 * This);
  130. ULONG ( STDMETHODCALLTYPE *Release )(
  131. IKonicaObject2 * This);
  132. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  133. IKonicaObject2 * This,
  134. /* [out] */ UINT *pctinfo);
  135. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  136. IKonicaObject2 * This,
  137. /* [in] */ UINT iTInfo,
  138. /* [in] */ LCID lcid,
  139. /* [out] */ ITypeInfo **ppTInfo);
  140. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  141. IKonicaObject2 * This,
  142. /* [in] */ REFIID riid,
  143. /* [size_is][in] */ LPOLESTR *rgszNames,
  144. /* [range][in] */ UINT cNames,
  145. /* [in] */ LCID lcid,
  146. /* [size_is][out] */ DISPID *rgDispId);
  147. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  148. IKonicaObject2 * This,
  149. /* [annotation][in] */
  150. _In_ DISPID dispIdMember,
  151. /* [annotation][in] */
  152. _In_ REFIID riid,
  153. /* [annotation][in] */
  154. _In_ LCID lcid,
  155. /* [annotation][in] */
  156. _In_ WORD wFlags,
  157. /* [annotation][out][in] */
  158. _In_ DISPPARAMS *pDispParams,
  159. /* [annotation][out] */
  160. _Out_opt_ VARIANT *pVarResult,
  161. /* [annotation][out] */
  162. _Out_opt_ EXCEPINFO *pExcepInfo,
  163. /* [annotation][out] */
  164. _Out_opt_ UINT *puArgErr);
  165. /* [id] */ HRESULT ( STDMETHODCALLTYPE *LoadDLL )(
  166. IKonicaObject2 * This,
  167. /* [in] */ BSTR strWorkPath);
  168. /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetPanelType )(
  169. IKonicaObject2 * This,
  170. /* [in] */ BSTR strPanelType);
  171. /* [id] */ HRESULT ( STDMETHODCALLTYPE *OpenSdk )(
  172. IKonicaObject2 * This);
  173. /* [id] */ HRESULT ( STDMETHODCALLTYPE *OpenPanel )(
  174. IKonicaObject2 * This);
  175. /* [id] */ HRESULT ( STDMETHODCALLTYPE *OpenXgBox )(
  176. IKonicaObject2 * This,
  177. /* [in] */ int nXgBoxNo);
  178. /* [id] */ HRESULT ( STDMETHODCALLTYPE *CloseSdk )(
  179. IKonicaObject2 * This);
  180. /* [id] */ HRESULT ( STDMETHODCALLTYPE *ClosePanel )(
  181. IKonicaObject2 * This);
  182. /* [id] */ HRESULT ( STDMETHODCALLTYPE *CloseXgBox )(
  183. IKonicaObject2 * This);
  184. /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetPanelResolution )(
  185. IKonicaObject2 * This,
  186. /* [in] */ int nResolution);
  187. /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetPanelResolution )(
  188. IKonicaObject2 * This,
  189. /* [out] */ int *pResolution);
  190. /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetImageSize )(
  191. IKonicaObject2 * This,
  192. /* [in] */ int nSizeMode,
  193. /* [in] */ int nResolution,
  194. /* [out] */ int *pWidth,
  195. /* [out] */ int *pHeight);
  196. /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetPanelSettingInfo )(
  197. IKonicaObject2 * This,
  198. /* [out] */ CHAR *strPanelID,
  199. /* [out] */ int *nPanelSize);
  200. /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetPanelVersionInfo )(
  201. IKonicaObject2 * This,
  202. /* [out] */ unsigned char *pDllVersion,
  203. /* [out] */ unsigned char *pAllVersion,
  204. /* [out] */ unsigned char *pFwComnBootVersion,
  205. /* [out] */ unsigned char *pFwComnVersion,
  206. /* [out] */ unsigned char *pFwPowerBootVersion,
  207. /* [out] */ unsigned char *pFwPowerVersion,
  208. /* [out] */ unsigned char *pFpgaVersion);
  209. /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetPanelConservationInfo )(
  210. IKonicaObject2 * This,
  211. /* [out] */ unsigned int *pShootCount);
  212. /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetCradleConservationInfo )(
  213. IKonicaObject2 * This,
  214. /* [out] */ int *pConnectCount);
  215. /* [id] */ HRESULT ( STDMETHODCALLTYPE *StartExposureSequenceIt )(
  216. IKonicaObject2 * This,
  217. /* [in] */ int nXgBoxNo,
  218. /* [in] */ int nImageNo,
  219. /* [in] */ int nSyncMode,
  220. /* [in] */ int nIntegrationTime);
  221. /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetPanelStatusInfo )(
  222. IKonicaObject2 * This,
  223. /* [out] */ int *pPanelStatus);
  224. /* [id] */ HRESULT ( STDMETHODCALLTYPE *CancelExposureSequence )(
  225. IKonicaObject2 * This,
  226. /* [in] */ int nImageNo);
  227. /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetSyncMode )(
  228. IKonicaObject2 * This,
  229. /* [in] */ int nSyncMode);
  230. /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetPanelBatteryInfo )(
  231. IKonicaObject2 * This,
  232. /* [out] */ int *pBatteryValue,
  233. /* [out] */ int *pBatteryStatus);
  234. /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetPanelSignalInfo )(
  235. IKonicaObject2 * This,
  236. /* [out] */ int *pSignalStrength);
  237. /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetQueueData )(
  238. IKonicaObject2 * This,
  239. /* [out] */ int *pMessageType);
  240. /* [id] */ HRESULT ( STDMETHODCALLTYPE *CheckImageEx )(
  241. IKonicaObject2 * This,
  242. /* [out] */ int *pImageNo,
  243. /* [out] */ int *pResolution);
  244. END_INTERFACE
  245. } IKonicaObject2Vtbl;
  246. interface IKonicaObject2
  247. {
  248. CONST_VTBL struct IKonicaObject2Vtbl *lpVtbl;
  249. };
  250. #ifdef COBJMACROS
  251. #define IKonicaObject2_QueryInterface(This,riid,ppvObject) \
  252. ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
  253. #define IKonicaObject2_AddRef(This) \
  254. ( (This)->lpVtbl -> AddRef(This) )
  255. #define IKonicaObject2_Release(This) \
  256. ( (This)->lpVtbl -> Release(This) )
  257. #define IKonicaObject2_GetTypeInfoCount(This,pctinfo) \
  258. ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) )
  259. #define IKonicaObject2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  260. ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) )
  261. #define IKonicaObject2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  262. ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) )
  263. #define IKonicaObject2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  264. ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) )
  265. #define IKonicaObject2_LoadDLL(This,strWorkPath) \
  266. ( (This)->lpVtbl -> LoadDLL(This,strWorkPath) )
  267. #define IKonicaObject2_SetPanelType(This,strPanelType) \
  268. ( (This)->lpVtbl -> SetPanelType(This,strPanelType) )
  269. #define IKonicaObject2_OpenSdk(This) \
  270. ( (This)->lpVtbl -> OpenSdk(This) )
  271. #define IKonicaObject2_OpenPanel(This) \
  272. ( (This)->lpVtbl -> OpenPanel(This) )
  273. #define IKonicaObject2_OpenXgBox(This,nXgBoxNo) \
  274. ( (This)->lpVtbl -> OpenXgBox(This,nXgBoxNo) )
  275. #define IKonicaObject2_CloseSdk(This) \
  276. ( (This)->lpVtbl -> CloseSdk(This) )
  277. #define IKonicaObject2_ClosePanel(This) \
  278. ( (This)->lpVtbl -> ClosePanel(This) )
  279. #define IKonicaObject2_CloseXgBox(This) \
  280. ( (This)->lpVtbl -> CloseXgBox(This) )
  281. #define IKonicaObject2_SetPanelResolution(This,nResolution) \
  282. ( (This)->lpVtbl -> SetPanelResolution(This,nResolution) )
  283. #define IKonicaObject2_GetPanelResolution(This,pResolution) \
  284. ( (This)->lpVtbl -> GetPanelResolution(This,pResolution) )
  285. #define IKonicaObject2_GetImageSize(This,nSizeMode,nResolution,pWidth,pHeight) \
  286. ( (This)->lpVtbl -> GetImageSize(This,nSizeMode,nResolution,pWidth,pHeight) )
  287. #define IKonicaObject2_GetPanelSettingInfo(This,strPanelID,nPanelSize) \
  288. ( (This)->lpVtbl -> GetPanelSettingInfo(This,strPanelID,nPanelSize) )
  289. #define IKonicaObject2_GetPanelVersionInfo(This,pDllVersion,pAllVersion,pFwComnBootVersion,pFwComnVersion,pFwPowerBootVersion,pFwPowerVersion,pFpgaVersion) \
  290. ( (This)->lpVtbl -> GetPanelVersionInfo(This,pDllVersion,pAllVersion,pFwComnBootVersion,pFwComnVersion,pFwPowerBootVersion,pFwPowerVersion,pFpgaVersion) )
  291. #define IKonicaObject2_GetPanelConservationInfo(This,pShootCount) \
  292. ( (This)->lpVtbl -> GetPanelConservationInfo(This,pShootCount) )
  293. #define IKonicaObject2_GetCradleConservationInfo(This,pConnectCount) \
  294. ( (This)->lpVtbl -> GetCradleConservationInfo(This,pConnectCount) )
  295. #define IKonicaObject2_StartExposureSequenceIt(This,nXgBoxNo,nImageNo,nSyncMode,nIntegrationTime) \
  296. ( (This)->lpVtbl -> StartExposureSequenceIt(This,nXgBoxNo,nImageNo,nSyncMode,nIntegrationTime) )
  297. #define IKonicaObject2_GetPanelStatusInfo(This,pPanelStatus) \
  298. ( (This)->lpVtbl -> GetPanelStatusInfo(This,pPanelStatus) )
  299. #define IKonicaObject2_CancelExposureSequence(This,nImageNo) \
  300. ( (This)->lpVtbl -> CancelExposureSequence(This,nImageNo) )
  301. #define IKonicaObject2_SetSyncMode(This,nSyncMode) \
  302. ( (This)->lpVtbl -> SetSyncMode(This,nSyncMode) )
  303. #define IKonicaObject2_GetPanelBatteryInfo(This,pBatteryValue,pBatteryStatus) \
  304. ( (This)->lpVtbl -> GetPanelBatteryInfo(This,pBatteryValue,pBatteryStatus) )
  305. #define IKonicaObject2_GetPanelSignalInfo(This,pSignalStrength) \
  306. ( (This)->lpVtbl -> GetPanelSignalInfo(This,pSignalStrength) )
  307. #define IKonicaObject2_GetQueueData(This,pMessageType) \
  308. ( (This)->lpVtbl -> GetQueueData(This,pMessageType) )
  309. #define IKonicaObject2_CheckImageEx(This,pImageNo,pResolution) \
  310. ( (This)->lpVtbl -> CheckImageEx(This,pImageNo,pResolution) )
  311. #endif /* COBJMACROS */
  312. #endif /* C style interface */
  313. #endif /* __IKonicaObject2_INTERFACE_DEFINED__ */
  314. #ifndef __KonicaCom2Lib_LIBRARY_DEFINED__
  315. #define __KonicaCom2Lib_LIBRARY_DEFINED__
  316. /* library KonicaCom2Lib */
  317. /* [version][uuid] */
  318. EXTERN_C const IID LIBID_KonicaCom2Lib;
  319. EXTERN_C const CLSID CLSID_KonicaObject2;
  320. #ifdef __cplusplus
  321. class DECLSPEC_UUID("59178201-45ed-49d2-b3ba-2a4f559968d4")
  322. KonicaObject2;
  323. #endif
  324. #endif /* __KonicaCom2Lib_LIBRARY_DEFINED__ */
  325. /* Additional Prototypes for ALL interfaces */
  326. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  327. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  328. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  329. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  330. unsigned long __RPC_USER BSTR_UserSize64( unsigned long *, unsigned long , BSTR * );
  331. unsigned char * __RPC_USER BSTR_UserMarshal64( unsigned long *, unsigned char *, BSTR * );
  332. unsigned char * __RPC_USER BSTR_UserUnmarshal64(unsigned long *, unsigned char *, BSTR * );
  333. void __RPC_USER BSTR_UserFree64( unsigned long *, BSTR * );
  334. /* end of Additional Prototypes */
  335. #ifdef __cplusplus
  336. }
  337. #endif
  338. #endif