NTSTATUS
TdiDefaultDisconnectHandler(
  IN  PVOID TdiEventContext,
  IN  CONNECTION_CONTEXT ConnectionContext,
  IN  LONG DisconnectDataLength,
  IN  PVOID DisconnectData,
  IN  LONG DisconnectInformationLength,
  IN  PVOID DisconnectInformation,
  IN  ULONG DisconnectFlags
  );

Routine Description:

    This routine is used as the default disconnect 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:

    TransportEndpoint - Pointer to open file object.

    Context - Typeless pointer specifying connection context.

    DisconnectIndicators - Value indicating reason for disconnection indication.

Return Value:

    NTSTATUS - status of operation.