locked
Enumerate Immersive Applications?

    Question

  • Could you point me to the interface for enumerating Immersive apps either active or suspended and getting a thumbnail image?   I know it is different from the EnumWindows() interface for identifying desktop windows and the DwmRegisterThumbnail() stuff, which still works for desktop windows in W8.

    The ALT/TAB display in W8 RC shows both immersive & desktop windows, and allows switching, so suspect that something must exist (using COM maybe, like the IAppVisibility interface) but can't find any indication of it in the online documentation.

    Thank You.

    Wednesday, July 25, 2012 4:20 PM

All replies

  • Hi,

    Are you trying to use this functionality from an Metro app? If yes, then the only possible way a Metro app can be aware of other Metro apps is through the Share Contract. What is the scenario?

    -Sagar

    Thursday, July 26, 2012 1:48 PM
    Moderator
  • No, not from a metro app, from a c++ desktop app built with Visual Studio 2012.   The scenario is an existing multi-monitor aware desktop application, immersive in its own way, but "cooperative" (non-interfering) with other desktop programs: with Windows 7 it needs only be aware (and offer the user access to) other desktop apps, which is easy; with Windows 8 that needs to be extended to providing awareness of immersive metro apps.

    It can use the IAppVisibility to know when a metro app starts or finishes but that doesn't give it the ability to suspend or restore them, nor to offer the user a thumbnail view of what's running and available.

    Thanks.


    MC Soft

    Thursday, July 26, 2012 2:45 PM