Re: how many thread running

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Look at the Toolhelp API documentation in the Platform Builder help.

CreateToolhelp32Snapshot
Thread32First
Thread32Next

etc.

Paul T.

"CiticPacific" <johnlui_1010@xxxxxxxxxxxx> wrote in message
news:1178814383.638475.296980@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi all,

Want to ask do CE has any api that i can monitor how many thread
running at that moment?

I know the remote performance monitor can count but I want to use a CE
app to do it for some purpose. Do anyone know what API I should use?

Thanks a lot~



.



Relevant Pages

  • RE: SystemParametersInfo API for screen blanking
    ... Basically the API SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, ... monitor after the timeout setting in Control Panel. ... code snippet below will not turn off the monitor: ... snippet works well on my Win2003 SP1 machine: ...
    (microsoft.public.win32.programmer.kernel)
  • Re: API to change from dual screen mode to single screen?
    ... I'm sure there's an api to turn on and off the use of the second monitor, ... > change my desktop from extended over two screens to a single image on ... > panel when you click on the Extend my Windows desktop checkbox.) ...
    (microsoft.public.win32.programmer.ui)
  • Re: Program to let me know which API and functions are called?
    ... Spy++ monitors processes and doesnt let me know ... which API functions are called. ... a hook into program for one or more of API functions. ... So thats why I need a program that can monitor API calls. ...
    (microsoft.public.vb.winapi)
  • Re: Heres a tough one
    ... Birch is one I person remember who had a lot of API examples, ... which off-the-cuff) and then translating the solution into VB ... Does anyone know how to turn a single monitor on and off? ...
    (comp.lang.basic.visual.misc)
  • Re: Turn off Monitor using VB
    ... I would think you'd need the same API from VB .NET. ... > When I use my code now, it turns off the monitor just fine. ... > Micah Hastings ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)