NtDeviceIoControlFile (NTDLL.@)
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 )
Perform an I/O control operation on an open file handle.
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. |
Success: 0. IoStatusBlock is updated.
Failure: An NTSTATUS error code describing the error.
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.