user16668952
user16668952

Reputation: 194

Delete called twice in Cloud Files API

I am trying to implement a virtual drive using a Cloud Files API. I can not make Delete operation to work. For some reason the CF_CALLBACK_TYPE_NOTIFY_DELETE callback is called twice.

I have build two samples in C++ and in C# using two different approaches and in both cases I have the same results:

  1. CF_CALLBACK_TYPE_NOTIFY_DELETE is called.
  2. CF_CALLBACK_TYPE_NOTIFY_DELETE is called again.
  3. CF_CALLBACK_TYPE_NOTIFY_DELETE_COMPLETION is called.

This behavior is somewhat confusing. Can anybody explain why this happening and what should I do inside the second call? Can I somehow distinguish them and ignore one of these calls?

Upvotes: 4

Views: 145

Answers (1)

MERLIN
MERLIN

Reputation: 101

I reproduced this issue in Windows File Manager, but when I did "delete" operation in Powershell there was no the problem. So this probably bug or some limitation of Windows File Manager.

Upvotes: 4

Related Questions