35 references to WinMM
System.Windows.Extensions (35)
_generated\0\LibraryImports.g.cs (3)
403
internal static unsafe extern partial int mmioAscend(nint hMIO, global::Interop.
WinMM
.MMCKINFO* lpck, int flags);
419
internal static unsafe extern partial int mmioDescend(nint hMIO, global::Interop.
WinMM
.MMCKINFO* lpck, global::Interop.
WinMM
.MMCKINFO* lcpkParent, int flags);
System\Media\SoundPlayer.cs (32)
227
Interop.
WinMM
.PlaySound(localPath, IntPtr.Zero, Interop.
WinMM
.SND_NODEFAULT | flags);
234
Interop.
WinMM
.PlaySound(_streamData, IntPtr.Zero, Interop.
WinMM
.SND_MEMORY | Interop.
WinMM
.SND_NODEFAULT | flags);
334
LoadAndPlay(Interop.
WinMM
.SND_ASYNC);
339
LoadAndPlay(Interop.
WinMM
.SND_SYNC);
344
LoadAndPlay(Interop.
WinMM
.SND_LOOP | Interop.
WinMM
.SND_ASYNC);
428
Interop.
WinMM
.PlaySound((byte[]?)null, IntPtr.Zero, Interop.
WinMM
.SND_PURGE);
541
IntPtr hMIO = Interop.
WinMM
.mmioOpen(fileName, IntPtr.Zero, Interop.
WinMM
.MMIO_READ | Interop.
WinMM
.MMIO_ALLOCBUF);
549
Interop.
WinMM
.WAVEFORMATEX? waveFormat = null;
550
var ckRIFF = new Interop.
WinMM
.MMCKINFO()
554
var ck = default(Interop.
WinMM
.MMCKINFO);
555
if (Interop.
WinMM
.mmioDescend(hMIO, &ckRIFF, null, Interop.
WinMM
.MMIO_FINDRIFF) != 0)
560
while (Interop.
WinMM
.mmioDescend(hMIO, &ck, &ckRIFF, 0) == 0)
572
if (dw < Marshal.SizeOf<Interop.
WinMM
.WAVEFORMATEX>())
574
dw = Marshal.SizeOf<Interop.
WinMM
.WAVEFORMATEX>();
577
waveFormat = new Interop.
WinMM
.WAVEFORMATEX();
579
if (Interop.
WinMM
.mmioRead(hMIO, data, dw) != dw)
594
Interop.
WinMM
.mmioAscend(hMIO, &ck, 0);
601
if (waveFormat.wFormatTag != Interop.
WinMM
.WAVE_FORMAT_PCM &&
602
waveFormat.wFormatTag != Interop.
WinMM
.WAVE_FORMAT_ADPCM &&
603
waveFormat.wFormatTag != Interop.
WinMM
.WAVE_FORMAT_IEEE_FLOAT)
613
Interop.
WinMM
.mmioClose(hMIO, 0);
683
if (wFormatTag != Interop.
WinMM
.WAVE_FORMAT_PCM &&
684
wFormatTag != Interop.
WinMM
.WAVE_FORMAT_ADPCM &&
685
wFormatTag != Interop.
WinMM
.WAVE_FORMAT_IEEE_FLOAT)