Open/Close CD-ROM: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
 
 
(3 intermediate revisions by 3 users not shown)
Line 3: Line 3:
== Open CD-ROM ==
== Open CD-ROM ==
<highlight-nsis>
<highlight-nsis>
System::Call 'winmm::mciSendString(t "set CDAudio door closed",,,)'
System::Call 'winmm::mciSendString(t "set CDAudio door opened",,,)'
</highlight-nsis>
</highlight-nsis>


== Close CD-ROM ==
== Close CD-ROM ==
<highlight-nsis>
<highlight-nsis>
System::Call 'winmm::mciSendString(t "set CDAudio door open",,,)'
System::Call 'winmm::mciSendString(t "set CDAudio door closed",,,)'
</highlight-nsis>
</highlight-nsis>


[[Category:System Plugin Examples]]
[[Category:System Plugin Examples]]

Latest revision as of 15:56, 23 April 2010

Author: Instructor (talk, contrib)


Open CD-ROM

System::Call 'winmm::mciSendString(t "set CDAudio door opened",,,)'

Close CD-ROM

System::Call 'winmm::mciSendString(t "set CDAudio door closed",,,)'