Fred, almost right... basically, I've reverse engineered ClearStorage on each HTC phone that I've come across.
As you may know, WM5 removes the ability to force a hard reset using kernel IOCTLs in the way that we could on WM2003.
However, since ClearStorage can, I thought I'd just figure out how it's implemented there are re-implement it myself.
I'm sorry to say that it's not a generic solution, but I will find one, if it kills me!
But seriously: read this excellent blog on how to implement a WM5 hard reset -
http://blogs.msdn.com/ce_base/archive/2006/02/09/How_OEMs_implement_Clean_Boot_on_WM5.aspxand then cry when you realise that it only works if the OEM (ie HTC) has implemented it at platform builder level.
Have a read through this thread where I've discussed further:
http://forum.xda-developers.com/viewtopic.php?t=33087&highlight=vjeschatonIf you need any other IOCTLs that I haven't already posted, let me know.
V
NB - I just "upgraded" to the Mio A701 yesterday, and it doesn't have clearstorage
