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

📄 opc_p.c

📁 一个关于OPC DA 的客户端程序
💻 C
📖 第 1 页 / 共 5 页
字号:
/* this ALWAYS GENERATED file contains the proxy stub code */


/* File created by MIDL compiler version 5.01.0164 */
/* at Thu Dec 08 13:39:17 2005
 */
/* Compiler settings for OPC.idl:
    Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
    error checks: allocation ref bounds_check enum stub_data 
*/
//@@MIDL_FILE_HEADING(  )

#define USE_STUBLESS_PROXY


/* verify that the <rpcproxy.h> version is high enough to compile this file*/
#ifndef __REDQ_RPCPROXY_H_VERSION__
#define __REQUIRED_RPCPROXY_H_VERSION__ 440
#endif


#include "rpcproxy.h"
#ifndef __RPCPROXY_H_VERSION__
#error this stub requires an updated version of <rpcproxy.h>
#endif // __RPCPROXY_H_VERSION__


#include "OPC.h"

#define TYPE_FORMAT_STRING_SIZE   1595                              
#define PROC_FORMAT_STRING_SIZE   1489                              

typedef struct _MIDL_TYPE_FORMAT_STRING
    {
    short          Pad;
    unsigned char  Format[ TYPE_FORMAT_STRING_SIZE ];
    } MIDL_TYPE_FORMAT_STRING;

typedef struct _MIDL_PROC_FORMAT_STRING
    {
    short          Pad;
    unsigned char  Format[ PROC_FORMAT_STRING_SIZE ];
    } MIDL_PROC_FORMAT_STRING;


extern const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString;
extern const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString;


/* Standard interface: __MIDL_itf_OPC_0000, ver. 0.0,
   GUID={0x00000000,0x0000,0x0000,{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}} */


/* Object interface: IUnknown, ver. 0.0,
   GUID={0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */


/* Object interface: IOPCServer, ver. 0.0,
   GUID={0x39c13a4d,0x011e,0x11d0,{0x96,0x75,0x00,0x20,0xaf,0xd8,0xad,0xb3}} */


extern const MIDL_STUB_DESC Object_StubDesc;


extern const MIDL_SERVER_INFO IOPCServer_ServerInfo;

#pragma code_seg(".orpc")
static const unsigned short IOPCServer_FormatStringOffsetTable[] = 
    {
    0,
    88,
    128,
    168,
    196,
    230
    };

static const MIDL_SERVER_INFO IOPCServer_ServerInfo = 
    {
    &Object_StubDesc,
    0,
    __MIDL_ProcFormatString.Format,
    &IOPCServer_FormatStringOffsetTable[-3],
    0,
    0,
    0,
    0
    };

static const MIDL_STUBLESS_PROXY_INFO IOPCServer_ProxyInfo =
    {
    &Object_StubDesc,
    __MIDL_ProcFormatString.Format,
    &IOPCServer_FormatStringOffsetTable[-3],
    0,
    0,
    0
    };

CINTERFACE_PROXY_VTABLE(9) _IOPCServerProxyVtbl = 
{
    &IOPCServer_ProxyInfo,
    &IID_IOPCServer,
    IUnknown_QueryInterface_Proxy,
    IUnknown_AddRef_Proxy,
    IUnknown_Release_Proxy ,
    (void *)-1 /* IOPCServer::AddGroup */ ,
    (void *)-1 /* IOPCServer::GetErrorString */ ,
    (void *)-1 /* IOPCServer::GetGroupByName */ ,
    (void *)-1 /* IOPCServer::GetStatus */ ,
    (void *)-1 /* IOPCServer::RemoveGroup */ ,
    (void *)-1 /* IOPCServer::CreateGroupEnumerator */
};

const CInterfaceStubVtbl _IOPCServerStubVtbl =
{
    &IID_IOPCServer,
    &IOPCServer_ServerInfo,
    9,
    0, /* pure interpreted */
    CStdStubBuffer_METHODS
};


/* Object interface: IOPCServerPublicGroups, ver. 0.0,
   GUID={0x39c13a4e,0x011e,0x11d0,{0x96,0x75,0x00,0x20,0xaf,0xd8,0xad,0xb3}} */


extern const MIDL_STUB_DESC Object_StubDesc;


extern const MIDL_SERVER_INFO IOPCServerPublicGroups_ServerInfo;

#pragma code_seg(".orpc")
static const unsigned short IOPCServerPublicGroups_FormatStringOffsetTable[] = 
    {
    270,
    310
    };

static const MIDL_SERVER_INFO IOPCServerPublicGroups_ServerInfo = 
    {
    &Object_StubDesc,
    0,
    __MIDL_ProcFormatString.Format,
    &IOPCServerPublicGroups_FormatStringOffsetTable[-3],
    0,
    0,
    0,
    0
    };

static const MIDL_STUBLESS_PROXY_INFO IOPCServerPublicGroups_ProxyInfo =
    {
    &Object_StubDesc,
    __MIDL_ProcFormatString.Format,
    &IOPCServerPublicGroups_FormatStringOffsetTable[-3],
    0,
    0,
    0
    };

