Platform SDK: RAS/Routing and RAS |
The RasSetAutodialEnable function enables or disables the AutoDial feature for a specified TAPI dialing location. For more information about TAPI dialing locations, see the Telephony Application Programming Interfaces (TAPI) Programmer's Reference in the Platform SDK documentation.
DWORD RasSetAutodialEnable( DWORD dwDialingLocation, // identifier of the TAPI dialing location BOOL fEnabled // AutoDial state for this location );
If the function succeeds, the return value is zero.
If the function fails, the return value is a nonzero error code.
Windows NT/2000: Requires Windows NT 4.0 or later.
Windows 95/98: Unsupported.
Header: Declared in Ras.h.
Library: Use Rasapi32.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT/2000.
Remote Access Service (RAS) Overview, Remote Access Service Functions, RasGetAutodialEnable