<div class="content"><p>The LINE_CREATEDIALOGINSTANCE packet causes TAPI to create
an association between the service provider and the application that invoked
the asynchronous Telephony Service Provider Interface (TSPI) function that
generated this asynchronous event.</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 align="center">TotalSize</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p align="center">InitContext</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p align="center">fnPostProcessProcHandle</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p align="center">hDevice</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p align="center">Msg</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p align="center">OpenContext</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p align="center">Param1</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p align="center">Param2</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p align="center">Param3</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p align="center">Param4</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p align="center">VarData
  (variable)</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p align="center">...</p>
  </td>
 </tr>
</tbody></table><p><b>TotalSize (4 bytes): </b>An unsigned 32-bit
integer. The total size of the asynchronous event packet.</p><p><b>InitContext (4 bytes): </b>An unsigned 32-bit
integer. The opaque, client-specified session value that MUST be equal to the
InitContext value that is specified in the original scoping of the line <a href="9d8eb7cd-3245-4e44-97e0-42f7b89c9424" data-linktype="relative-path">Initialize</a> request.</p><p><b>fnPostProcessProcHandle (4 bytes): </b>An unsigned
32-bit integer. MUST be set to zero when sent and MUST be ignored on receipt. </p><p><b>hDevice (4 bytes): </b>An unsigned 32-bit integer.
The handle to the call or line device that is associated with the asynchronous
event. </p><p><b>Msg (4 bytes): </b>An unsigned 32-bit integer. The
packet type; MUST be set to 0x000001F7 (LINE_CREATEDIALOGINSTANCE).</p><p><b>OpenContext (4 bytes): </b>An unsigned 32-bit
integer. The opaque, client-specified context value that MUST be equal to the
OpenContext value that is specified in the original scoping of the line <a href="2759c744-e040-4c5d-b4b5-215d391f0490" data-linktype="relative-path">Open</a> request.</p><dl>
<dd>
<p>This information MUST be passed back to the
application with each completion and event that is associated with the handle
of the line or call on the line. This field is not interpreted by TAPI.</p>
</dd></dl><p><b>Param1 (4 bytes): </b>An unsigned 32-bit integer.
The size, in bytes, of the <a href="a5ca6e7c-d13c-4799-9b91-91fd1baca909" data-linktype="relative-path">ASYNCEVENTMSG</a>
packet (40). </p><p><b>Param2 (4 bytes): </b>An unsigned 32-bit integer.
The size, in bytes, of the VarData field.</p><p><b>Param3 (4 bytes): </b>An unsigned 32-bit integer.
The offset, in bytes, of the VarData field.</p><p><b>Param4 (4 bytes): </b>An unsigned 32-bit integer.
This MUST be ignored on receipt and can be any value.  </p><p><b>VarData (variable): </b>A string of <i>UNICODE</i>
characters, which can be null terminated.</p></div>