I have had a look at the registry with regmon and have isolated the key that
is changed when a hardware device is disabled. When I try to edit this key
using regedit, I am denied write access to it. The apimon sounds interesting
and will give it a try.

Hylton
----- Original Message ----- 
From: "Ehsan Akhgari" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 15, 2004 6:31 PM
Subject: RE: [msvc] RE : disabling hardware.


> > Let me try to explain a little why I am trying to do what I want to
> > do.
> > There is a gaming product on the market, R100 racing wheel.
> > This device does not work well with windows 200 and windows XP.
> > (Manufactures web sit confirms this). However, if you connect the
> > wheel, disable the device and re-enable the device, the wheel
> > functions. I want to write a small app that will perform this function
> > rather than going to the control panel to do this. Rebooting the
> > machine should not be required to affect the change.
>
> Hmmm, I suggest you use the RegMon and FileMon tools from SysInternals.com
> to see what the control panel applet does to disable the hardware.  Also,
> you may try APIMon to figure which API functions it calls to do so.
>
> -------------
> Ehsan Akhgari
>
> Farda Technology (http://www.farda-tech.com/)
>
> List Owner: [EMAIL PROTECTED]
>
> [ Email: [EMAIL PROTECTED] ]
> [ WWW: http://www.beginthread.com/Ehsan ]
>
> I've done the math enough to know the dangers of a second guessing...
>
>
>
>
> _______________________________________________
> msvc mailing list
> [EMAIL PROTECTED]
> See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for
subscription changes, and list archive.


_______________________________________________
msvc mailing list
[EMAIL PROTECTED]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription 
changes, and list archive.

Reply via email to