Forum Discussion
Sep 28, 2022
Shared Package Container and AppModel API
The PSF uses the AppModel API (appmodel.h and kernel.appcore.dll) to obtain information about the currently executing package it is in.
In a scenario with SPC, there are multiple packages, and ...
Oct 08, 2022
To provide priority context, this isn't something needed right away. But whenever Office (or parts of Office) move to the container, and a substantial number of Enterprises have finished hardware refreshes and move to Windows 11), then we'll really need it.
Aditi_Narvekar
Microsoft
Oct 10, 2022TIMOTHY_MANGAN So a couple of things:
- this code can be run outside of any package or container.
- it is non-UWP C++ code calling into the cppwinrt API. this code can be called in a "simple" win32 C++ program that consumes cppwinrt.
- this cppwinrt API surface is for querying and modifying the SPC definition, but, it does not provide "live" diagnostics of the container (e.g. it does not tell you which packages are actually currently in the SPC)
- Oct 10, 2022OK. Great! Guess I have some research to do on how I do this (I should have said non-managed C++ but hopefully not important).