typedef struct _TDI_DATAGRAM_INFO {
ULONG MaxDatagramSize;
} TDI_DATAGRAM_INFO, *PTDI_DATAGRAM_INFO;
TDI_MAX_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_MAX_DATAGRAM_INFO.
Member
MaxDatagramSize
Specifies the maximum number of bytes for a datagram.
Comments
Any kernel-mode client that has opened a control channel can make a query to determine the transport's limits on datagram size. Such a client sets up an IRP with TdiBuildQueryInformation, passing in the QType TDI_QUERY_MAX_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_MAX_DATAGRAM_INFO defines the format in which the transport returns the requested information for such a query.
See Also
TdiBuildQueryInformation, TdiDispatchInternalDeviceControl, TDI_DATAGRAM_INFO, TDI_QUERY_INFORMATION, TDI_PROVIDER_INFO, TRANSPORT_ADDRESS