DELTAPLC.h
资源名称:DELTA_PLC.rar [点击查看]
上传用户:hailongwei
上传日期:2020-11-29
资源大小:5839k
文件大小:15k
源码类别:
单片机开发
开发平台:
Visual C++
- /* this ALWAYS GENERATED file contains the definitions for the interfaces */
- /* File created by MIDL compiler version 6.00.0361 */
- /* at Tue Mar 16 15:51:51 2010
- */
- /* Compiler settings for .DELTAPLC.idl:
- Oicf, W1, Zp8, env=Win32 (32b run)
- protocol : dce , ms_ext, c_ext, robust
- error checks: allocation ref bounds_check enum stub_data
- VC __declspec() decoration level:
- __declspec(uuid()), __declspec(selectany), __declspec(novtable)
- DECLSPEC_UUID(), MIDL_INTERFACE()
- */
- //@@MIDL_FILE_HEADING( )
- #pragma warning( disable: 4049 ) /* more than 64k source lines */
- /* verify that the <rpcndr.h> version is high enough to compile this file*/
- #ifndef __REQUIRED_RPCNDR_H_VERSION__
- #define __REQUIRED_RPCNDR_H_VERSION__ 475
- #endif
- #include "rpc.h"
- #include "rpcndr.h"
- #ifndef __RPCNDR_H_VERSION__
- #error this stub requires an updated version of <rpcndr.h>
- #endif // __RPCNDR_H_VERSION__
- #ifndef COM_NO_WINDOWS_H
- #include "windows.h"
- #include "ole2.h"
- #endif /*COM_NO_WINDOWS_H*/
- #ifndef __DELTAPLC_h__
- #define __DELTAPLC_h__
- #if defined(_MSC_VER) && (_MSC_VER >= 1020)
- #pragma once
- #endif
- /* Forward Declarations */
- #ifndef __IMSegment_FWD_DEFINED__
- #define __IMSegment_FWD_DEFINED__
- typedef interface IMSegment IMSegment;
- #endif /* __IMSegment_FWD_DEFINED__ */
- #ifndef ___IMSegmentEvents_FWD_DEFINED__
- #define ___IMSegmentEvents_FWD_DEFINED__
- typedef interface _IMSegmentEvents _IMSegmentEvents;
- #endif /* ___IMSegmentEvents_FWD_DEFINED__ */
- #ifndef __MSegment_FWD_DEFINED__
- #define __MSegment_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class MSegment MSegment;
- #else
- typedef struct MSegment MSegment;
- #endif /* __cplusplus */
- #endif /* __MSegment_FWD_DEFINED__ */
- /* header files for imported files */
- #include "oaidl.h"
- #include "ocidl.h"
- #ifdef __cplusplus
- extern "C"{
- #endif
- void * __RPC_USER MIDL_user_allocate(size_t);
- void __RPC_USER MIDL_user_free( void * );
- #ifndef __IMSegment_INTERFACE_DEFINED__
- #define __IMSegment_INTERFACE_DEFINED__
- /* interface IMSegment */
- /* [unique][helpstring][nonextensible][dual][uuid][object] */
- EXTERN_C const IID IID_IMSegment;
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("2B38B597-89F5-4E43-A625-74BFD7956D7C")
- IMSegment : public IDispatch
- {
- public:
- virtual /* [id][requestedit][bindable][propget] */ HRESULT STDMETHODCALLTYPE get_HWND(
- /* [retval][out] */ LONG_PTR *pHWND) = 0;
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OpenLink(
- /* [in] */ LONG Comport,
- /* [in] */ BSTR CommString) = 0;
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CloseLink( void) = 0;
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetLink(
- /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetBit(
- /* [in] */ LONG Addr,
- /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PutBit(
- /* [in] */ LONG Addr,
- /* [in] */ VARIANT_BOOL OnOff) = 0;
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Delay(
- /* [in] */ LONG TimeSpan) = 0;
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetNotify(
- /* [in] */ LONG Addr,
- /* [in] */ VARIANT_BOOL AllowNotify) = 0;
- };
- #else /* C style interface */
- typedef struct IMSegmentVtbl
- {
- BEGIN_INTERFACE
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IMSegment * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IMSegment * This);
- ULONG ( STDMETHODCALLTYPE *Release )(
- IMSegment * This);
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- IMSegment * This,
- /* [out] */ UINT *pctinfo);
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- IMSegment * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- IMSegment * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- IMSegment * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
- /* [id][requestedit][bindable][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HWND )(
- IMSegment * This,
- /* [retval][out] */ LONG_PTR *pHWND);
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OpenLink )(
- IMSegment * This,
- /* [in] */ LONG Comport,
- /* [in] */ BSTR CommString);
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CloseLink )(
- IMSegment * This);
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetLink )(
- IMSegment * This,
- /* [retval][out] */ VARIANT_BOOL *pVal);
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetBit )(
- IMSegment * This,
- /* [in] */ LONG Addr,
- /* [retval][out] */ VARIANT_BOOL *pVal);
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PutBit )(
- IMSegment * This,
- /* [in] */ LONG Addr,
- /* [in] */ VARIANT_BOOL OnOff);
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delay )(
- IMSegment * This,
- /* [in] */ LONG TimeSpan);
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetNotify )(
- IMSegment * This,
- /* [in] */ LONG Addr,
- /* [in] */ VARIANT_BOOL AllowNotify);
- END_INTERFACE
- } IMSegmentVtbl;
- interface IMSegment
- {
- CONST_VTBL struct IMSegmentVtbl *lpVtbl;
- };
- #ifdef COBJMACROS
- #define IMSegment_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IMSegment_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IMSegment_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IMSegment_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define IMSegment_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define IMSegment_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define IMSegment_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define IMSegment_get_HWND(This,pHWND)
- (This)->lpVtbl -> get_HWND(This,pHWND)
- #define IMSegment_OpenLink(This,Comport,CommString)
- (This)->lpVtbl -> OpenLink(This,Comport,CommString)
- #define IMSegment_CloseLink(This)
- (This)->lpVtbl -> CloseLink(This)
- #define IMSegment_GetLink(This,pVal)
- (This)->lpVtbl -> GetLink(This,pVal)
- #define IMSegment_GetBit(This,Addr,pVal)
- (This)->lpVtbl -> GetBit(This,Addr,pVal)
- #define IMSegment_PutBit(This,Addr,OnOff)
- (This)->lpVtbl -> PutBit(This,Addr,OnOff)
- #define IMSegment_Delay(This,TimeSpan)
- (This)->lpVtbl -> Delay(This,TimeSpan)
- #define IMSegment_SetNotify(This,Addr,AllowNotify)
- (This)->lpVtbl -> SetNotify(This,Addr,AllowNotify)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id][requestedit][bindable][propget] */ HRESULT STDMETHODCALLTYPE IMSegment_get_HWND_Proxy(
- IMSegment * This,
- /* [retval][out] */ LONG_PTR *pHWND);
- void __RPC_STUB IMSegment_get_HWND_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMSegment_OpenLink_Proxy(
- IMSegment * This,
- /* [in] */ LONG Comport,
- /* [in] */ BSTR CommString);
- void __RPC_STUB IMSegment_OpenLink_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMSegment_CloseLink_Proxy(
- IMSegment * This);
- void __RPC_STUB IMSegment_CloseLink_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMSegment_GetLink_Proxy(
- IMSegment * This,
- /* [retval][out] */ VARIANT_BOOL *pVal);
- void __RPC_STUB IMSegment_GetLink_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMSegment_GetBit_Proxy(
- IMSegment * This,
- /* [in] */ LONG Addr,
- /* [retval][out] */ VARIANT_BOOL *pVal);
- void __RPC_STUB IMSegment_GetBit_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMSegment_PutBit_Proxy(
- IMSegment * This,
- /* [in] */ LONG Addr,
- /* [in] */ VARIANT_BOOL OnOff);
- void __RPC_STUB IMSegment_PutBit_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMSegment_Delay_Proxy(
- IMSegment * This,
- /* [in] */ LONG TimeSpan);
- void __RPC_STUB IMSegment_Delay_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMSegment_SetNotify_Proxy(
- IMSegment * This,
- /* [in] */ LONG Addr,
- /* [in] */ VARIANT_BOOL AllowNotify);
- void __RPC_STUB IMSegment_SetNotify_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IMSegment_INTERFACE_DEFINED__ */
- #ifndef __DELTAPLCLib_LIBRARY_DEFINED__
- #define __DELTAPLCLib_LIBRARY_DEFINED__
- /* library DELTAPLCLib */
- /* [helpstring][version][uuid] */
- EXTERN_C const IID LIBID_DELTAPLCLib;
- #ifndef ___IMSegmentEvents_DISPINTERFACE_DEFINED__
- #define ___IMSegmentEvents_DISPINTERFACE_DEFINED__
- /* dispinterface _IMSegmentEvents */
- /* [helpstring][uuid] */
- EXTERN_C const IID DIID__IMSegmentEvents;
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("2D03C052-A6EF-4F2B-A24C-7BB542C6D365")
- _IMSegmentEvents : public IDispatch
- {
- };
- #else /* C style interface */
- typedef struct _IMSegmentEventsVtbl
- {
- BEGIN_INTERFACE
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- _IMSegmentEvents * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- _IMSegmentEvents * This);
- ULONG ( STDMETHODCALLTYPE *Release )(
- _IMSegmentEvents * This);
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- _IMSegmentEvents * This,
- /* [out] */ UINT *pctinfo);
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- _IMSegmentEvents * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- _IMSegmentEvents * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- _IMSegmentEvents * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
- END_INTERFACE
- } _IMSegmentEventsVtbl;
- interface _IMSegmentEvents
- {
- CONST_VTBL struct _IMSegmentEventsVtbl *lpVtbl;
- };
- #ifdef COBJMACROS
- #define _IMSegmentEvents_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define _IMSegmentEvents_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define _IMSegmentEvents_Release(This)
- (This)->lpVtbl -> Release(This)
- #define _IMSegmentEvents_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define _IMSegmentEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define _IMSegmentEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define _IMSegmentEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* ___IMSegmentEvents_DISPINTERFACE_DEFINED__ */
- EXTERN_C const CLSID CLSID_MSegment;
- #ifdef __cplusplus
- class DECLSPEC_UUID("7F89CA20-5EF8-4614-8702-E58F473FBDD7")
- MSegment;
- #endif
- #endif /* __DELTAPLCLib_LIBRARY_DEFINED__ */
- /* Additional Prototypes for ALL interfaces */
- unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
- unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
- unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
- void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
- /* end of Additional Prototypes */
- #ifdef __cplusplus
- }
- #endif
- #endif