#include <qsoasync.h> int QsoCreateIOCompletionPort()
The QsoCreateIOCompletionPort is used to create a common wait point for a completed overlapped I/O operation. The wait point is represented by the I/O completion port handle returned by the QsoCreateIOCompletionPort() function. This handle is specified on QsoStartRecv and QsoStartSend functions to initiate overlapped I/O operations.
No authorization is required.
QsoCreateIOCompletionPort() returns an integer. Possible values are:
When QsoCreateIOCompletionPort() fails, errno can be set to one of the following:
[ENOBUFS] | The limit of 256 I/O completion ports has been
exceeded for this process. |
[EUNKNOWN] | Unknown system state. |
Message ID | Error Message Text |
---|---|
CPE3418 E | Possible APAR condition or hardware failure. |
CPFA081 E | Unable to set return value or error code. |