TAPIhelp plug-in: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Adding new author and category links.)
m (TAPI Helper Plugin moved to TAPIhelp plug-in)
(No difference)

Revision as of 15:03, 27 December 2005

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://raspopov.dem.ru/