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{
 | 
			
		||||
		completionType: iocpCompletion,
 | 
			
		||||
		iocp:           iocp,
 | 
			
		||||
		key:            key,
 | 
			
		||||
		overlapped:     overlapped,
 | 
			
		||||
	}
 | 
			
		||||
	ret, _, err := syscall.Syscall(extensionFunctionTable.rioCreateCompletionQueue, 2, uintptr(queueSize), uintptr(unsafe.Pointer(notificationCompletion)), 0)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user