Function Reference


_WinAPI_GetProcessHandleCount

Retrieves the number of open handles that belong to the specified process

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

Parameters

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

Return Value

Success: The number of open handles.
Failure: 0 and sets the @error flag to non-zero.

See Also

Search GetProcessHandleCount in MSDN Library.