TAPIhelp plug-in: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Added category links.)
m (→‎Links: Fixed download link.)
 
(4 intermediate revisions by 5 users not shown)
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://www.cherubicsoft.com/_media/nsis/tapihelp.zip tapihelp.zip] - medium (22k)


== Description ==
== Description ==
Line 41: Line 39:
With best regards, Nikolay Raspopov &lt;[mailto:ryo-oh-ki@narod.ru ryo-oh-ki@narod.ru]&gt;
With best regards, Nikolay Raspopov &lt;[mailto:ryo-oh-ki@narod.ru ryo-oh-ki@narod.ru]&gt;


http://raspopov.dem.ru/
http://www.cherubicsoft.com/


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

Latest revision as of 12:47, 20 March 2010

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/