Function Reference


_WinAPI_GetProcessID

Retrieves the process identifier of the specified process

#include <WinAPIProc.au3>
_WinAPI_GetProcessID ( $hProcess )

Parameters

$hProcess Handle to the process. The handle must have the $PROCESS_QUERY_INFORMATION or
$PROCESS_QUERY_LIMITED_INFORMATION access right.

Return Value

Success: The process identifier.
Failure: 0.

See Also

Search GetProcessId in MSDN Library.