Usage of this sample requires that you have an assigned Limited Access Feature token for this functionality. (1) Edit LafData.h to include your feature token and attestation. (2) Edit CppUnpackagedDesktopTaskbarPin.rc to include the identity resource. See README.md for more information. You might want to encourage users to pin your app to taskbar so they can quickly re-engage with your app. This app illustrates how you can check for the appropriate pinning support and use the functionality of the TaskbarManager API to perform taskbar pin operations. This section demonstrates how an app can use the TaskbarManager API to allow the user to trigger a taskbar pin request for the current app. The "Update pin UI" button below will do a few things... - Unlocks the desktop taskbar pinning LAF - Checks whether the taskbar supports pinning and whether pinning from desktop apps is supported - Checks whether the app is already pinned - Enables or disables a pin button according to the results of the above checks; this pin button will make the actual pinning request when clicked Generally, your app would automatically run the checks to determine whether pinning is possible and only provide the user with a pin action if pinning is supported and allowed.