Does Windows 11 have an API or other method to programmably add/remove icons from the taskbar?
The ITaskbarList interface has AddTab() and DeleteTab() methods.
AddTab()
DeleteTab()