⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 opchda.h

📁 OPC客户程序所需要的头文件。 OPC基金会产品。 适用于opc1.0和opc2.0规范。
💻 H
📖 第 1 页 / 共 5 页
字号:


/* this ALWAYS GENERATED file contains the definitions for the interfaces */


 /* File created by MIDL compiler version 6.00.0361 */
/* at Wed Sep 01 11:47:35 2004
 */
/* Compiler settings for .\opchda.idl:
    Oicf, W1, Zp8, env=Win32 (32b run)
    protocol : dce , ms_ext, c_ext
    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__ 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 __opchda_h__
#define __opchda_h__

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

/* Forward Declarations */ 

#ifndef __CATID_OPCHDAServer10_FWD_DEFINED__
#define __CATID_OPCHDAServer10_FWD_DEFINED__
typedef interface CATID_OPCHDAServer10 CATID_OPCHDAServer10;
#endif 	/* __CATID_OPCHDAServer10_FWD_DEFINED__ */


#ifndef __IOPCHDA_Browser_FWD_DEFINED__
#define __IOPCHDA_Browser_FWD_DEFINED__
typedef interface IOPCHDA_Browser IOPCHDA_Browser;
#endif 	/* __IOPCHDA_Browser_FWD_DEFINED__ */


#ifndef __IOPCHDA_Server_FWD_DEFINED__
#define __IOPCHDA_Server_FWD_DEFINED__
typedef interface IOPCHDA_Server IOPCHDA_Server;
#endif 	/* __IOPCHDA_Server_FWD_DEFINED__ */


#ifndef __IOPCHDA_SyncRead_FWD_DEFINED__
#define __IOPCHDA_SyncRead_FWD_DEFINED__
typedef interface IOPCHDA_SyncRead IOPCHDA_SyncRead;
#endif 	/* __IOPCHDA_SyncRead_FWD_DEFINED__ */


#ifndef __IOPCHDA_SyncUpdate_FWD_DEFINED__
#define __IOPCHDA_SyncUpdate_FWD_DEFINED__
typedef interface IOPCHDA_SyncUpdate IOPCHDA_SyncUpdate;
#endif 	/* __IOPCHDA_SyncUpdate_FWD_DEFINED__ */


#ifndef __IOPCHDA_SyncAnnotations_FWD_DEFINED__
#define __IOPCHDA_SyncAnnotations_FWD_DEFINED__
typedef interface IOPCHDA_SyncAnnotations IOPCHDA_SyncAnnotations;
#endif 	/* __IOPCHDA_SyncAnnotations_FWD_DEFINED__ */


#ifndef __IOPCHDA_AsyncRead_FWD_DEFINED__
#define __IOPCHDA_AsyncRead_FWD_DEFINED__
typedef interface IOPCHDA_AsyncRead IOPCHDA_AsyncRead;
#endif 	/* __IOPCHDA_AsyncRead_FWD_DEFINED__ */


#ifndef __IOPCHDA_AsyncUpdate_FWD_DEFINED__
#define __IOPCHDA_AsyncUpdate_FWD_DEFINED__
typedef interface IOPCHDA_AsyncUpdate IOPCHDA_AsyncUpdate;
#endif 	/* __IOPCHDA_AsyncUpdate_FWD_DEFINED__ */


#ifndef __IOPCHDA_AsyncAnnotations_FWD_DEFINED__
#define __IOPCHDA_AsyncAnnotations_FWD_DEFINED__
typedef interface IOPCHDA_AsyncAnnotations IOPCHDA_AsyncAnnotations;
#endif 	/* __IOPCHDA_AsyncAnnotations_FWD_DEFINED__ */


#ifndef __IOPCHDA_Playback_FWD_DEFINED__
#define __IOPCHDA_Playback_FWD_DEFINED__
typedef interface IOPCHDA_Playback IOPCHDA_Playback;
#endif 	/* __IOPCHDA_Playback_FWD_DEFINED__ */


#ifndef __IOPCHDA_DataCallback_FWD_DEFINED__
#define __IOPCHDA_DataCallback_FWD_DEFINED__
typedef interface IOPCHDA_DataCallback IOPCHDA_DataCallback;
#endif 	/* __IOPCHDA_DataCallback_FWD_DEFINED__ */


#ifndef __CATID_OPCHDAServer10_FWD_DEFINED__
#define __CATID_OPCHDAServer10_FWD_DEFINED__
typedef interface CATID_OPCHDAServer10 CATID_OPCHDAServer10;
#endif 	/* __CATID_OPCHDAServer10_FWD_DEFINED__ */


#ifndef __IOPCHDA_Server_FWD_DEFINED__
#define __IOPCHDA_Server_FWD_DEFINED__
typedef interface IOPCHDA_Server IOPCHDA_Server;
#endif 	/* __IOPCHDA_Server_FWD_DEFINED__ */


#ifndef __IOPCHDA_Browser_FWD_DEFINED__
#define __IOPCHDA_Browser_FWD_DEFINED__
typedef interface IOPCHDA_Browser IOPCHDA_Browser;
#endif 	/* __IOPCHDA_Browser_FWD_DEFINED__ */


