<div class="content" name="FAX_PORT_INFO" uuid="ed920746-d222-4e0a-a75d-905f26cf1dfc"><p>The <b>_FAX_PORT_INFO</b> data structure is the
custom-marshaled variant of the <b>FAX_PORT_INFO</b> (section <a href="2b46d16c-e74a-4e3b-b50c-0b94f78bebd0" data-linktype="relative-path">2.2.7</a>) data structure.
This structure describes one fax port. The data includes, among other items, a
device identifier, the port&#39;s name and current status, and subscriber
identifiers.</p><p>If an application calls the <b>FAX_EnumPorts</b> (section <a href="7143a58b-d7c5-4353-8857-39c7f708e778" data-linktype="relative-path">3.1.4.1.28</a>) function to
enumerate all the fax devices currently attached to a fax server, the function
returns a byte array of <b>_FAX_PORT_INFO</b> structures. Each structure
describes one device in detail. </p><p>If an application calls the <b>FAX_GetPort</b> (section <a href="f7fa6fcf-ace1-47a2-b2a4-f5e408212d78" data-linktype="relative-path">3.1.4.1.51</a>) function to
query one device, that function returns information about the device in one <b>_FAX_PORT_INFO</b>.</p><p>This structure is also returned as a single structure by the
<b>FaxObs_GetPort</b> (section <a href="d321c037-bf10-425c-ac43-6d09d65359b0" data-linktype="relative-path">3.1.4.2.16</a>) method and as
an array of structures by the <b>FaxObs_EnumPorts</b> (section <a href="d9e71aba-137d-455b-9ca8-8d89c89b2db7" data-linktype="relative-path">3.1.4.2.15</a>) method.</p><p>This data structure is custom marshaled as follows and uses
the custom-marshaling rules defined in section <a href="a660ed3e-062f-4b49-ab5b-0ba19ea7598d" data-linktype="relative-path">2.2.1</a>.</p><table>
 <tbody><tr>
  <th><p><br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>1<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>2<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>3<br/>0</p></th>
  <th><p><br/>1</p></th>
 </tr>
 <tr>
  <td colspan="32">Fixed_Portion (36 bytes)</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">Variable_Data (variable)</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
</tbody></table><p><b>Fixed_Portion (36 bytes):</b></p><dl>
<dd>
<table>
 <tbody><tr>
  <th><p><br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>1<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>2<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>3<br/>0</p></th>
  <th><p><br/>1</p></th>
 </tr>
 <tr>
  <td colspan="32">SizeOfStruct</td>
 </tr>
 <tr>
  <td colspan="32">DeviceId</td>
 </tr>
 <tr>
  <td colspan="32">State</td>
 </tr>
 <tr>
  <td colspan="32">Flags</td>
 </tr>
 <tr>
  <td colspan="32">Rings</td>
 </tr>
 <tr>
  <td colspan="32">Priority</td>
 </tr>
 <tr>
  <td colspan="32">DeviceNameOffset</td>
 </tr>
 <tr>
  <td colspan="32">TsidOffset</td>
 </tr>
 <tr>
  <td colspan="32">CsidOffset</td>
 </tr>
</tbody></table>
</dd>
<dd>
<p><b>SizeOfStruct (4 bytes): </b>A
<b>DWORD</b> (<a href="../ms-dtyp/cca27429-5689-4a16-b2b4-9325d93e4ba2" data-linktype="relative-path">[MS-DTYP]</a>
section <a href="../ms-dtyp/262627d8-3418-4627-9218-4ffe110850b2" data-linktype="relative-path">2.2.9</a>)
that holds the size of the <b>Fixed_Portion</b> block, in bytes. This value
MUST be 36 bytes.</p>
</dd>
<dd>
<p><b>DeviceId (4 bytes): </b>See
the <b>DeviceId</b> field for <b>FAX_PORT_INFO</b>.</p>
</dd>
<dd>
<p><b>State (4 bytes): </b>See
the <b>State</b> field for <b>FAX_PORT_INFO</b>.</p>
</dd>
<dd>
<p><b>Flags (4 bytes): </b>See
the <b>Flags</b> field for <b>FAX_PORT_INFO</b>.</p>
</dd>
<dd>
<p><b>Rings (4 bytes): </b>See
the <b>Rings</b> field for <b>FAX_PORT_INFO</b>.</p>
</dd>
<dd>
<p><b>Priority (4 bytes): </b>See
the <b>Priority</b> field for <b>FAX_PORT_INFO</b>.</p>
</dd>
<dd>
<p><b>DeviceNameOffset (4
bytes): </b>Offset to the <b>DeviceName</b> field in the <b>Variable_Data</b>
portion of the structure.</p>
</dd>
<dd>
<p><b>TsidOffset (4 bytes): </b>Offset
to the <b>Tsid</b> field in the <b>Variable_Data</b> portion of the structure.</p>
</dd>
<dd>
<p><b>CsidOffset (4 bytes): </b>Offset
to the <b>Csid</b> field in the <b>Variable_Data</b> portion of the structure.</p>
</dd></dl><p><b>Variable_Data (variable):</b></p><dl>
<dd>
<table>
 <tbody><tr>
  <th><p><br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>1<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>2<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>3<br/>0</p></th>
  <th><p><br/>1</p></th>
 </tr>
 <tr>
  <td colspan="32">DeviceName (variable)</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">Tsid (variable)</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">Csid (variable)</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
</tbody></table>
</dd>
<dd>
<p><b>DeviceName (variable): </b>A
null-terminated string that holds the name of the fax device of interest.</p>
</dd>
<dd>
<p><b>Tsid (variable): </b>A
null-terminated string that holds the transmitting subscriber identifier (TSID)
with same description as for the <b>Tsid</b> field of <b>FAX_PORT_INFO</b>.</p>
</dd>
<dd>
<p><b>Csid (variable): </b>A
null-terminated string that holds the called subscriber identifier (CSID) with
same description as for the <b>Csid</b> field of <b>FAX_PORT_INFO</b>.</p>
</dd></dl></div>