?? msgs_5qlh.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>LINE_CREATE</TITLE>
<SCRIPT SRC="/library/psdk/linkcss.js"></SCRIPT>
<META NAME="MS-HKWD" CONTENT="LINE_CREATE">
<META NAME="MS-HAID" CONTENT="_tapi2_line_create">
</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_line_create"></A>LINE_CREATE</H1>
<P>The TAPI LINE_CREATE message is sent to inform the application of the creation of a new line device. </P>
<PRE class=syntax>LINE_CREATE
hDevice = (DWORD) 0;
dwCallbackInstance = (DWORD) 0;
dwParam1 = (DWORD) idDevice;
dwParam2 = (DWORD) 0;
dwParam3 = (DWORD) 0;</PRE>
<H4>Parameters</H4>
<DL>
<DT><I>hDevice</I> </DT>
<DD>Unused. </DD>
<DT><I>dwCallbackInstance</I> </DT>
<DD>Unused. </DD>
<DT><I>dwParam1</I> </DT>
<DD>The <I>hDeviceID </I>of the newly created device. </DD>
<DT><I>dwParam2</I> </DT>
<DD>Unused. </DD>
<DT><I>dwParam3</I> </DT>
<DD>Unused.
</DD>
</DL>
<H4>Return Values</H4>
<P>No return value. </P>
<H4>Remarks</H4>
<P>Older applications (that negotiated TAPI version 1.3) are sent a <A HREF="msgs_402t.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/msgs_402t.htm">LINE_LINEDEVSTATE</A> message specifying LINEDEVSTATE_REINIT, which requires them to shut down their use of the API and call <A HREF="func1_26lh.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_26lh.htm"><B>lineInitialize</B></A> again to obtain the new number of devices. Unlike previous versions of TAPI, however, this version does not require <I>all</I> applications to shut down before allowing applications to reinitialize; reinitialization can take place immediately when a new device is created (complete shutdown is still required when a service provider is removed from the system). </P>
<P>Applications supporting TAPI version 1.4 or later are sent a LINE_CREATE message. This informs them of the existence of the new device and its new device identifier. The application can then choose whether or not to attempt working with the new device at its leisure. This message is sent to all applications supporting this or subsequent versions of the API that have called <A HREF="func1_26lh.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_26lh.htm"><B>lineInitialize</B></A> or <A HREF="func1_2o54.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_2o54.htm"><B>lineInitializeEx</B></A>, including those that do not have any line devices open at the time. </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> Windows NT/2000: </B>Requires Windows NT 4.0 SP3 or later.<BR>
<B> Windows 95/98: </B>Requires Windows 95 or later.<BR>
<B> Version: </B>Requires TAPI 2.0 or later.<BR>
<B> Header: </B>Declared in Tapi.h.</P>
<H4>See Also</H4>
<P><A HREF="msgs_402t.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/msgs_402t.htm">LINE_LINEDEVSTATE</A>, <A HREF="func1_26lh.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_26lh.htm"><B>lineInitialize</B></A>, <A HREF="func1_2o54.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_2o54.htm"><B>lineInitializeEx</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">© 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 + -