RasSetAutodialEnableA function (ras.h)
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 RasSetAutodialEnableA(
[in] DWORD unnamedParam1,
[in] BOOL unnamedParam2
);
Parameters
[in] unnamedParam1
Specifies the identifier of a TAPI dialing location.
[in] unnamedParam2
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.
Remarks
Note
The ras.h header defines RasSetAutodialEnable as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | ras.h |
Library | Rasapi32.lib |
DLL | Rasapi32.dll |