#ifndef __IOPCHDA_SyncRead_FWD_DEFINED__
#define __IOPCHDA_SyncRead_FWD_DEFINED__
typedef interface IOPCHDA_SyncRead IOPCHDA_SyncRead;
#endif 	/* __IOPCHDA_SyncRead_FWD_DEFINED__ */


#ifndef __IOPCHDA_SyncUpdate_FWD_DEFINED__
#define __IOPCHDA_SyncUpdate_FWD_DEFINED__
typedef interface IOPCHDA_SyncUpdate IOPCHDA_SyncUpdate;
#endif 	/* __IOPCHDA_SyncUpdate_FWD_DEFINED__ */


#ifndef __IOPCHDA_SyncAnnotations_FWD_DEFINED__
#define __IOPCHDA_SyncAnnotations_FWD_DEFINED__
typedef interface IOPCHDA_SyncAnnotations IOPCHDA_SyncAnnotations;
#endif 	/* __IOPCHDA_SyncAnnotations_FWD_DEFINED__ */


#ifndef __IOPCHDA_AsyncRead_FWD_DEFINED__
#define __IOPCHDA_AsyncRead_FWD_DEFINED__
typedef interface IOPCHDA_AsyncRead IOPCHDA_AsyncRead;
#endif 	/* __IOPCHDA_AsyncRead_FWD_DEFINED__ */


#ifndef __IOPCHDA_AsyncUpdate_FWD_DEFINED__
#define __IOPCHDA_AsyncUpdate_FWD_DEFINED__
typedef interface IOPCHDA_AsyncUpdate IOPCHDA_AsyncUpdate;
#endif 	/* __IOPCHDA_AsyncUpdate_FWD_DEFINED__ */


#ifndef __IOPCHDA_AsyncAnnotations_FWD_DEFINED__
#define __IOPCHDA_AsyncAnnotations_FWD_DEFINED__
typedef interface IOPCHDA_AsyncAnnotations IOPCHDA_AsyncAnnotations;
#endif 	/* __IOPCHDA_AsyncAnnotations_FWD_DEFINED__ */


#ifndef __IOPCHDA_Playback_FWD_DEFINED__
#define __IOPCHDA_Playback_FWD_DEFINED__
typedef interface IOPCHDA_Playback IOPCHDA_Playback;
#endif 	/* __IOPCHDA_Playback_FWD_DEFINED__ */


#ifndef __IOPCHDA_DataCallback_FWD_DEFINED__
#define __IOPCHDA_DataCallback_FWD_DEFINED__
typedef interface IOPCHDA_DataCallback IOPCHDA_DataCallback;
#endif 	/* __IOPCHDA_DataCallback_FWD_DEFINED__ */


/* header files for imported files */
#include "oaidl.h"

#ifdef __cplusplus
extern "C"{
#endif 

void * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void * ); 

#ifndef __CATID_OPCHDAServer10_INTERFACE_DEFINED__
#define __CATID_OPCHDAServer10_INTERFACE_DEFINED__

/* interface CATID_OPCHDAServer10 */
/* [object][uuid] */ 


EXTERN_C const IID IID_CATID_OPCHDAServer10;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("7DE5B060-E089-11d2-A5E6-000086339399")
    CATID_OPCHDAServer10 : public IUnknown
    {
    public:
    };
    
#else 	/* C style interface */

    typedef struct CATID_OPCHDAServer10Vtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            CATID_OPCHDAServer10 * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            CATID_OPCHDAServer10 * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            CATID_OPCHDAServer10 * This);
        
        END_INTERFACE
    } CATID_OPCHDAServer10Vtbl;

    interface CATID_OPCHDAServer10
    {
        CONST_VTBL struct CATID_OPCHDAServer10Vtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define CATID_OPCHDAServer10_QueryInterface(This,riid,ppvObject)	\
    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)

#define CATID_OPCHDAServer10_AddRef(This)	\
    (This)->lpVtbl -> AddRef(This)

#define CATID_OPCHDAServer10_Release(This)	\
    (This)->lpVtbl -> Release(This)


#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* __CATID_OPCHDAServer10_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_opchda_0115 */
/* [local] */ 

#define CATID_OPCHDAServer10 IID_CATID_OPCHDAServer10
typedef 
enum tagOPCHDA_SERVERSTATUS
    {	OPCHDA_UP	= 1,
	OPCHDA_DOWN	= OPCHDA_UP + 1,
	OPCHDA_INDETERMINATE	= OPCHDA_DOWN + 1
    } 	OPCHDA_SERVERSTATUS;

typedef 
enum tagOPCHDA_BROWSEDIRECTION
    {	OPCHDA_BROWSE_UP	= 1,
	OPCHDA_BROWSE_DOWN	= OPCHDA_BROWSE_UP + 1,
	OPCHDA_BROWSE_DIRECT	= OPCHDA_BROWSE_DOWN + 1
    } 	OPCHDA_BROWSEDIRECTION;

