NAME

NtDeviceIoControlFile  (NTDLL.@)

SYNOPSIS

 NTSTATUS NtDeviceIoControlFile
 (
  HANDLE           DeviceHandle,
  HANDLE           hEvent,
  PIO_APC_ROUTINE  UserApcRoutine,
  PVOID            UserApcContext,
  PIO_STATUS_BLOCK IoStatusBlock,
  ULONG            IoControlCode,
  PVOID            InputBuffer,
  ULONG            InputBufferSize,
  PVOID            OutputBuffer,
  ULONG            OutputBufferSize
 )

DESCRIPTION

Perform an I/O control operation on an open file handle.

PARAMS

DeviceHandle [In] Handle returned from ZwOpenFile or ZwCreateFile.
Event [In] Event to signal upon completion (or NULL).
ApcRoutine [In] Callback to call upon completion (or NULL).
ApcContext [In] Context for ApcRoutine (or NULL).
IoStatusBlock [Out] Receives information about the operation on return.
IoControlCode [In] Control code for the operation to perform.
InputBuffer [In] Source for any input data required (or NULL).
InputBufferSize [In] Size of InputBuffer.
OutputBuffer [Out] Source for any output data returned (or NULL).
OutputBufferSize [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 © 2005 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Aug 2005.