G
Guest
I have a sequential file created on the C root ( NTFS partition with WinXP
Home ), I want to keep it always sequential, so I tried the new
FSCTL_MARK_HANDLE to make the file from being moved by windows defragging
APIs. But whatever I tried, it won't work, with GetLastError() returns
0x00000057. It says incorrect parameter.
Also I know this deviceIOControl won't work on Win2K, it only works starting
with WinXP, NTFS file system.
I don't know why, could you help? Either with some sample code, or some
advice.
Thanks
Home ), I want to keep it always sequential, so I tried the new
FSCTL_MARK_HANDLE to make the file from being moved by windows defragging
APIs. But whatever I tried, it won't work, with GetLastError() returns
0x00000057. It says incorrect parameter.
Also I know this deviceIOControl won't work on Win2K, it only works starting
with WinXP, NTFS file system.
I don't know why, could you help? Either with some sample code, or some
advice.
Thanks