How to create a ThumbnailProvider with IInitializeWithFile
Amber Ream
1
Reputation point
I started with the RecipeThumbnailProvider sample described here: https://video2.skills-academy.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?