Open/Close CD-ROM: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{PageAuthor|Instructor}}


== Open CD-ROM ==
<highlight-nsis>
System::Call 'winmm::mciSendString(t "set CDAudio door opened",,,)'
</highlight-nsis>
== Close CD-ROM ==
<highlight-nsis>
System::Call 'winmm::mciSendString(t "set CDAudio door closed",,,)'
</highlight-nsis>
[[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",,,)'