RasSetAutodialEnable function

The RasSetAutodialEnable function enables or disables the AutoDial feature for a specified TAPI dialing location. For more information about TAPI dialing locations, see Telephony Application Programming Interfaces (TAPI) in the Platform Software Development Kit (SDK).

Syntax


DWORD RasSetAutodialEnable(
  _In_  DWORD dwDialingLocation,
  _In_  BOOL fEnabled
);

Parameters

dwDialingLocation [in]

Specifies the identifier of a TAPI dialing location.

fEnabled [in]

Specifies TRUE to enable AutoDial for the dialing location indicated by the dwDialingLocation parameter. Specifies FALSE to disable it.

Return value

If the function succeeds, the return value is ERROR_SUCCESS.

If the function fails, the return value is a non-zero error code from Routing and Remote Access Error Codes or Winerror.h.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Ras.h

Library

Rasapi32.lib

DLL

Rasapi32.dll

Unicode and ANSI names

RasSetAutodialEnableW (Unicode) and RasSetAutodialEnableA (ANSI)

See also

Remote Access Service (RAS) Overview
Remote Access Service Functions
RasGetAutodialEnable

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.