TAPIhelp plug-in

From NSIS Wiki
(Redirected from TAPI Helper Plugin)
Jump to navigationJump to search
Author: ryo-oh-ki (talk, contrib)


Links

Zip.gif tapihelp.zip - medium (22k)

Description

Simple plugin that lets you explore TAPI subsystem and report installed modem name and modem device id.

Plugin Functions

tapihelp
:getmodemid
returns modem device id on stack (to get it use Pop $var)
tapihelp
:getmodemname
returns modem name on stack (to get it use Pop $var)

Version History

0.0.0.1
first version.

Sample Script

!addplugindir ./debug
!addplugindir ./release
Name	"tapihelp.dll test"
OutFile	"tapihelp.dll test.exe"
ShowInstDetails show
Function .onInit
	InitPluginsDir
	tapihelp::getmodemid
	Pop $0
	tapihelp::getmodemname
	Pop $1
FunctionEnd
Section
	DetailPrint "Modem ID: $0"
	DetailPrint "Modem Name: $1"
	DetailPrint ""
SectionEnd

With best regards, Nikolay Raspopov <ryo-oh-ki@narod.ru>

http://www.cherubicsoft.com/