From dba346c0d07c4749cbbd90bbefb7b5af382b4d78 Mon Sep 17 00:00:00 2001 From: dahall Date: Sun, 10 Jul 2022 17:21:25 -0600 Subject: [PATCH] BREAKING CHANGE: Removed winsock errors from Win32Error (incorrect fit). --- PInvoke/Shared/WinError/Win32Error.Values.cs | 267 --------------------------- 1 file changed, 267 deletions(-) diff --git a/PInvoke/Shared/WinError/Win32Error.Values.cs b/PInvoke/Shared/WinError/Win32Error.Values.cs index 7e8cb340..4acf4eff 100644 --- a/PInvoke/Shared/WinError/Win32Error.Values.cs +++ b/PInvoke/Shared/WinError/Win32Error.Values.cs @@ -6983,273 +6983,6 @@ namespace Vanara.PInvoke /// The application directory partition operation failed. The domain controller holding the domain naming master role is down or unable to service the request or is not running Windows Server 2003. public const uint DNS_ERROR_DP_FSMO_ERROR = 0x000026B2; - /// A blocking operation was interrupted by a call to WSACancelBlockingCall. - public const uint WSAEINTR = 0x00002714; - - /// The file handle supplied is not valid. - public const uint WSAEBADF = 0x00002719; - - /// An attempt was made to access a socket in a way forbidden by its access permissions. - public const uint WSAEACCES = 0x0000271D; - - /// The system detected an invalid pointer address in attempting to use a pointer argument in a call. - public const uint WSAEFAULT = 0x0000271E; - - /// An invalid argument was supplied. - public const uint WSAEINVAL = 0x00002726; - - /// Too many open sockets. - public const uint WSAEMFILE = 0x00002728; - - /// A nonblocking socket operation could not be completed immediately. - public const uint WSAEWOULDBLOCK = 0x00002733; - - /// A blocking operation is currently executing. - public const uint WSAEINPROGRESS = 0x00002734; - - /// An operation was attempted on a nonblocking socket that already had an operation in progress. - public const uint WSAEALREADY = 0x00002735; - - /// An operation was attempted on something that is not a socket. - public const uint WSAENOTSOCK = 0x00002736; - - /// A required address was omitted from an operation on a socket. - public const uint WSAEDESTADDRREQ = 0x00002737; - - /// A message sent on a datagram socket was larger than the internal message buffer or some other network limit, or the buffer used to receive a datagram into was smaller than the datagram itself. - public const uint WSAEMSGSIZE = 0x00002738; - - /// A protocol was specified in the socket function call that does not support the semantics of the socket type requested. - public const uint WSAEPROTOTYPE = 0x00002739; - - /// An unknown, invalid, or unsupported option or level was specified in a getsockopt or setsockopt call. - public const uint WSAENOPROTOOPT = 0x0000273A; - - /// The requested protocol has not been configured into the system, or no implementation for it exists. - public const uint WSAEPROTONOSUPPORT = 0x0000273B; - - /// The support for the specified socket type does not exist in this address family. - public const uint WSAESOCKTNOSUPPORT = 0x0000273C; - - /// The attempted operation is not supported for the type of object referenced. - public const uint WSAEOPNOTSUPP = 0x0000273D; - - /// The protocol family has not been configured into the system or no implementation for it exists. - public const uint WSAEPFNOSUPPORT = 0x0000273E; - - /// An address incompatible with the requested protocol was used. - public const uint WSAEAFNOSUPPORT = 0x0000273F; - - /// Only one usage of each socket address (protocol/network address/port) is normally permitted. - public const uint WSAEADDRINUSE = 0x00002740; - - /// The requested address is not valid in its context. - public const uint WSAEADDRNOTAVAIL = 0x00002741; - - /// A socket operation encountered a dead network. - public const uint WSAENETDOWN = 0x00002742; - - /// A socket operation was attempted to an unreachable network. - public const uint WSAENETUNREACH = 0x00002743; - - /// The connection has been broken due to keep-alive activity detecting a failure while the operation was in progress. - public const uint WSAENETRESET = 0x00002744; - - /// An established connection was aborted by the software in your host machine. - public const uint WSAECONNABORTED = 0x00002745; - - /// An existing connection was forcibly closed by the remote host. - public const uint WSAECONNRESET = 0x00002746; - - /// An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full. - public const uint WSAENOBUFS = 0x00002747; - - /// A connect request was made on an already connected socket. - public const uint WSAEISCONN = 0x00002748; - - /// A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied. - public const uint WSAENOTCONN = 0x00002749; - - /// A request to send or receive data was disallowed because the socket had already been shut down in that direction with a previous shutdown call. - public const uint WSAESHUTDOWN = 0x0000274A; - - /// Too many references to a kernel object. - public const uint WSAETOOMANYREFS = 0x0000274B; - - /// A connection attempt failed because the connected party did not properly respond after a period of time, or the established connection failed because the connected host failed to respond. - public const uint WSAETIMEDOUT = 0x0000274C; - - /// No connection could be made because the target machine actively refused it. - public const uint WSAECONNREFUSED = 0x0000274D; - - /// Cannot translate name. - public const uint WSAELOOP = 0x0000274E; - - /// Name or name component was too long. - public const uint WSAENAMETOOLONG = 0x0000274F; - - /// A socket operation failed because the destination host was down. - public const uint WSAEHOSTDOWN = 0x00002750; - - /// A socket operation was attempted to an unreachable host. - public const uint WSAEHOSTUNREACH = 0x00002751; - - /// Cannot remove a directory that is not empty. - public const uint WSAENOTEMPTY = 0x00002752; - - /// A Windows Sockets implementation might have a limit on the number of applications that can use it simultaneously. - public const uint WSAEPROCLIM = 0x00002753; - - /// Ran out of quota. - public const uint WSAEUSERS = 0x00002754; - - /// Ran out of disk quota. - public const uint WSAEDQUOT = 0x00002755; - - /// File handle reference is no longer available. - public const uint WSAESTALE = 0x00002756; - - /// Item is not available locally. - public const uint WSAEREMOTE = 0x00002757; - - /// WSAStartup cannot function at this time because the underlying system it uses to provide network services is currently unavailable. - public const uint WSASYSNOTREADY = 0x0000276B; - - /// The Windows Sockets version requested is not supported. - public const uint WSAVERNOTSUPPORTED = 0x0000276C; - - /// Either the application has not called WSAStartup, or WSAStartup failed. - public const uint WSANOTINITIALISED = 0x0000276D; - - /// Returned by WSARecv or WSARecvFrom to indicate that the remote party has initiated a graceful shutdown sequence. - public const uint WSAEDISCON = 0x00002775; - - /// No more results can be returned by WSALookupServiceNext. - public const uint WSAENOMORE = 0x00002776; - - /// A call to WSALookupServiceEnd was made while this call was still processing. The call has been canceled. - public const uint WSAECANCELLED = 0x00002777; - - /// The procedure call table is invalid. - public const uint WSAEINVALIDPROCTABLE = 0x00002778; - - /// The requested service provider is invalid. - public const uint WSAEINVALIDPROVIDER = 0x00002779; - - /// The requested service provider could not be loaded or initialized. - public const uint WSAEPROVIDERFAILEDINIT = 0x0000277A; - - /// A system call that should never fail has failed. - public const uint WSASYSCALLFAILURE = 0x0000277B; - - /// No such service is known. The service cannot be found in the specified namespace. - public const uint WSASERVICE_NOT_FOUND = 0x0000277C; - - /// The specified class was not found. - public const uint WSATYPE_NOT_FOUND = 0x0000277D; - - /// No more results can be returned by WSALookupServiceNext. - public const uint WSA_E_NO_MORE = 0x0000277E; - - /// A call to WSALookupServiceEnd was made while this call was still processing. The call has been canceled. - public const uint WSA_E_CANCELLED = 0x0000277F; - - /// A database query failed because it was actively refused. - public const uint WSAEREFUSED = 0x00002780; - - /// No such host is known. - public const uint WSAHOST_NOT_FOUND = 0x00002AF9; - - /// This is usually a temporary error during host name resolution and means that the local server did not receive a response from an authoritative server. - public const uint WSATRY_AGAIN = 0x00002AFA; - - /// A nonrecoverable error occurred during a database lookup. - public const uint WSANO_RECOVERY = 0x00002AFB; - - /// The requested name is valid, but no data of the requested type was found. - public const uint WSANO_DATA = 0x00002AFC; - - /// At least one reserve has arrived. - public const uint WSA_QOS_RECEIVERS = 0x00002AFD; - - /// At least one path has arrived. - public const uint WSA_QOS_SENDERS = 0x00002AFE; - - /// There are no senders. - public const uint WSA_QOS_NO_SENDERS = 0x00002AFF; - - /// There are no receivers. - public const uint WSA_QOS_NO_RECEIVERS = 0x00002B00; - - /// Reserve has been confirmed. - public const uint WSA_QOS_REQUEST_CONFIRMED = 0x00002B01; - - /// Error due to lack of resources. - public const uint WSA_QOS_ADMISSION_FAILURE = 0x00002B02; - - /// Rejected for administrative reasons - bad credentials. - public const uint WSA_QOS_POLICY_FAILURE = 0x00002B03; - - /// Unknown or conflicting style. - public const uint WSA_QOS_BAD_STYLE = 0x00002B04; - - /// There is a problem with some part of the filterspec or provider-specific buffer in general. - public const uint WSA_QOS_BAD_OBJECT = 0x00002B05; - - /// There is a problem with some part of the flowspec. - public const uint WSA_QOS_TRAFFIC_CTRL_ERROR = 0x00002B06; - - /// General quality of serve (QOS) error. - public const uint WSA_QOS_GENERIC_ERROR = 0x00002B07; - - /// An invalid or unrecognized service type was found in the flowspec. - public const uint WSA_QOS_ESERVICETYPE = 0x00002B08; - - /// An invalid or inconsistent flowspec was found in the QOS structure. - public const uint WSA_QOS_EFLOWSPEC = 0x00002B09; - - /// Invalid QOS provider-specific buffer. - public const uint WSA_QOS_EPROVSPECBUF = 0x00002B0A; - - /// An invalid QOS filter style was used. - public const uint WSA_QOS_EFILTERSTYLE = 0x00002B0B; - - /// An invalid QOS filter type was used. - public const uint WSA_QOS_EFILTERTYPE = 0x00002B0C; - - /// An incorrect number of QOS FILTERSPECs were specified in the FLOWDESCRIPTOR. - public const uint WSA_QOS_EFILTERCOUNT = 0x00002B0D; - - /// An object with an invalid ObjectLength field was specified in the QOS provider-specific buffer. - public const uint WSA_QOS_EOBJLENGTH = 0x00002B0E; - - /// An incorrect number of flow descriptors was specified in the QOS structure. - public const uint WSA_QOS_EFLOWCOUNT = 0x00002B0F; - - /// An unrecognized object was found in the QOS provider-specific buffer. - public const uint WSA_QOS_EUNKOWNPSOBJ = 0x00002B10; - - /// An invalid policy object was found in the QOS provider-specific buffer. - public const uint WSA_QOS_EPOLICYOBJ = 0x00002B11; - - /// An invalid QOS flow descriptor was found in the flow descriptor list. - public const uint WSA_QOS_EFLOWDESC = 0x00002B12; - - /// An invalid or inconsistent flowspec was found in the QOS provider-specific buffer. - public const uint WSA_QOS_EPSFLOWSPEC = 0x00002B13; - - /// An invalid FILTERSPEC was found in the QOS provider-specific buffer. - public const uint WSA_QOS_EPSFILTERSPEC = 0x00002B14; - - /// An invalid shape discard mode object was found in the QOS provider-specific buffer. - public const uint WSA_QOS_ESDMODEOBJ = 0x00002B15; - - /// An invalid shaping rate object was found in the QOS provider-specific buffer. - public const uint WSA_QOS_ESHAPERATEOBJ = 0x00002B16; - - /// A reserved policy element was found in the QOS provider-specific buffer. - public const uint WSA_QOS_RESERVED_PETYPE = 0x00002B17; - /// The specified quick mode policy already exists. public const uint ERROR_IPSEC_QM_POLICY_EXISTS = 0x000032C8;