Re: About reading specific line device

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Andreas Marschall [MVP TAPI] (Andreas.Marschall_at_I-B-A-M.de)
Date: 02/18/04


Date: Wed, 18 Feb 2004 01:21:44 +0100


"Jitesh Virani" <jiteshvirani2004@yahoo.co.in> schrieb im Newsbeitrag
news:118af01c3f5b3$697d3430$a301280a@phx.gbl...
> After using LinGetDevCaps I want to display
> specific information about that device to the user to
> choose from the list box to make it open so tell me though
> which utility I can do that.

You have to evaluate the returned LINEDEVCAPS structure on your own.
You can display any information from LINEDEVCAPS that you think a user can be
interested in.
Try it with TAPI Browser to see what is returned in LINEDEVCAPS .
Some struct members of interest may be the strings referenced by
dwLineNameOffset/Size, dwSwitchInfoOffset/Size, dwProviderInfoOffset.
Additionaly call lineGetAddressCaps() and evaluate LINEADDRESSCAPS structure.
A struct member of interest may be the string referenced by
dwAddressOffset/Size.

-- 
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
* 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.