This header file sets the AppUserModel_ID
and the AppUserModel_ToastActivatorCLSID
as file properties on a specified existing shortcut with the purpose to enable toast notifications. The registry key needs to be set manually like seen in the demo (but thats not difficult in comparison to the rest).
The CLSID is a GUID that should be totally unique for a software version. You maybe also need to set the CLSID in the code that you use to create toast notifications.
C++-Implementations:
This headerfile sets the properties using the System
plugin (which is shipped with the installer by default). This removes the need to call an external setup routine during install for setting the shortcut properties.
The system plugin is pretty low-level and poorly documented. Because of this, even more effort was put into documenting this headerfile.
In my opinion, the easiest way to check&set the file properties for debugging purposes was to download the .reg-file from here, to add the needed properties to every line of the file and execute the file.