Partager via


RasCntlEnum

This enumeration lists the I/O controls (IOCTLs) that can be used to configure a RAS server. A RAS server setting can be configured by calling the RasIOControl function and passing in the appropriate IOCTL as the dwCode parameter.

typedef enum tagRasCntlEnum{
  RASCNTL_SERVER_GET_STATUS,
  RASCNTL_SERVER_ENABLE,
  RASCNTL_SERVER_DISABLE,
  RASCNTL_SERVER_GET_PARAMETERS,
  RASCNTL_SERVER_SET_PARAMETERS,
  RASCNTL_SERVER_LINE_ADD,
  RASCNTL_SERVER_LINE_REMOVE,
  RASCNTL_SERVER_LINE_ENABLE,
  RASCNTL_SERVER_LINE_DISABLE,
  RASCNTL_SERVER_LINE_GET_PARAMETERS,
  RASCNTL_SERVER_LINE_SET_PARAMETERS,
  RASCNTL_SERVER_USER_SET_CREDENTIALS,
  RASCNTL_SERVER_USER_DELETE_CREDENTIALS,
} RasCntlEnum;

Elements

  • RASCNTL_SERVER_GET_STATUS
    Obtains the status of the RAS server and the lines by returning a RASCNTL_SERVERSTATUS structure.
  • RASCNTL_SERVER_ENABLE
    Turns the RAS server on.
  • RASCNTL_SERVER_DISABLE
    Turns the RAS server off.
  • RASCNTL_SERVER_GET_PARAMETERS
    Obtains global server parameters by returning a RASCNTL_SERVERSTATUS structure.
  • RASCNTL_SERVER_SET_PARAMETERS
    Sest global server parameters by returning a RASCNTL_SERVERSTATUS structure.
  • RASCNTL_SERVER_LINE_ADD
    Add a line to be managed by the RAS server using the RASCNTL_SERVERLINE structure.
  • RASCNTL_SERVER_LINE_REMOVE
    Removes a line that is managed by the RAS server using the RASCNTL_SERVERLINE structure.
  • RASCNTL_SERVER_LINE_ENABLE
    Enables management of a line by using the RASCNTL_SERVERLINE structure.
  • RASCNTL_SERVER_LINE_DISABLE
    Disabled management of a line by using the RASCNTL_SERVERLINE structure.
  • RASCNTL_SERVER_LINE_GET_PARAMETERS
    Obtains line parameters by using the RASCNTL_SERVERLINE structure.
  • RASCNTL_SERVER_LINE_SET_PARAMETERS
    Sets line parameters by using the RASCNTL_SERVERLINE structure.
  • RASCNTL_SERVER_USER_SET_CREDENTIALS
    Allows a username and a password by using the information specified in a RASCNTL_SERVERUSERCREDENTIALS structure.
  • RASCNTL_SERVER_USER_DELETE_CREDENTIALS
    Removes the user credentials that are specified in the RASCNTL_SERVERUSERCREDENTIALS structure.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Ras.h.

See Also

RAS Server/PPTP Server (Incoming) | RasIOControl | RASCNTL_SERVERLINE | RASCNTL_SERVERSTATUS | RASCNTL_SERVERUSERCREDENTIALS

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.