WSAID.cs 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. using System;
  2. namespace Microsoft.Win32
  3. {
  4. //WSAID定义
  5. public static partial class NativeMethods
  6. {
  7. /// <summary>
  8. /// The AcceptEx extension function.
  9. /// </summary>
  10. public static readonly Guid WSAID_ACCEPTEX = new Guid("{0xb5367df1,0xcbac,0x11cf,{0x95,0xca,0x00,0x80,0x5f,0x48,0xa1,0x92}}");
  11. /// <summary>
  12. /// The ConnectEx extension function.
  13. /// </summary>
  14. public static readonly Guid WSAID_CONNECTEX = new Guid("{0x25a207b9,0xddf3,0x4660,{0x8e,0xe9,0x76,0xe5,0x8c,0x74,0x06,0x3e}}");
  15. /// <summary>
  16. /// The DisconnectEx extension function.
  17. /// </summary>
  18. public static readonly Guid WSAID_DISCONNECTEX = new Guid("{0x7fda2e11,0x8630,0x436f,{0xa0, 0x31, 0xf5, 0x36, 0xa6, 0xee, 0xc1, 0x57}}");
  19. /// <summary>
  20. /// The GetAcceptExSockaddrs extension function.
  21. /// </summary>
  22. public static readonly Guid WSAID_GETACCEPTEXSOCKADDRS = new Guid("{0xb5367df2,0xcbac,0x11cf,{0x95,0xca,0x00,0x80,0x5f,0x48,0xa1,0x92}}");
  23. /// <summary>
  24. /// None.
  25. /// </summary>
  26. public static readonly Guid WSAID_MULTIPLE_RIO = new Guid("{0x8509e081,0x96dd,0x4005,{0xb1,0x65,0x9e,0x2e,0xe8,0xc7,0x9e,0x3f}}");
  27. /// <summary>
  28. /// The TransmitFile extension function.
  29. /// </summary>
  30. public static readonly Guid WSAID_TRANSMITFILE = new Guid("{0xb5367df0,0xcbac,0x11cf,{0x95,0xca,0x00,0x80,0x5f,0x48,0xa1,0x92}}");
  31. /// <summary>
  32. /// The TransmitPackets extension function.
  33. /// </summary>
  34. public static readonly Guid WSAID_TRANSMITPACKETS = new Guid("{0xd9689da0,0x1f90,0x11d3,{0x99,0x71,0x00,0xc0,0x4f,0x68,0xc8,0x76}}");
  35. /// <summary>
  36. /// None.
  37. /// </summary>
  38. public static readonly Guid WSAID_WSAPOLL = new Guid("{0x18C76F85,0xDC66,0x4964,{0x97,0x2E,0x23,0xC2,0x72,0x38,0x31,0x2B}}");
  39. /// <summary>
  40. /// The WSARecvMsg extension function.
  41. /// </summary>
  42. public static readonly Guid WSAID_WSARECVMSG = new Guid("{0xf689d7c8,0x6f1f,0x436b,{0x8a,0x53,0xe5,0x4f,0xe3,0x51,0xc3,0x22}}");
  43. /// <summary>
  44. /// The WSASendMsg extension function.
  45. /// </summary>
  46. public static readonly Guid WSAID_WSASENDMSG = new Guid("{0xa441e712,0x754f,0x43ca,{0x84,0xa7,0x0d,0xee,0x44,0xcf,0x60,0x6d}}");
  47. }
  48. }