SetAllocationSizeAsync vs SetEndOfFileAsync #333
-
What is the difference between these two? They seem to do the same thing. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
SetAllocationSize: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-fscc/0201c69b-50db-412d-bab3-dd97aeede13b The difference is really between the physical storage space and the real data size inside the physical storage. |
Beta Was this translation helpful? Give feedback.
-
Thanks so much! One other question - |
Beta Was this translation helpful? Give feedback.
SetAllocationSize: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-fscc/0201c69b-50db-412d-bab3-dd97aeede13b
SetEndOfFile: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-fscc/75241cca-3167-472f-8058-a52d77c6bb17
The difference is really between the physical storage space and the real data size inside the physical storage.