Retrieves the number of open handles that belong to the specified process
#include <WinAPIProc.au3>
_WinAPI_GetProcessHandleCount ( [$iPID = 0] )
$iPID | [optional] The PID of the process. Default (0) is the current process. |
Success: | The number of open handles. |
Failure: | 0 and sets the @error flag to non-zero. |
Search GetProcessHandleCount in MSDN Library.