I have an Audiovox xv6600 that I have written a program for in c#. I would
like to be able to cause the thing to vibrate to simulate an alert similar
to the way the Alarms do. It is running Windows Moblie 2003 2nd Ed.
I found some examples on blog.opennetcf.org, but neither worked.
I tried using SetLedStatus and I tried the using aygshell.dll (that one gave
me an error that method does not exist when calling the functions declared
in the DLLImport)
It seems like there should be some API on the device to get this to work. I
would think that the Clock utility is something that comes with the os, and
not an Audiovox original, so it has to be calling some standard api or
something.
Thanks,
Bill
On Smartphone devices there is a specific Vibrate API, on Pocket PCs the
vibrate functionality is exposed as a virtual LED. Take a look at the
OpenNETCF.WindowsCE.Forms.Led code to see the necessary P/Invokes etc:-
http://vault.netcf.tv/VaultService/VaultWeb/login.aspx
username: guest, password:guest
You'll need to first query for the number of LEDs - usually 2, one for the
notification LED and the other for vibrate, but they don't always have
logical indexes - e.g. not necessarily 0 and 1, sometimes the vibrate is on
a higher index e.g. 5
Peter

Signature
Peter Foot
Windows Embedded MVP
http://www.inthehand.com | http://www.peterfoot.net |
http://www.opennetcf.org
>I have an Audiovox xv6600 that I have written a program for in c#. I would
>like to be able to cause the thing to vibrate to simulate an alert similar
[quoted text clipped - 12 lines]
> Thanks,
> Bill