microsoft / ProjFS-Managed-API

A managed-code API for the Windows Projected File System
Other
142 stars 34 forks source link

PreConvertToFull handler not notified #64

Closed jkim0121 closed 2 years ago

jkim0121 commented 3 years ago

I tried to hook up a handler to get PreConvertToFull notification. which is not a member of RequiredCallback. I traced it down to the source level and the code seems to handle the request correctly (registration). However, the .NET handler was not notified at all when I tried to hydrate. Could someone take a look at this? Thank you,

cgallred commented 3 years ago

That handler is not notified on hydration. That handler is notified when you modify a file under the virtualization root. See the documentation on cache state in the virtualization root. A "full" file is one whose primary data stream has been modified.