TdiDisconnect(
  IN  PTDI_REQUEST                    pRequestInfo,
  IN  PVOID                           lTimeout,
  IN  ULONG                           Flags,
  IN  PTDI_CONNECTION_INFORMATION     pSendInfo,
  IN  PCTE_IRP                        pClientIrp,
  IN  BOOLEAN                         Wait
  );

Routine Description:

    This routine sends a connect request to the tranport provider, to setup
    a connection to the other side...

Arguments:

    pClientIrp - this is the irp that the client used when it issued an
                 NbtDisconnect.  We pass this irp to the transport so that
                 the client can do a Ctrl C and cancel the irp if the
                 disconnect takes too long.

Return Value:

    The function value is the status of the operation.