Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize


The MIB_TCP6TABLE_OWNER_PID structure contains a table of process IDs (PIDs) and the IPv6 TCP links that are context bound to these PIDs.


typedef struct _MIB_TCP6TABLE_OWNER_PID {
  DWORD                 dwNumEntries;



The number of MIB_TCP6ROW_OWNER_PID elements in the table.


Array of MIB_TCP6ROW_OWNER_PID structures returned by a call to GetExtendedTcpTable.


The MIB_TCP6TABLE_OWNER_PID structure is returned by a call to GetExtendedTcpTable with the TableClass parameter set to TCP_TABLE_OWNER_PID_LISTENER, TCP_TABLE_OWNER_PID_CONNECTIONS, or TCP_TABLE_OWNER_PID_ALL from the TCP_TABLE_CLASS enumeration and the ulAf parameter set to AF_INET6.

The MIB_TCP6TABLE_OWNER_PID structure may contain padding for alignment between the dwNumEntries member and the first MIB_TCP6ROW_OWNER_PID array entry in the table member. Padding for alignment may also be present between the MIB_TCP6ROW_OWNER_PID array entries in the table member. Any access to a MIB_TCP6ROW_OWNER_PID array entry should assume padding may exist.

On the Microsoft Windows Software Development Kit (SDK) released for Windows Vista and later, the organization of header files has changed. This structure is defined in the Tcpmib.h header file, not in the Iprtrmib.h header file. Note that the Tcpmib.h header file is automatically included in Iprtrmib.h, which is automatically included in the Iphlpapi.h header file. The Tcpmib.h and Iprtrmib.h header files should never be used directly.


Minimum supported client

Windows Vista, Windows XP with SP2 [desktop apps only]

Minimum supported server

Windows Server 2008, Windows Server 2003 with SP1 [desktop apps only]


Tcpmib.h on Windows Server 2008 and Windows Vista (include Iphlpapi.h);
Iprtrmib.h on Windows Server 2003 with SP1 and Windows XP with SP2 (include Iphlpapi.h)

See also

MIB Reference
MIB Structures
IP Helper Start Page



Community Additions

© 2015 Microsoft