[Bug Report] Cfapi: AckDelete broken on Win10 2004

Fu Wang 26 Reputation points
2020-08-24T12:52:33.393+00:00

I'm not sure this is the right place to report this,

When working with the Cloud Filter API, I encountered an issue that only reproduce on Win10 2004.

When user is deleting a 0KB sparse placeholder file, in the CF_CALLBACK_TYPE_NOTIFY_DELETE callback, if passing an unsuccessful CompletionStatus(e.g. STATUS_UNSUCCESSFUL) to the platform, in theory this should fail the user's delete action and prevent the file from being deleted, but on Win10 2004, file got deleted anyway.

On Win10 versions before 2004, it behaves as expected, error message popup, saying "The cloud operation is unsuccessful", and the file is left untouched.

The minimal changes to reproduce this issue based on the official CloudMirror sample can be found at:

https://github.com/wangfu91/Windows-classic-samples/pull/1/files

This seems like a bug of Win10 2004, very much like the ICopyHook bug in Win10 1803.

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,426 questions
{count} votes

3 answers

Sort by: Most helpful
  1. User1 11 Reputation points
    2021-08-19T11:32:23.407+00:00

    Hi, could you pls provide us with an update on this issue? We could no see a fix in any Win releases until today. Thanks!

    2 people found this answer helpful.
    0 comments No comments

  2. WebDAV 106 Reputation points
    2021-08-23T05:13:01.27+00:00

    I can reproduce this bug on the latest Windows Home 21H1 19043.1165, cldflt.sys 10.0.19041.1110.
    @Rita Han - MSFT How do we report and monitor the status of this issue?

    2 people found this answer helpful.
    0 comments No comments

  3. Fu Wang 26 Reputation points
    2021-09-22T10:29:48.123+00:00

    I just tested on Windows 11 (build 10.0.22000.194), it seems this bug has finally been fixed by Microsoft.

    0 comments No comments