开发者

How do I retrieve a process ID for the Win32 Windows Mobile platform?

开发者 https://www.devze.com 2022-12-08 10:59 出处:网络
I would like to retrieve the process ID and handle of a process by querying for it by process name.Is this poss开发者_StackOverflowible to do on the Win32 Windows Mobile platform?

I would like to retrieve the process ID and handle of a process by querying for it by process name. Is this poss开发者_StackOverflowible to do on the Win32 Windows Mobile platform?

Thanks in advance.


Use CreateToolhelp32Snapshot(), following with Process32First() and the related functions, following the general idea in the code sample. The Process32... functions provide PROCESSENTRY32 for each process, which contains the Process ID.

0

精彩评论

暂无评论...
验证码 换一张
取 消