home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / sdktools / winnt / pviewer / readme.txt < prev   
Encoding:
Text File  |  1996-01-17  |  1.4 KB  |  34 lines

  1. Process Viewer
  2.  
  3.  
  4. SUMMARY
  5. =======
  6.  
  7. The PView tool reads the information (counters) from the registry that 
  8. relate to the threads and processes running on your machine. It also allows 
  9. you to change the priority of the processes. There is about a third of the 
  10. code necessary to do the same thing on a thread-by-thread basis. If you wish 
  11. to learn more, you may want to try to complete the code.
  12.  
  13. MORE INFORMATION
  14. ================
  15.  
  16. Two list boxes present themselves on startup. One list box is the list of 
  17. processes. When a particular process is selected, the other list box will 
  18. contain the threads that are associated with the selected process. Clicking 
  19. on the Memory Details button brings up another dialog box that contains more 
  20. detail on how the memory associated with that process is being used. Another 
  21. list box allows you to see how the memory usage breaks down at the DLL 
  22. level.
  23.  
  24. NOTE: There is also code in the program to allow you to look at the threads 
  25. on other machines. The implementation and activation of this feature is left 
  26. as an exercise for the user.
  27.  
  28. The way the program works may not be obvious at first. It is important to 
  29. note that when the programmer named a function PaintAddressSpace, it wasn't 
  30. named this way because it fills the monitored process/thread's memory. 
  31. PaintAddressSpace fetches all of the information associated with the 
  32. specified process/thread.
  33.  
  34.