Windows API Guide: Scroll Bar Control Window Class


Type PROCESSENTRY32 dwSize As Long cntUsage As Long th32ProcessID As Long th32DefaultHeapID As Long th32ModuleID As Long cntThreads As Long th32ParentProcessID As Long pcPriClassBase As Long dwFlags As Long szExeFile As String * 260 End Type

Description & Usage

The PROCESSENTRY32 structure holds information about a process. This information is retrieved from a system snapshot via either Process32First or Process32Next.

Visual Basic-Specific Issues

None.

Parameters

dwSize
The length in bytes of the structure.
cntUsage
The number of references to the process. The process terminates once this drops to zero.
th32ProcessID
Identifier of the process. This value can be used by other API functions that work with processes.
th32DefaultHeapID
Identifier of the default heap for the process. This value can only be used by the tool help API functions and no others.
thModuleID
Identifier of the process's module. This value can only be used by the tool help API functions and no others.
cntThreads
The number of threads started by the program.
th32ParentProcessID
The identifier of the process that created this process. This value can be used by other API functions that work with processes.
pcPriClassBase
The base priority by any threads created by this class.
dwFlags
Reserved -- do not use.
szExeFile
The filename of the executable file for the process.

Used By

Process32First, Process32Next

Back to the Structure list.
Back to the Reference section.


Last Modified: September 24, 2000
This page is copyright © 2000 Paul Kuliniewicz. Copyright Information Revised October 29, 2000
Go back to the Windows API Guide home page.
E-mail: vbapi@vbapi.com Send Encrypted E-Mail
This page is at http://www.vbapi.com/ref/p/processentry32.html



Windows API Guide
Windows API Guide - Reference - Volume 1: Version 3.0 For the MS-DOS and PC-DOS Operating Systems
ISBN: B001V0KQIY
EAN: N/A
Year: 1998
Pages: 610

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net