NtQueryInformationFile.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

NtQueryInformationFile (NTDLL.@)

SYNOPSIS

NTSTATUS NtQueryInformationFile
 (
  HANDLE                 hFile,
  PIO_STATUS_BLOCK       io,
  PVOID                  ptr,
  LONG                   len,
  FILE_INFORMATION_CLASS class
 )

DESCRIPTION

Get information about an open file handle.

PARAMS

hFile [In] Handle returned from ZwOpenFile(3w) or ZwCreateFile(3w).

io [Out] Receives information about the operation on return.

ptr [Out] Destination for file information.

len [In] Size of FileInformation.

class [In] Type of file information to get.

RETURNS

Success: 0. IoStatusBlock and FileInformation are updated.

Failure: An NTSTATUS error code describing the error.

IMPLEMENTATION

Defined in "winternl.h".

Implemented in "dlls/ntdll/file.c".

Debug channel "ntdll".