title: TAPI, lineInitialize and lineInitializeEx
body: <p>I try to use <strong>TAPI</strong> in my <strong>Delphi</strong> project.<br>
  When I use lineInitializeEx instead of lineInitialize I get an error msg like "<strong>Exception Processing Message c0000139 Parameters 168fc8 162820 75b4bf7c 75b4bf7c</strong>"<br>
  The code with lineInitializeEx is :</p>
  
  <pre><code>  var
      initPrm: TLineInitializeExParams;
    begin
      FillChar(initPrm, SizeOf(initPrm), 0);
      initPrm.dwTotalSize := SizeOf(initPrm);
      initPrm.dwOptions := LINEINITIALIZEEXOPTION_USEEVENT; // or LINEINITIALIZEEXOPTION_USEHIDDENWINDOW
      if lineInitializeEx(lineApp, HInstance, lineCallback, 'TAPI sample', nDevs, tapiVersion, initPrm) &lt; 0 then
  </code></pre>
  
  <p>and definition of TLineInitializeExParams is:</p>
  
  <pre><code>TLineInitializeExParams = record
      dwTotalSize,                                    
      dwNeededSize,                                   
      dwUsedSize,                                     
      dwOptions: Longint;                             
      Handles: THandleUnion;
      dwCompletionKey: Longint;                       
    end;
  </code></pre>
  
  <p>When I use lineInitialize</p>
  
  <pre><code>if lineInitialize(lineApp, HInstance, lineCallback, 'TAPI sample', nDevs) &lt; 0 then
  </code></pre>
  
  <p>everything is OK.</p>
  
  <p>Is there any idea ?</p>