RAS_PORT_0

[This is preliminary documentation and subject to change.]

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.

typedef struct _RAS_PORT_0 {
    HANDLE                hPort;
    HANDLE                hConnection;
    RAS_PORT_CONDITION    dwPortCondition;
    DWORD                 dwTotalNumberOfCalls;
    DWORD                 dwConnectDuration;      // In seconds
    WCHAR                 wszPortName[ MAX_PORT_NAME + 1 ];
    WCHAR                 wszMediaName[ MAX_MEDIA_NAME + 1 ];
    WCHAR                 wszDeviceName[ MAX_DEVICE_NAME + 1 ];
    WCHAR                 wchDeviceType[ MAX_DEVICETYPE_NAME + 1 ];
 
} RAS_PORT_0, *PRAS_PORT_0;
 

Members

hPort
Handle to the port.
hConnection
Handle to the connection.
dwPortCondition
RAS_PORT_CONDITION structure.
dwTotalNumberOfCalls
Total number of calls for the given port.
dwConnectDuration
Duration of the current connection, in seconds.
wszPortName
Port name.
wszMediaName
Media name.
wszDeviceName
Device Name.
wchDeviceType
Device Type.

QuickInfo

  Windows NT: Use version 4.0 and later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in rassapi.h.

See Also

RAS_PORT_1, RAS_PORT_CONDITION