MIB_TCPTABLE_OWNER_MODULE structure

The MIB_TCPTABLE_OWNER_MODULE structure contains a table of process IDs (PIDs) and the IPv4 TCP links context bound to the PIDs, and any available ownership data.

Syntax


typedef struct {
  DWORD                   dwNumEntries;
  MIB_TCPROW_OWNER_MODULE table[ANY_SIZE];
} MIB_TCPTABLE_OWNER_MODULE, *PMIB_TCPTABLE_OWNER_MODULE;

Members

dwNumEntries

The number of MIB_TCPROW_OWNER_MODULE elements in the table.

table

Array of MIB_TCPROW_OWNER_MODULE structures returned by a call to GetExtendedTcpTable.

Remarks

This table is specifically returned by a call to GetExtendedTcpTable with the TableClass parameter set to a TCP_TABLE_OWNER_MODULE_* value from the TCP_TABLE_CLASS enumeration and the ulAf parameter set to AF_INET4.

The MIB_TCPTABLE_OWNER_MODULE structure may contain padding for alignment between the dwNumEntries member and the first MIB_TCPROW_OWNER_MODULE array entry in the table member. Padding for alignment may also be present between the MIB_TCPROW_OWNER_MODULE array entries in the table member. Any access to a MIB_TCPROW_OWNER_MODULE 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

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 on Windows Server 2008 and Windows Vista (include Iphlpapi.h);
Iprtrmib.h on Windows Server 2003 and Windows XP (include Iphlpapi.h)

See also

MIB Reference
MIB Structures
IP Helper Start Page

 

 

Community Additions

ADD
Show: