Determine the Process ID of the Client Process com

2020-04-10 03:35发布

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.

enter image description here

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

0条回答
登录 后发表回答