RasSetAutodialEnable

[New - Windows NT]

The RasSetAutodialEnable function sets whether the AutoDial feature is enabled for a specified TAPI dialing location. For more information about TAPI dialing locations, see the Win32 Telephony (TAPI) Programmer's Reference.

DWORD RasSetAutodialEnable (

DWORD dwDialingLocation, // identifier of the TAPI dialing location
BOOL fEnabled // AutoDial state for this location
);  

Parameters

dwDialingLocation

Specifies the identifier of a TAPI dialing location.

fEnabled

Specify TRUE to enable AutoDial for the specified dialing location, or FALSE to disable it.

Return Values

If the function succeeds, the return value is zero.

If the function fails, the return value is a nonzero error code.

See Also

RasGetAutodialEnable