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

📄 comserver_p.c

📁 DCOM 上位机和嵌入式系统通信
💻 C
📖 第 1 页 / 共 5 页
字号:
    0,
    0,
    0
    };

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

CINTERFACE_PROXY_VTABLE(32) _IProcControlProxyVtbl = 
{
    &IProcControl_ProxyInfo,
    &IID_IProcControl,
    IUnknown_QueryInterface_Proxy,
    IUnknown_AddRef_Proxy,
    IUnknown_Release_Proxy ,
    0 /* (void *)-1 /* IDispatch::GetTypeInfoCount */ ,
    0 /* (void *)-1 /* IDispatch::GetTypeInfo */ ,
    0 /* (void *)-1 /* IDispatch::GetIDsOfNames */ ,
    0 /* IDispatch_Invoke_Proxy */ ,
    (void *)-1 /* IProcControl::clear_con_del */ ,
    (void *)-1 /* IProcControl::addonetodeltab */ ,
    (void *)-1 /* IProcControl::set_del_flag */ ,
    (void *)-1 /* IProcControl::set_ini_st */ ,
    (void *)-1 /* IProcControl::set_only_st */ ,
    (void *)-1 /* IProcControl::get_nwd_ct */ ,
    (void *)-1 /* IProcControl::getalarmct */ ,
    (void *)-1 /* IProcControl::getErrorct */ ,
    (void *)-1 /* IProcControl::get_stinfo */ ,
    (void *)-1 /* IProcControl::setcontrol */ ,
    (void *)-1 /* IProcControl::getonektp */ ,
    (void *)-1 /* IProcControl::loadsysfile */ ,
    (void *)-1 /* IProcControl::getonealarm */ ,
    (void *)-1 /* IProcControl::getoneError */ ,
    (void *)-1 /* IProcControl::getststate */ ,
    (void *)-1 /* IProcControl::set_stinfo */ ,
    (void *)-1 /* IProcControl::reloadOPC */ ,
    (void *)-1 /* IProcControl::killClient */ ,
    (void *)-1 /* IProcControl::gethost */ ,
    (void *)-1 /* IProcControl::getstinfo */ ,
    (void *)-1 /* IProcControl::getErrct */ ,
    (void *)-1 /* IProcControl::loadrjfile */ ,
    (void *)-1 /* IProcControl::set_devPT */ ,
    (void *)-1 /* IProcControl::del_devPT */ ,
    (void *)-1 /* IProcControl::getoneptinf */
};


static const PRPC_STUB_FUNCTION IProcControl_table[] =
{
    STUB_FORWARDING_FUNCTION,
    STUB_FORWARDING_FUNCTION,
    STUB_FORWARDING_FUNCTION,
    STUB_FORWARDING_FUNCTION,
    NdrStubCall2,
    NdrStubCall2,
    NdrStubCall2,
    NdrStubCall2,
    NdrStubCall2,
    NdrStubCall2,
    NdrStubCall2,
    NdrStubCall2,
    NdrStubCall2,
    NdrStubCall2,
    NdrStubCall2,
    NdrStubCall2,
    NdrStubCall2,
    NdrStubCall2,
    NdrStubCall2,
    NdrStubCall2,
    NdrStubCall2,
    NdrStubCall2,
    NdrStubCall2,
    NdrStubCall2,
    NdrStubCall2,
    NdrStubCall2,
    NdrStubCall2,
    NdrStubCall2,
    NdrStubCall2
};

CInterfaceStubVtbl _IProcControlStubVtbl =
{
    &IID_IProcControl,
    &IProcControl_ServerInfo,
    32,
    &IProcControl_table[-3],
    CStdStubBuffer_DELEGATING_METHODS
};


/* Object interface: Ipersonproc, ver. 0.0,
   GUID={0x72D2896C,0xDB65,0x42C5,{0x95,0xFE,0xD8,0x6C,0xB4,0x5D,0x5B,0x19}} */


extern const MIDL_STUB_DESC Object_StubDesc;


extern const MIDL_SERVER_INFO Ipersonproc_ServerInfo;

#pragma code_seg(".orpc")
static const unsigned short Ipersonproc_FormatStringOffsetTable[] = 
    {
    (unsigned short) -1,
    (unsigned short) -1,
    (unsigned short) -1,
    (unsigned short) -1,
    2662,
    156
    };

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

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

