AsyncFileState.fileCompletionCallback
void fileCompletionCallback(void * context, OVERLAPPED * overlappedPtr,
size_t bytesTransferred, DWORD error) static @trusted nothrowStatic IOCP completion callback.
Called by the IOCP backend when an overlapped file operation completes.
Parameters
context | Pointer to the AsyncFileState. |
overlappedPtr | OVERLAPPED that completed. |
bytesTransferred | Bytes transferred by the operation. |
error | Win32 error code (0 on success). |