KMDF Driver couldn't be loaded

Hi,

i’m writing my first KMDF driver for a PCI Card. So I’ve took a close look in the example Driver (WDFIO) provided on osronline.com. (I’ve written a WDM driver before. This one works)
After writing my driver i can compile it but if i ry to load it with the Windows Device Manager it’s not loaded (Windows cannot load the device driver for this hardware. The driver may be corrupted or missing. (Code 39))
Are there any utilities out there to get a trace of what happens in background?

The first command in the DriverEntry routine is a KdPrint but there’s no output. So the routine isn’t called anyway.

Greets Matthias

Are you including the KMDF co-installer stuff in your INF? What OS is the install failing on?

You can check \Windows\SetupAPI.log for more info (though, I must say, I almost never find the information in that file very helpful).

Peter
OSR

\windows\setupact.log will have KMDF logging as well. BTW, setupapi.log
is massively improved in Vista, logging was completely overhauled and is
now much more intelligible.

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@osr.com
Sent: Friday, March 31, 2006 6:10 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] KMDF Driver couldn’t be loaded

Are you including the KMDF co-installer stuff in your INF? What OS is
the install failing on?

You can check \Windows\SetupAPI.log for more info (though, I must say, I
almost never find the information in that file very helpful).

Peter
OSR


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer