Re: how to use the device num returned by lineInitialize



"shafy" <shafy@xxxxxxxxxxxxxxxxxxxxxxxxx> schrieb im Newsbeitrag
news:350E3E88-FE83-45F8-9624-3B54AA7BC6C5@xxxxxxxxxxxxxxxx
Additional, I am a new guy in TAPI, I am develop the app on WM5.0 and
WM6.0.
Hope your reply! thanks.

"shafy" wrote:

Hi all,
I am developing an app which just need to monitor a incoming call
then
show our UI we want. but when I using lineInitialize to initalize the
TAPI, I
don't know how to using the "lpdwNumDevs" parameter. Does I need to open
all
the devices? but I think I just using one of the line devices, and I don't
konw the device name, so what can I do correctly ? thanks

shafy,
*lpdwNumDevs filled in by lineInitiatize() is the range from 0 to
*lpdwNumDevs-1 that can be used as dwDeviceID in lineOpen().
You can explore the devices capabilities with lineGetDevCaps(dwDeviceID,...)
for each valid dwDeviceID from the range given above, to search for a device
with the capabilities your app requires.

--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto® Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):
http://www.frappr.com/TAPIaroundTheWorld
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion. Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no rights.



.



Relevant Pages

  • Re: Dialling via TAPI from a VB.NET application
    ... "Sam Churchill" schrieb im Newsbeitrag ... directly via requesting app but only at recipient app. ... Take a look at the Dialer sample from P-SDK and at the TAPI tools from JulMar ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Tapi Locks On Non-answered Cell Phone Calls
    ... If the very same that you do in your app is working reliable in TB3x but not ... TAPI / TSP Developer and Tester ... TAPI development around the world (Frappr! ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: TAPI 3.0 error -2147221499 while trying ITBasicCallControl::Connect
    ... > I develop an app. ... Microsoft MVP for TAPI / Windows SDK ... * Please post all messages and replies to the newsgroup so all may ... This posting is provided "AS IS" with no warranties, ...
    (microsoft.public.win32.programmer.tapi)
  • Re: tapi 3 Com problem
    ... > guid to SAPI5,but there are two GUID can't recognized by ... > app seems to generate more errors than before. ... Microsoft MVP for TAPI / Windows SDK ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Building H323 gateway with TAPI 3.1
    ... "Robert Reif" schrieb im Newsbeitrag ... The control panel app for setting ... Microsoft MVP for TAPI / Windows SDK ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)