win32file.CreateIoCompletionPort
PyHANDLE = CreateIoCompletionPort(handle, existing
, completionKey
, numThreads
)
Can associate an instance of an opened file with a newly created or an existing input/output (I/O) completion port; or it can create an I/O completion port without associating it with a file.
Parameters
handle : PyHANDLE
file handle to associate with the I/O completion portexisting : PyHANDLE
handle to the I/O completion portcompletionKey : int
per-file completion key for I/O completion packetsnumThreads : int
number of threads allowed to execute concurrentlyReturn Value
If an existing handle to a completion port is passed, the result
of this function will be that same handle. See MSDN for more details.