2OO1, 18 February
NtSetIoCompletion
NtSetIoCompletion
NTSYSAPI
NTSTATUS
NTAPI
NtSetIoCompletion(
IN HANDLE IoCompletionHandle,
IN ULONG CompletionKey,
OUT PIO_STATUS_BLOCK IoStatusBlock,
IN NTSTATUS CompletionStatus,
IN ULONG NumberOfBytesTransfered );
Function NtSetIoCompletion increments pending IO
counter in IO Completion Object. It can be used to manual finish IO
operation.
- IoCompletionHandle HANDLE to IO
Completion Object opened with IO_COMPLETION_MODIFY_STATE
access.
- IoStatusBlock IO result of call.
- CompletionStatus IO operation
status.
- NumberOfBytesTransfered Number of bytes
transfered in manually finished IO operation.
- Documented by:
- Tomasz Nowak
Requirements:
- Library: ntdll.lib
See also:
-
NtCreateIoCompletion
-
NtOpenIoCompletion
-
NtQueryIoCompletion
-
NtRemoveIoCompletion