CINTERFACE_PROXY_VTABLE(5) _IOPCServerPublicGroupsProxyVtbl = 
{
    &IOPCServerPublicGroups_ProxyInfo,
    &IID_IOPCServerPublicGroups,
    IUnknown_QueryInterface_Proxy,
    IUnknown_AddRef_Proxy,
    IUnknown_Release_Proxy ,
    (void *)-1 /* IOPCServerPublicGroups::GetPublicGroupByName */ ,
    (void *)-1 /* IOPCServerPublicGroups::RemovePublicGroup */
};

const CInterfaceStubVtbl _IOPCServerPublicGroupsStubVtbl =
{
    &IID_IOPCServerPublicGroups,
    &IOPCServerPublicGroups_ServerInfo,
    5,
    0, /* pure interpreted */
    CStdStubBuffer_METHODS
};


/* Object interface: IOPCBrowseServerAddressSpace, ver. 0.0,
   GUID={0x39c13a4f,0x011e,0x11d0,{0x96,0x75,0x00,0x20,0xaf,0xd8,0xad,0xb3}} */


extern const MIDL_STUB_DESC Object_StubDesc;


extern const MIDL_SERVER_INFO IOPCBrowseServerAddressSpace_ServerInfo;

#pragma code_seg(".orpc")
static const unsigned short IOPCBrowseServerAddressSpace_FormatStringOffsetTable[] = 
    {
    344,
    372,
    406,
    458,
    492
    };

static const MIDL_SERVER_INFO IOPCBrowseServerAddressSpace_ServerInfo = 
    {
    &Object_StubDesc,
    0,
    __MIDL_ProcFormatString.Format,
    &IOPCBrowseServerAddressSpace_FormatStringOffsetTable[-3],
    0,
    0,
    0,
    0
    };

static const MIDL_STUBLESS_PROXY_INFO IOPCBrowseServerAddressSpace_ProxyInfo =
    {
    &Object_StubDesc,
    __MIDL_ProcFormatString.Format,
    &IOPCBrowseServerAddressSpace_FormatStringOffsetTable[-3],
    0,
    0,
    0
    };

CINTERFACE_PROXY_VTABLE(8) _IOPCBrowseServerAddressSpaceProxyVtbl = 
{
    &IOPCBrowseServerAddressSpace_ProxyInfo,
    &IID_IOPCBrowseServerAddressSpace,
    IUnknown_QueryInterface_Proxy,
    IUnknown_AddRef_Proxy,
    IUnknown_Release_Proxy ,
    (void *)-1 /* IOPCBrowseServerAddressSpace::QueryOrganization */ ,
    (void *)-1 /* IOPCBrowseServerAddressSpace::ChangeBrowsePosition */ ,
    (void *)-1 /* IOPCBrowseServerAddressSpace::BrowseOPCItemIDs */ ,
    (void *)-1 /* IOPCBrowseServerAddressSpace::GetItemID */ ,
    (void *)-1 /* IOPCBrowseServerAddressSpace::BrowseAccessPaths */
};

const CInterfaceStubVtbl _IOPCBrowseServerAddressSpaceStubVtbl =
{
    &IID_IOPCBrowseServerAddressSpace,
    &IOPCBrowseServerAddressSpace_ServerInfo,
    8,
    0, /* pure interpreted */
    CStdStubBuffer_METHODS
};


/* Object interface: IOPCGroupStateMgt, ver. 0.0,
   GUID={0x39c13a50,0x011e,0x11d0,{0x96,0x75,0x00,0x20,0xaf,0xd8,0xad,0xb3}} */


extern const MIDL_STUB_DESC Object_StubDesc;


extern const MIDL_SERVER_INFO IOPCGroupStateMgt_ServerInfo;

#pragma code_seg(".orpc")
static const unsigned short IOPCGroupStateMgt_FormatStringOffsetTable[] = 
    {
    526,
    596,
    660,
    688
    };

static const MIDL_SERVER_INFO IOPCGroupStateMgt_ServerInfo = 
    {
    &Object_StubDesc,
    0,
    __MIDL_ProcFormatString.Format,
    &IOPCGroupStateMgt_FormatStringOffsetTable[-3],
    0,
    0,
    0,
    0
    };

static const MIDL_STUBLESS_PROXY_INFO IOPCGroupStateMgt_ProxyInfo =
    {
    &Object_StubDesc,
    __MIDL_ProcFormatString.Format,
    &IOPCGroupStateMgt_FormatStringOffsetTable[-3],
    0,
    0,
    0
    };

CINTERFACE_PROXY_VTABLE(7) _IOPCGroupStateMgtProxyVtbl = 
{
    &IOPCGroupStateMgt_ProxyInfo,
    &IID_IOPCGroupStateMgt,
    IUnknown_QueryInterface_Proxy,
    IUnknown_AddRef_Proxy,
    IUnknown_Release_Proxy ,
    (void *)-1 /* IOPCGroupStateMgt::GetState */ ,
    (void *)-1 /* IOPCGroupStateMgt::SetState */ ,
    (void *)-1 /* IOPCGroupStateMgt::SetName */ ,
    (void *)-1 /* IOPCGroupStateMgt::CloneGroup */
};

