hello everybody,
i am able to get the creation time, access time, etc using
ZwQueryDirectoryFile of the original file and also set the creation
time, access time etc using ZwSetInformationFile for my new file which
i want to be seen as exact duplicate copy of original file.
i am also able to get the filesize information using
ZwQueryDirectoryFile.But i am not able to set the filesize because
ZwSetInformationFile does not supply and structure entry for it.
Thanks in advance
You don’t say which size you’re interested in, but what’s wrong with
FILE_END_OF_FILE_INFORMATION
FILE_ALLOCATION_INFORMATION
FILE_VALID_DATA_LENGTH_INFORMATION
?
At 08:51 PM 3/25/2005 +0530, you wrote:
hello everybody,
i am able to get the creation time, access time, etc using
ZwQueryDirectoryFile of the original file and also set the creation
time, access time etc using ZwSetInformationFile for my new file which
i want to be seen as exact duplicate copy of original file.
i am also able to get the filesize information using
ZwQueryDirectoryFile.But i am not able to set the filesize because
ZwSetInformationFile does not supply and structure entry for it.
Thanks in advance
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@privtek.com
To unsubscribe send a blank email to xxxxx@lists.osr.com