Questions tagged [kmdf]

A KMDF driver is the software installed on the computer that communicates with the hardware to make the device function.

The Kernel-Mode Driver Framework (KMDF) is a driver framework developed by Microsoft as a tool to aid driver developers create and maintain kernel mode device drivers for Windows 2000 and later releases. Together with the User-Mode Driver Framework () it makes up the Windows Driver Frameworks ().

200 questions
0
votes
1 answer

KMDF 1.11 Get process that initiates request

I'm writing a driver that listens for requests on specific devices by registering for EvtIoDeviceControl. DF_IO_QUEUE_CONFIG_INIT_DEFAULT_QUEUE(&IoCallbacks, WdfIoQueueDispatchParallel); IoCallbacks.PowerManaged =…
ImDevinC
  • 508
  • 1
  • 4
  • 18
0
votes
2 answers

KMDF lower Filter driver

I am writing an filter driver and want to attach the filter to more than one physical keyboard in the system. If I attach the filter to the first keyboard "\Device\KeyboardClass0" it works fine but it works not for the other. The IoAttachDevice…
makurisan
  • 467
  • 3
  • 13
0
votes
1 answer

can not debug windows driver via net

I am using VS 2015 to learn windows driver development.code & compile are ok. But i can not debug on target machine via net. here are the output of vs: ---------------------------------------------------------------- [22:12:32:074]:…
kimichang
  • 923
  • 1
  • 6
  • 6
0
votes
1 answer

Windows KMDF driver, Informing application of a change via a notification, is it possible

I have built a simple PCI driver for reading and writing data to a PCI device. I have also added interrupt support, so when there is a PCI interrupt an ISR is called. This all seems to work. I would like to inform an external application of the…
PC_Study
  • 15
  • 4
0
votes
0 answers

DeviceIoControl Kernel to Usermode with HANDLE c++

I have a driver on Windows 7 x64, which works fine, but I can't figure out how to push a handle from the driver to my usermode application. Here is my kernel mode code: HANDLE hTest= 0xD34D; memcpy(IRP->AssociatedIrp.SystemBuffer, &hTest,…
Marcel Mar
  • 43
  • 6
0
votes
2 answers

Unresolved External including the aux_klib kernel library

Good Afternoon, so I have a question about including the aux_klib library in my Kernel Mode Driver, for some reason I get the same error for all aux_klib functions. Error 1 error LNK2019: unresolved external symbol AuxKlibInitialize referenced…
0
votes
1 answer

Should I use WDM when developing a file system minifilter driver? Should I use KMDF? Or is there anything wrong with it?

Should I use WDM when developing a file system minifilter driver? Should I use KMDF? Or is there anything wrong with it?
김정훈
  • 19
  • 1
0
votes
1 answer

why Kernel Driver can not update registry value when it throw an exception?

This a test KMDF project. it's function is read and write registry. Case1: 1.read a registry value and write a value to registry 2.Check registry in windows, value updated. Case2: 1.read a registry value and write a value to registry, add exception…
0
votes
1 answer

Minispy driver - user mode call

After hours of spending on installing drivers, I began looking at minispy driver: Windows-driver-samples/filesys/miniFilter/minispy/ I am trying to catch all the calls of user to open files. I was trying to do it with all the parameters it prints…
0
votes
1 answer

breakpoint not every time can hit in DriverEntry()/Unload() function in vs2015

I set multiple source lines' breakpoints in DriverEntry() and Unload() function. and in target site's device-manager, I operate continuously the driver's stop/restart function, but breakpoints not every time can hit in DriverEntry()/Unload()…
simon
  • 21
  • 3
0
votes
1 answer

How to configure Visual Studio 2015 to develop device driver application(KMDF)?

I am newbie to device driver development and trying to configure Visual Studio 2015 to develop KMDF project on my windows 7, I have installed Visual Studio 2015, Windows Driver Kit(WDK)10 and SDK10 too. In Visual Studio when i create a WDF->KMDF…
Sanjay Kumar
  • 369
  • 6
  • 23
0
votes
1 answer

FS Development - KMDF Windows Driver

I am new here and am trying to develop a concept fs driver for the tar 'filesystem' (mount tar). My question is, how does the OS detect that a partition has the TAR filesystem and automatically load my driver?
0
votes
1 answer

Cannot install my own written kernel driver

I've been working on a kernel-mode driver for Windows 10 using Visual Studio 2015. I can install my driver on VM (which has the exact same version of Windows that I've installed on my host computer) using Visual Studio run and it works just fine.…
Javid
  • 2,755
  • 2
  • 33
  • 60
0
votes
1 answer

WDF Internal IOCTL Not Returning Output

I’m currently writing a driver that exposes virtual COM ports. In the driver, I send an internal IOCTL from the port FDO down the stack, which is handled from the PDO IO queue. For some reason, the output data is not written to the provided output…
GregoryComer
  • 740
  • 8
  • 18
0
votes
0 answers

Install KMDF programmatically using DiInstallDriver

I want to install a kmdf driver on Windows 7 32bit machine. At first I used hdwwiz (the add hardware tool) and it worked correctly. Now I want to install it programmatically using a software. After some research I found DiInstallDriver I used the…
Zaid Alyafeai
  • 155
  • 1
  • 13