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
You could use GetPackageId and GetPackagePath and then read info about app from AppxManifest.xml