12 lines
389 B
C#
12 lines
389 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace HandyControlDemo.Tools
|
|
{
|
|
internal class ExternDllHelper
|
|
{
|
|
private const string Winmm = "winmm.dll";
|
|
|
|
[DllImport(Winmm, EntryPoint = "mciSendString", CharSet = CharSet.Auto)]
|
|
public static extern int MciSendString(string lpstrCommand, string lpstrReturnString, int uReturnLength, int hwndCallback);
|
|
}
|
|
} |