Share via


Interaction Between the Server, RAS, and the Custom-Scripting DLL (Windows Embedded CE 6.0)

1/6/2010

The custom-scripting DLL should export a single entry point: RasCustomScriptExecute. RAS calls this function during the RASCS_Interactive state of the connection process. The RASCS_Interactive state is a paused state, which allows the user to interact with a user interface presented by the custom-scripting DLL. For more information about connection states, see RASCONNSTATE.

RAS will pass the following as parameters to the RasCustomScriptExecute function:

  • A handle to the port on the client computer that is being used for the connection.
  • Strings that identify the phone book and entry for the connection.
  • A handle to a window to enable the DLL to present a user interface.
  • A set of function pointers that the DLL can use to communicate with the server.

For more information about these parameters. see RasCustomScriptExecute.

RAS mediates the interaction between the server and the custom-scripting DLL. Typically, the server initiates the dialog. For example, the server may request the user's name and password.

When using custom scripting to establish a connection, the server need not be running Windows NT 4.0 Server, Windows 2000, or Windows XP.

See Also

Concepts

RAS Custom Scripting