Suddenly, we found out that WinXP SP3 didn't allow to create NTFS sparse file in user-mode application. Namely, DeviceIoControl
with FSCTL_SET_SPARSE
returns with error 0x57 (ERROR_INVALID_PARAMETER
). The same code works well in SP2. Also, it's all ok if make the same calls from kernel-mode (both in SP3 and SP2).
Google says nothing about this. Has anyone met this problem or even have some additional info about it?