2012-01-02 82 views
-2

如何知道Windows Phone 7中正在运行的进程列表?如何在Windows Phone 7中列出正在运行的进程?

+1

不要问这个问题http://stackoverflow.com/questions/8679250/how-to-know-the-which-activity-is-ruuning-in-windows-phone-7 http://stackoverflow.com/问题/ 8131994/how-can-i-discover-what-apps-are-currently-running-on-windows-phone-7 – keyboardP 2012-01-02 13:17:39

回答

5

对不起,目前微软没有提供任何API来列出所有正在运行的进程。如果它提供了可能会在未来,那么你可以这样做。

+0

感谢您的回复@ Santhu.in Windows Mobile 5/6是否可以使用? – Sravanti 2012-01-02 09:20:38

+0

雅,它可能在Windows Mobile 5,6和6.5中。 – Santhu 2012-01-02 09:27:12

+0

使用CreateToolhelp32Snapshot这个api创建当前快照,然后遍历Process32First,Process32Next api的列表 – Santhu 2012-01-02 09:30:38