typedef 
enum tagOPCHDA_BROWSETYPE
    {	OPCHDA_BRANCH	= 1,
	OPCHDA_LEAF	= OPCHDA_BRANCH + 1,
	OPCHDA_FLAT	= OPCHDA_LEAF + 1,
	OPCHDA_ITEMS	= OPCHDA_FLAT + 1
    } 	OPCHDA_BROWSETYPE;

typedef 
enum tagOPCHDA_ANNOTATIONCAPABILITIES
    {	OPCHDA_READANNOTATIONCAP	= 0x1,
	OPCHDA_INSERTANNOTATIONCAP	= 0x2
    } 	OPCHDA_ANNOTATIONCAPABILITIES;

typedef 
enum tagOPCHDA_UPDATECAPABILITIES
    {	OPCHDA_INSERTCAP	= 0x1,
	OPCHDA_REPLACECAP	= 0x2,
	OPCHDA_INSERTREPLACECAP	= 0x4,
	OPCHDA_DELETERAWCAP	= 0x8,
	OPCHDA_DELETEATTIMECAP	= 0x10
    } 	OPCHDA_UPDATECAPABILITIES;

typedef 
enum tagOPCHDA_OPERATORCODES
    {	OPCHDA_EQUAL	= 1,
	OPCHDA_LESS	= OPCHDA_EQUAL + 1,
	OPCHDA_LESSEQUAL	= OPCHDA_LESS + 1,
	OPCHDA_GREATER	= OPCHDA_LESSEQUAL + 1,
	OPCHDA_GREATEREQUAL	= OPCHDA_GREATER + 1,
	OPCHDA_NOTEQUAL	= OPCHDA_GREATEREQUAL + 1
    } 	OPCHDA_OPERATORCODES;

typedef 
enum tagOPCHDA_EDITTYPE
    {	OPCHDA_INSERT	= 1,
	OPCHDA_REPLACE	= OPCHDA_INSERT + 1,
	OPCHDA_INSERTREPLACE	= OPCHDA_REPLACE + 1,
	OPCHDA_DELETE	= OPCHDA_INSERTREPLACE + 1
    } 	OPCHDA_EDITTYPE;

typedef 
enum tagOPCHDA_AGGREGATE
    {	OPCHDA_NOAGGREGATE	= 0,
	OPCHDA_INTERPOLATIVE	= OPCHDA_NOAGGREGATE + 1,
	OPCHDA_TOTAL	= OPCHDA_INTERPOLATIVE + 1,
	OPCHDA_AVERAGE	= OPCHDA_TOTAL + 1,
	OPCHDA_TIMEAVERAGE	= OPCHDA_AVERAGE + 1,
	OPCHDA_COUNT	= OPCHDA_TIMEAVERAGE + 1,
	OPCHDA_STDEV	= OPCHDA_COUNT + 1,
	OPCHDA_MINIMUMACTUALTIME	= OPCHDA_STDEV + 1,
	OPCHDA_MINIMUM	= OPCHDA_MINIMUMACTUALTIME + 1,
	OPCHDA_MAXIMUMACTUALTIME	= OPCHDA_MINIMUM + 1,
	OPCHDA_MAXIMUM	= OPCHDA_MAXIMUMACTUALTIME + 1,
	OPCHDA_START	= OPCHDA_MAXIMUM + 1,
	OPCHDA_END	= OPCHDA_START + 1,
	OPCHDA_DELTA	= OPCHDA_END + 1,
	OPCHDA_REGSLOPE	= OPCHDA_DELTA + 1,
	OPCHDA_REGCONST	= OPCHDA_REGSLOPE + 1,
	OPCHDA_REGDEV	= OPCHDA_REGCONST + 1,
	OPCHDA_VARIANCE	= OPCHDA_REGDEV + 1,
	OPCHDA_RANGE	= OPCHDA_VARIANCE + 1,
	OPCHDA_DURATIONGOOD	= OPCHDA_RANGE + 1,
	OPCHDA_DURATIONBAD	= OPCHDA_DURATIONGOOD + 1,
	OPCHDA_PERCENTGOOD	= OPCHDA_DURATIONBAD + 1,
	OPCHDA_PERCENTBAD	= OPCHDA_PERCENTGOOD + 1,
	OPCHDA_WORSTQUALITY	= OPCHDA_PERCENTBAD + 1,
	OPCHDA_ANNOTATIONS	= OPCHDA_WORSTQUALITY + 1
    } 	OPCHDA_AGGREGATE;

typedef DWORD OPCHANDLE;

typedef struct tagOPCHDA_ANNOTATION
    {
    OPCHANDLE hClient;
    DWORD dwNumValues;
    /* [size_is] */ FILETIME *ftTimeStamps;
    /* [string][size_is] */ LPWSTR *szAnnotation;
    /* [size_is] */ FILETIME *ftAnnotationTime;
    /* [string][size_is] */ LPWSTR *szUser;
    } 	OPCHDA_ANNOTATION;

typedef struct tagOPCHDA_MODIFIEDITEM
    {
    OPCHANDLE hClient;
    DWORD dwCount;
    /* [size_is] */ FILETIME *pftTimeStamps;
    /* [size_is] */ DWORD *pdwQualities;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -