ÿþ<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=unicode" /> <meta http-equiv="Content-Language" content="en-us" /> <title>The Win32 Windows process helpers application programming interface (PSAPI)</title> <meta name="keywords" content="Windows engine, Windows system, Windows security, processors, performance, benchmark, hardware, software, download, library, Win32 tutorials, Win32 programs" /> <meta name="description" content="This page host a tutorial on how to use the Win32 Process Status Helpers application programming interface (PSAPI) library for Windows system process and thread manipulation. Coming with program samples and code examples" /> </head> <body topmargin="20" leftmargin="20" rightmargin="20" bottommargin="20"> <table border="0" width="100%"> <tr> <td colspan="2"> <h1 align="center" style="margin-top:0; margin-bottom:0"> <font face="Batang"><span style="font-weight: 400">The Windows Process Status Helpers APIs Programming</span></font></h1> </td> </tr> <tr> <td colspan="2"> <p align="center"> <script type="text/javascript"><!-- google_ad_client = "pub-8089415323104206"; google_ad_slot = "2156170134"; google_ad_width = 728; google_ad_height = 15; //--> </script> &nbsp;<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></p> </td> </tr> <tr> <td width="7%" align="center"> <h3> <font face="Byington"><span style="font-weight: 400"> <a title="The Win32 programming tutorial using Visual Studio, C and C++ languages" target="_top" href="index.html"> HOME</a></span></font></h3> <p>&nbsp;</p> <p>&nbsp;</p> <p> <script type="text/javascript"><!-- google_ad_client = "pub-8089415323104206"; google_ad_slot = "3614899554"; google_ad_width = 160; google_ad_height = 600; //--> </script> &nbsp;<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></td> <td width="92%"> <h1 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font size="5" face="Times New Roman"> <span style="line-height:115%; font-family:&quot;Arial&quot;; font-weight:400">What do we have in this session?</span></font></h1> <p style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="DejaVu Sans Condensed" size="2"><script type="text/javascript" language="javascript"> var sc_project=443642; var sc_partition=2; var sc_security=""; var sc_invisible=1; </script><script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><a href="http://www.statcounter.com/" target="_blank"> <img src="http://c3.statcounter.com/counter.php?sc_project=443642&java=0&security=&invisible=1" alt="web page hit counter" border="0" /> </a> </noscript></font></p> <p style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> &nbsp;</p> <p style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Arial">This short tutorial demonstrates the use of the Windows process status helpers APIs. Those APIs used to extract the Windows process and thread inforamtion.</font></p> <ol> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400"> <a href="processstatushelperapis10.html">Introduction</a></span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">Process Information</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">Module Information</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">Device Driver Information</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">Process Memory Usage Information</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">Working Set Information</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">Memory-Mapped File Information</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400"> <a href="processstatushelperapis10_1.html">Using PSAPI: Program Examples</a></span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400">Enumerating All Processes Program Example</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400"> <a href="processstatushelperapis10_2.html">Enumerating All Modules For a Process Program Example</a></span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400"> <a href="processstatushelperapis10_3.html">Enumerating All Device Drivers in the System Program Example</a></span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400"> <a href="processstatushelperapis10_4.html">Collecting Memory Usage Information For a Process Program Example</a></span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <font face="Byington"><span style="font-weight: 400"> <a href="processstatushelperapis10_5.html">Taking a Snapshot and Viewing Processes</a></span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; line-height:100%; margin-top:0"> <font face="Byington"><span style="font-weight: 400"> <a href="processstatushelperapis10_6.html">PSAPI Reference</a></span></font></h3> <ol type="a"> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; line-height:100%; margin-top:0"> <font face="Byington"><span style="font-weight: 400">PSAPI Functions</span></font></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; line-height:100%; margin-top:0"> <font face="Byington"><span style="font-weight: 400">PSAPI Structures</span></font></h3> </li> </ol> </li> </ol> </td> </tr> <tr> <td colspan="2"> <p align="center"> <script type="text/javascript"><!-- google_ad_client = "pub-8089415323104206"; google_ad_slot = "0761177910"; google_ad_width = 728; google_ad_height = 90; //--> </script> &nbsp;<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></p> </td> </tr> <tr> <td colspan="2"> <h3 align="center" style="margin-top: 0; margin-bottom: 0"> <font face="Byington"><span style="font-weight: 400">&lt; <a style="color: blue; text-decoration: underline" title="A complete Win32 dynamic link library (DLL) programming tutorial with code and program examples" href="dynamiclinklibrarydll9index.html"> Windows Dynamic Link Library</a> | <a title="The Win32 programming tutorial using Visual Studio, C and C++ languages" style="color: blue; text-decoration: underline" href="index.html"> Win32 Programming</a> | <a title="An introduction to the Windows Process status Help APIs programming tutorials with program examples and code samples" style="color: blue; text-decoration: underline" href="processstatushelperapis10.html"> Win32 Process Status Help APIs 1</a> &gt;</span></font></h3> <p align="left" style="margin-top: 0; margin-bottom: 0">&nbsp;</p> <div align="center"> <script src="http://tag.contextweb.com/TagPublish/getjs.aspx?action=VIEWAD&cwrun=200&cwadformat=728X90&cwpid=527221&cwwidth=728&cwheight=90&cwpnet=1&cwtagid=82740"></script> </div> </td> </tr> </table> </body> </html>