|
Asynchronous Operations
When RasDial is invoked as an asynchronous operation, the function returns immediately. In
asynchronous mode, the RasDial call must specify a notification handler that the Remote Access Connection Manager uses to inform the client whenever
the connection operation changes states or an error occurs.
The notification handler can be a window to receive messages, or a RasDialFunc, RasDialFunc1, or RasDialFunc2 callback function. The Remote Access Connection Manager makes its
asynchronous notifications in the context of the thread that made the RasDial call. For this reason, the calling thread must not terminate until the
connection operation has been successfully established or an error occurs. As in
synchronous mode, the client application can safely terminate once the connection
has been established, and it must shut down the connection operation if an error occurs.
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|