Undocumented functions of NTDLL

2OOO, 3O December



NtQueryInformationFile
NtQueryInformationFile

NTSYSAPI 
NTSTATUS
NTAPI

NtQueryInformationFile(

IN HANDLE FileHandle, OUT PIO_STATUS_BLOCK IoStatusBlock, OUT PVOID FileInformation, IN ULONG Length, IN FILE_INFORMATION_CLASS FileInformationClass );




(Also avaiable in Microsoft 2000 DDK)
  • FileHandle
  •     HANDLE to File Object.
  • IoStatusBlock
  •     Completion status of call.
  • FileInformation
  •     Caller's allocated buffer for result data.
  • Length
  •     Length of FileInformation buffer, in bytes.
  • FileInformationClass
  •     Enumerated information class. See FILE_INFORMATION_CLASS for detailed information about usage.






    Documented by:
    Tomasz Nowak
    Bo Branten



    Requirements:
    Library: ntdll.lib


    See also:
    FILE_INFORMATION_CLASS
    NtCreateFile
    NtOpenFile
    NtQueryAttributesFile
    NtQueryDirectoryFile
    NtSetInformationFile