I started with the RecipeThumbnailProvider sample described here: https://docs.microsoft.com/en-us/windows/win32/shell/building-thumbnail-providers
For my use case, I need the path to the file rather than the stream, so I tried to tweak the sample from using IInitializeWithStream to use IInitializeWithFile.
The initialize method is never called.
I tried disabling process isolation with no luck.
How can I implement a ThumbnailProvider, initializing with a file path?