TAPIhelp plug-in: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Added category links.)
m (Adding new author and category links.)
Line 1: Line 1:
{|align=right
{{PageAuthor|ryo-oh-ki}}
|<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 43: Line 41:
http://raspopov.dem.ru/
http://raspopov.dem.ru/


[[{{ns:14}}:Plugins]]
[[Category:Plugins]]

Revision as of 13:56, 24 June 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/