[DllImport("winmm.dll")]
static extern Int32 mciSendString(String command,
StringBuilder buffer, Int32 bufferSize, IntPtr hwndCallback);
Declare Function mciSendString Lib "winmm.dll" (command As String, _
buffer As StringBuilder, bufferSize As Int32, _
hwndCallback As IntPtr) As Int32
None.
Please add some!
//Open CD-ROM Drive Door
public void OpenCD()
{
IntPtr ptr = IntPtr.Zero;
StringBuilder returnstring = new StringBuilder();
mciSendString("set CDAudio door open", returnstring,127, IntPtr.Zero);
}
Do you know one? Please contribute it!