WDM will not load in Win2000

J

john

Wierd situation.

I first had a problem loading my driver in Vista; fixed that. Driver
loads find.

In XP driver loads just find.

In W2k, the OS doesn't even call the DriverEntry routine.

I took a look at the Event View and saw this:
"The MyDriver service failed to start due to the following error: The
specified procedure could not be found." Huh? It's the DriverEntry.
This is the same driver that is loading in Vista.

Has Anybody every seen this problem before and can you point me the
direction where I can fix this problem.

While I'm waiting for a reply, I'll recheck this driver with Windows
XP and Vista.

John
 
V

Venus²²

Fix it John, you're a smart guy, or check with Mr. setupapi.log, he might be
able to tell you what's wrong with your installation.

Happy Holloween!
 
J

john

I found out the reason,

I was using the KeAcquireInterruptSpinLock function that is not
supported in W2K.

My WDM driver was compiled for XP so the driver compile and linked
with no problem. However, the driver did not load in W2K. When I
changed from XP compilation to W2K, I got compile and link errors on
KeAcquireInterruptSpinLock function. I commented out the function
calls and recompiled. My Driver loaded with no problems.

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top