microsoft / DesktopBridgeToUWP-Samples

This repo contains the samples that demonstrate the usage patterns for the Desktop Conversion extensions.
MIT License
494 stars 272 forks source link

User/aruproy14/bgtasksdotnetcore2 #108

Closed aruproy14 closed 2 years ago

aruproy14 commented 2 years ago

Port C# code sample to WinUI 3, and demonstrate how to instantiate the BG task COM server without full .NET (i.e., by importing C++ COM API & using WinRT marshalling APIs to go from C++ types to managed C# types).

These code changes are a result of code samples and discussion from: https://github.com/mqudsi/BackgroundTask/commit/2394770e453036c8bb3bea9daecc08b67e1be87e https://github.com/microsoft/WindowsAppSDK/discussions/2490

aruproy14 commented 2 years ago

#sign-off