此外,这项功能使用了 Windows.UI.Shell.ShareWindowCommandSource API,可允许通信类应用接入 Windows 11 的 Shell,进而显示“开始共享 / 停止共享”指令,并将用户选定的 WindowId 传递给应用。