# coding: utf-8 # AUTO-GENERATED FILE -- DO NOT EDIT def BindLocal(handle, family): """ Bind a socket handle to an arbitrary local port. family should be AF_INET or AF_INET6. """ pass def ConnectPipe(addr): """ Connect to the pipe for asynchronous I/O (overlapped). """ pass def CreateEvent(EventAttributes, ManualReset, InitialState, Name): """ Create an event. EventAttributes must be None. """ pass def CreateIoCompletionPort(handle, port, key, concurrency): """ Create a completion port or register a handle with a port. """ pass ERROR_IO_PENDING = 997 ERROR_NETNAME_DELETED = 64 ERROR_OPERATION_ABORTED = 995 ERROR_PIPE_BUSY = 231 ERROR_PORT_UNREACHABLE = 1234 ERROR_SEM_TIMEOUT = 121 def FormatMessage(error_code): """ Return error message for an error code. """ pass def GetQueuedCompletionStatus(port, msecs): """ Get a message from completion port. Wait for up to msecs milliseconds. """ pass INFINITE = 4294967295 INVALID_HANDLE_VALUE = 18446744073709551615 NULL = 0 class Overlapped(object): """ OVERLAPPED structure wrapper. """ def AcceptEx(self, listen_handle, accept_handle): """ Start overlapped wait for client to connect. """ pass def ConnectEx(self, client_handle, address_as_bytes): """ Start overlapped connect. client_handle should be unbound. """ pass def ConnectNamedPipe(self, handle): """ Start overlapped wait for a client to connect. """ pass def DisconnectEx(self, handle, flags): pass def ReadFile(self, handle, size): """ Start overlapped read. """ pass def ReadFileInto(self, handle, buf): """ Start overlapped receive. """ pass def TransmitFile(self, socket, file, offset, offset_high, count_to_write, count_per_send, flags): """ Transmit file data over a connected socket. """ pass def WSARecv(self, handle, size, flags=0): """ Start overlapped receive. """ pass def WSARecvFrom(self, handle, size, flags=0): """ Start overlapped receive. """ pass def WSARecvFromInto(self, handle, buf, size, flags=0): """ Start overlapped receive. """ pass def WSARecvInto(self, handle, buf, flags): """ Start overlapped receive. """ pass def WSASend(self, handle, buf, flags): """ Start overlapped send. """ pass def WSASendTo(self, handle, buf, flags, address_as_bytes): """ Start overlapped sendto over a connectionless (UDP) socket. """ pass def WriteFile(self, handle, buf): """ Start overlapped write. """ pass address = property(None, None, None, """ Address of overlapped structure """ ) def cancel(self): """ Cancel overlapped operation. """ pass error = None event = None def getresult(self, wait=False): """ Retrieve result of operation. If wait is true then it blocks until the operation is finished. If wait is false and the operation is still pending then an error is raised. """ pass pending = property(None, None, None, """ Whether the operation is pending """ ) def PostQueuedCompletionStatus(port, bytes, key, address): """ Post a message to completion port. """ pass def RegisterWaitWithQueue(Object, CompletionPort, Overlapped, Timeout): """ Register wait for Object; when complete CompletionPort is notified. """ pass def ResetEvent(Handle): """ Reset event. """ pass SO_UPDATE_ACCEPT_CONTEXT = 28683 SO_UPDATE_CONNECT_CONTEXT = 28688 def SetEvent(Handle): """ Set event. """ pass TF_REUSE_SOCKET = 2 def UnregisterWait(WaitHandle): """ Unregister wait handle. """ pass def UnregisterWaitEx(WaitHandle, Event): """ Unregister wait handle. """ pass def WSAConnect(client_handle, address_as_bytes): """ Bind a remote address to a connectionless (UDP) socket. """ pass __doc__ = None __file__ = 'C:\\src\\ide\\build-files\\build-temp\\runtimes-release\\__os__\\win32\\runtime-python3.13\\DLLs\\_overlapped.pyd' __loader__ = None __name__ = '_overlapped' __package__ = '' __spec__ = None