LogonResult Event
Windows - Visual C++
Description
The LogonResult event is fired when
the server responds to the Logon request, whether it fails or succeeds.
DispId 0x07
Syntax
void LogonResult(long lResult);
The LogonResult event syntax has these parts:
Part |
Description |
lResult |
A long int containing 0 if OK, or an error code. |
Remarks
See AsyncLogon
for information about how to handle the LogonResult event. The
LogonResult event is raised whether you use Asynchronous or
Synchronous logon. Normally you will ignore it when using Synchronous
logon and look at the return code from Logon or ShowLogon instead.
See Also: ShowLogon AsyncLogon
Back to: Connect Events