This topic has not yet been rated - Rate this topic

RAS_PORT_0 structure

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.

Syntax


typedef struct _RAS_PORT_0 {
  HANDLE             hPort;
  HANDLE             hConnection;
  RAS_PORT_CONDITION dwPortCondition;
  DWORD              dwTotalNumberOfCalls;
  DWORD              dwConnectDuration;
  WCHAR              wszPortName[MAX_PORT_NAME + 1];
  WCHAR              wszMediaName[MAX_MEDIA_NAME + 1];
  WCHAR              wszDeviceName[MAX_DEVICE_NAME + 1];
  WCHAR              wszDeviceType[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

Specifies the cumulative number of calls this port has serviced.

dwConnectDuration

Specifies the duration of the current connection, in seconds.

wszPortName

Specifies the port name.

wszMediaName

Specifies the media name.

wszDeviceName

Specifies the device name.

wszDeviceType

Specifies the device type.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mprapi.h

See also

Remote Access Service Administration Reference
RAS Administration Structures
RAS_PORT_1
RAS_PORT_CONDITION

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.