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

发布于 2024-12-22 08:49:54 字数 217 浏览 2 评论 0原文

我发现的唯一的东西是 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

热血少△年 2024-12-29 08:49:54

GetConsoleProcessList 函数仅适用于 Windows XP/2003 及更高版本。不适用于 Windows 2000。

The GetConsoleProcessList function is only available on Windows XP/2003 and higher. Not on Windows 2000.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文