Determine the Process ID of the Client Process communicating with a COM RPC Server

落花浮王杯 提交于 2019-12-31 02:08:48

问题


In a COM RPC Model, if the Server is running on a separate process, is it possible to know, the Process ID of the client Process communicating with the Server?

Use Case

I have an Out Process RPC Server which can receive request from one or more client process. Occasionally, the server needs to know the Client Process to write data back to the client address space using Write Process Memory.

Also Note, the API Signatures, the way the buffer is getting allocated and the APIs are getting called are beyond my control.

来源:https://stackoverflow.com/questions/18770684/determine-the-process-id-of-the-client-process-communicating-with-a-com-rpc-serv

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!