最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

c - How to enumerate over all Win32 Job Objects - Stack Overflow

programmeradmin2浏览0评论

In the context of monitoring and observability, I'm exploring a solution to retrieve the names of all Job Objects from a local system using the Win32 C API.

The documentation clearly explains how to get details about a single Job Object. However, the OpenJobObject call requires the name of the Job.

Due to some limitations, I would like to avoid using WMI.

One approach I know is to loop through all process handles and call IsProcessInJob, but this seems too resource-intensive.

发布评论

评论列表(0)

  1. 暂无评论