public static extern void GetDeviceCaps(string deviceName, out int minFreq, out int maxFreq); /// <summary>