📄 canape.h
字号:
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 5.01.0164 */
/* at Fri Jul 20 11:03:02 2001
*/
/* Compiler settings for d:\usr\canape\CANapeCOM\CANape.idl:
Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
error checks: allocation ref bounds_check enum stub_data
*/
//@@MIDL_FILE_HEADING( )
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 440
#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 __CANape_h__
#define __CANape_h__
#ifdef __cplusplus
extern "C"{
#endif
/* Forward Declarations */
#ifndef __IApplication_FWD_DEFINED__
#define __IApplication_FWD_DEFINED__
typedef interface IApplication IApplication;
#endif /* __IApplication_FWD_DEFINED__ */
#ifndef __IDevice_FWD_DEFINED__
#define __IDevice_FWD_DEFINED__
typedef interface IDevice IDevice;
#endif /* __IDevice_FWD_DEFINED__ */
#ifndef __IDevices_FWD_DEFINED__
#define __IDevices_FWD_DEFINED__
typedef interface IDevices IDevices;
#endif /* __IDevices_FWD_DEFINED__ */
#ifndef __ICalibrationObject_FWD_DEFINED__
#define __ICalibrationObject_FWD_DEFINED__
typedef interface ICalibrationObject ICalibrationObject;
#endif /* __ICalibrationObject_FWD_DEFINED__ */
#ifndef __ICalibrationObjects_FWD_DEFINED__
#define __ICalibrationObjects_FWD_DEFINED__
typedef interface ICalibrationObjects ICalibrationObjects;
#endif /* __ICalibrationObjects_FWD_DEFINED__ */
#ifndef __ITask_FWD_DEFINED__
#define __ITask_FWD_DEFINED__
typedef interface ITask ITask;
#endif /* __ITask_FWD_DEFINED__ */
#ifndef __ITasks_FWD_DEFINED__
#define __ITasks_FWD_DEFINED__
typedef interface ITasks ITasks;
#endif /* __ITasks_FWD_DEFINED__ */
#ifndef __IChannel_FWD_DEFINED__
#define __IChannel_FWD_DEFINED__
typedef interface IChannel IChannel;
#endif /* __IChannel_FWD_DEFINED__ */
#ifndef __IChannels_FWD_DEFINED__
#define __IChannels_FWD_DEFINED__
typedef interface IChannels IChannels;
#endif /* __IChannels_FWD_DEFINED__ */
#ifndef __IMeasurement_FWD_DEFINED__
#define __IMeasurement_FWD_DEFINED__
typedef interface IMeasurement IMeasurement;
#endif /* __IMeasurement_FWD_DEFINED__ */
#ifndef __Application_FWD_DEFINED__
#define __Application_FWD_DEFINED__
#ifdef __cplusplus
typedef class Application Application;
#else
typedef struct Application Application;
#endif /* __cplusplus */
#endif /* __Application_FWD_DEFINED__ */
#ifndef __Device_FWD_DEFINED__
#define __Device_FWD_DEFINED__
#ifdef __cplusplus
typedef class Device Device;
#else
typedef struct Device Device;
#endif /* __cplusplus */
#endif /* __Device_FWD_DEFINED__ */
#ifndef __Devices_FWD_DEFINED__
#define __Devices_FWD_DEFINED__
#ifdef __cplusplus
typedef class Devices Devices;
#else
typedef struct Devices Devices;
#endif /* __cplusplus */
#endif /* __Devices_FWD_DEFINED__ */
#ifndef __CalibrationObjects_FWD_DEFINED__
#define __CalibrationObjects_FWD_DEFINED__
#ifdef __cplusplus
typedef class CalibrationObjects CalibrationObjects;
#else
typedef struct CalibrationObjects CalibrationObjects;
#endif /* __cplusplus */
#endif /* __CalibrationObjects_FWD_DEFINED__ */
#ifndef __CalibrationObject_FWD_DEFINED__
#define __CalibrationObject_FWD_DEFINED__
#ifdef __cplusplus
typedef class CalibrationObject CalibrationObject;
#else
typedef struct CalibrationObject CalibrationObject;
#endif /* __cplusplus */
#endif /* __CalibrationObject_FWD_DEFINED__ */
#ifndef __Tasks_FWD_DEFINED__
#define __Tasks_FWD_DEFINED__
#ifdef __cplusplus
typedef class Tasks Tasks;
#else
typedef struct Tasks Tasks;
#endif /* __cplusplus */
#endif /* __Tasks_FWD_DEFINED__ */
#ifndef __Task_FWD_DEFINED__
#define __Task_FWD_DEFINED__
#ifdef __cplusplus
typedef class Task Task;
#else
typedef struct Task Task;
#endif /* __cplusplus */
#endif /* __Task_FWD_DEFINED__ */
#ifndef __Channel_FWD_DEFINED__
#define __Channel_FWD_DEFINED__
#ifdef __cplusplus
typedef class Channel Channel;
#else
typedef struct Channel Channel;
#endif /* __cplusplus */
#endif /* __Channel_FWD_DEFINED__ */
#ifndef __Channels_FWD_DEFINED__
#define __Channels_FWD_DEFINED__
#ifdef __cplusplus
typedef class Channels Channels;
#else
typedef struct Channels Channels;
#endif /* __cplusplus */
#endif /* __Channels_FWD_DEFINED__ */
#ifndef __Measurement_FWD_DEFINED__
#define __Measurement_FWD_DEFINED__
#ifdef __cplusplus
typedef class Measurement Measurement;
#else
typedef struct Measurement Measurement;
#endif /* __cplusplus */
#endif /* __Measurement_FWD_DEFINED__ */
/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"
void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void __RPC_FAR * );
#ifndef __IApplication_INTERFACE_DEFINED__
#define __IApplication_INTERFACE_DEFINED__
/* interface IApplication */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IApplication;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("7BE4D21E-5B33-11D5-9A44-0050DA68B477")
IApplication : public IDispatch
{
public:
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Open(
/* [in] */ BSTR workDir,
/* [in] */ long debug) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Quit( void) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name(
/* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Devices(
/* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Measurement(
/* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RunScript(
/* [in] */ BSTR script) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Convert2Matlab(
/* [in] */ BSTR MDFFile,
/* [in] */ BSTR MatlabFile) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DebugWindow( void) = 0;
};
#else /* C style interface */
typedef struct IApplicationVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IApplication __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IApplication __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IApplication __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
IApplication __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
IApplication __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
IApplication __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
IApplication __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Open )(
IApplication __RPC_FAR * This,
/* [in] */ BSTR workDir,
/* [in] */ long debug);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Quit )(
IApplication __RPC_FAR * This);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Name )(
IApplication __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Devices )(
IApplication __RPC_FAR * This,
/* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Measurement )(
IApplication __RPC_FAR * This,
/* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *pVal);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RunScript )(
IApplication __RPC_FAR * This,
/* [in] */ BSTR script);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Convert2Matlab )(
IApplication __RPC_FAR * This,
/* [in] */ BSTR MDFFile,
/* [in] */ BSTR MatlabFile);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DebugWindow )(
IApplication __RPC_FAR * This);
END_INTERFACE
} IApplicationVtbl;
interface IApplication
{
CONST_VTBL struct IApplicationVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IApplication_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IApplication_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IApplication_Release(This) \
(This)->lpVtbl -> Release(This)
#define IApplication_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IApplication_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IApplication_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IApplication_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#define IApplication_Open(This,workDir,debug) \
(This)->lpVtbl -> Open(This,workDir,debug)
#define IApplication_Quit(This) \
(This)->lpVtbl -> Quit(This)
#define IApplication_get_Name(This,pVal) \
(This)->lpVtbl -> get_Name(This,pVal)
#define IApplication_get_Devices(This,pVal) \
(This)->lpVtbl -> get_Devices(This,pVal)
#define IApplication_get_Measurement(This,pVal) \
(This)->lpVtbl -> get_Measurement(This,pVal)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -