Group: Performance Monitoring - Library: kernel32
Enumerating Processes -- Win9*
HANDLE WINAPI CreateToolhelp32Snapshot(
DWORD dwFlags,
DWORD th32ProcessID
);
DECLARE INTEGER CreateToolhelp32Snapshot IN kernel32;
INTEGER dwFlags,;
INTEGER th32ProcessID
dwFlags [in] Specifies portions of the system to include in the snapshot.
th32ProcessID [in] Specifies the process identifier. This parameter can be zero to indicate the current process.
Returns an open handle to the specified snapshot if successful or INVALID_HANDLE_VALUE (-1) otherwise.
Windows NT/2000/XP: Included in Windows 2000 and later.
Windows 95/98/Me: Included in Windows 95 and later.