如何获得过程描述? [英] How to get process description?
本文介绍了如何获得过程描述?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想获得在Windows中使用C ++的进程描述(在任务管理器中看到的描述)。
I want to get the description of a process (the description that is seen in task manager) in Windows using C++.
推荐答案
p>您最有可能想使用VerQueryValue api调用从程序的主.exe文件的版本资源中获取desription字段。
You most likely want to get the desription field from the version resources of the main .exe file of the program, usinging the VerQueryValue api call.
请参阅 http://msdn.microsoft.com/en-us/library /ms647464(v=vs.85).aspx
这篇关于如何获得过程描述?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文