开发者

How do I retrieve a process ID for 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