mciSendString Function - Windows API

Purpose



Declaration

C#

[DllImport("winmm.dll")] 
private static extern int mciSendString(string strCommand, 
    StringBuilder strReturn, int iReturnLength, IntPtr hwndCallback);