TdiSend(
  IN  PTDI_REQUEST                    pRequestInfo,
  IN  USHORT                          sFlags,
  IN  ULONG                           SendLength,
  OUT PULONG                          pSentSize,
  IN  tBUFFER                         *pSendBuffer,
  IN  ULONG                           Flags
  );

Routine Description:

    This routine sends a packet to the transport on a TCP connection

Arguments:

    pSendBuffer     - this is really an Mdl in NT land.  It must be tacked on
                      the end of the Mdl created for the Nbt datagram header.

Return Value:

    The function value is the status of the operation.