예제 #1
0
        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);
        }
예제 #2
0
 public static extern MmResult waveInGetDevCaps(IntPtr deviceID, out WaveInCapabilities waveInCaps, int waveInCapsSize);