const CInterfaceStubVtbl _IOPCGroupStateMgtStubVtbl =
{
    &IID_IOPCGroupStateMgt,
    &IOPCGroupStateMgt_ServerInfo,
    7,
    0, /* pure interpreted */
    CStdStubBuffer_METHODS
};


/* Object interface: IOPCPublicGroupStateMgt, ver. 0.0,
   GUID={0x39c13a51,0x011e,0x11d0,{0x96,0x75,0x00,0x20,0xaf,0xd8,0xad,0xb3}} */


extern const MIDL_STUB_DESC Object_StubDesc;


extern const MIDL_SERVER_INFO IOPCPublicGroupStateMgt_ServerInfo;

#pragma code_seg(".orpc")
static const unsigned short IOPCPublicGroupStateMgt_FormatStringOffsetTable[] = 
    {
    728,
    756
    };

static const MIDL_SERVER_INFO IOPCPublicGroupStateMgt_ServerInfo = 
    {
    &Object_StubDesc,
    0,
    __MIDL_ProcFormatString.Format,
    &IOPCPublicGroupStateMgt_FormatStringOffsetTable[-3],
    0,
    0,
    0,
    0
    };

static const MIDL_STUBLESS_PROXY_INFO IOPCPublicGroupStateMgt_ProxyInfo =
    {
    &Object_StubDesc,
    __MIDL_ProcFormatString.Format,
    &IOPCPublicGroupStateMgt_FormatStringOffsetTable[-3],
    0,
    0,
    0
    };

CINTERFACE_PROXY_VTABLE(5) _IOPCPublicGroupStateMgtProxyVtbl = 
{
    &IOPCPublicGroupStateMgt_ProxyInfo,
    &IID_IOPCPublicGroupStateMgt,
    IUnknown_QueryInterface_Proxy,
    IUnknown_AddRef_Proxy,
    IUnknown_Release_Proxy ,
    (void *)-1 /* IOPCPublicGroupStateMgt::GetState */ ,
    (void *)-1 /* IOPCPublicGroupStateMgt::MoveToPublic */
};

const CInterfaceStubVtbl _IOPCPublicGroupStateMgtStubVtbl =
{
    &IID_IOPCPublicGroupStateMgt,
    &IOPCPublicGroupStateMgt_ServerInfo,
    5,
    0, /* pure interpreted */
    CStdStubBuffer_METHODS
};


/* Object interface: IOPCSyncIO, ver. 0.0,
   GUID={0x39c13a52,0x011e,0x11d0,{0x96,0x75,0x00,0x20,0xaf,0xd8,0xad,0xb3}} */


extern const MIDL_STUB_DESC Object_StubDesc;


extern const MIDL_SERVER_INFO IOPCSyncIO_ServerInfo;

#pragma code_seg(".orpc")
static const unsigned short IOPCSyncIO_FormatStringOffsetTable[] = 
    {
    778,
    830
    };

static const MIDL_SERVER_INFO IOPCSyncIO_ServerInfo = 
    {
    &Object_StubDesc,
    0,
    __MIDL_ProcFormatString.Format,
    &IOPCSyncIO_FormatStringOffsetTable[-3],
    0,
    0,
    0,
    0
    };

static const MIDL_STUBLESS_PROXY_INFO IOPCSyncIO_ProxyInfo =
    {
    &Object_StubDesc,
    __MIDL_ProcFormatString.Format,
    &IOPCSyncIO_FormatStringOffsetTable[-3],
    0,
    0,
    0
    };

CINTERFACE_PROXY_VTABLE(5) _IOPCSyncIOProxyVtbl = 
{
    &IOPCSyncIO_ProxyInfo,
    &IID_IOPCSyncIO,
    IUnknown_QueryInterface_Proxy,
    IUnknown_AddRef_Proxy,
    IUnknown_Release_Proxy ,
    (void *)-1 /* IOPCSyncIO::Read */ ,
    (void *)-1 /* IOPCSyncIO::Write */
};

const CInterfaceStubVtbl _IOPCSyncIOStubVtbl =
{
    &IID_IOPCSyncIO,
    &IOPCSyncIO_ServerInfo,
    5,
    0, /* pure interpreted */
    CStdStubBuffer_METHODS
};


/* Object interface: IOPCAsyncIO, ver. 0.0,
   GUID={0x39c13a53,0x011e,0x11d0,{0x96,0x75,0x00,0x20,0xaf,0xd8,0xad,0xb3}} */


extern const MIDL_STUB_DESC Object_StubDesc;


extern const MIDL_SERVER_INFO IOPCAsyncIO_ServerInfo;

#pragma code_seg(".orpc")
static const unsigned short IOPCAsyncIO_FormatStringOffsetTable[] = 
    {
    876,
    934,
    992,
    1032
    };

static const MIDL_SERVER_INFO IOPCAsyncIO_ServerInfo = 
    {
    &Object_StubDesc,
    0,
    __MIDL_ProcFormatString.Format,
    &IOPCAsyncIO_FormatStringOffsetTable[-3],
    0,
    0,
    0,

⌨️ 快捷键说明

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