[CloudMirror] When will `CF_CALLBACK_TYPE_NOTIFY_DEHYDRATE` be invoked
ho-229 opened this issue · 0 comments
ho-229 commented
When the user clicks Free up space
in the Explorer menu, CF_CALLBACK_TYPE_NOTIFY_DEHYDRATE
and CF_CALLBACK_TYPE_NOTIFY_DEHYDRATE_COMPLETION
are not invoked.
In the Cloud Mirror Sample
, it uses ReadDirectoryChangesW
and checks FILE_ATTRIBUTE_UNPINNED
flag to detect if the placeholder is dehydrated by the user, then call a preview API CfDehydratePlaceholder
for unknown reasons.