<div class="content" name="RASI_PORT_0" uuid="ed4beef4-11ba-413f-abf4-2659412169e8"><p>The <b>RASI_PORT_0</b> structure contains general
information regarding a specific RRAS port, such as the port condition and the
port name.</p><dl>
<dd>
<div><pre> typedef struct _RASI_PORT_0 {
   DWORD dwPort;
   DWORD dwConnection;
   RAS_PORT_CONDITION dwPortCondition;
   DWORD dwTotalNumberOfCalls;
   DWORD dwConnectDuration;
   WCHAR wszPortName[17];
   WCHAR wszMediaName[17];
   WCHAR wszDeviceName[129];
   WCHAR wszDeviceType[17];
 } RASI_PORT_0,
  *PRASI_PORT_0;
</pre></div>
</dd></dl><p><b>dwPort: </b>A unique identifier for the port.</p><p><b>dwConnection: </b>A unique identifier that
specifies the connection.</p><p><b>dwPortCondition: </b>A <a href="95329c58-a94d-476d-9480-087bb546ec44" data-linktype="relative-path"><b>RAS_PORT_CONDITION (section 2.2.1.1.4)</b></a>
enumeration value indicating the condition of a port specified in <b>dwPort</b>.
</p><p><b>dwTotalNumberOfCalls: </b>Specifies the cumulative
number of calls that this port has serviced.</p><p><b>dwConnectDuration: </b>Specifies the duration of
the current connection on this port, in seconds.</p><p><b>wszPortName: </b>Specifies the port name.</p><p><b>wszMediaName: </b>Specifies the media name.</p><p><b>wszDeviceName: </b>Specifies the device name.</p><p><b>wszDeviceType: </b>Specifies the device type. This
member can be one of the following string constants.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Value</p>
   </th>
   <th>
   <p>Meaning</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>MPRDT_Modem &#34;Modem&#34;</td>
  <td>A modem that is accessed through a Component Object Model (COM) port.</td>
 </tr><tr>
  <td>MPRDT_Isdn &#34;Isdn&#34;</td>
  <td>An ISDN adapter with the corresponding NDISWAN driver installed.</td>
 </tr><tr>
  <td>MPRDT_X25 &#34;x25&#34;</td>
  <td>An X.25 adapter with the corresponding NDISWAN driver installed.</td>
 </tr><tr>
  <td>MPRDT_Vpn &#34;Vpn&#34;</td>
  <td>A virtual private network (VPN) connection.</td>
 </tr><tr>
  <td>MPRDT_Pad &#34;Pad&#34;</td>
  <td>A packet assembler/disassembler.</td>
 </tr><tr>
  <td>MPRDT_Generic &#34;GENERIC&#34;</td>
  <td>Generic.</td>
 </tr><tr>
  <td>MPRDT_Serial &#34;SERIAL&#34;</td>
  <td>Direct serial connection through a serial port.</td>
 </tr><tr>
  <td>MPRDT_FrameRelay &#34;FRAMERELAY&#34;</td>
  <td>Frame relay.</td>
 </tr><tr>
  <td>MPRDT_Atm &#34;ATM&#34;</td>
  <td>Asynchronous transfer mode (ATM).</td>
 </tr><tr>
  <td>MPRDT_Sonet &#34;SONET&#34;</td>
  <td>Sonet.</td>
 </tr><tr>
  <td>MPRDT_SW56 &#34;SW56&#34;</td>
  <td>Switched 56K access.</td>
 </tr><tr>
  <td>MPRDT_Irda &#34;IRDA&#34;</td>
  <td>An Infrared Data Association (IrDA)-compliant device.</td>
 </tr><tr>
  <td>MPRDT_Parallel &#34;PARALLEL&#34;</td>
  <td>Direct parallel connection through a parallel port.</td>
 </tr></tbody></table>
</dd></dl><p> </p></div>