Don
Thu Feb 10 10:13:01 CST 2005
I just got this message, ignore my previous responses. You cannot force a
PnP driver to load and stay there if the device is not present. If you load
the driver, DriverEntry will be called, but since AddDevice is not called
you will be unloaded a while later. Split out the functions you want common
to a kernel mode DLL or a static library.
--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply
"santhosh kumar" <santhoshkumar@discussions.microsoft.com> wrote in message
news:5CCC00CA-ECE9-4B32-AB50-35113CF53E0B@microsoft.com...
> Yes these drivers has PnP support
>
> "Maxim S. Shatskih" wrote:
>
>> Are these drivers PnP?
>>
>> --
>> Maxim Shatskih, Windows DDK MVP
>> StorageCraft Corporation
>> maxim@storagecraft.com
>>
http://www.storagecraft.com
>>
>> "santhosh kumar" <santhoshkumar@discussions.microsoft.com> wrote in
>> message
>> news:78057383-6359-4A53-805C-61B54266BD8B@microsoft.com...
>> >
>> > Hi,
>> > Can we load a ".sys" file from kernal mode driver.
>> >
>> > We have one driver with .sys extension, I am trying to write some
>> > other
>> > driver with more functionalities. In order to reduce reusability I like
>> > to
>> > load the previous .sys driver and use some of its functionalities.
>> >
>> > P.S : I know that we can load ".dl"l but I don't know how to load .sys
>> > and
>> > use its functionalities.
>> >
>> > Thanks in advance.
>> >
>> > Thanks
>> > Santhosh.
>>
>>
>>