RE: [Q] What does DRVO_LEGACY_DRIVER mean?

If you do not create a device object during AddDevice, this flag will get
set so that the driver does not unload.

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Matt A.
Sent: Thursday, April 06, 2000 4:50 PM
To: NT Developers Interest List
Subject: [ntdev] [Q] What does DRVO_LEGACY_DRIVER mean?

Hello,

My USB driver is loaded when my USB device is plugged in and receives and
processes the expected Plug and Play IRPs, etc… However, both
SoftICE and
OSR’s DeviceTree program show that my DRIVER_OBJECT has the flag
DRVO_LEGACY_DRIVER set. What does this flag mean and is it “bad”? It my
driver is working as a PnP driver, why it is marked “legacy”?

Perhaps this also explains why my driver doesn’t seem to get sensible
IRP_MJ_POWER requests. The requests come at the right time (when
I suspend,
resume or power-off my system), but the SystemState is always
SystemPowerUnspecified, regardless of whether the system is suspending,
resuming or powering-off. Does this have anything to do with the
DRVO_LEGACY_DRIVER flag being set?

Thanks for any help.

  • Matt

You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)