rpcproxymsg.h
来自「the vxworks system kernel souce packeg.t」· C头文件 代码 · 共 53 行
H
53 行
/* RpcProxyMsg.h - VxDCOM RpcProxyMsg class definition *//* Copyright (c) 1999 Wind River Systems, Inc. *//*modification history--------------------01f,26jul01,dbs use IOrpcClientChannel interface01e,05aug99,dbs change to byte instead of char01d,06jul99,aim change from RpcBinding to RpcIfClient01c,20may99,dbs move NDR phase into streams01b,17may99,dbs fix DCE usage of class01a,12may99,dbs created*/#ifndef __INCRpcProxyMsg_h#define __INCRpcProxyMsg_h#include "dcomProxy.h"#include "NdrStreams.h"#include "orpc.h"typedef CComPtr<IOrpcClientChannel> IOrpcClientChannelPtr;class RpcProxyMsg { public: RpcProxyMsg (REFIID iid, RpcMode::Mode_t mode, ULONG opnum, void* pv); ~RpcProxyMsg (); NdrMarshalStream* marshalStreamGet (); HRESULT SendReceive (); NdrUnmarshalStream* unmarshalStreamGet (); void interfaceInfoSet (REFIPID i, IOrpcClientChannel* c) { m_ipid = i; m_pChannel = c; } private: RpcMode::Mode_t m_mode; // mode flag (OBJECT or DCE) NdrMarshalStream m_mshlStrm; // stream to marshal into NdrUnmarshalStream m_unmshlStrm; // stream to unmarshal from IUnknown* m_punkItfPtr; // used only for OBJECT mdoe IID m_iid; // IID IPID m_ipid; // IPID ULONG m_opnum; // method number byte* m_pReply; // received reply IOrpcClientChannelPtr m_pChannel; // channel to remote server };#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?