TDI_PROVIDER_INFO

struct _TDI_PROVIDER_INFO {

ULONG Version;

ULONG MaxSendSize;

ULONG MaxConnectionUserData;

ULONG MaxDatagramSize;

ULONG ServiceFlags;

ULONG MinimumLookaheadData;

ULONG MaximumLookaheadData;

ULONG NumberOfResources;

LARGE_INTEGER StartTime;

} TDI_PROVIDER_INFO, *PTDI_PROVIDER_INFO;

TDI_PROVIDER_INFO defines a query buffer containing information about the TDI driver. A kernel-mode client uses this structure for output the driver generates in response to the TDI_QUERY_INFORMATION request message.

Members

Version

Specifies the TDI version number. The low byte represents the minor part of the version number, and the next byte is for the major part. For the current release of TDI, the version number is 0x0100.

MaxSendSize

Specifies the maximum size, in bytes, of a buffer a client can send.

MaxConnectionUserData

Specifies the maximum size, in bytes, of the user data a client can send on the connection.

MaxDatagramSize

Specifies the maximum size, in bytes, of a datagram buffer a client can send.

ServiceFlags

Specifies a bitmask of bit flags indicating driver services. The services include:

Driver Service Meaning
TDI_SERVICE_CONNECTION_MODE Specifies that the driver supports connection-oriented traffic.
TDI_SERVICE_ORDERLY_RELEASE Specifies that the driver supports orderly release.
TDI_SERVICE_CONNECTIONLESS_MODE Specifies that the driver supports connectionless traffic.
TDI_SERVICE_ERROR_FREE_DELIVERY Specifies that the driver supports error-free delivery.
TDI_SERVICE_SECURITY_LEVEL Specifies that the driver supports a security wrapper.
TDI_SERVICE_BROADCAST_SUPPORTED Specifies that the driver supports broadcast datagrams.
TDI_SERVICE_MULTICAST_SUPPORTED Specifies that the driver supports multicast datagrams.
TDI_SERVICE_DELAYED_ACCEPTANCE Specifies that the driver supports delayed acceptance of incoming connect requests.
TDI_SERVICE_EXPEDITED_DATA Specifies that the driver supports expedited data.
TDI_SERVICE_INTERNAL_BUFFERING Specifies that the driver supports internal buffering of send and receive data.
TDI_SERVICE_ROUTE_DIRECTED Specifies that directed packets can reach remote nodes that datagrams cannot reach.
TDI_SERVICE_NO_ZERO_LENGTH Specifies that the driver cannot handle zero-length sends.
TDI_SERVICE_POINT_TO_POINT Specifies that the driver is bound to a point-to-point netcard of type NdisMediumWan.

MinimumLookaheadData

Specifies the minimum amount, in bytes, of lookahead data the driver indicates in a receive or receive datagram event.

MaximumLookaheadData

Specifies the maximum amount, in bytes, of lookahead data the driver indicates in a receive or receive datagram event.

NumberOfResources

Specifies the number of TDI_PROVIDER_RESOURCE_STATS structures (resources) the driver writes when the client is querying driver statistics.

StartTime

Specifies the time when the TDI driver becomes active.

See Also

TDI_PROVIDER_RESOURCE_STATS, TDI_QUERY_INFORMATION