Vinay,
I don't think that this is possible. You can probably interface with
the sound card to see if some sort of sound is playing, but what it is,
well, that depends on a number of factors. You would have to find the
program producing the sound and then hope there is an interface telling you
^what^ exactly is playing.
You might be able to get somewhere using the DirectX libraries, but I
wouldn't bet on it.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Vinay" <an*******@discussions.microsoft.com> wrote in message
news:04****************************@phx.gbl...
Hi,
I want to verify if a particular song is being played
from my program. I have read a lot of examples of using
winmm.dll and importing PlaySound(). If there anyway to
check if a song is being played using sound card?
TIA,
Vinay