typedef void (__cdecl* FlowSshC_DisconnectHandler)(
unsigned int reason,
wchar_t const* desc);
- handlerData: Data passed to the initiating call.
- reason: DisconnectReason enumeration.
- desc: A human-readable disconnect reason.
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.