Re: how to use the device num returned by lineInitialize
- From: "Andreas Marschall [MVP TAPI]" <Andreas.Marschall@xxxxxxxxxx>
- Date: Tue, 24 Jun 2008 11:16:01 +0200
"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 andWM6.0.
Hope your reply! thanks.then
"shafy" wrote:
Hi all,
I am developing an app which just need to monitor a incoming call
TAPI, Ishow our UI we want. but when I using lineInitialize to initalize the
alldon't know how to using the "lpdwNumDevs" parameter. Does I need to open
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.
.
- Prev by Date: Re: Installing a TSP
- Next by Date: Re: Redirect outbound call (Windows Mobile 5)
- Previous by thread: Problem using MediaStreamTerminal to record.rtf
- Next by thread: How can I change the TAPI setting to dial without waiting for a dial tone.
- Index(es):
Relevant Pages
|