NtQueryInformationFile(3w)

NtQueryInformationFile3w

Usage

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

Overview

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

Declared in "winternl.h".

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

Debug channel "ntdll".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.