mprapi.h header

This header is used by Routing and Remote Access Service. For more information, see:

mprapi.h contains the following programming interfaces:

Functions

 
MprAdminAcceptNewConnection

Remote Access Service calls the MprAdminAcceptNewConnection function each time a new user dials in and successfully completes RAS authentication. MprAdminAcceptNewConnection determines whether the user is allowed to connect.
MprAdminAcceptNewConnection2

Remote Access Service calls the MprAdminAcceptNewConnection2 function each time a new user dials in and successfully completes RAS authentication. MprAdminAcceptNewConnection2 determines whether the user is allowed to connect.
MprAdminAcceptNewConnection3

Remote Access Service calls the MprAdminAcceptNewConnection3 function each time a new user dials in and successfully completes RAS authentication. MprAdminAcceptNewConnection3 determines whether the user is allowed to connect.
MprAdminAcceptNewConnectionEx

Remote Access Service (RAS) calls the MprAdminAcceptNewConnectionEx function each time a new user dials in and successfully completes a RAS authentication. MprAdminAcceptNewConnectionEx determines whether the user is allowed to connect.
MprAdminAcceptNewLink

Remote Access Service (RAS) calls the MprAdminAcceptNewLink function each time a link is created for a particular connection.
MprAdminAcceptReauthentication

Remote Access Service calls the MprAdminAcceptReauthentication function whenever the quarantine state of the client changes.
MprAdminAcceptReauthenticationEx

Remote Access Service (RAS) calls the MprAdminAcceptReauthenticationEx function whenever the quarantine state of the client changes.
MprAdminBufferFree

The MprAdminBufferFree function frees memory buffers returned by _MprAdminDeviceEnum, MprAdminInterfaceGetInfo, MprAdminInterfaceDeviceGetInfo, MprAdminInterfaceEnum, MprAdminServerGetInfo, MprAdminInterfaceTransportGetInfo, and MprAdminTransportGetInfo.
MprAdminConnectionClearStats

The MprAdminConnectionClearStats function resets the statistics counters for the specified connection.
MprAdminConnectionEnum

The MprAdminConnectionEnum function enumerates all active connections.
MprAdminConnectionEnumEx

The MprAdminConnectionEnumEx function enumerates the active connections for a specified RRAS server.
MprAdminConnectionGetInfo

Retrieves data about a specific connection.
MprAdminConnectionGetInfoEx

Retrieves the connection information for a specific connection on a specified RRAS server.
MprAdminConnectionHangupNotification

Remote Access Service calls the MprAdminConnectionHangupNotification function after the last link for the specified connection has been dismantled.
MprAdminConnectionHangupNotification2

Remote Access Service calls the MprAdminConnectionHangupNotification2 function after the last link for the specified connection has been dismantled.
MprAdminConnectionHangupNotification3

Remote Access Service calls the MprAdminConnectionHangupNotification3 function after the last link for the specified connection has been dismantled.
MprAdminConnectionHangupNotificationEx

Remote Access Service (RAS) calls the MprAdminConnectionHangupNotificationEx function after the last link for the specified connection has been dismantled.
MprAdminConnectionRemoveQuarantine

The MprAdminConnectionRemoveQuarantine function removes quarantine filters on a dialed-in RAS client if the filters were applied as a result of Internet Authentication Service (IAS) policies.
MprAdminDeregisterConnectionNotification

The MprAdminDeregisterConnectionNotification function deregisters an event object that was previously registered using MprAdminRegisterConnectionNotification. Once deregistered, this event is no longer signaled when an interface connects or disconnects.
MprAdminDeviceEnum

Function is called to enumerate RAS capable devices installed on the computer that can return their name and type.
MprAdminEstablishDomainRasServer

The MprAdminEstablishDomainRasServer function establishes the given machine as a Remote Access Server in the domain. This function must be executed only on a machine joined to a domain.
MprAdminGetErrorString

The MprAdminGetErrorString function returns the string associated with a router error from Mprerror.h.
MprAdminGetIpAddressForUser

RAS calls the MprAdminGetIpAddressForUser function once for each user that requires an IP address.
MprAdminGetIpv6AddressForUser

RAS calls the MprAdminGetIpv6AddressForUser function once for each user that requires an IPv6 address.
MprAdminGetPDCServer

