|
Process32First Retrieves information about the first process encountered in a system snapshot. VB4-32,5,6 Declare Function Process32First 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 |
· hSnapshot Handle of the snapshot returned from a previous call to the CreateToolhelp32Snapshot function.
· lppe Address of a PROCESSENTRY32 structure. |
Returns TRUE if the first 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. |
|
|
|