TDIObjectID structure (tdiinfo.h)

[This structure may be altered or unavailable in future versions of Windows.]

Contains a part of the TCP_REQUEST_QUERY_INFORMATION_EX structure that is used with the IOCTL_TCP_QUERY_INFORMATION_EX control code to specify the kind of information being requested from the TCP driver.

Syntax

typedef struct TDIObjectID {
  TDIEntityID toi_entity;
  ulong       toi_class;
  ulong       toi_type;
  ulong       toi_id;
} TDIObjectID;

Members

toi_entity

This is a TDIEntityID structure.

toi_class

The kind of information being requested. The value can be one of the following.

Value Meaning
INFO_CLASS_GENERIC
Used when requesting an enumeration of all TDI entities on the current machine, or when determining the type of one of those TDI entities.
INFO_CLASS_PROTOCOL
Used when requesting information about a specific interface or IP entity.

toi_type

The type of object being queried. The value can be one of the following.

Value Meaning
INFO_TYPE_PROVIDER
A service provider. All queries described in the IOCTL_TCP_QUERY_INFORMATION_EX topic use this type value.
INFO_TYPE_ADDRESS_OBJECT
An address object.
INFO_TYPE_CONNECTION
A connection object.

toi_id

If toi_class is INFO_CLASS_GENERIC, toi_id can be one of the following.

Value Meaning
ENTITY_LIST_ID
The query returns a list of all TDI entities on the local machine.
ENTITY_TYPE_ID
The query returns a type value for a specified TDI entity.
 

If toi_class is INFO_CLASS_PROTOCOL, toi_id can be one of the following.

Value Meaning
IF_MIB_STATS_ID
When the entity being queried is an interface supporting MIB-II, causes the query to return an IFEntry structure that contains information about the interface.
IP_MIB_STATS_ID
When the entity being queried is a network-layer IP entity, causes the query to return an IPSNMPInfo structure that contains information about the entity.
IP_MIB_ADDRTABLE_ENTRY_ID
When the entity being queried is a network-layer IP entity on which one or more IP addresses are active, causes the query to return an array of IPAddrEntry structures that contain information about those addresses.
IP_INTFC_INFO_ID
Causes an IPInterfaceInfo structure to be returned with information about a specific IP address specified in the Context member of the TCP_REQUEST_QUERY_INFORMATION_EX structure.

Requirements

Requirement Value
Header tdiinfo.h

See also

IOCTL_TCP_QUERY_INFORMATION_EX

Management Information Base Reference