2.2.1.2.242 MPR_SERVER_EX_2

The MPR_SERVER_EX_2 structure<171> is used to get or set the configuration of a RAS server.

 typedef struct _MPR_SERVER_EX_2 {
   MPRAPI_OBJECT_HEADER_IDL Header;
   BOOL fLanOnlyMode;
   DWORD dwUpTime;
   DWORD dwTotalPorts;
   DWORD dwPortsInUse;
   DWORD Reserved;
   MPRAPI_TUNNEL_CONFIG_PARAMS_2 ConfigParams;
 } MPR_SERVER_EX_2,
  *PMPR_SERVER_EX_2;

Header: This specifies the version of the MPR_SERVER_EX_2 structure and MUST be an MPRAPI_OBJECT_HEADER_IDL (section 2.2.1.2.129) whose revision field MUST be 0x02 and whose type field MUST be 0x02. 

fLanOnlyMode: Same as fLanOnlyMode in MPR_SERVER_EX_1.

dwUpTime: Same as dwUpTime in MPR_SERVER_EX_1.

dwTotalPorts: Same as dwTotalPorts in MPR_SERVER_EX_1.

dwPortsInUse: Same as dwPortsInUse in MPR_SERVER_EX_1.

Reserved: Same as Reserved in MPR_SERVER_EX_1.

ConfigParams: This MUST be an MPRAPI_TUNNEL_CONFIG_PARAMS_2 structure.