There used to be a ‘nonpnp’ kmdf software only driver sample in the wdk;
maybe it is still there in the current (7.1.7600.0) wdk, but I can’t find
it. I know that it was there in the Vista WDK.
There’s also the option of writing a legacy (NT4) style driver. To the best
of my knowledge, the latest such sample is also in the Vista WDK -
General/IOCTL.
While KMDF is so clearly the right answer for most drivers (that support
it), personally, I think that it really doesn’t offer anything over an NT4
style legacy driver in your case, and is actually more complicated.
Good luck,
mm
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Wednesday, July 14, 2010 5:15 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Software only driver - kmdf
Hi,
Could you please help me.
Os - Win7 x86
I’ would like create my first simple software only kernel mode driver.
I’ve implemented only following functions:
DRIVER_INITIALIZE DriverEntry;
EVT_WDF_DRIVER_DEVICE_ADD EvtDeviceAdd;
EVT_WDF_OBJECT_CONTEXT_CLEANUP EvtDriverContextCleanup;
Please not I have NO device
I’ve turned on WPP, driver has been install successfully as per devcon util
(I’ve checked, all files are presents in the
C:\Windows\System32\DriverStore\FileRepository and setupapi.dev.log say that
all are ok)
I’ve added log session on TraceView but nothing appeared, i’ve reboot PC -
log file is empty.
So, I see only driver’s files and know nothing about it :((
How can I check driver status? Is it alive? Where can I find simple working
example software only driver?
Thanks,
Sergey
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer