在运行时更改流程描述 [英] Change a process description at run time

查看:75
本文介绍了在运行时更改流程描述的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello


我有一个应用程序,可以使用CreateProcess()启动其他应用程序。每个新进程都获得一个唯一的端口号和其他东西。我的问题是,无论如何要在运行时添加端口号到新的流程描述? I
希望这能够通过查看任务管理器>来分离流程。处理>说明栏。



请理解我说的是运行时间而非编译时间。



与问候,


伊赫桑



解决方案

我确信有办法做这种事情。恶意软件作者会一直这样做。


但是,我在MSDN中看不到支持的API。 SetProcessInfo仅允许您设置优先级。快速访问谷歌表明这是不支持的。有办法做到这一点(正如我所说,恶意软件作者一直这样做)但如果我记得这个网站的
的TOC,我们不允许在这个论坛上讨论这些技术。


Hello

I have an application that starts other apps by using the CreateProcess(). Each of the new processes get a unique port number and other stuff. My question is there anyway to add, for example the port number, to the new process description at run time? I want this to to be able to separate the processes by looking at the Task manager > Processes > Description column.

Please understand I am talking about run time not compile time.

with regards,

Ehsan

解决方案

I am sure there are ways to do this kind of thing. Malware authors do it all the time.

However, I can see no supported API in MSDN. SetProcessInfo only allows you to set priority. A quick trip to google suggests that this is not supported. There are ways to do it (as I said, malware authors do this all the time) but if I remember the TOC for this site, we are not allowed to discuss those techniques on this forum.


这篇关于在运行时更改流程描述的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