MIB_TCP6TABLE_OWNER_PID structure (tcpmib.h)

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.

Syntax

typedef struct _MIB_TCP6TABLE_OWNER_PID {
  DWORD                 dwNumEntries;
  MIB_TCP6ROW_OWNER_PID table[ANY_SIZE];
} MIB_TCP6TABLE_OWNER_PID, *PMIB_TCP6TABLE_OWNER_PID;

Members

dwNumEntries

The number of MIB_TCP6ROW_OWNER_PID elements in the table.

table[ANY_SIZE]

Array of MIB_TCP6ROW_OWNER_PID structures returned by a call to GetExtendedTcpTable.

Remarks

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.

Requirements

Requirement Value
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]
Header tcpmib.h (include Iphlpapi.h)

See also

IP Helper Start Page

MIB Reference

MIB Structures