@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: This function plays a file synchronously. This includes the ability to play MP3 and WMA files. !!!!C# Signature: [DllImport("aygshell.dll", SetLastError = true)] static extern IntPtr SndPlaySync(string Path, uint Flags); !!!!User-Defined Types: None. !!!!Alternative Managed API: Do you know one? Please contribute it! !!!!Notes: Works with Windows Mobile 6.0 and later. Flags indicates playback options. Use 0 for default behaviour. !!!!Tips & Tricks: !!!!Sample Code: string Path = @"\Storage Card\Pink Floyd - Have a cigar.mp3"; if (System.IO.File.Exists(Path)) { IntPtr ip; ip = SndPlaySync(Path, 0); } Documentation: SndPlaySync@msdn on MSDN
Edit aygshell.SndPlaySync
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.