RtlSetIoCompletionCallback3w
Usage
NTSTATUS RtlSetIoCompletionCallback
(
HANDLE FileHandle,
PRTL_OVERLAPPED_COMPLETION_ROUTINE Function,
ULONG Flags
)
Overview
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".
Implemented in "dlls/ntdll/threadpool.c".
Debug channel "threadpool".
Releases
3 releases since Debian 5.0 (Lenny); the text changed 2 times.