Disconnected Event
Windows - Visual C++
Description
The Disconnected event is fired
when the connection has been broken.
DispId 0x06
Syntax
void Disconnected(long lReason);
The Disconnected event syntax has these parts:
Part |
Description |
Reason |
A long int containing a code giving the reason for the disconnection. |
Remarks
The Reason is 0 when you have
intentionally disconnected. Other values are DDICTL_E_R_DMNQUIT if
the Daemon has terminated, and DDICTL_E_R_LOGGEDOFF if the
Administrator has logged you off the server.
Back to: Connect Events