TAPIaroundTheWorld
(1)
ProviderGenericDialogData
(1)
LineConfigDialogEdit
(1)
ProviderUIIdentify
(1)
ExMVP
(1)
ProviderGenericDialog
(1)
LineRemoveProvider
(1)
PhoneConfigDialog
(1)

information on UI DLL

Asked By Mohit
17-Nov-09 06:01 AM
Hi friends,

Can any one tell me where can i found the information on ui dll files in
windows?
Actually I am trying to understand the significance of the ui dll functions
for a TSP and why it is required to implement the ui functions for a TSP.

Thanks,
Mohit

Mohit,the TSP UI DLL can either be an extra DLL file or it can be the TSP

Andreas Marschall [exMVP TAPI] replied to Mohit
17-Nov-09 09:39 AM
Mohit,
the TSP UI DLL can either be an extra DLL file or it can be the TSP file
itself.
The easiest would be the latter.
In any case the TSP needs to implement TSPI_providerUIIdentify() in the TSP
to tell TAPISRV the name of UI DLL file name (or the TSP file name in the
latter case).
You need to implement the TUISPI_ functions to support configuration dialog
and install / remove capabilities via Control Panel / Phone And Modem
Options / Advanced tab.. Please see MSDN for details.
In addition it is required to implement the corresponding TSPI_ function
(same suffix as TUISPI_ functions) with just a return value of 0 and nothing
else.

--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK / Visual C++ 2003-2008
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.

"Andreas Marschall [exMVP TAPI]" wrote:Andreas,Thanks for your reply.

Mohit replied to Andreas Marschall [exMVP TAPI]
18-Nov-09 01:49 AM
Andreas,

Thanks for your reply.

What I understand from your reply is that, UI functions are used to add the
additional capabilities in the current TSP by mapping it with the additional
ui dll or TSP file.

But still there is a question in my mind that what kind of additional
capabilites are needed in current TSP? can you give me any example?

Actually i had installed a Panasonic KX-TD TSP in my PC and i found that it
copies two files in the system32 folder, one is .tsp file and second is ui
dll file. So, I didin't understand the need of the ui dll file used by
Panasonic TSP. So I am trying to know that whether the additional ui dll file
is must with .tsp file or it is used just to extend the capabilities of the
TSP?

Thanks,
Mohit

Mohit, you are welcome.

Andreas Marschall [exMVP TAPI] replied to Mohit
18-Nov-09 02:17 AM
Mohit, you are welcome.


TUISPI_providerInstall() / TUISPI_providerRemove() are called:
a) on lineAddProvider() / lineRemoveProvider()
b) ControlPanel / Phone and Modem Options / Advanced tab / Add.../Romove
buttons
So basically you need these functions to be able to install and de-install a
TSP.
The implemantation is mandatory.

TUISPI_providerConfig() is used to display the configuration dialog for the
TSP via
ControlPanel / Phone and Modem Options / Advanced tab / Config... button
The implemantation is mandatory if you need a TSP config dialog.

TUISPI_lineConfigDialog(), TUISPI_lineConfigDialogEdit(), and
TUISPI_phoneConfigDialog()
are used to display the configuration dialog for the line/phone device via
lineConfigDialog(), lineConfigDialogEdit(), and phoneConfigDialog.
The implemantation is optional.

TUISPI_providerGenericDialog() and TUISPI_providerGenericDialogData()
are used for data exchange between TSP and its UI.
The implemantation is optional.

--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK / Visual C++ 2003-2008
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.
"Andreas Marschall [exMVP TAPI]" wrote:Andreas,Thanks for such a brief
Mohit replied to Andreas Marschall [exMVP TAPI]
18-Nov-09 04:18 AM
Andreas,

Thanks for such a brief description of ui functions.

Mohit
Post Question To EggHeadCafe