Windows: handle share-target activation and forward to the composer
Facebook Messenger on your desktop, without the Facebook clutter
Brought to you by:
kristoffer-r
Originally created by: kristofferR
With [#215] registered, invoking Carrier from the Share pane launches carrier.exe with a ShareTarget activation. Carrier must detect it, read the shared items, and forward them to [#214].
Windows.ApplicationModel.AppInstance::GetActivatedEventArgs() via the windows crate (works for identity-carrying Win32 apps; no Windows App SDK dependency). ActivationKind::ShareTarget β ShareTargetActivatedEventArgs β ShareOperation.Data.DataPackageView, enforce the same caps as macOS (#213), hand the payload to the page hook from [#214], and call ReportCompleted.ReportError cleanly so the Share pane doesn't hang.
Originally posted by: kristofferR
Closing as not planned, together with [#215]: without the sparse package there is no share-target activation to handle.
Related
Tickets:
#215Ticket changed by: kristofferR