ms c ++ get pid当前进程 [英] ms c++ get pid of current process
本文介绍了ms c ++ get pid当前进程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的应用程序的部分是在Windows下的C ++。我需要当前进程的进程ID。有什么想法吗?
Parts of my application are in C++ under windows. I need the process id for the current process. Any thoughts?
推荐答案
GetCurrentProcessId
函数将执行此操作。
The GetCurrentProcessId
function will do this.
这篇关于ms c ++ get pid当前进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文