简体   繁体   中英

How to Get the Handle of all Windows in a process using process ID

我想知道有什么方法可以使用VBScript中的进程ID检索与该进程关联的所有句柄吗?

I dont know about VBScript, but the WinAPI Functions to use would be

  1. Thread32First / Thread32Next in order to iterate over all threads line in this (c++) sample
  2. EnumThreadWindows

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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