114 lines
4.1 KiB
D
114 lines
4.1 KiB
D
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
/**
|
|
* Copyright: Eugene Wissner 2017.
|
|
* License: $(LINK2 https://www.mozilla.org/en-US/MPL/2.0/,
|
|
* Mozilla Public License, v. 2.0).
|
|
* Authors: $(LINK2 mailto:info@caraus.de, Eugene Wissner)
|
|
* Source: $(LINK2 https://github.com/caraus-ecms/tanya/blob/master/source/tanya/sys/windows/error.d,
|
|
* tanya/sys/windows/error.d)
|
|
*/
|
|
module tanya.sys.windows.error;
|
|
|
|
version (Windows):
|
|
|
|
private enum WSABASEERR = 10000;
|
|
enum
|
|
{
|
|
WSAEINTR = WSABASEERR + 4,
|
|
WSAEBADF = WSABASEERR + 9,
|
|
WSAEACCES = WSABASEERR + 13,
|
|
WSAEFAULT = WSABASEERR + 14,
|
|
WSAEINVAL = WSABASEERR + 22,
|
|
WSAEMFILE = WSABASEERR + 24,
|
|
|
|
WSAEWOULDBLOCK = WSABASEERR + 35,
|
|
WSAEINPROGRESS = WSABASEERR + 36,
|
|
WSAEALREADY = WSABASEERR + 37,
|
|
WSAENOTSOCK = WSABASEERR + 38,
|
|
WSAEDESTADDRREQ = WSABASEERR + 39,
|
|
WSAEMSGSIZE = WSABASEERR + 40,
|
|
WSAEPROTOTYPE = WSABASEERR + 41,
|
|
WSAENOPROTOOPT = WSABASEERR + 42,
|
|
WSAEPROTONOSUPPORT = WSABASEERR + 43,
|
|
WSAESOCKTNOSUPPORT = WSABASEERR + 44,
|
|
WSAEOPNOTSUPP = WSABASEERR + 45,
|
|
WSAEPFNOSUPPORT = WSABASEERR + 46,
|
|
WSAEAFNOSUPPORT = WSABASEERR + 47,
|
|
WSAEADDRINUSE = WSABASEERR + 48,
|
|
WSAEADDRNOTAVAIL = WSABASEERR + 49,
|
|
WSAENETDOWN = WSABASEERR + 50,
|
|
WSAENETUNREACH = WSABASEERR + 51,
|
|
WSAENETRESET = WSABASEERR + 52,
|
|
WSAECONNABORTED = WSABASEERR + 53,
|
|
WSAECONNRESET = WSABASEERR + 54,
|
|
WSAENOBUFS = WSABASEERR + 55,
|
|
WSAEISCONN = WSABASEERR + 56,
|
|
WSAENOTCONN = WSABASEERR + 57,
|
|
WSAESHUTDOWN = WSABASEERR + 58,
|
|
WSAETOOMANYREFS = WSABASEERR + 59,
|
|
WSAETIMEDOUT = WSABASEERR + 60,
|
|
WSAECONNREFUSED = WSABASEERR + 61,
|
|
WSAELOOP = WSABASEERR + 62,
|
|
WSAENAMETOOLONG = WSABASEERR + 63,
|
|
WSAEHOSTDOWN = WSABASEERR + 64,
|
|
WSAEHOSTUNREACH = WSABASEERR + 65,
|
|
WSAENOTEMPTY = WSABASEERR + 66,
|
|
WSAEPROCLIM = WSABASEERR + 67,
|
|
WSAEUSERS = WSABASEERR + 68,
|
|
WSAEDQUOT = WSABASEERR + 69,
|
|
WSAESTALE = WSABASEERR + 70,
|
|
WSAEREMOTE = WSABASEERR + 71,
|
|
|
|
WSASYSNOTREADY = WSABASEERR + 91,
|
|
WSAVERNOTSUPPORTED = WSABASEERR + 92,
|
|
WSANOTINITIALISED = WSABASEERR + 93,
|
|
WSAEDISCON = WSABASEERR + 101,
|
|
WSAENOMORE = WSABASEERR + 102,
|
|
WSAECANCELLED = WSABASEERR + 103,
|
|
WSAEINVALIDPROCTABLE = WSABASEERR + 104,
|
|
WSAEINVALIDPROVIDER = WSABASEERR + 105,
|
|
WSAEPROVIDERFAILEDINIT = WSABASEERR + 106,
|
|
WSASYSCALLFAILURE = WSABASEERR + 107,
|
|
WSASERVICE_NOT_FOUND = WSABASEERR + 108,
|
|
WSATYPE_NOT_FOUND = WSABASEERR + 109,
|
|
WSA_E_NO_MORE = WSABASEERR + 110,
|
|
WSA_E_CANCELLED = WSABASEERR + 111,
|
|
WSAEREFUSED = WSABASEERR + 112,
|
|
|
|
WSAHOST_NOT_FOUND = WSABASEERR + 1001,
|
|
WSATRY_AGAIN = WSABASEERR + 1002,
|
|
WSANO_RECOVERY = WSABASEERR + 1003,
|
|
WSANO_DATA = WSABASEERR + 1004,
|
|
|
|
WSA_QOS_RECEIVERS = WSABASEERR + 1005,
|
|
WSA_QOS_SENDERS = WSABASEERR + 1006,
|
|
WSA_QOS_NO_SENDERS = WSABASEERR + 1007,
|
|
WSA_QOS_NO_RECEIVERS = WSABASEERR + 1008,
|
|
WSA_QOS_REQUEST_CONFIRMED = WSABASEERR + 1009,
|
|
WSA_QOS_ADMISSION_FAILURE = WSABASEERR + 1010,
|
|
WSA_QOS_POLICY_FAILURE = WSABASEERR + 1011,
|
|
WSA_QOS_BAD_STYLE = WSABASEERR + 1012,
|
|
WSA_QOS_BAD_OBJECT = WSABASEERR + 1013,
|
|
|
|
WSA_QOS_TRAFFIC_CTRL_ERROR = WSABASEERR + 1014,
|
|
WSA_QOS_GENERIC_ERROR = WSABASEERR + 1015,
|
|
WSA_QOS_ESERVICETYPE = WSABASEERR + 1016,
|
|
WSA_QOS_EFLOWSPEC = WSABASEERR + 1017,
|
|
WSA_QOS_EPROVSPECBUF = WSABASEERR + 1018,
|
|
WSA_QOS_EFILTERSTYLE = WSABASEERR + 1019,
|
|
WSA_QOS_EFILTERTYPE = WSABASEERR + 1020,
|
|
WSA_QOS_EFILTERCOUNT = WSABASEERR + 1021,
|
|
WSA_QOS_EOBJLENGTH = WSABASEERR + 1022,
|
|
WSA_QOS_EFLOWCOUNT = WSABASEERR + 1023,
|
|
WSA_QOS_EUNKOWNPSOBJ = WSABASEERR + 1024,
|
|
WSA_QOS_EPOLICYOBJ = WSABASEERR + 1025,
|
|
WSA_QOS_EFLOWDESC = WSABASEERR + 1026,
|
|
WSA_QOS_EPSFLOWSPEC = WSABASEERR + 1027,
|
|
WSA_QOS_EPSFILTERSPEC = WSABASEERR + 1028,
|
|
WSA_QOS_ESDMODEOBJ = WSABASEERR + 1029,
|
|
WSA_QOS_ESHAPERATEOBJ = WSABASEERR + 1030,
|
|
WSA_QOS_RESERVED_PETYPE = WSABASEERR + 1031,
|
|
} |