[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