david-risney / WebView2Utilities

WebView2Utilities helps you develop and debug Microsoft Edge WebView2 apps.
https://david-risney.github.io/WebView2Utilities/
MIT License
25 stars 7 forks source link

Investigate OSS using NtQuery to find proc and pipe mappings #75

Open david-risney opened 4 months ago

david-risney commented 4 months ago

Consider looking into OSS that uses NtQuery* related OS functions to find which processes have which pipes open. Issues previously were that it could be slow and that it can randomly hang when getting the name of some pipes. Running with threads we terminate on timeout could mitigate the hangs and could help with the perf. Adding multithreading complicated the code but perhaps OSS code already does this that we might use.

david-risney commented 4 months ago