Re: getting provider list
From: Grant Schenck (schenckg_at_optonline.net)
Date: 10/04/04
- Next message: Alexander Budnik: "Re: TAPI speackers and microphone"
- Previous message: Grant Schenck: "Re: TAPI help required problem with WinXP service pack1"
- In reply to: Andreas Marschall [MVP TAPI]: "Re: getting provider list"
- Next in thread: Luis Miguel: "Re: getting provider list"
- Reply: Luis Miguel: "Re: getting provider list"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 4 Oct 2004 11:35:15 -0400
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: Alexander Budnik: "Re: TAPI speackers and microphone"
- Previous message: Grant Schenck: "Re: TAPI help required problem with WinXP service pack1"
- In reply to: Andreas Marschall [MVP TAPI]: "Re: getting provider list"
- Next in thread: Luis Miguel: "Re: getting provider list"
- Reply: Luis Miguel: "Re: getting provider list"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|