NAME

RtlSetIoCompletionCallback  (NTDLL.@)

SYNOPSIS

 NTSTATUS RtlSetIoCompletionCallback
 (
  HANDLE                             FileHandle,
  PRTL_OVERLAPPED_COMPLETION_ROUTINE Function,
  ULONG                              Flags
 )

DESCRIPTION

Binds a handle to a thread pool's completion port, and possibly starts a non-I/O thread to monitor this port and call functions back.

PARAMS

FileHandle [In] Handle to bind to a completion port.
Function [In] Callback function to call on I/O completions.
Flags [In] Not used.

RETURNS

Success: STATUS_SUCCESS.

Failure: Any NTSTATUS code.

IMPLEMENTATION

Declared in "winternl.h". https://source.winehq.org/source/include/winternl.h

Implemented in "dlls/ntdll/threadpool.c". https://source.winehq.org/source/dlls/ntdll/threadpool.c

Debug channel "threadpool".


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