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
0
votes
1 answer

IddCx Driver frame stutters, potentially caused by OS version issues

I am working on a IddCx indirect Display Driver. I have run into a bug that I cant find any reason to blame my own code on. Every two seconds or so IddCxSwapChainReleaseAndAcquireBuffer takes over 100ms, up to 8000ms to complete. It normally takes…
vulkur
  • 21
  • 5
0
votes
1 answer

Sending umdf driver created desktop frames to application

I have written a user mode driver that renders new desktop frames. Now I want to get those frames displayed in my application. I am already searching 2 weeks for any a solution but I still have no idea. By the way, I am new to windows driver…
Linux
  • 1
0
votes
1 answer

Which driver framework should I use to create Virtual Microphone on Windows Platform?

I want to create Virtual Microphone for Windows platform. Which driver framework out of Windows Driver Frameworks (Kernel-Mode Driver Framework (KMDF) and User-Mode Driver Framework (UMDF)) and Windows Driver Model should I choose to make it work on…
Alok
  • 7,734
  • 8
  • 55
  • 100
0
votes
0 answers

Using IOCTL_VIDEO_QUERY_AVAIL_MODES to get a list of modes supported by a video adapter

I'm trying to query a list of supported modes from a video adapter driver: // IOCTL_VIDEO_QUERY_NUM_AVAIL_MODES - Retrieve the count of modes on the display adapter // Input-Buffer: none // Output-Buffer: VIDEO_NUM_MODES VIDEO_NUM_MODES…
Scott Smith
  • 3,900
  • 2
  • 31
  • 63
0
votes
1 answer

user mode driver (umdf) c++ http request

I have developed a umdf2 driver and in some point it needs to communicate to a remote server to fetch some data. I am wondering is there any easy way (e.g. library) to do the http requests (GET, POST) in Windows user mode? I have never used winsock2…
Sansei
  • 93
  • 10
0
votes
1 answer

TraceView able to capture logs occurring during driver installation, but shown as Unknown

I am developing a UMDF driver, and I am able to use its PDB file to confirm events/function calls during its lifetime. However, I am also able to capture events prior to its DriverEntry function. This events have become a concern for me, because I…
Jer Yango
  • 582
  • 2
  • 8
  • 22
0
votes
2 answers

"A mismatch between the PNP/INF version and the KMD file version on the graphics adapter has been detected"

I've been testing a UMDF IddCx video driver, and this message just started appearing (after devcon.exe install ...) along with a breakpoint in WinDbg: (DriverEntry and EVT_WDF_DRIVER_DEVICE_ADD handlers succeed as they did prior to this error…
Scott Smith
  • 3,900
  • 2
  • 31
  • 63
0
votes
1 answer

UMDF: Access device registry key inside a EVT_WDF_TIMER callback function

I am having issues with a UMDF driver retrieving data stored in the device registry from a EVT_WDF_TIMER callback function. Such callback function only has WDFTIMER object as its sole parameter. To be able to access registry in UMDF,…
Jer Yango
  • 582
  • 2
  • 8
  • 22
0
votes
1 answer

Limit driver access only to UWP app with CustomCapability + Signed SCCD

I have a UMDF driver that provides IOCTL commands to be accessed by the UWP application. The UWP application is submitted to the store, complete with the appropriate custom capability and signed SCCD in order to access the UMDF driver. What I…
Jer Yango
  • 582
  • 2
  • 8
  • 22
0
votes
0 answers

WH_KEYBOARD_LL hook not called in UMDF driver, but works in example console app

I'm trying to detect all key presses and mouse events by registering WH_KEYBOARD_LL and WH_MOUSE_LL hooks. Apparently these low-level hooks don't require the hook procedure to reside in a separate DLL. I have this working in the following example…
Caius Cosades
  • 33
  • 1
  • 9
0
votes
0 answers

Installing a x64 bit driver from a x86 app

I have an UMDF driver which currently is redistributed through 2 standalone installers, one for x64 and one for x86. The install driver function is this one, copied from devcon: bool InstallDriver(const TCHAR* InfPath, const wchar_t*…
Michael Chourdakis
  • 10,345
  • 3
  • 42
  • 78
0
votes
1 answer

Question on Virtual Serial port Windows driver

Regarding the sample in https://github.com/microsoft/Windows-driver-samples/tree/master/serial/VirtualSerial2. In queue.c there's EvIoRead that is called when an app requests data from my virtual driver. When there's no data, this code is…
Michael Chourdakis
  • 10,345
  • 3
  • 42
  • 78
0
votes
1 answer

Is it possible for UMDF driver to write to a file?

For a case where I want to log a string to a text file, say in C:\log.txt, is this possible in UMDF driver? considering that UMDF drivers have limited UAC.
JCGM
  • 85
  • 7
0
votes
1 answer

umdf2 driver with CreateService

Can I launch umdf2 driver using CreateService and StartService APIs in Windows 10? I am looking for any running sample that I could refer. I have done it with WDM driver previously, but currently I failed to do it with umdf2 driver. Here is the…
miradham
  • 2,285
  • 16
  • 26
0
votes
1 answer

UMDF- lock device in application level

I'm writing a simple USB driver for our device using UMDF over WinUsb. The driver can be used by multiple application concurrently. I need to achieve a custom locking system that the WdfDeviceLevel\WdfObjectLevel doesn't give me: I want an atomic…
Eldad
  • 1,067
  • 16
  • 36