函数参考


_WinAPI_GetProcessID

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 值.

注意/说明

None

相关

详情参考

在MSDN中搜索