Cleaned up messed up XML comments

nullableenabled
David Hall 2023-10-04 16:12:06 -06:00
parent 1a240dd4ab
commit c84535d13e
5 changed files with 10 additions and 0 deletions

View File

@ -4,6 +4,7 @@ namespace Vanara.PInvoke;
public static partial class Ws2_32
{
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
public const int SO_CONNDATA = 0x7000;
public const int SO_CONNDATALEN = 0x7004;
/// <summary>
@ -35,6 +36,7 @@ public static partial class Ws2_32
public static readonly uint SIO_SOCKET_CLOSE_NOTIFY = _WSAIOW(IOC_VENDOR, 13);
public static readonly uint SIO_UDP_CONNRESET = _WSAIOW(IOC_VENDOR, 12);
public static readonly uint SIO_UDP_NETRESET = _WSAIOW(IOC_VENDOR, 15);
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member
/// <summary>GUID value used by SIO_GET_EXTENSION_FUNCTION_POINTER to get the LPFN_WSARECVMSG (WSARecvMsg) extension function.</summary>
public static readonly Guid WSAID_WSARECVMSG = new(0xf689d7c8,0x6f1f,0x436b,0x8a,0x53,0xe5,0x4f,0xe3,0x51,0xc3,0x22);

View File

@ -381,6 +381,7 @@ public static partial class Ws2_32
WSA_FLAG_REGISTERED_IO = 0x100,
}
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
[PInvokeData("winsock2.h")]
public enum WSACOMPLETIONTYPE
{
@ -390,4 +391,5 @@ public static partial class Ws2_32
NSP_NOTIFY_PORT,
NSP_NOTIFY_APC,
}
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member
}

View File

@ -6,6 +6,7 @@ namespace Vanara.PInvoke;
/// <summary>Functions, structures and constants from ws2_32.h.</summary>
public static partial class Ws2_32
{
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
public static readonly uint SIO_ABSORB_RTRALERT = _WSAIOW(IOC_VENDOR, 5);
public static readonly uint SIO_ACQUIRE_PORT_RESERVATION = _WSAIOW(IOC_VENDOR, 100);
public static readonly uint SIO_APPLY_TRANSPORT_SETTING = _WSAIOW(IOC_VENDOR, 19);
@ -44,6 +45,7 @@ public static partial class Ws2_32
public static readonly uint SIO_TCP_SET_ICW = _WSAIOW(IOC_VENDOR, 22);
public static readonly uint SIO_TIMESTAMPING = _WSAIOW(IOC_VENDOR, 235);
public static readonly uint SIO_UCAST_IF = _WSAIOW(IOC_VENDOR, 6);
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member
/// <summary>
/// The CONTROL_CHANNEL_TRIGGER_STATUS enumeration specifies the status from a query for the <c>REAL_TIME_NOTIFICATION_CAPABILITY</c>

View File

@ -7,12 +7,14 @@ namespace Vanara.PInvoke;
public static partial class Ws2_32
{
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
public const int RIO_MAX_CQ_SIZE = 0x8000000;
public static readonly RIO_CQ RIO_CORRUPT_CQ = (RIO_CQ)unchecked((int)0xFFFFFFFF);
public static readonly RIO_BUFFERID RIO_INVALID_BUFFERID = (RIO_BUFFERID)unchecked((int)0xFFFFFFFF);
public static readonly RIO_CQ RIO_INVALID_CQ = (RIO_CQ)0;
public static readonly RIO_RQ RIO_INVALID_RQ = (RIO_RQ)0;
public static readonly uint SIO_SET_COMPATIBILITY_MODE = _WSAIOW(IOC_VENDOR, 300);
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member
/// <summary>A set of flags that modify the behavior of the <c>RIOSendEx</c> function.</summary>
[PInvokeData("mswsockdef.h", MSDNShortId = "NC:mswsock.LPFN_RIORECEIVE")]

View File

@ -6,6 +6,7 @@ namespace Vanara.PInvoke;
public static partial class Ws2_32
{
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
public const uint IOC_UNIX = 0x00000000;
public const uint IOC_WS2 = 0x08000000;
public const uint IOC_PROTOCOL = 0x10000000;
@ -38,6 +39,7 @@ public static partial class Ws2_32
public static readonly uint SIO_RESERVED_1 = _WSAIOW(IOC_WS2,26);
public static readonly uint SIO_RESERVED_2 = _WSAIOW(IOC_WS2,33);
public static readonly uint SIO_GET_MULTIPLE_EXTENSION_FUNCTION_POINTER = _WSAIORW(IOC_WS2, 36);
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member
/// <summary>Flags that indicate options used in the GetAddrInfoW function.</summary>
[PInvokeData("ws2def.h", MSDNShortId = "a4896eac-68ae-4a08-8647-36be65fe4478")]