The MprAdminGetPDCServer function retrieves the name of the server with the master User Accounts Subsystem (UAS) from either a domain name or a server name. Either the domain name parameter or the server name parameter may be NULL, but not both.
MprAdminInitializeDll

When the Routing and Remote Access Service (RRAS) starts, it calls the MprAdminInitializeDll function that is exported by the administration DLL. Use this function to perform any required initialization for the DLL.
MprAdminInitializeDllEx

When the Routing and Remote Access Service (RRAS) starts, it calls the MprAdminInitializeDll function that is exported by the administration DLL.
MprAdminInterfaceConnect

The MprAdminInterfaceConnect function creates a connection to the specified WAN interface.
MprAdminInterfaceCreate

The MprAdminInterfaceCreate function creates an interface on a specified server.
MprAdminInterfaceDelete

The MprAdminInterfaceDelete function deletes an interface on a specified server.
MprAdminInterfaceDeviceGetInfo

The MprAdminInterfaceDeviceGetInfo retrieves information about a device that is used in a router demand-dial interface.
MprAdminInterfaceDeviceSetInfo

The MprAdminInterfaceDeviceSetInfo creates or modifies a device that is used in a router demand-dial interface.
MprAdminInterfaceDisconnect

The MprAdminInterfaceDisconnect function disconnects a connected WAN interface.
MprAdminInterfaceEnum

The MprAdminInterfaceEnum function enumerates all the interfaces on a specified server.
MprAdminInterfaceGetCredentials

Use the MprAdminInterfaceGetCredentials function to retrieve the domain, user name, and password for dialing out on the specified demand-dial interface.
MprAdminInterfaceGetCredentialsEx

Use the MprAdminInterfaceGetCredentialsEx function to retrieve extended credentials information for the specified interface. Use this function to retrieve credentials information used for Extensible Authentication Protocols (EAPs).
MprAdminInterfaceGetCustomInfoEx

Retrieves tunnel-specific configuration for a specified demand dial interface on a specified server.
MprAdminInterfaceGetHandle

The MprAdminInterfaceGetHandle function retrieves a handle to a specified interface.
MprAdminInterfaceGetInfo

The MprAdminInterfaceGetInfo function retrieves information for a specified interface on a specified server.
MprAdminInterfaceQueryUpdateResult

The MprAdminInterfaceQueryUpdateResult function returns the result of the last request to a specified router manager to update its routes for an interface. For more information, see MprAdminInterfaceUpdateRoutes.
MprAdminInterfaceSetCredentials

Use MprAdminInterfaceSetCredentials function to set the domain, user name, and password that will be used for dialing out on the specified demand-dial interface.
MprAdminInterfaceSetCredentialsEx

Use the MprAdminInterfaceSetCredentialsEx function to set extended credentials information for an interface. Use this function to set credentials information used for Extensible Authentication Protocols (EAPs).
MprAdminInterfaceSetCustomInfoEx

Sets the tunnel specific custom configuration for a specified demand dial interface on a specified server.
MprAdminInterfaceSetInfo

The MprAdminInterfaceSetInfo function sets information for a specified interface on a specified server.
MprAdminInterfaceTransportAdd

The MprAdminInterfaceTransportAdd function adds a transport (for example, IP or IPX) to a specified interface.
MprAdminInterfaceTransportGetInfo

The MprAdminInterfaceTransportGetInfo function retrieves information about a transport running on a specified interface.
MprAdminInterfaceTransportRemove

The MprAdminInterfaceTransportRemove function removes a transport (for example, IP or IPX) from a specified interface.
MprAdminInterfaceTransportSetInfo

The MprAdminInterfaceTransportSetInfo function sets information for a transport running on a specified interface.
MprAdminInterfaceUpdatePhonebookInfo

The MprAdminInterfaceUpdatePhonebookInfo function forces the router to pick up changes made on a specified demand-dial interface. Call this function after changes are made to a phone-book entry for a demand-dial interface.
MprAdminInterfaceUpdateRoutes

The MprAdminInterfaceUpdateRoutes function requests a specified router manager to update its routing information for a specified interface.
MprAdminIsDomainRasServer

The MprAdminIsDomainRasServer function returns information regarding whether the given machine is registered as the remote access server in the domain.
MprAdminIsServiceInitialized

The MprAdminIsServiceInitialized function checks whether the RRAS service is running on a specified server if the calling process has access.
MprAdminIsServiceRunning

The MprAdminIsServiceRunning function checks whether the RRAS service is running on a specified server if the calling process has access.
MprAdminLinkHangupNotification

RAS calls the MprAdminLinkHangupNotification function whenever a link for a particular connection is dismantled.
MprAdminMIBBufferFree

The MprAdminMIBBufferFree function frees buffers returned by the following functions MprAdminMIBEntryGet, MprAdminMIBEntryGetFirst, MprAdminMIBEntryGetNext
MprAdminMIBEntryCreate

The MprAdminMIBEntryCreate function creates an entry for one of the variables exported by a routing protocol or router manager.
MprAdminMIBEntryDelete

The MprAdminMIBEntryDelete function deletes an entry for one of the variables exported by a routing protocol or router manager.
MprAdminMIBEntryGet

The MprAdminMIBEntryGet function retrieves the value of one of the variables exported by a routing protocol or router manager.
MprAdminMIBEntryGetFirst

The MprAdminMIBEntryGetFirst function retrieves the first variable of some set of variables exported by a protocol or router manager. The module that services the call defines first.
MprAdminMIBEntryGetNext

The MprAdminMIBEntryGetNext function retrieves the next variable of some set of variables exported by a protocol or router manager. The module that services the call defines next.
MprAdminMIBEntrySet

The MprAdminMIBEntrySet function sets the value of one of the variables exported by a routing protocol or router manager.
MprAdminMIBGetTrapInfo

The MprAdminMIBGetTrapInfo function queries the module that set a trap event for more information about the trap.
MprAdminMIBServerConnect

The MprAdminMIBServerConnect function establishes a connection to the router being administered. This call should be made before any other calls to the server. The handle returned by this function is used in subsequent MIB calls.
MprAdminMIBServerDisconnect

The MprAdminMIBServerDisconnect function disconnects the connection made by a previous call to MprAdminMIBServerConnect.
MprAdminMIBSetTrapInfo

The MprAdminMIBSetTrapInfo function specifies a handle to an event that is signaled whenever a TRAP needs to be issued.
MprAdminPortClearStats

The MprAdminPortClearStats function resets the statistics for the specified port.
MprAdminPortDisconnect

The MprAdminPortDisconnect function disconnects a connection on a specific port.
MprAdminPortEnum

Enumerates all active ports in a specific connection, or all ports available for use or currently used by RAS.
MprAdminPortGetInfo

The MprAdminPortGetInfo function gets information for a specific port.
MprAdminPortReset

The MprAdminPortReset function resets the communication device attached to the specified port.
MprAdminRegisterConnectionNotification

The MprAdminRegisterConnectionNotification function registers an event object with the Demand Dial Manager (DDM) so that, if an interface connects or disconnects, the event is signaled.
MprAdminReleaseIpAddress

The MprAdminReleaseIpAddress function is called when a user disconnects and the user's IP address is about to be released.
MprAdminReleaseIpv6AddressForUser

The MprAdminReleaseIpv6AddressForUser function is called once for each user that needs to release an IPv6 address.
MprAdminSendUserMessage

The MprAdminSendUserMessage function sends a message to the user connected on the specified connection.
MprAdminServerConnect

The MprAdminServerConnect function establishes a connection to a router for the purpose of administering that router.
MprAdminServerDisconnect

The MprAdminServerDisconnect function disconnects the connection made by a previous call to MprAdminServerConnect.
MprAdminServerGetCredentials

The MprAdminServerGetCredentials function retrieves the pre-shared key for the specified server.
MprAdminServerGetInfo

The MprAdminServerGetInfo function retrieves information about the specified RRAS server.
MprAdminServerGetInfoEx

The MprAdminServerGetInfoEx function retrieves port information about the specified RRAS server.
MprAdminServerSetCredentials

The MprAdminServerSetCredentials functions sets the pre-shared key for the specified server.
MprAdminServerSetInfo

The MprAdminServerSetInfo function is used to set the number of ports for L2TP, PPTP, and SSTP devices when the RRAS service is running.
MprAdminServerSetInfoEx

The MprAdminServerSetInfoEx function sets port information on a specified RRAS server.
MprAdminTerminateDll

When the RAS shuts down, it calls the MprAdminTerminateDll function exported by the administration DLL. Use this function to perform any required clean-up for the DLL.
MprAdminTransportCreate

The MprAdminTransportCreate function loads a new transport, and starts the router manager for the transport.
MprAdminTransportGetInfo

The MprAdminTransportGetInfo function retrieves global information, default client interface information, or both, for a specified transport.
MprAdminTransportSetInfo

The MprAdminTransportSetInfo function sets global information, or default client interface information, or both, for a specified transport.
MprAdminUserGetInfo

The MprAdminUserGetInfo function retrieves all RAS information for a particular user.
MprAdminUserSetInfo

The MprAdminUserSetInfo function sets RAS information for the specified user.
MprConfigBufferFree

The MprConfigBufferFree function frees buffers. MprConfigXEnum, MprConfigXGetInfo
MprConfigFilterGetInfo

Returns static filtering information for a specified transport protocol type.
MprConfigFilterSetInfo

Sets the static filtering information for a specified transport protocol type.
MprConfigGetFriendlyName

The MprConfigGetFriendlyName function returns the friendly name for an interface that corresponds to the specified GUID name.
MprConfigGetGuidName

The MprConfigGetGuidName function returns the GUID name for an interface that corresponds to the specified friendly name.
MprConfigInterfaceCreate

The MprConfigInterfaceCreate function creates a router interface in the specified router configuration.
MprConfigInterfaceDelete

The MprConfigInterfaceDelete function removes a router interface from the router configuration. All transport information associated with this interface is also removed.
MprConfigInterfaceEnum

The MprConfigInterfaceEnum function enumerates the interfaces that are configured for the router.
MprConfigInterfaceGetCustomInfoEx

Retrieves the custom IKEv2 policy configuration for the specified interface.
MprConfigInterfaceGetHandle

The MprConfigInterfaceGetHandle function retrieves a handle to the specified interface's configuration in the specified router configuration.
MprConfigInterfaceGetInfo

The MprConfigInterfaceGetInfo function retrieves the configuration for the specified interface from the router.
MprConfigInterfaceSetCustomInfoEx

Sets the custom IKEv2 policy configuration for the specified interface.
MprConfigInterfaceSetInfo

The MprConfigInterfaceSetInfo function sets the configuration for the specified interface.
MprConfigInterfaceTransportAdd

The MprConfigInterfaceTransportAdd function adds a transport protocol to an interface configuration on the router.
MprConfigInterfaceTransportEnum

The MprConfigInterfaceTransportEnum function enumerates the transports configured on the specified interface.
MprConfigInterfaceTransportGetHandle

The MprConfigInterfaceTransportGetHandle function retrieves a handle to the transport configuration of an interface in the specified router configuration.
MprConfigInterfaceTransportGetInfo

The MprConfigInterfaceTransportGetInfo function retrieves the configuration information for the specified client on the specified interface.
MprConfigInterfaceTransportRemove

The MprConfigInterfaceTransportRemove function removes the specified transport from the specified interface configuration on the router.
MprConfigInterfaceTransportSetInfo

The MprConfigInterfaceTransportSetInfo function updates the configuration information for the client on the specified interface and transport protocol.
MprConfigServerBackup

The MprConfigServerBackup function creates a backup of the router-manager, interface, and phone-book configuration for the router.
MprConfigServerConnect

The MprConfigServerConnect function connects to the router to be configured.
MprConfigServerDisconnect

The MprConfigServerDisconnect function disconnects a connection made by a previous call to MprConfigServerConnect.
MprConfigServerGetInfo

The MprConfigServerGetInfo function retrieves server-level configuration information for the specified router.
MprConfigServerGetInfoEx

The MprConfigServerGetInfoEx function retrieves port information for a specified server.
MprConfigServerInstall

The MprConfigServerInstall function configures Routing and Remote Access Service with a default configuration.
MprConfigServerRestore

The MprConfigServerRestore function restores the router-manager, interface, and phone-book configuration from a backup created by a previous call to MprConfigServerBackup.
MprConfigServerSetInfo

The MprConfigServerSetInfo function is used to set the port count for L2TP, PPTP, and SSTP ports and enable or disable RRAS on them in the registry when the RRAS service is not running so that it is picked up next time the system restarts.
MprConfigServerSetInfoEx

The MprConfigServerSetInfoEx function sets port information on a specified RRAS server.
MprConfigTransportCreate

The MprConfigTransportCreate function adds the specified transport to the list of transport protocols present in the specified router configuration.
MprConfigTransportDelete

The MprConfigTransportDelete function removes the specified transport from the list of transports present in the specified router configuration.
MprConfigTransportEnum

The MprConfigTransportEnum function enumerates the transports configured on the router.
MprConfigTransportGetHandle

The MprConfigTransportGetHandle function retrieves a handle to the specified transport protocol's configuration in the specified router configuration.
MprConfigTransportGetInfo

The MprConfigTransportGetInfo function retrieves the configuration for the specified transport protocol from the router.
MprConfigTransportSetInfo

The MprConfigTransportSetInfo function changes the configuration for the specified transport protocol in the specified router configuration.
MprInfoBlockAdd

The MprInfoBlockAdd function creates a new header that is identical to an existing header with the addition of a new block.
MprInfoBlockFind

The MprInfoBlockFind function locates a specified block in an information header, and retrieves information about the block.
MprInfoBlockQuerySize

The MprInfoBlockQuerySize function returns the returns the size of the information header.
MprInfoBlockRemove

The MprInfoBlockRemove function creates a new header that is identical to an existing header with a specified block removed.
MprInfoBlockSet

The MprInfoBlockSet creates a new header that is identical to an existing header with a specified block modified.
MprInfoCreate

The MprInfoCreate function creates a new information header.
MprInfoDelete

The MprInfoDelete function deletes an information header created using MprInfoCreate, or retrieved by MprInfoBlockAdd, MprInfoBlockRemove, or MprInfoBlockSet.
MprInfoDuplicate

The MprInfoDuplicate function duplicates an existing information header.
MprInfoRemoveAll

The MprInfoRemoveAll function removes all information blocks from the specified header.

Structures

 
AUTH_VALIDATION_EX

Used for enabling clients to bypass Point-to-Point (PPP) authentication during Secure Socket Tunneling Protocol (SSTP) connection establishment.
IKEV2_CONFIG_PARAMS

Used to get or set parameters for Internet Key Exchange version 2 (IKEv2) devices (RFC 4306).
IKEV2_PROJECTION_INFO

Contains information obtained during Internet Key Exchange (IKE) negotiation. (IKEV2_PROJECTION_INFO)
IKEV2_PROJECTION_INFO2

Contains information obtained during Internet Key Exchange (IKE) negotiation. (IKEV2_PROJECTION_INFO2)
IKEV2_TUNNEL_CONFIG_PARAMS1

Used to get or set tunnel parameters for Internet Key Exchange version 2 (IKEv2) devices.
IKEV2_TUNNEL_CONFIG_PARAMS2

Gets or sets tunnel parameters for Internet Key Exchange version 2 (IKEv2) devices.
L2TP_CONFIG_PARAMS0

Used to get and set the device configuration for Layer 2 Tunneling Protocol (L2TP) on a RAS Server. (L2TP_CONFIG_PARAMS0)
L2TP_CONFIG_PARAMS1

Used to get and set the device configuration for Layer 2 Tunneling Protocol (L2TP) on a RAS Server. (L2TP_CONFIG_PARAMS1)
MPR_CREDENTIALSEX_0

The MPR_CREDENTIALSEX_0 structure contains extended credentials information such as the information used by Extensible Authentication Protocols (EAPs).
MPR_CREDENTIALSEX_1

The MPR_CREDENTIALSEX_1 structure contains a pre-shared key used by a demand-dial interface.
MPR_DEVICE_0

The MPR_DEVICE_0 structure stores information about a device used for a link in a multilinked demand dial interface.
MPR_DEVICE_1

The MPR_DEVICE_1 structure stores information about a device used for a link in a multilinked demand dial interface. In addition to the information in MPR_DEVICE_0, MPR_DEVICE_1 contains phone-number information.
MPR_FILTER_0

Contains static filter configuration information.
MPR_IF_CUSTOMINFOEX0

Gets or sets tunnel specific custom configuration for a demand dial interfaces.
MPR_IFTRANSPORT_0

The MPR_IFTRANSPORT_0 structure contains information for a particular interface transport.
MPR_INTERFACE_0

The MPR_INTERFACE_0 structure contains information for a particular router interface.
MPR_INTERFACE_1

The MPR_INTERFACE_1 structure contains configuration and status information for a particular router interface.
MPR_INTERFACE_2

Contains data for a router demand-dial interface. (MPR_INTERFACE_2)
MPR_INTERFACE_3

Contains data for a router demand-dial interface. (MPR_INTERFACE_3)
MPR_SERVER_0

The MPR_SERVER_0 structure is used to retrieve information about a device.
MPR_SERVER_1

Is used to retrieve and set the number of ports available for the Point-to-Point Tunneling Protocol (PPTP) and Layer 2 Tunneling Protocol (L2TP) on a device.
MPR_SERVER_2

Is used to retrieve and set the number of ports available for the Point-to-Point Tunneling Protocol (PPTP), Layer 2 Tunneling Protocol (L2TP), and Secure Socket Tunneling Protocol (SSTP) on a device.
MPR_SERVER_EX0

Used to get or set the configuration of a RAS server. (MPR_SERVER_EX0)
MPR_SERVER_EX1

Used to get or set the configuration of a RAS server. (MPR_SERVER_EX1)
MPR_SERVER_SET_CONFIG_EX0

Used to get or set the tunnel configuration information of a RAS server. (MPR_SERVER_SET_CONFIG_EX0)
MPR_SERVER_SET_CONFIG_EX1

Used to get or set the tunnel configuration information of a RAS server. (MPR_SERVER_SET_CONFIG_EX1)
MPR_TRANSPORT_0

The MPR_TRANSPORT_0 structure contains information for a particular transport.
MPRAPI_ADMIN_DLL_CALLBACKS

The MPRAPI_ADMIN_DLL_CALLBACKS structure is used by the MprAdminInitializeDllEx function to register the callback function pointers.
MPRAPI_OBJECT_HEADER

Defines the structure version for the RAS_CONNECTION_EX, MPR_SERVER_EX, MPR_SERVER_SET_CONFIG_EX, RAS_UPDATE_CONNECTION, AUTH_VALIDATION_EX structures, and the structure version used by the MprAdminConnectionEnumEx method.
MPRAPI_TUNNEL_CONFIG_PARAMS0

Used to get or set configuration of tunnel parameters on a RAS Server. (MPRAPI_TUNNEL_CONFIG_PARAMS0)
MPRAPI_TUNNEL_CONFIG_PARAMS1

Used to get or set configuration of tunnel parameters on a RAS Server. (MPRAPI_TUNNEL_CONFIG_PARAMS1)
PPP_ATCP_INFO

The PPP_ATCP_INFO structure contains the result of a PPP AppleTalk projection operation.
PPP_CCP_INFO

The PPP_CCP_INFO structure contains information that describes the results of a Compression Control Protocol (CCP) negotiation.
PPP_INFO

The PPP_INFO structure is used to report the results of the various Point-to-Point (PPP) projection operations for a connection.
PPP_INFO_2

The PPP_INFO_2 structure is used to report the results of the various Point-to-Point (PPP) projection operations for a connection.
PPP_INFO_3

The PPP_INFO_3 structure is used to report the results of the various Point-to-Point (PPP) projection operations for a connection.
PPP_IPCP_INFO

The PPP_IPCP_INFO structure contains the result of a PPP Internet Protocol (IP) negotiation.
PPP_IPCP_INFO2

The PPP_IPCP_INFO2 structure contains the result of a PPP Internet Protocol (IP) negotiation.
PPP_IPV6_CP_INFO

Contains the result of an IPv6 control protocol negotiation.
PPP_IPXCP_INFO

The PPP_IPXCP_INFO structure contains the result of a PPP Internetwork Packet Exchange (IPX) projection operation.
PPP_LCP_INFO

The PPP_LCP_INFO structure contains information that describes the results of a PPP Link Control Protocol (LCP) negotiation.
PPP_NBFCP_INFO

The PPP_NBFCP_INFO structure contains the result of a PPP NetBEUI Framer (NBF) projection operation.
PPP_PROJECTION_INFO

Contains information obtained during Point-to-Point (PPP) negotiation for Secure Socket Tunneling Protocol (SSTP), Point-to-Point Tunneling Protocol (PPTP), and Layer 2 Tunneling Protocol (L2TP). (PPP_PROJECTION_INFO)
PPP_PROJECTION_INFO2

Contains information obtained during Point-to-Point (PPP) negotiation for Secure Socket Tunneling Protocol (SSTP), Point-to-Point Tunneling Protocol (PPTP), and Layer 2 Tunneling Protocol (L2TP). (PPP_PROJECTION_INFO2)
PPTP_CONFIG_PARAMS

Used to get and set the device configuration for Point-to-Point Tunneling Protocol (PPTP) on a RAS Server.
PROJECTION_INFO

Is used in the RAS_CONNECTION_EX structure as a placeholder for the PPP_PROJECTION_INFO and IKEV2_PROJECTION_INFO structures.
PROJECTION_INFO2

Used in the RAS_CONNECTION_4 structure as a placeholder for the PPP_PROJECTION_INFO2 and IKEV2_PROJECTION_INFO2 structures.
RAS_CONNECTION_0

The RAS_CONNECTION_0 structure contains general information regarding a specific connection, such as user name or domain. For more detailed information about a specific connection, such as bytes sent or received, see RAS_CONNECTION_1.
RAS_CONNECTION_1

The RAS_CONNECTION_1 structure contains detailed information regarding a specific connection, such as error counts and bytes received. For more general information about a specific connection, such as user name or domain, see RAS_CONNECTION_0.
RAS_CONNECTION_2

The RAS_CONNECTION_2 structure contains information for a connection, including the Globally Unique Identifier (GUID) that identifies the connection.
RAS_CONNECTION_3

The RAS_CONNECTION_3 structure contains information for the connection, including the Globally Unique Identifier (GUID) that identifies the connection and the quarantine state of the connection.
RAS_CONNECTION_4

Contains specific information for the connection that includes:_the user name, domain, Globally Unique Identifier (GUID) associated with the connection, Network Access Protection (NAP) quarantine state, packet statistics, as well as its Point-to-Point (PPP) and Internet Key Exchange version 2 (IKEv2) related information.
RAS_CONNECTION_EX

Contains specific information for the connection that includes:_the user name, domain, and Globally Unique Identifier (GUID) associated with the connection, its Network Access Protection (NAP) quarantine state, its packet statistics, as well as its Point-to-Point(PPP) and Internet Key Exchange version 2 (IKEv2) related information.
RAS_PORT_0

The RAS_PORT_0 structure contains general information regarding a specific RAS port, such as port condition and port name. For more detailed information about a specific port, such as line speed or errors, see RAS_PORT_1.
RAS_PORT_1

The RAS_PORT_1 structure contains detailed information regarding a specific RAS port, such as line speed or errors. For more general information about a port, such as port condition or port name, see RAS_PORT_0.
RAS_UPDATE_CONNECTION

Used to update an active RAS connection.
RAS_USER_0

The RAS_USER_0 structure contains information for a particular Remote Access Service user.
RAS_USER_1

The RAS_USER_1 structure contains information for a particular Remote Access Service user. The RAS_USER_1 structure is similar to the RAS_USER_0 structure, except that RAS_USER_1 supports an additional member, bfPrivilege2.
ROUTER_CUSTOM_IKEv2_POLICY0

Contains the IKEv2 main mode and quick mode policy configuration.
ROUTER_IKEv2_IF_CUSTOM_CONFIG0

Gets or sets IKEv2 tunnel configuration parameter for IKEv2 tunnel based demand dial interfaces.
SSTP_CERT_INFO

Contains information about a Secure Socket Tunneling Protocol (SSTP) based certificate.
SSTP_CONFIG_PARAMS

Used to get and set the device configuration for Secure Socket Tunneling Protocol (SSTP) on a RAS Server.

Enumerations

 
MPRAPI_OBJECT_TYPE

Specifies the structure type in a MPRAPI_OBJECT_HEADER structure.
RAS_HARDWARE_CONDITION

The RAS_HARDWARE_CONDITION enumeration type specifies hardware status information about a given RAS port.
RAS_PORT_CONDITION

The RAS_PORT_CONDITION enumerated type specifies information regarding the connection condition of a given RAS port.
RAS_QUARANTINE_STATE

The RAS_QUARANTINE_STATE enumerated type indicates the quarantine state of a client connection.
ROUTER_CONNECTION_STATE

Enumerates the possible states of an interface on a router.
ROUTER_INTERFACE_TYPE

The ROUTER_INTERFACE_TYPE type enumerates the different kinds of interfaces on a router.