AsyncFileState.fileCompletionCallback

void fileCompletionCallback(void * context, OVERLAPPED * overlappedPtr, size_t bytesTransferred, DWORD error) static @trusted nothrow

Static IOCP completion callback.

Called by the IOCP backend when an overlapped file operation completes.

Parameters

contextPointer to the AsyncFileState.
overlappedPtrOVERLAPPED that completed.
bytesTransferredBytes transferred by the operation.
errorWin32 error code (0 on success).