While working to implement a sync-engine/cloud-storage provider using Microsoft's cloud api (CldApi) I have come to across a situation, in which a text file lost its reparse point after being saved with WordPad.
The manifestation of this is the error "The file is not a cloud file." when calling CfGetPlaceholderInfo.
In contrast reparse point is not lost when saving a similar text file with Notepad.
I have verified that reparse data is missing through:
'fsutil reparsepoint query <filename>'
where in the "good/normal" case I have:
Reparse Tag Value : 0x9000601a Tag value: Microsoft Tag value: Directory Reparse Data Length: 0xf2 Reparse Data: ......... <...reparese point data...>
and in the "bad/abnormal" case, respectively:
Error: The file or directory is not a reparse point.
Could an expert advise if this is a problem of the application (Wordpad) or one of the cloud minifilter, or is it something I may be doing wrong on my end when populating/hydrating placeholder files?
Regards,
Stefan