From 8ed83e0427a693db6d909897dc73bf7ce6e22b21 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 2 Apr 2021 10:36:41 -0600 Subject: conn: winrio: pass key parameter into struct Signed-off-by: Jason A. Donenfeld --- conn/winrio/rio_windows.go | 1 + 1 file changed, 1 insertion(+) diff --git a/conn/winrio/rio_windows.go b/conn/winrio/rio_windows.go index 1785a02..2f13ec8 100644 --- a/conn/winrio/rio_windows.go +++ b/conn/winrio/rio_windows.go @@ -161,6 +161,7 @@ func CreateIOCPCompletionQueue(queueSize uint32, iocp windows.Handle, key uintpt notificationCompletion := &iocpNotificationCompletion{ completionType: iocpCompletion, iocp: iocp, + key: key, overlapped: overlapped, } ret, _, err := syscall.Syscall(extensionFunctionTable.rioCreateCompletionQueue, 2, uintptr(queueSize), uintptr(unsafe.Pointer(notificationCompletion)), 0) -- cgit v1.2.3