RasGetAutodialEnable function

The RasGetAutodialEnable function indicates whether the AutoDial feature is enabled for a specified TAPI dialing location. For more information about TAPI dialing locations, see the TAPI Programmer's Reference in the Platform Software Development Kit (SDK).

Syntax


DWORD RasGetAutodialEnable(
  _In_   DWORD dwDialingLocation,
  _Out_  LPBOOL lpfEnabled
);

Parameters

dwDialingLocation [in]

Specifies the identifier of a TAPI dialing location.

lpfEnabled [out]

Pointer to a BOOL variable that receives a nonzero value if AutoDial is enabled for the specified dialing location, or zero if it is not enabled.

Return value

If the function succeeds, the return value is ERROR_SUCCESS.

If the function fails, the return value is 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

RasGetAutodialEnableW (Unicode) and RasGetAutodialEnableA (ANSI)

See also

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft