Phone Silent/ Vibrate API in Windows Mobile 5.0

I have to use an API for making my application go silent when the phone is turned to silent or vibrate mode in windows mobile5.0 Pocket pc.
Can anybody help me in giving this API along with the methods of including its respective library files or namespaces or dlls.
I found the api: get_PhoneRingerOff() but the include file for this is microsoft.windowsmobile.status.dll.. Unable to know the methods of including this . Please hlep me for the same.

Thanks

Kumar
[490 byte] By [gokumar] at [2007-11-20 4:00:49]