Re: getting provider list
From: Luis Miguel (lm.rodriguez_at_ya.com)
Date: 10/06/04
- Next message: Vincenzo Mancuso: "using Incoming sample"
- Previous message: vinolin: "Re: TAPI and system power change (system standby)"
- In reply to: Grant Schenck: "Re: getting provider list"
- Messages sorted by: [ date ] [ thread ]
Date: 6 Oct 2004 00:45:12 -0700
Grant,
I know lineGetID call, but I need to know the string names of all TSP installed
on the system before opens any line.
Andreas solved my problem.
Thanks.
---- Luis Miguel Rodriguez Polytechnic University of Cartagena Spain "Grant Schenck" <schenckg@optonline.net> wrote in message news:<ub$GFfiqEHA.2588@TK2MSFTNGP12.phx.gbl>... > If you are willing to open the line then you can call > lineGetID(..."tapi/providerID") to retrieve the permanent provider ID > of a specific line. This will allow you to determine which TSP > retrieved from lineGetProviderList() is hosting the specific line and > to display the provider string for a given provider. > -- > Grant Schenck > Grant Schenck Software > schenckg@optonline.net > http://grantschenck.tripod.com > > "Andreas Marschall [MVP TAPI]" <Andreas.Marschall@I-B-A-M.de> wrote in > message news:eMXlPYTqEHA.596@TK2MSFTNGP11.phx.gbl... > > "Luis Miguel" <lm.rodriguez@ya.com> schrieb im Newsbeitrag > > news:91cf1627.0410030223.14e36e16@posting.google.com... > > > I'm trying to get the string providers list as show the Windows > > > Control Panel. Filling a LINEPROVIDERLIST structure I can get the > > > dwPermanentProviderID, dwProviderFilenameSize, > > > dwProviderFilenameOffset fields of each LINEPROVIDERENTRY entry, > but > > > it doesn't cointain the provider string name as in LINEDEVCAPS > > > structure (dwProviderInfoSize-dwProviderInfoOffset) associated to > a > > > line. > > > > > > How could I get a string list of all provider installed ? > > > > Luis Miguel, > > you are correct in your observation that LINEPROVIDERLIST doesn't > contain this > > information. > > Via TAPI it is only possible to access this info for available > devices via > > LINEDEVCAPS or PHONECAPS (as you have already mentioned). > > If you want to get the info for all installed providers (whether > they actually > > expose any devices or not) I see no other option than accessing the > TSP file > > info directly. > > It is in the TSP file's VS_VERSION_INFO resource located in string > > FileDescription. > > See MSDN for details about: GetFileVersionInfoSize(), > GetFileVersionInfo(), > > and VerQueryValue(). > > > > -- > > 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. > > > > > >
- Next message: Vincenzo Mancuso: "using Incoming sample"
- Previous message: vinolin: "Re: TAPI and system power change (system standby)"
- In reply to: Grant Schenck: "Re: getting provider list"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|