PipeEndState.pipeCompletionCallback
void pipeCompletionCallback(void * context, OVERLAPPED * overlappedPtr,
size_t bytesTransferred, DWORD error) static @trusted nothrowStatic IOCP completion callback.
Called by the IOCP backend when an overlapped operation completes. Dispatches to the appropriate read or write completion handler based on which overlapped structure completed.
Parameters
context | Pointer to the PipeState. |
overlappedPtr | OVERLAPPED that completed. |
bytesTransferred | Bytes transferred by the operation. |
error | Win32 error code (0 on success). |