Home » Category » Software & Application Miscellaneous

Software & Application Miscellaneous: ZwQueryInformationFile(..FileAlignmentInformation..) always returns FILE_WORD_ALIGNMENT

205| Tue, 20 May 2008 07:41:00 GMT| anonymous| Comments (0)
Greetings
I'am assuming ZwQueryInformationFile(..FileAlignmentInformation..) to always return FILE_BYTE_ALIGNMENT(0) for files opened without FILE_NO_INTERMEDIATE_BUFFERING and FILE_512_BYTE_ALIGNMENT(0x1ff) for files opened with FILE_NO_INTERMEDIATE_BUFFERING on sector size = 512
but for me the return is always FILE_WORD_ALIGNMENT(1) ie completely meanless number of course ZwReadFile/ZwWriteFile for files opened with FILE_NO_INTERMEDIATE_BUFFERING fails unless the number of read/write bytes and offset is not the
integral of volume sector size(512)
so whats going on here?
test system is XP SP2

Keywords & Tags: zwqueryinformationfile, filealignmentinformation, always, returns, file_word_alignment, software, application

URL: http://software.itags.org/software-application/240747/
 
«« Prev - Next »» 0 helpful answers below.

Software & Application Miscellaneous Hot Answers

Software & Application Miscellaneous New questions

Software & Application Miscellaneous Related Categories