Open/Close CD-ROM: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
Line 8: | Line 8: | ||
== Close CD-ROM == | == Close CD-ROM == | ||
<highlight-nsis> | <highlight-nsis> | ||
System::Call 'winmm::mciSendString(t "set CDAudio door | 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",,,)'