Questions tagged [umdf]

User-Mode Driver Framework (UMDF) is a library assisting to develop user-mode drivers that support the Microsoft Windows Driver Model (WDM). UMDF provides common driver functionality, which enables to write a driver with significantly less code than in WDM. UMDF along with KMDF comprise the WDF (Windows Driver Frameworks).

81 questions
1
vote
1 answer

Building a Universal Windows driver (UMDF 2) results in link error

while following the tutorial on writing a Universal Windows Driver (UMDF 2) based on template (link to MSDN Tutorial) I get the following error trying to build with no modifications to the template code. Error LNK1181 cannot open input file…
koderiter
  • 441
  • 1
  • 4
  • 9
1
vote
0 answers

using Windows store app DLL in UMDF driver

I have a Windows store DLL which gets the image from the camera device. I want to use this DLL in my driver file[UMDF 2] to get the image. Since the DLL is windows store based DLL, it cannot be directly used in the the driver project. What is the…
zk9099
  • 183
  • 10
1
vote
1 answer

What's the POS framework call corresponding to StartSoftwareTriggerAsync application API call?

I am working on barcode scanner project on windows 10 and we are going to use software triggering. I got the mentioned APIs from application to implement software triggering but couldn't get information on the driver side handler for these calls?…
user2706764
  • 67
  • 1
  • 4
1
vote
0 answers

Error while trying to generate UMDF 2.0 driver from template

I installed Windows 10 build 10163 and Visual Studio 2013 Ultimate edition on a clean machine, and then added the Windows SDK, WDK, and VSDEV12_WDK based on the specified OS version. I'm trying to create for the first time a UMDF 2.0 driver by…
Ronen
  • 21
  • 1
1
vote
1 answer

Can UMDF drivers be packaged/shipped via WiX?

I put together a WiX 3.0 package, utilizing the DIFx extensions, with the intentions to install a Windows 7 Sensor (UMDF driver). During installation, DIFXAPP logged "No matching devices found in INF" and simply threw the driver into storage. I…
Rafael Rivera
  • 871
  • 8
  • 22
1
vote
2 answers

Is it necessary to set a breakpoint in kernel-mode driver to debug a function in its user-mode counter-part (using Windbg)?

I'm using Windbg for debugging my user-mode driver (consider USB). My driver-package (debug build, 64 bit) has both kernel-mode and user-mode code.The package was successfully installed in my target machine and the module too got loaded (as I can…
Umashankar
  • 21
  • 4
1
vote
1 answer

IWDFDevice::CreateWdfFile returns ERROR_INVALID_FUNCTION?

I am writing a UMDF sensor driver for a device that connects to the system via Bluetooth and is accessible as an HID input device. I saw the "Sensor Development Kit" sample driver and noticed that it works with the Freescale hardware via HID also…
Raj
  • 2,557
  • 2
  • 19
  • 17
1
vote
1 answer

User Mode Virtual Midi Cable Driver

I 'm looking for a way to create a user mode virtual midi cable driver. Unfortunately there's nothing at MSDN, and in the MSDN forums I asked nobody is sure about how it should be implemented. First, is it possible? Second, I 'm not sure if the…
Michael Chourdakis
  • 10,345
  • 3
  • 42
  • 78
1
vote
2 answers

named pipe from UMDF printer driver to user-mode application

I'm quite new to WDK, I'm trying to create, a virtual printer driver which will send data to user application using named pipe. I'm using 'XPSDrv Driver and Filter Sample' as start. I've added new filter at the end in which I've put this client…
user1214919
  • 384
  • 4
  • 14
1
vote
2 answers

Can a device have two UMDF Drivers?

This may seem like a bit of an odd question, but I was wondering if it is possible to associate two drivers with a peripheral device? The reason I ask is that I am building an input device for Maya using an Arduino microcontroller. The Arduino…
Terry Rozmus
  • 396
  • 3
  • 17
0
votes
0 answers

Why isn't my umdf2 driver showing up in windbg's 'lm' command after successful execution?

I rewritten the wdm driver into umdf2 driver, and it was executed successfully, but I did not see my umdf2 driver when I used the windbg command "lm" (List Loaded Modules). The same command can be seen in wdm driver. May I ask this Is it because of…
Brad
  • 1
0
votes
0 answers

Windows UMDF drivers conflict

I am working on a Windows UMDF project which is a virtual hid and is a modified version of Microsoft "vhidmini2" example. This driver is a namedPipe server and one application (client) can connect to it. I need this driver for two applications so…
0
votes
1 answer

How to create a virtual audio input device to simulate a microphone on windows?

I need to create a virtual audio device programmatically on Windows so I can write sample data to it and have other applications on the system use it as a microphone. I'm using Windows 10 and looking for a solution in rust or c++. The idea is to…
Ahmed Tounsi
  • 1,482
  • 1
  • 14
  • 24
0
votes
2 answers

How to write a custom action to install a UMDF driver?

I want to install a UMDF software, the only driver from our MSI, I understand that to do it, I need to create a root-enumerated device and then install the driver to driver store. I have never written a custom action before. Has anyone done it…
0
votes
1 answer

Access denied when using WdfRegistryOpenKey function to create registry keys in umdf2

In my WDF driver, I want to save some custom data used for specific device to the registry. But I cannot use the WdfRegistryCreateKey() function provided by umdf2 to create a new key under "hardware_key\Device Parameters" on windows10 1909 platform.…