PlaySound, pause etc
Hi,
If I call PlaySound through PInvoke, is there any way to pause it and resume
later? If not, are there any other APIs that would allow me to play a sound
and pause/resume? What about a command line interface to 'Windows Media'
that would start it in the background (non-visible) and then I'd call it
with "media -play dogbark.mp3" and "media -pause" or "media -stop" -
anything similar? Any ideas?
Thanks,
Hilton
.
Relevant Pages
- Re: Laufwerksbuchstaben und Sharename
... vermutlich zB PInvoke auf Win32 WNetGetUniversalName ... oder andere APIs, oder WMI: ... (microsoft.public.de.german.entwickler.dotnet.vb) - Re: Pausing Sound
... > SND_NODEFAULT) to play a .WAV sound file in my program. ... note that PlaySound() exists for those cases where your ... If instead of pause, you'd be willing to accept stop, then you can use NULL ... (microsoft.public.dotnet.languages.vc) - Re: Functions in CE dlls
... It lists coredll.lib which means that to PInvoke the CreateFile API you'd ... We don't have an tables mapping DLLs -> APIs, ... windowing which would exclude the corresponding graphics & windowing APIs. ... FWIW, if you can copy the DLL to the desktop, you can run "dumpbin /exports ... (microsoft.public.windowsce.app.development) - Re: can wav files be interrupted?
... Assuming you are using PlaySound, you can pass null to stop the currently playing sound, but you can't pause and resume in this way. ... If you are using the waveOut APIs you should be able to use waveOutPause. ... (microsoft.public.dotnet.framework.compactframework) - Re: Herkunft von besuchten Websiten speichern
... Es braucht erst die entsprechenden 'Gerätetreiber' ... und APIs, dann aus .NET zB per PInvoke, etwa ... (microsoft.public.de.german.entwickler.dotnet.csharp) |
|