I'm writing a custom Shell Namespace Extension (as described here: https://docs.microsoft.com/en-us/windows/win32/shell/nse-works) but when I use UWP's FileOpenPicker and try to pick a file (browsing works fine) it reports an OutOfMemoryException error once I select a file. I'm using the FilePicker sample from github.
FileOpenPicker works with the standard file system files. My question is what should I have to add or change to my namespace extension so it works?
BTW, my extension supports standard Common Dialogs (IFileDialog) fine with regular Win32/64 apps (like Office, notepad, etc.)