typedef struct _TDI_DATAGRAM_INFO { ULONG MaximumDatagramBytes; ULONG MaximumDatagramCount; } TDI_DATAGRAM_INFO, *PTDI_DATAGRAM_INFO;
TDI_DATAGRAM_INFO defines the structure of the information returned for a TDI_QUERY_INFORMATION request in which the IrpSp->Parameters.QueryType is set to TDI_QUERY_DATAGRAM_INFO.
Any kernel-mode client that has opened a control channel can make a query to determine the transport's limits on datagram size and activity. Such a client sets up an IRP with TdiBuildQueryInformation, passing in the QType TDI_QUERY_DATAGRAM_INFO, and submits the IRP to the underlying transport to get this information.
A transport also can support this query on open transport addresses at the discretion of the transport writer.
TDI_DATAGRAM_INFO defines the format in which the transport returns the requested information for such a query.
TdiBuildQueryInformation, TdiDispatchInternalDeviceControl, TDI_MAX_DATAGRAM_INFO, TDI_QUERY_INFORMATION, TDI_PROVIDER_INFO, TRANSPORT_ADDRESS