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 "include/winternl.h". gitlab.winehq.org/wine/wine/blob/master/include/winternl.h

Implemented in "dlls/ntdll/threadpool.c". gitlab.winehq.org/wine/wine/blob/master/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 Nov 2024.