diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-04-02 10:36:41 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-04-02 10:36:41 -0600 |
commit | 8ed83e0427a693db6d909897dc73bf7ce6e22b21 (patch) | |
tree | d3f09ce2206406108aef578f2a590342f317cd2b /conn | |
parent | 6228659a9136014c5a96c2a4f9f5e3678b0d1e08 (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.go | 1 |
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) |