conn: winrio: pass key parameter into struct
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
6228659a91
commit
8ed83e0427
|
@ -161,6 +161,7 @@ func CreateIOCPCompletionQueue(queueSize uint32, iocp windows.Handle, key uintpt
|
||||||
notificationCompletion := &iocpNotificationCompletion{
|
notificationCompletion := &iocpNotificationCompletion{
|
||||||
completionType: iocpCompletion,
|
completionType: iocpCompletion,
|
||||||
iocp: iocp,
|
iocp: iocp,
|
||||||
|
key: key,
|
||||||
overlapped: overlapped,
|
overlapped: overlapped,
|
||||||
}
|
}
|
||||||
ret, _, err := syscall.Syscall(extensionFunctionTable.rioCreateCompletionQueue, 2, uintptr(queueSize), uintptr(unsafe.Pointer(notificationCompletion)), 0)
|
ret, _, err := syscall.Syscall(extensionFunctionTable.rioCreateCompletionQueue, 2, uintptr(queueSize), uintptr(unsafe.Pointer(notificationCompletion)), 0)
|
||||||
|
|
Loading…
Reference in a new issue