<div class="content" name="PORT_INFO_3" uuid="411e4423-25e4-4f61-84b7-45336e40094e"><p>The <b>PORT_INFO_3</b> structure provides information about
a <span><a href="831cd729-be7c-451e-b729-bd8d84ce4d24#gt_ac027425-6043-4ad3-be27-56a381b75d38" data-linktype="relative-path">port</a></span>.<a id="Appendix_A_Target_49"></a><a aria-label="Product behavior note 49" href="e81cbc09-ab05-4a32-ae4a-8ec57b436c43#Appendix_A_49" data-linktype="relative-path">&lt;49&gt;</a></p><dl>
<dd>
<div><pre> typedef struct _PORT_INFO_3 {
   DWORD dwStatus;
   [string] wchar_t* pszStatus;
   DWORD dwSeverity;
 } PORT_INFO_3;
</pre></div>
</dd></dl><p><b>dwStatus:</b> The new port status. This value
MUST be one of the following.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Name/value</p>
   </th>
   <th>
   <p>Description</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>PORT_STATUS_CLEAR 0x00000000</td>
  <td>Clears the printer port status.</td>
 </tr><tr>
  <td>PORT_STATUS_OFFLINE 0x00000001</td>
  <td>The port’s printer is offline.</td>
 </tr><tr>
  <td>PORT_STATUS_PAPER_JAM 0x00000002</td>
  <td>The port’s printer has a paper jam.</td>
 </tr><tr>
  <td>PORT_STATUS_PAPER_OUT 0x00000003</td>
  <td>The port’s printer is out of paper.</td>
 </tr><tr>
  <td>PORT_STATUS_OUTPUT_BIN_FULL 0x00000004</td>
  <td>The port’s printer&#39;s output bin is full.</td>
 </tr><tr>
  <td>PORT_STATUS_PAPER_PROBLEM 0x00000005</td>
  <td>The port’s printer has a paper problem.</td>
 </tr><tr>
  <td>PORT_STATUS_NO_TONER 0x00000006</td>
  <td>The port’s printer is out of toner.</td>
 </tr><tr>
  <td>PORT_STATUS_DOOR_OPEN 0x00000007</td>
  <td>The door of the port’s printer is open.</td>
 </tr><tr>
  <td>PORT_STATUS_USER_INTERVENTION 0x00000008</td>
  <td>The port’s printer requires user intervention.</td>
 </tr><tr>
  <td>PORT_STATUS_OUT_OF_MEMORY 0x00000009</td>
  <td>The port’s printer is out of memory.</td>
 </tr><tr>
  <td>PORT_STATUS_TONER_LOW 0x0000000A</td>
  <td>The port’s printer is low on toner.</td>
 </tr><tr>
  <td>PORT_STATUS_WARMING_UP 0x0000000B</td>
  <td>The port’s printer is warming up.</td>
 </tr><tr>
  <td>PORT_STATUS_POWER_SAVE 0x0000000C</td>
  <td>The port’s printer is in a power-conservation mode.</td>
 </tr></tbody></table>
</dd></dl><p><b>pszStatus:</b> An optional pointer to a
string that specifies a status description.</p><p><b>dwSeverity:</b> The severity of the port
status value. This value MUST be one of the following.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Name/value</p>
   </th>
   <th>
   <p>Description</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>PORT_STATUS_TYPE_ERROR 0x00000001</td>
  <td>The port status value indicates an error.</td>
 </tr><tr>
  <td>PORT_STATUS_TYPE_WARNING 0x00000002</td>
  <td>The port status value is a warning.</td>
 </tr><tr>
  <td>PORT_STATUS_TYPE_INFO 0x00000003</td>
  <td>The port status value is informational.</td>
 </tr></tbody></table>
</dd></dl><p>All members not defined in this section are specified in
sections <span><a href="2607e270-ebe6-4d84-a2f7-12b056fae964" data-linktype="relative-path">2.2.1.3.5</a></span> and <span><a href="964b517f-6730-4b4a-99ed-ee9648e7f1f7" data-linktype="relative-path">2.2.1.3</a></span>.</p></div>