| 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 |
|
| 9 |
#ifndef ANY_SIZE |
| 10 |
#define ANY_SIZE 1 |
| 11 |
#endif |
| 12 |
|
| 13 |
#if (_WIN32_WINNT >= 0x0600) |
| 14 |
|
| 15 |
#ifdef __cplusplus |
| 16 |
extern "C" { |
| 17 |
#endif |
| 18 |
|
| 19 |
typedef struct _MIB_UDP6ROW { |
| 20 |
IN6_ADDR dwLocalAddr; |
| 21 |
DWORD dwLocalScopeId; |
| 22 |
DWORD dwLocalPort; |
| 23 |
} MIB_UDP6ROW, *PMIB_UDP6ROW; |
| 24 |
|
| 25 |
typedef struct _MIB_UDP6TABLE { |
| 26 |
DWORD dwNumEntries; |
| 27 |
MIB_UDP6ROW table[ANY_SIZE]; |
| 28 |
} MIB_UDP6TABLE, *PMIB_UDP6TABLE; |
| 29 |
|
| 30 |
#ifdef __cplusplus |
| 31 |
} |
| 32 |
#endif |
| 33 |
|
| 34 |
#endif /*(_WIN32_WINNT >= 0x0600)*/ |
| 35 |
|
| 36 |
#endif /*_INC_UDPMIB*/ |