For Standard Edition you can use SndGetSound with the
SND_EVENT_RINGTONELINE1 event constant (see the SDK documentation for more
details). This API isn't supported on Professional Edition except to query
the mode (Off, On, Vibrate).
Peter
--
Peter Foot
Microsoft Device Application Development MVP
peterfoot.net | appamundi.com | inthehand.com
APPA Mundi Ltd - Software Solutions for a Mobile World
In The Hand Ltd - .NET Components for Mobility