Windows上的最大进程ID是多少? [英] What is the maximum process Id on Windows?

查看:295
本文介绍了Windows上的最大进程ID是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通过调用DWORD GetProcessId(HANDLE)DWORD GetCurrentProcessId()可以获得的最大进程ID是多少?没有在API的文档页面上进行记录.

What is the maximum process id I can get by calling DWORD GetProcessId(HANDLE) or DWORD GetCurrentProcessId()? It is not documented on the API's documentation page.

推荐答案

根据

According to the Pushing the Limits of Windows: Processes and Threads blog post by Mark Russinovich number of processes is limited only by available memory. So theoretically maximum process id is near DWORD_MAX (pids are divisible on 4).

这篇关于Windows上的最大进程ID是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