Retrieves the process identifier of the specified process
#include <WinAPIProc.au3>
_WinAPI_GetProcessID ( $hProcess )
$hProcess | Handle to the process. The handle must have the $PROCESS_QUERY_INFORMATION or $PROCESS_QUERY_LIMITED_INFORMATION access right. |
Success: | The process identifier. |
Failure: | 0. |
Search GetProcessId in MSDN Library.