2012-01-02 81 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