DisconnectHandler Typedef

[C]

typedef void (__cdecl* FlowSshC_DisconnectHandler)(
  void* handlerData,
  unsigned int reason,
  wchar_t const* desc);

Parameters

  • handlerData: Data passed to the initiating call.
  • reason: DisconnectReason enumeration.
  • desc: A human-readable disconnect reason.

Remarks

This handler can be called only on a successfully connected client. Except for a possibly registered progress handler (for a pending [Client]Disconnect request), no other client handlers will be called after the disconnect handler.