udpmib.h 722 B

123456789101112131415161718192021222324252627282930313233343536
  1. /**
  2. * This file has no copyright assigned and is placed in the Public Domain.
  3. * This file is part of the mingw-w64 runtime package.
  4. * No warranty is given; refer to the file DISCLAIMER.PD within this package.
  5. */
  6. #ifndef _INC_UDPMIB
  7. #define _INC_UDPMIB
  8. #ifndef ANY_SIZE
  9. #define ANY_SIZE 1
  10. #endif
  11. #if (_WIN32_WINNT >= 0x0600)
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. typedef struct _MIB_UDP6ROW {
  16. IN6_ADDR dwLocalAddr;
  17. DWORD dwLocalScopeId;
  18. DWORD dwLocalPort;
  19. } MIB_UDP6ROW, *PMIB_UDP6ROW;
  20. typedef struct _MIB_UDP6TABLE {
  21. DWORD dwNumEntries;
  22. MIB_UDP6ROW table[ANY_SIZE];
  23. } MIB_UDP6TABLE, *PMIB_UDP6TABLE;
  24. #ifdef __cplusplus
  25. }
  26. #endif
  27. #endif /*(_WIN32_WINNT >= 0x0600)*/
  28. #endif /*_INC_UDPMIB*/