question

AmberReam-8214 avatar image
0 Votes"
AmberReam-8214 asked SM-4238 commented

How to create a ThumbnailProvider with IInitializeWithFile

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?

c++windows-app-sdk
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers