RtlSetIoCompletionCallback.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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

Defined in "winternl.h".

Implemented in "dlls/ntdll/threadpool.c".

Debug channel "threadpool".