Re: Disable default action for DIF_PROPERTYCHANGE

From: Gennady Mayko (gennady.mayko_at_broadcom.com)
Date: 02/24/05


Date: 24 Feb 2005 05:44:09 -0800

Doron Holan [MS] wrote:
> IIRC, once you set PNP_DEVICE_NOT_DISABLEABLE, it can never be
cleared, ie
> the state is persistent, no matter if the bit is not reported
subsequently.

--
I do not see such a behavior, at least on Windows XP SP1.
When my driver sets PNP_DEVICE_NOT_DISABLEABLE bit, "disable" item
disappears from the Action Menu (in the Device Manager window).
When driver resets this bit, the "disable" item reappears in the Action
menu and I can normally stop/remove my driver.
Regards,
Gennady Mayko.


Relevant Pages

  • Re: Be a JLEDI or Cause Road Rage
    ... the matter at hand, you see. ... If it did, that was the MFFY's decision and his responsibility, ... Please explain how someone's tailgating forces another driver ... to attempt an unsafe lane change. ...
    (rec.autos.driving)
  • Re: Best encryption sw for home laptop
    ... longer need admin rights to remount it or mount another (the driver ... What you said you're repeating below, ... No need to keep its integrity. ... It doesn't matter. ...
    (alt.computer.security)
  • Re: CPS protest yesterday.
    ... It's no-one's business to bring it about, any more than it is anyone's legitimate business to encourage more driving or more drivers. ... It's a matter of free choice in an ominally free society. ... The driver, Sabrina Harman (24 of Apprentice Way, Clarence Road, ...
    (uk.rec.cycling)
  • Re: SMIDSY advert cheaters...
    ... you only make yourself look stupid, which rather irritatingly weakens the ... ludicrous, if nobody contests them, they will get believed, no matter ... Like the one about speeding being the worst thing you can possibly do as ... wasn't a bad driver and should be allowed to keep driving... ...
    (uk.rec.driving)
  • Re: WDK build environment...
    ... Doron Holan wrote: ... Please do not send e-mail directly to this alias. ... Sorry only if he builds with the Windows 2000 environment. ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ...
    (microsoft.public.win32.programmer.kernel)