Vous n’êtes pas connecté.
Citation de "messi"
verstehe ich das richtig?
LED X anmachen
laufwerk 1-2 auf/zu machen
LED X weiterleuchten lassen bis ne andere LED gewählt wird?
und diese andere LED steht dann wieder für ein anderes makro`?
messi
![]() |
Code source |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
using System.Runtime.InteropServices; using System.Text; ... public static void Main( ) { int result = mciSendString ("set cdaudio door open", null, 0, IntPtr.Zero); result = mciSendString ("set cdaudio door closed", null, 0, IntPtr.Zero); } [DllImport("winmm.dll", EntryPoint="mciSendStringA", CharSet=CharSet.Ansi)] protected static extern int mciSendString (string mciCommand, StringBuilder returnValue, int returnLength, IntPtr callback); |
-