Ejemplo n.º 1
0
 private static bool PlaySound(string szSound, IntPtr hMod, PlaySoundFlags flags)
 {
     return (FullFramework)?
         PlaySoundWin(szSound, hMod, flags)
         : PlaySoundCE(szSound, hMod, flags);
 }
 private static extern bool PlaySound(string pszSound, IntPtr hmod, PlaySoundFlags fdwSound);
Ejemplo n.º 3
0
 private static extern bool PlaySound(string soundName, IntPtr hmod, PlaySoundFlags soundFlags);
Ejemplo n.º 4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="fileName"></param>
 /// <param name="flags"></param>
 /// <returns></returns>
 public static bool PlaySoundFromFile(string fileName, PlaySoundFlags flags)
 {
     return(PlaySound(fileName, (IntPtr)0, 0x20000 | (int)flags));
 }
Ejemplo n.º 5
0
 public static void Play(string strFileName, PlaySoundFlags soundFlags)
 {
     PlaySound(strFileName, IntPtr.Zero, soundFlags);
     // passes to Playsound the filename and a pointer
     // to the Flag
 }
Ejemplo n.º 6
0
 private static extern bool PlaySound(string szSound, System.IntPtr hMod, PlaySoundFlags flags);
Ejemplo n.º 7
0
 public static extern bool PlaySound(string szSound, IntPtr hMod, PlaySoundFlags flags);
Ejemplo n.º 8
0
Archivo: main.cs Proyecto: GeEmS/ipoki
 private extern static int WCE_PlaySound(string szSound, IntPtr hMod, PlaySoundFlags flags);
Ejemplo n.º 9
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="fileName"></param>
 /// <param name="flags"></param>
 /// <returns></returns>
 public static bool PlaySoundFromFile(string fileName, PlaySoundFlags flags)
 {
     return PlaySound(fileName, (IntPtr)0, 0x20000 | (int)flags);
 }
Ejemplo n.º 10
0
 public static extern bool PlaySoundStart(string szSound, System.IntPtr hMod, PlaySoundFlags flags);
Ejemplo n.º 11
0
 private static extern int WCE_PlaySound(string szSound, IntPtr hMod, PlaySoundFlags flags);
Ejemplo n.º 12
0
 public static extern bool PlaySound(string strSound, IntPtr hMod, PlaySoundFlags flags);
Ejemplo n.º 13
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="memoryPtr"></param>
 /// <param name="flags"></param>
 /// <returns></returns>
 public static bool PlaySoundFromMemory(IntPtr memoryPtr, PlaySoundFlags flags)
 {
     return(PlaySound(string.Empty, memoryPtr, 0x04 | (int)flags));
 }
Ejemplo n.º 14
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="resourceName"></param>
 /// <param name="module"></param>
 /// <param name="flags"></param>
 /// <returns></returns>
 public static bool PlaySoundFromResource(string resourceName, IntPtr module, PlaySoundFlags flags)
 {
     return(PlaySound(resourceName, module, 0x40004 | (int)flags));
 }
Ejemplo n.º 15
0
 private static extern bool PlaySound(string szSound, IntPtr hMod, PlaySoundFlags flags);
Ejemplo n.º 16
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="memoryPtr"></param>
 /// <param name="flags"></param>
 /// <returns></returns>
 public static bool PlaySoundFromMemory(IntPtr memoryPtr, PlaySoundFlags flags)
 {
     return PlaySound(string.Empty, memoryPtr, 0x04 | (int)flags);
 }
Ejemplo n.º 17
0
 private static extern bool PlaySound(string soundName, IntPtr hmod, PlaySoundFlags soundFlags);
Ejemplo n.º 18
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="resourceName"></param>
 /// <param name="module"></param>
 /// <param name="flags"></param>
 /// <returns></returns>
 public static bool PlaySoundFromResource(string resourceName, IntPtr module, PlaySoundFlags flags)
 {
     return PlaySound(resourceName, module, 0x40004 | (int)flags);
 }
Ejemplo n.º 19
0
 public static extern bool PlaySound(string fileName, System.IntPtr hMod, PlaySoundFlags flags);
Ejemplo n.º 20
0
 public static void Play(string strFileName, PlaySoundFlags soundFlags)
 {
     PlaySound(strFileName, IntPtr.Zero, soundFlags);
     // passes to Playsound the filename and a pointer
     // to the Flag
 }
Ejemplo n.º 21
0
 private static extern bool PlaySound(
     IntPtr pszSound, IntPtr hmod, PlaySoundFlags fdwSound);
Ejemplo n.º 22
0
 public static extern Boolean sndPlaySound(String lpszSound, PlaySoundFlags fuSound);