[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;
Windows NT: Use version 4.0 and later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in rassapi.h.
RAS_PORT_1, RAS_PORT_CONDITION