Q:

How to retrieve name and icon of WIndows Store App

I need to retrieve Windows Store App the way like Task Manager does. Is it possible?
I was trying to use Query API and packaging API, reading manifest, but I need to read resources from resources.pri file to get desired info.
Where I can find API which helps me to get Display Name and Icon of Store App?
PS My app is not Windows Store App, written in C++

A:

List from desktop WPF app all installed WinRT/Metro applications
Windows.Management.Deployment.PackageManager class has method to get all packages and then perform XML deseralization of manifest files to get the info. Use shlwapi.dll with DLL interop to extract more data using method SHLoadIndirectString

