NtWriteFile(3w)

NAME

NtWriteFile (NTDLL.@)

SYNOPSIS

NTSTATUS NtWriteFile
 (
  HANDLE           hFile,
  HANDLE           hEvent,
  PIO_APC_ROUTINE  apc,
  void*            apc_user,
  PIO_STATUS_BLOCK io_status,
  const void*      buffer,
  ULONG            length,
  PLARGE_INTEGER   offset,
  PULONG           key
 )

DESCRIPTION

Write to an open file handle.

PARAMS

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

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.

Buffer [In] Source for the data to write.

Length [In] Size of Buffer.

ByteOffset [Out] Destination for the new file pointer position (or NULL).

Key [Out] Function unknown (may be NULL).

RETURNS

Success: 0. IoStatusBlock is updated, and the Information member contains The number of bytes written.

Failure: An NTSTATUS error code describing the error.

IMPLEMENTATION

Defined in "winternl.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/ntdll/file.c".

Debug channel "ntdll".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout