mciSendString (winmm)
Last changed: -95.49.24.22

.
Summary
TODO - a short description

C# Signature:

[DllImport("winmm.dll")]
static extern Int32 mciSendString(String command,
   StringBuilder buffer, Int32 bufferSize, IntPtr hwndCallback);

VB Signature:

Declare Function mciSendString Lib "winmm.dll" (command As String, _
   buffer As StringBuilder, bufferSize As Int32, _
   hwndCallback As IntPtr) As Int32

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

//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);

}

Alternative Managed API:

Do you know one? Please contribute it!

Documentation