summaryrefslogtreecommitdiffhomepage
path: root/conn
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-04-02 10:36:41 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2021-04-02 10:36:41 -0600
commit8ed83e0427a693db6d909897dc73bf7ce6e22b21 (patch)
treed3f09ce2206406108aef578f2a590342f317cd2b /conn
parent6228659a9136014c5a96c2a4f9f5e3678b0d1e08 (diff)
conn: winrio: pass key parameter into struct
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'conn')
-rw-r--r--conn/winrio/rio_windows.go1
1 files changed, 1 insertions, 0 deletions
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)