TcpConnectComplete(
IN PDEVICE_OBJECT DeviceObject,
IN PIRP pIrp,
IN PVOID pContext
);
Routine Description:
This routine handles the completion of a TCP session setup. The TCP
connection is either setup or not depending on the status returned here.
It must called the clients completion routine (in udpsend.c). Which should
look after sending the NetBios sesion startup pdu across the TCP connection.
The pContext value is actually one of NBTs irps that is JUST used to store
the calling routines completion routine. The real Irp used is the original
client's irp. This is done so that IoCancelIrp will cancel the connect
properly.
Arguments:
Return Value:
NTSTATUS - success or not