TAPIhelp plug-in: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Updated author and download links, and changed format of some pages.)
m (Updated author links.)
Line 1: Line 1:
{|align=right
|<small>Author: [[{{ns:2}}:ryo-oh-ki|ryo-oh-ki]] ([[{{ns:3}}:ryo-oh-ki|talk]], [[{{ns:-1}}:Contributions/ryo-oh-ki|contrib]])</small>
|}
<br style="clear:both;">
== Links ==
== Links ==
[[Image:Zip.gif]] [http://raspopov.dem.ru/down.php?arch/tapihelp.zip tapihelp.zip] - medium (22k)
[[Image:Zip.gif]] [http://raspopov.dem.ru/down.php?arch/tapihelp.zip tapihelp.zip] - medium (22k)
Line 38: Line 42:


http://raspopov.dem.ru/
http://raspopov.dem.ru/
Page author: [[User:ryo-oh-ki|ryo-oh-ki]]

Revision as of 03:04, 30 April 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/