CINTERFACE_PROXY_VTABLE(9) _IpersonprocProxyVtbl = 
{
    &Ipersonproc_ProxyInfo,
    &IID_Ipersonproc,
    IUnknown_QueryInterface_Proxy,
    IUnknown_AddRef_Proxy,
    IUnknown_Release_Proxy ,
    0 /* (void *)-1 /* IDispatch::GetTypeInfoCount */ ,
    0 /* (void *)-1 /* IDispatch::GetTypeInfo */ ,
    0 /* (void *)-1 /* IDispatch::GetIDsOfNames */ ,
    0 /* IDispatch_Invoke_Proxy */ ,
    (void *)-1 /* Ipersonproc::ifrjst */ ,
    (void *)-1 /* Ipersonproc::processrj */
};


static const PRPC_STUB_FUNCTION Ipersonproc_table[] =
{
    STUB_FORWARDING_FUNCTION,
    STUB_FORWARDING_FUNCTION,
    STUB_FORWARDING_FUNCTION,
    STUB_FORWARDING_FUNCTION,
    NdrStubCall2,
    NdrStubCall2
};

CInterfaceStubVtbl _IpersonprocStubVtbl =
{
    &IID_Ipersonproc,
    &Ipersonproc_ServerInfo,
    9,
    &Ipersonproc_table[-3],
    CStdStubBuffer_DELEGATING_METHODS
};


/* Object interface: Irjinteface, ver. 0.0,
   GUID={0x1077EB01,0x5495,0x4F7F,{0xA3,0x4D,0x72,0x06,0xCD,0x3D,0xD4,0x60}} */


extern const MIDL_STUB_DESC Object_StubDesc;


extern const MIDL_SERVER_INFO Irjinteface_ServerInfo;

