NTSTATUS TdiDefaultChainedReceiveHandler( IN PVOID TdiEventContext, IN CONNECTION_CONTEXT ConnectionContext, IN ULONG ReceiveFlags, IN ULONG ReceiveLength, IN ULONG StartingOffset, IN PMDL Tsdu, IN PVOID TsduDescriptor ); Routine Description: This routine is used as the default chanied receive event handler for the transport endpoint. It is pointed to by a field in the TP_ENDPOINT structure for an endpoint when the endpoint is created, and also whenever the TdiSetEventHandler request is submitted with a NULL EventHandler field. Arguments: TdiEventContext - Pointer to the client-provided context value specified in the TdiSetEventHandler call for TDI_EVENT_CHAINED_RECEIVE. ConnectionContext - The client-supplied context associated with the connection on which this connection-oriented TSDU was received. ReceiveFlags - Bitflags which indicate the circumstances surrounding this TSDU's reception. ReceiveLength - The length in bytes of client data in the TSDU. StartingOffset - The offset, in bytes from the beginning of the TSDU, at which the client data begins. Tsdu - Pointer to an MDL chain that describes the entire received Transport Service Data Unit. TsduDescriptor - A descriptor for the TSDU which must be passed to TdiReturnChainedReceives in order to return the TSDU for reuse. Return Value: NTSTATUS - status of operation.