Determine Handle Count associated with a running process.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: icontin (icontin_at_icontin.com)
Date: 02/23/04

  • Next message: Victor: "Re: question about CreateProcess"
    Date: Mon, 23 Feb 2004 13:51:06 -0800
    
    

    Hi,

    I am putting together some monitoring functionality. I am able to discover all the running processes and getting information on them via CreateToolhelp32Snapshot and GetProcessMemoryInfo among the other calls required. My question is this, I believe I have all the information I need except for the Handles count for a process. On the task manager is says that it is 'the number of object handles in a processes object tables'. How can I get the count of handles associated with a process?

    I am guessing I am not searching for the correct terms that's why I have come empty handed thus far. Any assistance will be greatly appreciated. I am targetting Windows 2000 Servers.

    Thank you in advance!

    icontin


  • Next message: Victor: "Re: question about CreateProcess"

    Relevant Pages

    • Success - Family found after 80 years of searching!
      ... I would to thank everyone for their assistance in locating my SEGAL ... (SOLOMIN) ... relatives. ... I myself have been searching for 10 years for the family directly connected ...
      (soc.genealogy.jewish)
    • printer/all in one funtion dash board
      ... I have been searching for months now. ... got nothing until I was directed here from another Microsoft forum site. ... download what I need to make this accessible for use and maintenance. ... assistance or direction to the proper place for assistance will be greatly ...
      (microsoft.public.windows.mediacenter)
    • Re: annoying search redirectal
      ... the go to the following site and receive assistance and ... guidance. ... > I have a problem with searching ... > something is writing to areas in the registry, ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: ITunes Help
      ... Try searching your computer for files with the word ... "Badlands" in the name (just a hunch, but I'm guessing you had a few ...
      (rec.music.artists.springsteen)
    • Registry question on HKEY_USERS
      ... Thanks for any assistance you provide:) ... When i browse to HKEY_USERS i get the listings ... I'm guessing those are 'users' on my computer? ... Also, just for reference, if you change the timing interval of the slide ...
      (microsoft.public.win2000.registry)