Re: How to unload or reload a WinCE driver
- From: "Bruce Eitman [eMVP]" <bruce.eitman.nospam@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 15 Oct 2008 09:24:23 -0400
Let me restate what Chris said, but in a different way.
The handle stored in the HKLM\Drivers\Active is undocumented, as such it may
change in the future. So while your code may work in some cases today, it
may also fail in some case (none that I know of personally) and may fail in
the future based on a QFE or new Windows CE version.
So proceed with that at your own risk.
--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com
My BLOG http://geekswithblogs.net/bruceeitman
EuroTech Inc.
www.EuroTech.com
"Dark Knight" <VaisakhRulez@xxxxxxxxx> wrote in message
news:a0526bb5-16fd-4a2e-8427-b430e4437cfa@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Oct 15, 8:55 am, "Chris Tacke, MVP" <ctacke.at.opennetcf.dot.com>
wrote:
Getting that handle and using it is a kludge available only in CE 5.0 and
earlier. You can't use it in 6.0 or later.
--
Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded communityhttp://community.OpenNETCF.com
"Dark Knight" <VaisakhRu...@xxxxxxxxx> wrote in message
news:0b95d112-05ad-4f26-9810-4c995235471b@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
There is a really good post by bruce eitman in his blog check it out.
http://geekswithblogs.net/BruceEitman/archive/2008/07/14/windows-ce-l...
If you are not having the device handle, you can obtain it from
registry (Hnd under the Drivers\Active\<instance> key)
Regards
Vaisakh P S
Yes it is possible in windows ce 6.0.
What i did was, i took the handle value from registry Active entry,
and used the sample program given by bruce to unload the driver and it
worked.
The entry was removed from active list.
Regards,
.
- Follow-Ups:
- Re: How to unload or reload a WinCE driver
- From: Michel Verhagen (eMVP)
- Re: How to unload or reload a WinCE driver
- References:
- How to unload or reload a WinCE driver
- From: Kid
- Re: How to unload or reload a WinCE driver
- From: Chris Tacke, MVP
- Re: How to unload or reload a WinCE driver
- From: Dark Knight
- Re: How to unload or reload a WinCE driver
- From: Chris Tacke, MVP
- Re: How to unload or reload a WinCE driver
- From: Dark Knight
- How to unload or reload a WinCE driver
- Prev by Date: Re: clean build question
- Next by Date: Build and Sysgen question
- Previous by thread: Re: How to unload or reload a WinCE driver
- Next by thread: Re: How to unload or reload a WinCE driver
- Index(es):
Relevant Pages
|