📄 opcdx.h
字号:
/* 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:41 2004
*/
/* Compiler settings for .\OpcDx.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 __OpcDx_h__
#define __OpcDx_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __CATID_OPCDXServer10_FWD_DEFINED__
#define __CATID_OPCDXServer10_FWD_DEFINED__
typedef interface CATID_OPCDXServer10 CATID_OPCDXServer10;
#endif /* __CATID_OPCDXServer10_FWD_DEFINED__ */
#ifndef __IOPCConfiguration_FWD_DEFINED__
#define __IOPCConfiguration_FWD_DEFINED__
typedef interface IOPCConfiguration IOPCConfiguration;
#endif /* __IOPCConfiguration_FWD_DEFINED__ */
#ifndef __CATID_OPCDXServer10_FWD_DEFINED__
#define __CATID_OPCDXServer10_FWD_DEFINED__
typedef interface CATID_OPCDXServer10 CATID_OPCDXServer10;
#endif /* __CATID_OPCDXServer10_FWD_DEFINED__ */
#ifndef __IOPCConfiguration_FWD_DEFINED__
#define __IOPCConfiguration_FWD_DEFINED__
typedef interface IOPCConfiguration IOPCConfiguration;
#endif /* __IOPCConfiguration_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 __CATID_OPCDXServer10_INTERFACE_DEFINED__
#define __CATID_OPCDXServer10_INTERFACE_DEFINED__
/* interface CATID_OPCDXServer10 */
/* [object][uuid] */
EXTERN_C const IID IID_CATID_OPCDXServer10;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("A0C85BB8-4161-4fd6-8655-BB584601C9E0")
CATID_OPCDXServer10 : public IUnknown
{
public:
};
#else /* C style interface */
typedef struct CATID_OPCDXServer10Vtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
CATID_OPCDXServer10 * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
CATID_OPCDXServer10 * This);
ULONG ( STDMETHODCALLTYPE *Release )(
CATID_OPCDXServer10 * This);
END_INTERFACE
} CATID_OPCDXServer10Vtbl;
interface CATID_OPCDXServer10
{
CONST_VTBL struct CATID_OPCDXServer10Vtbl *lpVtbl;
};
#ifdef COBJMACROS
#define CATID_OPCDXServer10_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define CATID_OPCDXServer10_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define CATID_OPCDXServer10_Release(This) \
(This)->lpVtbl -> Release(This)
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __CATID_OPCDXServer10_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_OpcDx_0258 */
/* [local] */
#define CATID_OPCDXServer10 IID_CATID_OPCDXServer10
typedef struct tagOpcDxItemIdentifier
{
LPWSTR szItemPath;
LPWSTR szItemName;
LPWSTR szVersion;
DWORD dwReserved;
} OpcDxItemIdentifier;
typedef struct tagOpcDxIdentifiedResult
{
LPWSTR szItemPath;
LPWSTR szItemName;
LPWSTR szVersion;
HRESULT hResultCode;
} OpcDxIdentifiedResult;
typedef struct tagOpcDxGeneralResponse
{
LPWSTR szConfigurationVersion;
DWORD dwCount;
/* [size_is] */ OpcDxIdentifiedResult *pIdentifiedResults;
DWORD dwReserved;
} OpcDxGeneralResponse;
typedef struct tagOpcDxSourceServer
{
DWORD dwMask;
LPWSTR szItemPath;
LPWSTR szItemName;
LPWSTR szVersion;
LPWSTR szName;
LPWSTR szDescription;
LPWSTR szServerType;
LPWSTR szServerURL;
BOOL bDefaultSourceServerConnected;
DWORD dwReserved;
} OpcDxSourceServer;
typedef struct tagOpcDxConnection
{
DWORD dwMask;
LPWSTR szItemPath;
LPWSTR szItemName;
LPWSTR szVersion;
DWORD dwBrowsePathCount;
/* [size_is] */ LPWSTR *pszBrowsePaths;
LPWSTR szName;
LPWSTR szDescription;
LPWSTR szKeyword;
BOOL bDefaultSourceItemConnected;
BOOL bDefaultTargetItemConnected;
BOOL bDefaultOverridden;
VARIANT vDefaultOverrideValue;
VARIANT vSubstituteValue;
BOOL bEnableSubstituteValue;
LPWSTR szTargetItemPath;
LPWSTR szTargetItemName;
LPWSTR szSourceServerName;
LPWSTR szSourceItemPath;
LPWSTR szSourceItemName;
DWORD dwSourceItemQueueSize;
DWORD dwUpdateRate;
FLOAT fltDeadBand;
LPWSTR szVendorData;
} OpcDxConnection;
extern RPC_IF_HANDLE __MIDL_itf_OpcDx_0258_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_OpcDx_0258_v0_0_s_ifspec;
#ifndef __IOPCConfiguration_INTERFACE_DEFINED__
#define __IOPCConfiguration_INTERFACE_DEFINED__
/* interface IOPCConfiguration */
/* [unique][uuid][object] */
EXTERN_C const IID IID_IOPCConfiguration;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("C130D281-F4AA-4779-8846-C2C4CB444F2A")
IOPCConfiguration : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE GetServers(
/* [out] */ DWORD *pdwCount,
/* [size_is][size_is][out] */ OpcDxSourceServer **ppServers) = 0;
virtual HRESULT STDMETHODCALLTYPE AddServers(
/* [in] */ DWORD dwCount,
/* [size_is][in] */ OpcDxSourceServer *pServers,
/* [out] */ OpcDxGeneralResponse *pResponse) = 0;
virtual HRESULT STDMETHODCALLTYPE ModifyServers(
/* [in] */ DWORD dwCount,
/* [size_is][in] */ OpcDxSourceServer *pServers,
/* [out] */ OpcDxGeneralResponse *pResponse) = 0;
virtual HRESULT STDMETHODCALLTYPE DeleteServers(
/* [in] */ DWORD dwCount,
/* [size_is][in] */ OpcDxItemIdentifier *pServers,
/* [out] */ OpcDxGeneralResponse *pResponse) = 0;
virtual HRESULT STDMETHODCALLTYPE CopyDefaultServerAttributes(
/* [in] */ BOOL bConfigToStatus,
/* [in] */ DWORD dwCount,
/* [size_is][in] */ OpcDxItemIdentifier *pServers,
/* [out] */ OpcDxGeneralResponse *pResponse) = 0;
virtual HRESULT STDMETHODCALLTYPE QueryDXConnections(
/* [in] */ LPWSTR szBrowsePath,
/* [in] */ DWORD dwNoOfMasks,
/* [size_is][in] */ OpcDxConnection *pDXConnectionMasks,
/* [in] */ BOOL bRecursive,
/* [size_is][size_is][out] */ HRESULT **ppErrors,
/* [out] */ DWORD *pdwCount,
/* [size_is][size_is][out] */ OpcDxConnection **ppConnections) = 0;
virtual HRESULT STDMETHODCALLTYPE AddDXConnections(
/* [in] */ DWORD dwCount,
/* [size_is][in] */ OpcDxConnection *pConnections,
/* [out] */ OpcDxGeneralResponse *pResponse) = 0;
virtual HRESULT STDMETHODCALLTYPE UpdateDXConnections(
/* [in] */ LPWSTR szBrowsePath,
/* [in] */ DWORD dwNoOfMasks,
/* [size_is][in] */ OpcDxConnection *pDXConnectionMasks,
/* [in] */ BOOL bRecursive,
/* [in] */ OpcDxConnection *pDXConnectionDefinition,
/* [size_is][size_is][out] */ HRESULT **ppErrors,
/* [out] */ OpcDxGeneralResponse *pResponse) = 0;
virtual HRESULT STDMETHODCALLTYPE ModifyDXConnections(
/* [in] */ DWORD dwCount,
/* [size_is][in] */ OpcDxConnection *pDXConnectionDefinitions,
/* [out] */ OpcDxGeneralResponse *pResponse) = 0;
virtual HRESULT STDMETHODCALLTYPE DeleteDXConnections(
/* [in] */ LPWSTR szBrowsePath,
/* [in] */ DWORD dwNoOfMasks,
/* [size_is][in] */ OpcDxConnection *pDXConnectionMasks,
/* [in] */ BOOL bRecursive,
/* [size_is][size_is][out] */ HRESULT **ppErrors,
/* [out] */ OpcDxGeneralResponse *pResponse) = 0;
virtual HRESULT STDMETHODCALLTYPE CopyDXConnectionDefaultAttributes(
/* [in] */ BOOL bConfigToStatus,
/* [in] */ LPWSTR szBrowsePath,
/* [in] */ DWORD dwNoOfMasks,
/* [size_is][in] */ OpcDxConnection *pDXConnectionMasks,
/* [in] */ BOOL bRecursive,
/* [size_is][size_is][out] */ HRESULT **ppErrors,
/* [out] */ OpcDxGeneralResponse *pResponse) = 0;
virtual HRESULT STDMETHODCALLTYPE ResetConfiguration(
/* [in] */ LPWSTR szConfigurationVersion,
/* [out] */ LPWSTR *pszConfigurationVersion) = 0;
};
#else /* C style interface */
typedef struct IOPCConfigurationVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IOPCConfiguration * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IOPCConfiguration * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IOPCConfiguration * This);
HRESULT ( STDMETHODCALLTYPE *GetServers )(
IOPCConfiguration * This,
/* [out] */ DWORD *pdwCount,
/* [size_is][size_is][out] */ OpcDxSourceServer **ppServers);
HRESULT ( STDMETHODCALLTYPE *AddServers )(
IOPCConfiguration * This,
/* [in] */ DWORD dwCount,
/* [size_is][in] */ OpcDxSourceServer *pServers,
/* [out] */ OpcDxGeneralResponse *pResponse);
HRESULT ( STDMETHODCALLTYPE *ModifyServers )(
IOPCConfiguration * This,
/* [in] */ DWORD dwCount,
/* [size_is][in] */ OpcDxSourceServer *pServers,
/* [out] */ OpcDxGeneralResponse *pResponse);
HRESULT ( STDMETHODCALLTYPE *DeleteServers )(
IOPCConfiguration * This,
/* [in] */ DWORD dwCount,
/* [size_is][in] */ OpcDxItemIdentifier *pServers,
/* [out] */ OpcDxGeneralResponse *pResponse);
HRESULT ( STDMETHODCALLTYPE *CopyDefaultServerAttributes )(
IOPCConfiguration * This,
/* [in] */ BOOL bConfigToStatus,
/* [in] */ DWORD dwCount,
/* [size_is][in] */ OpcDxItemIdentifier *pServers,
/* [out] */ OpcDxGeneralResponse *pResponse);
HRESULT ( STDMETHODCALLTYPE *QueryDXConnections )(
IOPCConfiguration * This,
/* [in] */ LPWSTR szBrowsePath,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -