structure MPR_SERVER_SET_CONFIG_EX0 (mprapi.h)

La structure MPR_SERVER_SET_CONFIG_EX est utilisée pour obtenir ou définir les informations de configuration du tunnel d’un serveur RAS.

Syntaxe

typedef struct _MPR_SERVER_SET_CONFIG_EX0 {
  MPRAPI_OBJECT_HEADER         Header;
  DWORD                        setConfigForProtocols;
  MPRAPI_TUNNEL_CONFIG_PARAMS0 ConfigParams;
} MPR_SERVER_SET_CONFIG_EX0, *PMPR_SERVER_SET_CONFIG_EX0;

Membres

Header

Structure MPRAPI_OBJECT_HEADER qui spécifie la version de la structure MPR_SERVER_SET_CONFIG_EX .

Note Le membre de révision de l’en-tête doit être MPRAPI_MPR_SERVER_SET_CONFIG_OBJECT_REVISION_1 et le type doit être MPRAPI_OBJECT_TYPE_MPR_SERVER_SET_CONFIG_OBJECT.
 

setConfigForProtocols

Valeur qui spécifie le type de tunnel dans ConfigParams. Les types de tunnel suivants sont pris en charge :

Valeur Signification
MPRAPI_SET_CONFIG_PROTOCOL_FOR_PPTP
Protocole point à point (PPTP)
MPRAPI_SET_CONFIG_PROTOCOL_FOR_L2TP
L2TP (Layer 2 Tunneling Protocol)
MPRAPI_SET_CONFIG_PROTOCOL_FOR_SSTP
Protocole SSTP (Secure Socket Tunneling Protocol)
MPRAPI_SET_CONFIG_PROTOCOL_FOR_IKEV2
Clé Internet version 2 (IKEV2)

ConfigParams

Structure MPRAPI_TUNNEL_CONFIG_PARAMS qui contient les informations de configuration du tunnel pour le type de tunnel spécifié dans setConfigForProtocols.

Configuration requise

   
Client minimal pris en charge Aucun pris en charge
Serveur minimal pris en charge Windows Server 2008 R2 [applications de bureau uniquement]
En-tête mprapi.h

Voir aussi

Informations de référence sur la gestion des routeurs

Structures de gestion des routeurs