如何获取绑定到我正在运行的控制台窗口的进程列表,该窗口也可以在 Windows 2000 中工作?
我发现的唯一的东西是 GetConsoleProcessList 。这里的问题是这个函数在Windows 2000中不起作用。有没有办法解决这个问题,所以它可以在win2k之后的所有系统中运行?还有另一个函数可以做类似的事情吗?
The only thing I found is 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 ? Is there another function that does similar thing ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
GetConsoleProcessList
函数仅适用于 Windows XP/2003 及更高版本。不适用于 Windows 2000。The
GetConsoleProcessList
function is only available on Windows XP/2003 and higher. Not on Windows 2000.