Skip to content

Commit 8ed83e0

Browse files
committed
conn: winrio: pass key parameter into struct
Signed-off-by: Jason A. Donenfeld <[email protected]>
1 parent 6228659 commit 8ed83e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

conn/winrio/rio_windows.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ func CreateIOCPCompletionQueue(queueSize uint32, iocp windows.Handle, key uintpt
161161
notificationCompletion := &iocpNotificationCompletion{
162162
completionType: iocpCompletion,
163163
iocp: iocp,
164+
key: key,
164165
overlapped: overlapped,
165166
}
166167
ret, _, err := syscall.Syscall(extensionFunctionTable.rioCreateCompletionQueue, 2, uintptr(queueSize), uintptr(unsafe.Pointer(notificationCompletion)), 0)

0 commit comments

Comments
 (0)