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 or ZwCreateFile.
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". source.winehq.org/source/dlls/ntdll/file.c

Debug channel "ntdll".


Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jan 2008.