<div class="content"><p> </p><p>The <b>_FAX_PORT_INFO_EXW</b> data type is the
custom-marshaled variant of the <b>FAX_PORT_INFO_EXW</b> (section <span><a href="530c0daf-f12f-47d6-bd67-37096ff71a52" data-linktype="relative-path">2.2.45</a></span>)
structure. This data type is used for <b>FAX_EnumPortsEx</b> (section <span><a href="f26e50ab-ed8e-448d-928c-1820f4a42918" data-linktype="relative-path">3.1.4.1.29</a></span>)
and <b>FAX_GetPortEx</b> (section <span><a href="6e9e5f47-0016-43b9-9565-c6d135d2c061" data-linktype="relative-path">3.1.4.1.52</a></span>).</p><p>This data structure is custom marshaled as follows and uses
the custom-marshaling rules defined in section <span><a href="a660ed3e-062f-4b49-ab5b-0ba19ea7598d" data-linktype="relative-path">2.2.1</a></span>.</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">
  <p>Fixed_Portion
  (48 bytes)</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>...</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>...</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>...</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>Variable_Data
  (variable)</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>...</p>
  </td>
 </tr>
</tbody></table><p><b>Fixed_Portion (48 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">
  <p>dwSizeOfStruct</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>dwDeviceID</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>lpcwstrDeviceNameOffset</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>lpwstrDescriptionOffset</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>lpcwstrProviderNameOffset</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>lpcwstrProviderGUIDOffset</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>bSend</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>ReceiveMode</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>dwStatus</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>dwRings</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>lpwstrCsidOffset</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>lpwstrTsidOffset</p>
  </td>
 </tr>
</tbody></table>
</dd>
<dd>
<p><b>dwSizeOfStruct (4 bytes):
</b>A <b>DWORD</b> (<span><a href="../ms-dtyp/cca27429-5689-4a16-b2b4-9325d93e4ba2" data-linktype="relative-path">[MS-DTYP]</a></span>
section <span><a href="../ms-dtyp/262627d8-3418-4627-9218-4ffe110850b2" data-linktype="relative-path">2.2.9</a></span>)
value that holds the size of the <b>Fixed_Portion</b> block, in bytes. This
value MUST be 48 bytes.</p>
</dd>
<dd>
<p><b>dwDeviceID (4 bytes): </b>A
<b>DWORD</b> that holds the line identifier for the specified fax device
(port).</p>
</dd>
<dd>
<p><b>lpcwstrDeviceNameOffset
(4 bytes): </b>Offset to the <b>lpcwstrDeviceName</b> field in the <b>Variable_Data</b>
block.</p>
</dd>
<dd>
<p><b>lpwstrDescriptionOffset
(4 bytes): </b>Offset to the <b>lpcwstrDescription</b> field in the <b>Variable_Data</b>
block.</p>
</dd>
<dd>
<p><b>lpcwstrProviderNameOffset
(4 bytes): </b>Offset to the <b>lpcwstrProviderName</b> field in the <b>Variable_Data</b>
block</p>
</dd>
<dd>
<p><b>lpcwstrProviderGUIDOffset
(4 bytes): </b>Offset to the <b>lpcwstrProviderGUID</b> field in the <b>Variable_Data</b>
block.</p>
</dd>
<dd>
<p><b>bSend (4 bytes): </b>A
Boolean value that indicates whether the fax device is enabled to send faxes.</p>
</dd>
<dd>
<p><b>ReceiveMode (4 bytes): </b>An
<b>FAX_ENUM_DEVICE_RECEIVE_MODE</b> (section <span><a href="d80da1ab-ab00-44b7-81ff-41f7783b94e2" data-linktype="relative-path">2.2.55</a></span>) enumerated
value that indicates whether the fax device is enabled to receive faxes and
whether the calls are manually or automatically answered.</p>
</dd>
<dd>
<p><b>dwStatus (4 bytes): </b>A
<b>DWORD</b> that holds the current status of the device. It SHOULD contain any
combination of values from the <b>FAX_ENUM_DEVICE_STATUS</b> (section <span><a href="267364f2-e9ba-460c-a4b4-10faf8fc8920" data-linktype="relative-path">2.2.64</a></span>)
enumeration or 0 (meaning: status unknown). </p>
</dd>
<dd>
<p><b>dwRings (4 bytes): </b>A <b>DWORD</b>
that holds the number of times an incoming fax call rings before the specified
device answers the call.</p>
</dd>
<dd>
<p><b>lpwstrCsidOffset (4
bytes): </b>Offset to the <b>lpcwstrCsid</b> field in the <b>Variable_Data</b>
block</p>
</dd>
<dd>
<p><b>lpwstrTsidOffset (4
bytes): </b>Offset to the <b>lpcwstrTsid</b> field in the c block.</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">
  <p>lpcwstrDeviceName
  (variable)</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>...</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>lpwstrDescription
  (variable)</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>...</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>lpcwstrProviderName
  (variable)</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>...</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>lpcwstrProviderGUID
  (variable)</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>...</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>lpwstrCsid
  (variable)</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>...</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>lpwstrTsid
  (variable)</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>...</p>
  </td>
 </tr>
</tbody></table>
</dd>
<dd>
<p><b>lpcwstrDeviceName
(variable): </b>A null-terminated character string that holds the name of the
fax device.</p>
</dd>
<dd>
<p><b>lpwstrDescription
(variable): </b>A null-terminated character string that holds the description
of the fax device. The length of this string MUST NOT exceed <b>MAX_FAX_STRING_LEN</b>
(section <span><a href="f14dea0f-f40e-453e-8514-c82d485b8791" data-linktype="relative-path">2.2.86</a></span>) characters,
including the length of the terminating null character.</p>
</dd>
<dd>
<p><b>lpcwstrProviderName
(variable): </b>A null-terminated character string that holds the name of the
fax device provider.</p>
</dd>
<dd>
<p><b>lpcwstrProviderGUID
(variable): </b>A null-terminated character string that holds the GUID of the
fax device provider.</p>
</dd>
<dd>
<p><b>lpwstrCsid (variable): </b>A
null-terminated character string that holds the called subscriber identifier
for faxes sent using this device. This identifier can be a telephone number.</p>
</dd>
<dd>
<p><b>lpwstrTsid (variable): </b>A
null-terminated character string that holds the transmitting subscriber
identifier for faxes sent using this device. This identifier can be a telephone
number.</p>
</dd></dl></div>