一些WinAPI来检查哪个进程创建了命名管道?
是否有一些 WinAPI 调用可以告诉我谁(哪个进程)创建了命名管道?
注意:问这个问题时,我感觉它有某种“气味”,正确的设计是使用其他方式传达进程 ID/句柄,但是从管道本身获取此信息会更简单,因此如果有这样的API,我可能仍然会使用它。
Is there some WinAPI call which would tell me who (which process) has created the named pipe?
Note: Asking this questions, I have a feeling it "smells" somehow, and a proper design will be to communicate the process ID/handle using other means, however getting this information from the pipe itself would be simpler, and therefore if there is such API, I would probably still use it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,没有。 你对气味的看法是对的。
No, there isn't. And you are right about the smell.