Partager via


RasCntlEnum (Windows Embedded CE 6.0)

1/6/2010

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.

Syntax

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,
    RASCNTL_SERVER_GET_IPV6_NET_PREFIX
    RASCNTL_SERVER_SET_IPV6_NET_PREFIX
    RASCNTL_SERVER_LINE_GET_CONNECTION_INFO
} 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.
  • RASCNTL_SERVER_GET_IPV6_NET_PREFIX
    Obtains the IPv6 network prefix pool. Each IPv6 interface that is created when a RAS client connects to a RAS server gets a unique network prefix from this pool. This prefix is broadcast to the client in the router advertisement.
  • RASCNTL_SERVER_SET_IPV6_NET_PREFIX
    Sets the IPv6 network prefix pool.
  • RASCNTL_SERVER_LINE_GET_CONNECTION_INFO
    Generates information about a line's connection status as specified in the RASCNTL_SERVERCONNECTION structure.

Requirements

Header ras.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

RAS Server/PPTP Server (Incoming) Enumerations
RasIOControl
RASCNTL_SERVERLINE
RASCNTL_SERVERSTATUS
RASCNTL_SERVERUSERCREDENTIALS
RASCNTL_SERVERCONNECTION