9 references to UnsafeNativeMethods
System (9)
sys\system\Media\SoundPlayer.cs (9)
279UnsafeNativeMethods.PlaySound(localPath, IntPtr.Zero, NativeMethods.SND_NODEFAULT | flags); 290UnsafeNativeMethods.PlaySound(streamData, IntPtr.Zero, NativeMethods.SND_MEMORY | NativeMethods.SND_NODEFAULT | flags); 457UnsafeNativeMethods.PlaySound((byte[]) null, IntPtr.Zero, NativeMethods.SND_PURGE); 572IntPtr hMIO = UnsafeNativeMethods.mmioOpen(fileName, IntPtr.Zero, NativeMethods.MMIO_READ | NativeMethods.MMIO_ALLOCBUF); 579if (UnsafeNativeMethods.mmioDescend(hMIO, ckRIFF, null, NativeMethods.MMIO_FINDRIFF) != 0) 582while (UnsafeNativeMethods.mmioDescend(hMIO, ck, ckRIFF, 0) == 0) { 594if (UnsafeNativeMethods.mmioRead(hMIO, data, dw) != dw) 605UnsafeNativeMethods.mmioAscend(hMIO, ck, 0); 618UnsafeNativeMethods.mmioClose(hMIO, 0);