A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



Process32Next

Retrieves information about the next process recorded in a system snapshot.

VB4-32,5,6
Declare Function Process32Next Lib "Kernel32" (ByVal hSnapShot As Long, uProcess As PROCESSENTRY32) As Long

VB.NET
System.Diagnostics.Process

Operating Systems Supported
Requires Windows 2000 or later; Requires Windows 95 or later

Library
Kernel32

Parameter Information
- hSnapshot
Handle of the snapshot returned from a previous call to the CreateToolhelp32Snapshot function.

- lppe
Address of a PROCESSENTRY32 structure.

Return Values
Returns TRUE if the next entry of the process list has been copied to the buffer or FALSE otherwise. The ERROR_NO_MORE_FILES error value is returned by the GetLastError function if no processes exist or the snapshot does not contain process information.

Last update: 07 April 2006