2.2.1.2.226 RASMAN_PORT_32

The RASMAN_PORT_32 structure contains information regarding a specific RAS port, such as port status and port name.

 typedef struct _RASMAN_PORT_32 {
   DWORD P_Port;
   CHAR P_PortName[16];
   RASMAN_STATUS P_Status;
   RASDEVICETYPE P_rdtDeviceType;
   RASMAN_USAGE P_ConfiguredUsage;
   RASMAN_USAGE P_CurrentUsage;
   CHAR P_MediaName[16];
   CHAR P_DeviceType[16];
   CHAR P_DeviceName[129];
   DWORD P_LineDeviceId;
   DWORD P_AddressId;
 } RASMAN_PORT_32;

P_Port: A unique identifier for the port.

P_PortName: Specifies a null-terminated ASCII string specifying the port name.

P_Status: Specifies the status of the port as defined in the RASMAN_STATUS (section 2.2.1.1.17) enumeration type. 

P_rdtDeviceType: Specifies the device type of the port as defined in the RASDEVICETYPE (section 2.2.1.1.16) enumeration type. 

P_ConfiguredUsage: Specifies the configured usage of the port as defined in section 2.2.1.1.21.

P_CurrentUsage: Specifies the usage for the port currently being used as defined in section 2.2.1.1.21.

P_MediaName: A null-terminated ASCII string specifying the name of the media associated with the port.

P_DeviceType: Specifies a null-terminated ASCII string that indicates the RRAS server device type as specified for the wszDeviceType field of the RASI_PORT_0 (section 2.2.1.2.75) structure. 

P_DeviceName: A null-terminated ASCII string specifying the name of the device associated with the port.

P_LineDeviceId: Specifies a unique identifier for the device.

P_AddressId: MUST be set to zero (0) when sent and ignored on receipt.