如何阅读简化的 Windows 进程标题?

问题描述

在任务管理器中,进程以简单的名称显示,例如“Google Chrome”和“Visual Studio”:

Windows Task Manager

GetwindowCaption(handle,buff,nChars)GetwindowText(handle,nChars)调用输出更复杂的窗口标题,例如 ProjectName (正在运行) - Visual Studio。对于 Visual Studioprocess.ProcessName 将返回“devenv”。如何在没有给定句柄的添加详细信息的情况下获得简化的窗口标题,例如“Visual Studio”或“Google Chrome”?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)