CUT_RAS Class Members

Dundas

CUT_RAS Class Members

Copyright © Dundas Software Ltd. 1996-2000. All Rights Reserved

Overview


CUT_RAS

 
Class constructor.
 

~CUT_RAS

 
Destructor of the class.
 

InitRAS

 
Loads in the RAS DLLs dynamically.
 

OnError

 
Callback function which is raised when an error occurs. You can use this function to provide extended error handling and debugging capabilities.
 

Dial

 
Dials a given phonebook entry.
 

HangUp

 
Call this function to hang up a currently active RAS connection.
 

SetDialStatusCallback

 
Sets the window which will receive messages during dialing.
 

GetDialState

 
Call this function to retrieve the current state of the dialup process. If this is not available then the last dialup state is retrieved.
 

CancelDial

 
Cancels the current dial-up process.
 

IsConnected

 
Call this function to check the state of the current connection.
 

EnumDevices

 
Enumerates all of the available RAS dialup devices.
 

GetDeviceCount

 
Retrieves the number of available RAS dialup devices.
 

GetDevice

 
Call this function to retrieve device information. Populates the supplied RASDEVINFO structure with the device information.
 

EnumConnections

 
Call this function to enumerate all of the running RAS connections and store them in an internal array of RASCONN structures.
 

GetConnectionCount

 
Retrieves the current number of RAS connections.
 

GetConnection

 
Fills in the supplied RASCONN structure with the connection information for the specified running connection.
 

EnumEntries

 
Call this function to enumerate all of the phonebook entry names for the main phonebook (the CUT_RAS class only supports the main phonebook).
 

GetEntryCount

 
Returns the number of available phonebook entries for the main phonebook (the CUT_RAS class only supports the main phonebook).
 

GetEntry

 
Call this function to fill in the given RASENTRYNAME structure with a phonebook entry's name.
 

GetEntryProperties

 
Retrieves the properties for a given phonebook entry.
 

SetEntryProperties

 
Call this function to create or modify a phonebook entry.
 

SetDialEntryParams

 
Sets the dialing parameters for a given phonebook entry.
 

GetDialEntryParams

 
Retrieves the dialing parameters for a given phonebook entry.
 

DoesEntryExist

 
Call this function to see if the specified phonebook entry exists in the main RAS phonebook.
 

ValidateEntryName

 
Checks to see if the specified entry name is a valid name for a new phonebook entry.
 

ClearEntryPassword

 
Call this function to clear the password from a given phonebook entry.
 

DeleteEntry

 
Deletes an entry from a phone book.
 

RenameEntry

 
Call this function to rename the given phonebook entry.
 

GetEntryPhoneNumber

 
Retrieves the phone number and area code for the given phonebook entry from the main phonebook.
 

GetEntryUserName

 
Retrieves the main phonebook's username for the given phonebook entry.
 

GetEntryPassword

 
Retrieves the main phonebook's password for the specified phonebook entry.
 

GetLastRASError

 
Retrieves the errorcode from the last RAS function called.
 

GetRASErrorString

 
Returns the appropriate error string corresponding to the passed RAS error code.