Retrieves the process identifier of the specified process.
#Include <WinAPIEx.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. |
失败: | 返回 0 并设置 @error 标志为非 0 值. |
在MSDN中搜索