Aram H?v?rneanu <> wrote:
>
>I know legacy style drivers can be loaded at any time with the Service
>Control Manager APIs, but PnP style drivers can't.
>
>My application uses a temporary driver that I want to load only when my
>application is running, and unload it when my application finishes it's task.
>How can I load a driver at runtime without actually installing it?
If you need to load and unload a driver dynamically from an application,
then just write a non-PnP ("legacy") driver. They still have their place.
Some people have the impression that everything marked "legacy" is
automatically bad. It ain't so.
--
Tim Roberts,
Providenza & Boekelheide, Inc.