更新时间:2022-12-20 23:33:21
启动 Windows 应用商店应用的正确方法是使用 IApplicationActivationManager
界面.这也是 Visual Studio 本身用于启动应用程序的内容.接口上的所有方法都有一个 DWORD
输出参数,用于获取新启动进程的 PID.
The correct way to launch Windows Store apps is to use the IApplicationActivationManager
interface. This is also what Visual Studio itself uses for launching the application. All methods on the interface have a DWORD
out parameter which gets you the PID of the newly launched process.