An open API service indexing awesome lists of open source software.

https://github.com/forderud/windowsrpcsample

Windows local RPC sample
https://github.com/forderud/windowsrpcsample

rpc win32

Last synced: 8 months ago
JSON representation

Windows local RPC sample

Awesome Lists containing this project

README

          

Sample Windows RPC code. Demonstrates how to perform Remote Procedure Calls (RPC) to call functions across process boundaries.

Using the [`ncalrpc`](https://learn.microsoft.com/en-us/windows/win32/midl/ncalrpc) (ALPC) transport, which is the same as COM uses for inter-process calls.

[Process Explorer](https://learn.microsoft.com/en-us/sysinternals/downloads/process-explorer) can be used to inspect the RPC ports exposed by the server:
image

## Acknowledgement
Based on the Microsoft [RPC Tutorial](https://learn.microsoft.com/en-us/windows/win32/rpc/tutorial) with MicrosoftDocs [#2096](https://github.com/MicrosoftDocs/win32/pull/2096) and [#2097](https://github.com/MicrosoftDocs/win32/pull/2097) fixes.