-1

I wanted to know is there any way to retrieve all the handles associated with a process using process ID in VBScript ?

Dungeon Hunter
  • 19,001
  • 13
  • 58
  • 80

1 Answers1

3

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
Cubi73
  • 1,791
  • 3
  • 28
  • 45
RED SOFT ADAIR
  • 11,639
  • 10
  • 50
  • 86