⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 struc2_6ohe.htm

📁 TAPI Exampple
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML DIR="LTR"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso8859-1">
</HEAD>
<TITLE>PHONEINITIALIZEEXPARAMS</TITLE>
<SCRIPT SRC="/library/psdk/linkcss.js"></SCRIPT>
<META NAME="MS-HKWD" CONTENT="PHONEINITIALIZEEXPARAMS">
<META NAME="MS-HAID" CONTENT="_tapi2_phoneinitializeexparams_str">
</HEAD>
<BODY TOPMARGIN="0">

<!--TOOLBAR_START-->
<!--TOOLBAR_EXEMPT-->
<!--TOOLBAR_END-->
<!--SYNC_START-->
<script language="JavaScript" src='/library/synch.js'></script>
<!--SYNC_END-->

<H1><A NAME="_tapi2_phoneinitializeexparams_str"></A>PHONEINITIALIZEEXPARAMS</H1>

<P>The <B>PHONEINITIALIZEEXPARAMS</B> structure contains parameters used to establish the association between an application and TAPI; for example, the application's selected event notification mechanism. The <A HREF="func2_1tbs.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_1tbs.htm"><B>phoneInitializeEx</B></A> function uses this structure.</P>

<PRE class=syntax>typedef struct phoneinitializeexparams_tag {
  DWORD  dwTotalSize;
  DWORD  dwNeededSize;
  DWORD  dwUsedSize;
  DWORD  dwOptions;
  union
  {
    HANDLE hEvent;
    HANDLE hCompletionPort;
  } Handles;
  DWORD dwCompletionKey;
} PHONEINITIALIZEEXPARAMS, FAR *LPPHONEINITIALIZEEXPARAMS;</PRE>

<H4>Members</H4>

<DL>
<DT><B>dwTotalSize</B> </DT>

<DD>The total size, in bytes, allocated to this data structure. </DD>

<DT><B>dwNeededSize</B> </DT>

<DD>The size, in bytes, for this data structure that is needed to hold all the returned information. </DD>

<DT><B>dwUsedSize</B> </DT>

<DD>The size, in bytes, of the portion of this data structure that contains useful information. </DD>

<DT><B>dwOptions</B> </DT>

<DD>One of the <A HREF="constnts_4xyr.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_4xyr.htm">PHONEINITIALIZEEXOPTION_ Constants</A>. Specifies the event notification mechanism the application desires to use. </DD>

<DT><B>hEvent</B> </DT>

<DD>If <B>dwOptions</B> specifies PHONEINITIALIZEEXOPTION_USEEVENT, TAPI returns the event handle in this member. </DD>

<DT><B>hCompletionPort</B> </DT>

<DD>If <B>dwOptions</B> specifies PHONEINITIALIZEEXOPTION_USECOMPLETIONPORT, the application must specify in this member the handle of an existing completion port opened using <A HREF="javascript:if(confirm('http://msdn.microsoft.com/library/psdk/winbase/filesio_4k1g.htm  \n\n这个文件不能通过 Teleport Pro 取回, 因为 地址在一个域或为它的开始地址设定的边界的外部路径上.  \n\n你想从服务器打开它吗?'))window.location='http://msdn.microsoft.com/library/psdk/winbase/filesio_4k1g.htm'" tppabs="http://msdn.microsoft.com/library/psdk/winbase/filesio_4k1g.htm"><B>CreateIoCompletionPort</B></A>. </DD>

<DT><B>dwCompletionKey</B> </DT>

<DD>If <B>dwOptions</B> specifies PHONEINITIALIZEEXOPTION_USECOMPLETIONPORT, the application must specify in this field a value that is returned through the <I>lpCompletionKey</I> parameter of <A HREF="javascript:if(confirm('http://msdn.microsoft.com/library/psdk/winbase/filesio_071v.htm  \n\n这个文件不能通过 Teleport Pro 取回, 因为 地址在一个域或为它的开始地址设定的边界的外部路径上.  \n\n你想从服务器打开它吗?'))window.location='http://msdn.microsoft.com/library/psdk/winbase/filesio_071v.htm'" tppabs="http://msdn.microsoft.com/library/psdk/winbase/filesio_071v.htm"><B>GetQueuedCompletionStatus</B></A> to identify the completion message as a telephony message. 
</DD>
</DL>

<H4>Remarks</H4>

<P>See <A HREF="func2_1tbs.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_1tbs.htm"><B>phoneInitializeEx</B></A> for further information on these options. </P>

<H4><A HREF="javascript:if(confirm('http://msdn.microsoft.com/library/psdk/sdkintro/guide_927n.htm  \n\n这个文件不能通过 Teleport Pro 取回, 因为 地址在一个域或为它的开始地址设定的边界的外部路径上.  \n\n你想从服务器打开它吗?'))window.location='http://msdn.microsoft.com/library/psdk/sdkintro/guide_927n.htm'" tppabs="http://msdn.microsoft.com/library/psdk/sdkintro/guide_927n.htm">Requirements</A> </H4>

<P><B>&nbsp;&nbsp;Windows NT/2000: </B>Requires Windows NT 4.0 SP3 or later.<BR>
<B>&nbsp;&nbsp;Windows 95/98: </B>Requires Windows 95 or later.<BR>
<B>&nbsp;&nbsp;Version: </B>Requires TAPI 2.0 or later.<BR>
<B>&nbsp;&nbsp;Header: </B>Declared in Tapi.h.</P>

<H4>See Also</H4>

<P><A HREF="func2_1tbs.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_1tbs.htm"><B>phoneInitializeEx</B></A> </P>
<DIV CLASS="footer">Built on Monday, August 14, 2000</DIV>
<!--FOOTER_START-->
<DIV CLASS="footer" STYLE="color:#000000;font-size:90%;">
<A HREF="mailto:sdkfdbk@microsoft.com">Send feedback</A> to the Platform SDK.</P>
<P><A HREF="javascript:if(confirm('http://msdn.microsoft.com/isapi/gomscom.asp?TARGET=/info/cpyright.htm  \n\n这个文件不能通过 Teleport Pro 取回, 因为 地址在一个域或为它的开始地址设定的边界的外部路径上.  \n\n你想从服务器打开它吗?'))window.location='http://msdn.microsoft.com/isapi/gomscom.asp?TARGET=/info/cpyright.htm'" tppabs="http://msdn.microsoft.com/isapi/gomscom.asp?TARGET=/info/cpyright.htm" TARGET="_top">&#169; 1999 Microsoft Corporation. All rights reserved. Terms of use.</A></P>
</DIV>
<!--FOOTER_END-->

</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -