Desktop Functions: Smart Device Functions:
|
Search Results for "waveOutWrite" in [All]winmmthe waveOutWrite() and waveOutUnPrepareHeader() functions. The latter is called This means that the WAVEHDR struct passed to the waveOutWrite() function must be allocated in unmanaged memory so it will survive after the call to waveOutWrite().
if ((MMRESULT = waveOutWrite(waveDevice, waveHdrPtr, Marshal.SizeOf(waveHdr))) != MMSYSERR_NOERROR) 2: waveOutWrite
public static extern uint waveOutWrite(IntPtr hwo, ref WAVEHDR pwh, uint cbwh);
Declare Function waveOutWrite Lib "winmm.dll" (TODO) As TODO coredll3: waveOutWrite
[DllImport ("coredll.dll", EntryPoint="waveOutWrite", SetLastError=true)]
public static extern int waveOutWrite(IntPtr hwo, byte[] pwh, int cbwh);
[DllImport ("coredll.dll", EntryPoint="waveOutWrite", SetLastError=true)]
public static extern int waveOutWrite(IntPtr hwo, IntPtr lpHdr, int cbwh);
Declare Function waveOutWrite Lib "coredll.dll" (TODO) As TODO |