2.2.1.2.219 RAS_DEVICE_INFO
The RAS_DEVICE_INFO structure contains device information.
-
typedef struct _RAS_DEVICE_INFO { DWORD dwVersion; BOOL fWrite; BOOL fRasEnabled; BOOL fRouterEnabled; BOOL fRouterOutboundEnabled; DWORD dwTapiLineId; DWORD dwError; DWORD dwNumEndPoints; DWORD dwMaxOutCalls; DWORD dwMaxInCalls; DWORD dwMinWanEndPoints; DWORD dwMaxWanEndPoints; RASDEVICETYPE eDeviceType; GUID guidDevice; CHAR szPortName[17]; CHAR szDeviceName[129]; WCHAR wszDeviceName[129]; } RAS_DEVICE_INFO, *PRAS_DEVICE_INFO;
dwVersion: Specifies the version of the Rasrpc server.<155>
fWrite: If set to 1, specifies that device information needs to be stored on RRAS. If set to 0, specifies that the device information does not need to be stored.
fRasEnabled: If set to 1, specifies that the device is enabled for incoming connections. If set to 0, specifies that the device is not enabled for incoming connections.
fRouterEnabled: If set to 1, specifies that the device is enabled for both incoming and outgoing demand-dial connection. If set to 0, specifies that the device is not enabled for both incoming and outgoing demand-dial connection.
fRouterOutboundEnabled: If set to 1, specifies that the device is enabled for outgoing Demand dial connection. This can be set to 1 only when fRouterEnabled is set to 0.<156>
dwTapiLineId: Unique TAPI identifier for the device.
dwError: Specifies the return status as explained in section 2.2.1.2.218 for the retcode field.
dwNumEndPoints: Specifies the number of WAN end points available for the device.
dwMaxOutCalls: Specifies the maximum number of outgoing connections allowed on the device.
dwMaxInCalls: Specifies the maximum number of incoming connections allowed on the device.
dwMinWanEndPoints: Specifies the minimum number of WAN end points allowed on the device.
dwMaxWanEndPoints: Specifies the maximum number of WAN end points allowed on the device.
eDeviceType: Specifies the RASDEVICETYPE enumeration type.
guidDevice: A GUID uniquely identifying the device. This value MUST NOT be used when eDeviceType is RDT_Modem.
szPortName: Specifies a null-terminated ASCII string specifying the Port Name.
szDeviceName: Specifies a null-terminated ASCII string specifying the Device Name.
wszDeviceName: SHOULD<157> contain a null-terminated Unicode string specifying the Device Name.