In DDK Document, it said the “FileInformationClass” in
ZwQueryInformationFile can be one of following class:
1: FileBasicInformation, 2, FileStandardInformation,
3, FilePositionInformation, 4, FileAlignmentInformation
5, FileNameInformation.
My question is If I can use this function to query other
fileinformationclass say: “FileEndOfFileInformation” ?
If not, which function can be used to query other fileinformationclass?
Thanks
Yes, you can use ZwQueryInformationFile to get other information classes.
Alexei.
“David Wu” wrote in message news:xxxxx@ntfsd…
>
> In DDK Document, it said the “FileInformationClass” in
> ZwQueryInformationFile can be one of following class:
> 1: FileBasicInformation, 2, FileStandardInformation,
> 3, FilePositionInformation, 4, FileAlignmentInformation
> 5, FileNameInformation.
> My question is If I can use this function to query other
> fileinformationclass say: “FileEndOfFileInformation” ?
> If not, which function can be used to query other fileinformationclass?
>
> Thanks
>
>
Actually, you can’t query for FileEndOfFileInformation (on FastFat at
least), it’s only valid for Set. But you don’t need to anyways David,
since you get EOF in FileStandardInformation. Other categories like
FileInternalInformation can be queried for as long as the filesystem
supports it.
Alexei Jelvis wrote:
Yes, you can use ZwQueryInformationFile to get other information classes.
Alexei.
“David Wu” wrote in message news:xxxxx@ntfsd…
>
>>In DDK Document, it said the “FileInformationClass” in
>>ZwQueryInformationFile can be one of following class:
>>1: FileBasicInformation, 2, FileStandardInformation,
>>3, FilePositionInformation, 4, FileAlignmentInformation
>>5, FileNameInformation.
>>My question is If I can use this function to query other
>>fileinformationclass say: “FileEndOfFileInformation” ?
>>If not, which function can be used to query other fileinformationclass?
>>
>>Thanks
>>
>>
>
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@nryan.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
–
- Nick Ryan (MVP for DDK)