Hello,
Welcome to Microsoft Q&A!
CF_CALLBACK_TYPE_FETCH_PLACEHOLDERS callback is used to ask the sync provider to provide information about the contents of a placeholder directory to satisfy a directory query operation or an attempt to open a file underneath the directory.
According to the Doc: CF_OPERATION_TRANSFER_PLACEHOLDERS_FLAGS enumeration
If the provider no longer wants its
CF_CALLBACK_TYPE_FETCH_PLACEHOLDERScallback to be invoked, it should mark the placeholder directory fully populated by setting theCF_OPERATION_TRANSFER_PLACEHOLDERS_FLAG_DISABLE_ON_DEMAND_POPULATION flag inCF_OPERATION_TYPE_TRANSFER_PLACEHOLDERS`.
If you no longer want to trigger the callback method for CF_CALLBACK_TYPE_FETCH_PLACEHOLDERS. I suggest you could try to set the flag CF_OPERATION_TRANSFER_PLACEHOLDERS_FLAG_DISABLE_ON_DEMAND_POPULATION in the callback.
Thank you.
Jeanine
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.