I am using Unbuffered IO to create files. I have looked at APIs but i
didn't figure out how could i set the actual lenght of a file if file
size is not a multiple of cluster size. I am writing files on CIFS. I
have looked at the SetFileValidData but it doesnt work if file is on a
network. Is there any API to acheive this on CIFS. Or i have to add my
own headers to store file length?