Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
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 RasIOControlfunction and passing in the appropriate IOCTL as the dwCodeparameter.
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_SERVERSTATUSstructure.
- 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_SERVERSTATUSstructure.
- RASCNTL_SERVER_SET_PARAMETERS
-
Sest global server parameters by returning a RASCNTL_SERVERSTATUSstructure.
- RASCNTL_SERVER_LINE_ADD
-
Add a line to be managed by the RAS server using the RASCNTL_SERVERLINEstructure.
- RASCNTL_SERVER_LINE_REMOVE
-
Removes a line that is managed by the RAS server using the RASCNTL_SERVERLINEstructure.
- RASCNTL_SERVER_LINE_ENABLE
-
Enables management of a line by using the RASCNTL_SERVERLINEstructure.
- RASCNTL_SERVER_LINE_DISABLE
-
Disabled management of a line by using the RASCNTL_SERVERLINEstructure.
- RASCNTL_SERVER_LINE_GET_PARAMETERS
-
Obtains line parameters by using the RASCNTL_SERVERLINEstructure.
- RASCNTL_SERVER_LINE_SET_PARAMETERS
-
Sets line parameters by using the RASCNTL_SERVERLINEstructure.
- RASCNTL_SERVER_USER_SET_CREDENTIALS
-
Allows a username and a password by using the information specified in a RASCNTL_SERVERUSERCREDENTIALSstructure.
- RASCNTL_SERVER_USER_DELETE_CREDENTIALS
-
Removes the user credentials that are specified in the RASCNTL_SERVERUSERCREDENTIALSstructure.
- 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_SERVERCONNECTIONstructure.
Requirements
Header | ras.h |
Windows Embedded CE | Windows CE .NET 4.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |