On Wed Apr 12 07:42:32 2023 +0000, Yeshun Ye wrote:
The patch may fix an application, but that doesn't mean it's correct.
Yeah, I know that. The problem is my test isn't just add an interface function to the existing interface, I need to add a new interface without 'implicit_handle'. I need to understand all the server test code of rpcrt4 and insert my interface in a correct place, and start the server and client at a right time. It's too hard, Visual Studio did this for me automatically.
Does the following help?
``` [ explicit_handle ] interface interface-name { ... }
```
See https://learn.microsoft.com/en-us/windows/win32/midl/explicit-handle and https://learn.microsoft.com/en-us/windows/win32/rpc/explicit-binding-handles