The ORASADFunc function is an application-defined callback function that you can use to provide a customized user interface for autodialing.
This prototype is provided for compatibility with earlier versions of Windows. New applications should use the RASADFunc callback function. Support for this prototype may be removed in future versions of RAS.
BOOL WINAPI ORASADFunc(
HWND hwndOwner, |
// handle of an owner window |
LPSTR lpszEntry, |
// pointer to a phone-book entry |
DWORD dwFlags, |
// reserved; must be zero |
LPDWORD lpdwRetCode |
// receives the results of a dialing operation |
); |
If the callback function performs the dialing operation, return TRUE. Use the lpdwRetCode parameter to indicate the results of the dialing operation.
If the callback function does not perform the dialing operation, return FALSE. In this case, the system uses the default user interface for dialing.
If your ORASADFunc function performs the dialing operation, it presents its own user interface for dialing and calls the RasDial function to do the actual dialing. Your ORASADFunc then returns TRUE to indicate that it took over the dialing. When the dialing operation has been completed, set the variable pointed to by lpdwRetCode to indicate success or failure.
To enable an ORASADFunc handler for a phone-book entry, use the RASENTRY structure in a call to the RasSetEntryProperties function. The szAutodialDll member specifies the name of the DLL that contains the handler, and the szAutodialFunc member specifies the exported name of the handler.
The ORASADFunc function is a placeholder for the library-defined function name. The ORASADFUNC type is a pointer to an ORASADFunc function.
RASADFunc, RasDial, RASENTRY, RasSetEntryProperties
file: /Techref/os/win/api/win32/func/src/f66_14.htm, 4KB, , updated: 2000/4/7 11:19, local time: 2024/11/7 02:28,
3.135.217.85:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/Techref/os/win/api/win32/func/src/f66_14.htm"> ORASADFunc</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.