public static WaveInCapabilities GetCapabilities(int devNumber) { WaveInCapabilities waveInCapabilities = default(WaveInCapabilities); int waveInCapsSize = Marshal.SizeOf(waveInCapabilities); MmException.Try(WaveInterop.waveInGetDevCaps((IntPtr)devNumber, out waveInCapabilities, waveInCapsSize), "waveInGetDevCaps"); return(waveInCapabilities); }
public static extern MmResult waveInGetDevCaps(IntPtr deviceID, out WaveInCapabilities waveInCaps, int waveInCapsSize);