Hello @229 ho,
You can report the issue at https://github.com/microsoft/Windows-classic-samples/issues.
CF_CALLBACK_TYPE_NOTIFY_DEHYDRATE and CF_CALLBACK_TYPE_NOTIFY_DEHYDRATE_COMPLETION are also not invoked in the Cloud Mirror Sample for me.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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.
Hello @229 ho,
You can report the issue at https://github.com/microsoft/Windows-classic-samples/issues.
CF_CALLBACK_TYPE_NOTIFY_DEHYDRATE and CF_CALLBACK_TYPE_NOTIFY_DEHYDRATE_COMPLETION are also not invoked in the Cloud Mirror Sample for me.