简体   繁体   English

如何获取绑定到我正在运行的控制台窗口的进程列表,该列表在Windows 2000中也能正常工作?

[英]how to get list of processes that are bind to console window that I'm running in that would work also in windows 2000?

The only thing I found is GetConsoleProcessList . 我发现的唯一东西是GetConsoleProcessList The thing here is that this function doesn't work in Windows 2000. Is there any way to get around this issue, so it would work in all systems since win2k ? 这里的问题是此功能在Windows 2000中不起作用。是否有任何方法可以解决此问题,所以从win2k开始,它可以在所有系统中工作? Is there another function that does similar thing ? 有另一个功能可以做类似的事情吗?

The GetConsoleProcessList function is only available on Windows XP/2003 and higher. GetConsoleProcessList函数仅在Windows XP / 2003和更高版本上可用。 Not on Windows 2000. 不在Windows 2000上。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM