NtFsControlFile.3w

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

NtFsControlFile (NTDLL.@)

SYNOPSIS

NTSTATUS NtFsControlFile
 (
  HANDLE           handle,
  HANDLE           event,
  PIO_APC_ROUTINE  apc,
  PVOID            apc_context,
  PIO_STATUS_BLOCK io,
  ULONG            code,
  PVOID            in_buffer,
  ULONG            in_size,
  PVOID            out_buffer,
  ULONG            out_size
 )

DESCRIPTION

Perform a file system control operation on an open file handle.

PARAMS

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

event [In] Event to signal upon completion (or NULL).

apc [In] Callback to call upon completion (or NULL).

apc_context [In] Context for ApcRoutine (or NULL).

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

code [In] Control code for the operation to perform.

in_buffer [In] Source for any input data required (or NULL).

in_size [In] Size of InputBuffer.

out_buffer [Out] Source for any output data returned (or NULL).

out_size [In] Size of OutputBuffer.

RETURNS

Success: 0. IoStatusBlock is updated.

Failure: An NTSTATUS error code describing the error.

IMPLEMENTATION

Defined in "winternl.h".

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

Debug channel "ntdll".