Get process id of a running metro app

前端 未结 4 1941
遇见更好的自我
遇见更好的自我 2021-01-25 23:01

I want to get the process id of a running Metro app programatically via C++ code, from another process. I have the static information of that app like name, full name etc. What

4条回答
  •  生来不讨喜
    2021-01-25 23:34

    You could use GetPackageId and GetPackagePath and then read info about app from AppxManifest.xml

提交回复
热议问题