Function Reference


_WinAPI_EnumProcessThreads

Enumerates a threads that belong to the specified process

#include <WinAPIProc.au3>
_WinAPI_EnumProcessThreads ( [$iPID = 0] )

Parameters

$iPID [optional] The PID of the process. Default (0) is the current process.

Return Value

Success: The array of threads identifiers (ID). The zeroth array element contains the number of threads.
Failure: Sets the @error flag to non-zero.