BREAKING CHANGE: Removed winsock errors from Win32Error (incorrect fit).

pull/303/head
dahall 2022-07-10 17:21:25 -06:00
parent a4e391a5d3
commit dba346c0d0
1 changed files with 0 additions and 267 deletions

View File

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