CUT_RAS::GetDialEntryParams

Dundas

CUT_RAS::GetDialEntryParams

Members | Overview

int GetDialEntryParams(LPCSTR szEntryName,LPRASDIALPARAMS pRasDialParams, BOOL* bClearPassword= NULL)

Parameters

szEntryName

A phonebook entry name.

pRasDialParams

A pointer to a RASDIALPARAMS structure.

bClearPassword

If TRUE then the password has been cleared, if FALSE then the password is valid.

Return Value

UTE_SUCCESS

Operation completed successfully.

UTE_ERROR

Operation failed.

UTE_NULL_PARAM

pRasDialParams is NULL.

UTE_RAS_LOAD_ERROR

Unable to load the RAS DLLs.

Remarks

Call this function to retrieve the dialing parameters for the given phonebook entry.

You MUST use this function in order to retrieve the username and password for a phonebook entry.

The RASDIALPARAMS also contains other information as well.

See also:   GetEntryPassword | GetEntryUserName | GetEntryPhoneNumber