2.2.1.2.138 PPTP_CONFIG_PARAMS_1
The PPTP_CONFIG_PARAMS_1 structure<123> be used to get or set the device configuration for PPTP on the RAS Server.
-
typedef struct _PPTP_CONFIG_PARAMS_1 { DWORD dwNumPorts; DWORD dwPortFlags; } PPTP_CONFIG_PARAMS_1, *PPPTP_CONFIG_PARAMS_1;
dwNumPorts: Specifies the number of ports configured on that (PPTP) device. This value cannot exceed the server port limit.<124>
dwPortFlags: Specifies the type of port configured on PPTP devices. The possible flag values are as follows.
-
Value
Meaning
MPR_ENABLE_RAS_ON_DEVICE
0x00000001
PPTP is enabled to accept Remote Access client connection.
MPR_ENABLE_ROUTING_ON_DEVICE
0x00000002
PPTP is enabled to accept demand-dial connections.