How to set thumbnail for a hydrated placeholder file?

Chieh Yu 1 Reputation point
2022-08-23T04:13:43.91+00:00

Cloud Filter API provides Thumbnail Provider that can provide the thumbnail for dehydrated placeholder file.

However, this provider will also take control of showing thumbnail for "hydrated" files. In some cases, user'll install 3-parity thumbnail provider to support more file types. Is any possible to detect a placeholder is hydrated and by-pass it's thumbnail to original thumbnail provider installed on user's PC? just like a normal file.

Thanks.

Jack

Windows development | Windows API - Win32
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jeanine Zhang-MSFT 11,356 Reputation points Microsoft External Staff
    2022-08-23T07:05:54.643+00:00

    Hi,

    @Chieh Yu

    As far as I'm concerned, you could try to use Sync engines. Sync engines can create placeholder files that consume only 1 KB of storage for the filesystem header, and that automatically hydrate into full files under normal use conditions.

    Shell integration:

    The cloud files API provides standardized, automatic hydration state icons shown in File Explorer and on the Windows desktop.

    Placeholder files can have rich service-provided thumbnails and extended file metadata to provide the user with a seamless File Explorer experience.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.