#pragma code_seg(".orpc")
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Irjinteface_getRenoTrace_Proxy( 
    Irjinteface __RPC_FAR * This,
    /* [in] */ short rno,
    /* [out] */ short __RPC_FAR *count,
    /* [size_is][out] */ short __RPC_FAR *wno,
    /* [size_is][out] */ short __RPC_FAR *idno,
    /* [size_is][out] */ DATE __RPC_FAR *dt)
{
CLIENT_CALL_RETURN _RetVal;


#if defined( _ALPHA_ )
    va_list vlist;
#endif
    
#if defined( _ALPHA_ )
    va_start(vlist,dt);
    _RetVal = NdrClientCall2(
                  ( PMIDL_STUB_DESC  )&Object_StubDesc,
                  (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[5182],
                  vlist.a0);
#elif defined( _PPC_ ) || defined( _MIPS_ )

    _RetVal = NdrClientCall2(
                  ( PMIDL_STUB_DESC  )&Object_StubDesc,
                  (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[5182],
                  ( unsigned char __RPC_FAR * )&This,
                  ( unsigned char __RPC_FAR * )&rno,
                  ( unsigned char __RPC_FAR * )&count,
                  ( unsigned char __RPC_FAR * )&wno,
                  ( unsigned char __RPC_FAR * )&idno,
                  ( unsigned char __RPC_FAR * )&dt);
#else
    _RetVal = NdrClientCall2(
                  ( PMIDL_STUB_DESC  )&Object_StubDesc,
                  (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[5182],
                  ( unsigned char __RPC_FAR * )&This);
#endif
    return ( HRESULT  )_RetVal.Simple;
    
}

/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Irjinteface_checkup_Proxy( 
    Irjinteface __RPC_FAR * This,
    /* [in] */ short count,
    /* [size_is][in] */ short __RPC_FAR *idno)
{
CLIENT_CALL_RETURN _RetVal;


#if defined( _ALPHA_ )
    va_list vlist;
#endif
    
#if defined( _ALPHA_ )
    va_start(vlist,idno);
    _RetVal = NdrClientCall2(
                  ( PMIDL_STUB_DESC  )&Object_StubDesc,
                  (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[5234],
                  vlist.a0);
#elif defined( _PPC_ ) || defined( _MIPS_ )

    _RetVal = NdrClientCall2(
                  ( PMIDL_STUB_DESC  )&Object_StubDesc,
                  (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[5234],
                  ( unsigned char __RPC_FAR * )&This,
                  ( unsigned char __RPC_FAR * )&count,
                  ( unsigned char __RPC_FAR * )&idno);
#else
    _RetVal = NdrClientCall2(
                  ( PMIDL_STUB_DESC  )&Object_StubDesc,
                  (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[5234],
                  ( unsigned char __RPC_FAR * )&This);
#endif
    return ( HRESULT  )_RetVal.Simple;
    
}

/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Irjinteface_getDeptdown_Proxy( 
    Irjinteface __RPC_FAR * This,
    /* [in] */ LPSTR dept,
    /* [out] */ short __RPC_FAR *count)
{
CLIENT_CALL_RETURN _RetVal;


#if defined( _ALPHA_ )
    va_list vlist;
#endif
    
#if defined( _ALPHA_ )
    va_start(vlist,count);
    _RetVal = NdrClientCall2(
                  ( PMIDL_STUB_DESC  )&Object_StubDesc,
                  (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[5268],
                  vlist.a0);
#elif defined( _PPC_ ) || defined( _MIPS_ )

    _RetVal = NdrClientCall2(
                  ( PMIDL_STUB_DESC  )&Object_StubDesc,
                  (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[5268],
                  ( unsigned char __RPC_FAR * )&This,
                  ( unsigned char __RPC_FAR * )&dept,
                  ( unsigned char __RPC_FAR * )&count);
#else
    _RetVal = NdrClientCall2(
                  ( PMIDL_STUB_DESC  )&Object_StubDesc,
                  (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[5268],
                  ( unsigned char __RPC_FAR * )&This);
#endif
    return ( HRESULT  )_RetVal.Simple;
    
}

/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Irjinteface_getDepttrace_Proxy( 
    Irjinteface __RPC_FAR * This,
    /* [in] */ LPSTR dept,
    /* [out] */ short __RPC_FAR *count,
    /* [size_is][out] */ short __RPC_FAR *wno,
    /* [size_is][out] */ short __RPC_FAR *idno,
    /* [size_is][out] */ short __RPC_FAR *rno,
    /* [size_is][out] */ DATE __RPC_FAR *dt,
    /* [size_is][out] */ short __RPC_FAR *addrn)
{
CLIENT_CALL_RETURN _RetVal;


#if defined( _ALPHA_ )
    va_list vlist;
#endif
    
#if defined( _ALPHA_ )
    va_start(vlist,addrn);
    _RetVal = NdrClientCall2(
                  ( PMIDL_STUB_DESC  )&Object_StubDesc,
                  (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[5302],
                  vlist.a0);
#elif defined( _PPC_ ) || defined( _MIPS_ )

    _RetVal = NdrClientCall2(
                  ( PMIDL_STUB_DESC  )&Object_StubDesc,
                  (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[5302],
                  ( unsigned char __RPC_FAR * )&This,
                  ( unsigned char __RPC_FAR * )&dept,
                  ( unsigned char __RPC_FAR * )&count,
                  ( unsigned char __RPC_FAR * )&wno,
                  ( unsigned char __RPC_FAR * )&idno,
                  ( unsigned char __RPC_FAR * )&rno,
                  ( unsigned char __RPC_FAR * )&dt,
                  ( unsigned char __RPC_FAR * )&addrn);
#else
    _RetVal = NdrClientCall2(
                  ( PMIDL_STUB_DESC  )&Object_StubDesc,
                  (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[5302],
                  ( unsigned char __RPC_FAR * )&This);
#endif
    return ( HRESULT  )_RetVal.Simple;
    
}

/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Irjinteface_getDeptuptj_Proxy( 
    Irjinteface __RPC_FAR * This,
    /* [in] */ LPSTR name,
    /* [out] */ short __RPC_FAR *count,
    /* [size_is][out] */ short __RPC_FAR *wno,
    /* [size_is][out] */ short __RPC_FAR *idno,
    /* [size_is][out] */ DATE __RPC_FAR *downdt,
    /* [size_is][out] */ DATE __RPC_FAR *updt,
    /* [size_is][out] */ short __RPC_FAR *dw_rno,
    /* [size_is][out] */ short __RPC_FAR *up_rno,
    /* [size_is][out] */ short __RPC_FAR *tag)
{
CLIENT_CALL_RETURN _RetVal;


#if defined( _ALPHA_ )
    va_list vlist;
#endif
    
#if defined( _ALPHA_ )
    va_start(vlist,tag);
    _RetVal = NdrClientCall2(
                  ( PMIDL_STUB_DESC  )&Object_StubDesc,
                  (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[5366],
                  vlist.a0);
#elif defined( _PPC_ ) || defined( _MIPS_ )

    _RetVal = NdrClientCall2(
                  ( PMIDL_STUB_DESC  )&Object_StubDesc,
                  (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[5366],
                  ( unsigned char __RPC_FAR * )&This,
                  ( unsigned char __RPC_FAR * )&name,
                  ( unsigned char __RPC_FAR * )&count,
                  ( unsigned char __RPC_FAR * )&wno,
                  ( unsigned char __RPC_FAR * )&idno,
                  ( unsigned char __RPC_FAR * )&downdt,
                  ( unsigned char __RPC_FAR * )&updt,
                  ( unsigned char __RPC_FAR * )&dw_rno,
                  ( unsigned char __RPC_FAR * )&up_rno,
                  ( unsigned char __RPC_FAR * )&tag);
#else
    _RetVal = NdrClientCall2(
                  ( PMIDL_STUB_DESC  )&Object_StubDesc,
                  (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[5366],
                  ( unsigned char __RPC_FAR * )&This);
#endif
    return ( HRESULT  )_RetVal.Simple;
    
}

/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Irjinteface_getDeptRenotrace_Proxy( 
    Irjinteface __RPC_FAR * This,
    /* [in] */ LPSTR dept,
    /* [in] */ short reno,
    /* [out] */ short __RPC_FAR *count,
    /* [size_is][out] */ short __RPC_FAR *wno,
    /* [size_is][out] */ short __RPC_FAR *idno,
    /* [size_is][out] */ DATE __RPC_FAR *dt)
{
CLIENT_CALL_RETURN _RetVal;


#if defined( _ALPHA_ )
    va_list vlist;
#endif
    
#if defined( _ALPHA_ )
    va_start(vlist,dt);
    _RetVal = NdrClientCall2(
                  ( PMIDL_STUB_DESC  )&Object_StubDesc,
                  (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[5442],
                  vlist.a0);
#elif defined( _PPC_ ) || defined( _MIPS_ )

    _RetVal = NdrClientCall2(
                  ( PMIDL_STUB_DESC  )&Object_StubDesc,
                  (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[5442],
                  ( unsigned char __RPC_FAR * )&This,
                  ( unsigned char __RPC_FAR * )&dept,
                  ( unsigned char __RPC_FAR * )&reno,
                  ( unsigned char __RPC_FAR * )&count,
                  ( unsigned char __RPC_FAR * )&wno,
                  ( unsigned char __RPC_FAR * )&idno,
                  ( unsigned char __RPC_FAR * )&dt);
#else
    _RetVal = NdrClientCall2(
                  ( PMIDL_STUB_DESC  )&Object_StubDesc,
                  (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[5442],
                  ( unsigned char __RPC_FAR * )&This);
#endif
    return ( HRESULT  )_RetVal.Simple;
    
}

/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Irjinteface_getDeptField_Proxy( 
    Irjinteface __RPC_FAR * This,
    /* [in] */ LPSTR dept,
    /* [in] */ short addr,
    /* [out] */ short __RPC_FAR *count,
    /* [size_is][out] */ short __RPC_FAR *wno,
    /* [size_is][out] */ short __RPC_FAR *idno,
    /* [size_is][out] */ short __RPC_FAR *rno,
    /* [size_is][out] */ DATE __RPC_FAR *dt)
{
CLIENT_CALL_RETURN _RetVal;


#if defined( _ALPHA_ )
    va_list vlist;
#endif
    
#if defined( _ALPHA_ )
    va_start(vlist,dt);
    _RetVal = NdrClientCall2(
                  ( PMIDL_STUB_DESC  )&Object_StubDesc,
                  (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[5500],
                  vlist.a0);
#elif defined( _PPC_ ) || defined( _MIPS_ )

    _RetVal = NdrClientCall2(
                  ( PMIDL_STUB_DESC  )&Object_StubDesc,
                  (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[5500],
                  ( unsigned char __RPC_FAR * )&This,
                  ( unsigned char __RPC_FAR * )&dept,
                  ( unsigned char __RPC_FAR * )&addr,

⌨️ 快捷键说明

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