public static int waveInPrepareHeader(IntPtr hWaveIn, ref WaveHdr lpWaveInHdr, int uSize) { waveInPrepareHeaderDelegate d = DllImportExtern.Invoke(WINMM_DLL, "waveInPrepareHeader", Typeof <waveInPrepareHeaderDelegate>()) as waveInPrepareHeaderDelegate; return(d(hWaveIn, ref lpWaveInHdr, uSize)); }
public static int waveInClose(IntPtr hwi) { waveInCloseDelegate d = DllImportExtern.Invoke(WINMM_DLL, "waveInClose", Typeof <waveInCloseDelegate>()) as waveInCloseDelegate; return(d(hwi)); }
public static int waveInOpen(out IntPtr phwi, uint uDeviceID, ref WaveFormatEx lpFormat, WaveDelegate dwCallback, IntPtr dwInstance, int dwFlags) { waveInOpenDelegate d = DllImportExtern.Invoke(WINMM_DLL, "waveInOpen", Typeof <waveInOpenDelegate>()) as waveInOpenDelegate; return(d(out phwi, uDeviceID, ref lpFormat, dwCallback, dwInstance, dwFlags)); }
public static int waveInAddBuffer(IntPtr hwi, ref WaveHdr pwh, int cbwh) { waveInAddBufferDelegate d = DllImportExtern.Invoke(WINMM_DLL, "waveInAddBuffer", Typeof <waveInAddBufferDelegate>()) as waveInAddBufferDelegate; return(d(hwi, ref pwh, cbwh)); }
public static int waveInGetNumDevs() { waveInGetNumDevsDelegate d = DllImportExtern.Invoke(WINMM_DLL, "waveInGetNumDevs", Typeof <waveInGetNumDevsDelegate>()) as waveInGetNumDevsDelegate; return(d()); }
public static int waveInGetDevCapsA(int hwo, ref WaveInCaps lpCaps, int uSize) { waveInGetDevCapsADelegate d = DllImportExtern.Invoke(WINMM_DLL, "waveInGetDevCapsA", Typeof <waveInGetDevCapsADelegate>()) as waveInGetDevCapsADelegate; return(d(hwo, ref lpCaps, uSize)); }
public static int waveInStop(IntPtr hwi) { waveInStopDelegate d = DllImportExtern.Invoke(DllImportExtern.WINMM_DLL, "waveInStop", typeof(waveInStopDelegate)) as waveInStopDelegate; return(d(hwi)); }
public static int waveInReset(IntPtr hwi) { waveInResetDelegate d = DllImportExtern.Invoke(WINMM_DLL, "waveInReset", typeof(waveInResetDelegate)) as waveInResetDelegate; return(d(hwi)); }